when CLIENT_ACCEPTED {
if { [format %s [LINK::lasthop]] equals “5c:5e:ab:4b:e0:00” || [format %s [LINK::lasthop]] equals “78:19:f7:00:c4:00” } {
lasthop /Common/SSICLIENTFACINGVLAN 00:00:5e:00:01:01
}
}
when CLIENT_ACCEPTED {
if { [format %s [LINK::lasthop]] equals “5c:5e:ab:4b:e0:00” || [format %s [LINK::lasthop]] equals “78:19:f7:00:c4:00” } {
lasthop /Common/SSICLIENTFACINGVLAN 00:00:5e:00:01:01
}
}
i am not sure why format command is needed. anyway, i understand this irule is to specify lasthop mac address for specific connections (i.e. if packet is coming from 5c:5e:ab:4b:e0:00 or 78:19:f7:00:c4:00, send return packet to 00:00:5e:00:01:01).
|| is OR ?? || is AND?
|| is OR ?? || is AND?it is OR.
expr
Thanks could you please answer the other Post i posted
Thanks could you please answer the other Post i postedi am not familiar with sip. anyway, i believe another guy here will help. ![]()