On 18.09.2010 07:36, mayamatakeshi wrote:
> If you are dealing with more than 2 ports, this might get complicated.
> But in case of just 2 ports, you could check the ReceivedPort and set
> a bflag during handling of the REGISTER request:
>
> if($Rp == 5060) {
> setbflag(BFLAG_RECEIVED_ON_PORT_5060);
> }
That's correct. It will also work with more than 2 ports, but you need
to enumerate each socket with a flag.
--
Sincerely,
Andrew Pogrebennyk
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users