[OpenSIPS-Users] How opensis can manage different ports.
Andrew Pogrebennyk
andrew.pogrebennyk at portaone.com
Sat Sep 18 06:43:30 CEST 2010
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
More information about the Users
mailing list