[OpenSIPS-Users] How opensis can manage different ports.

Stefano Pisani stefano.pisani at omnianet.it
Tue Sep 21 13:30:47 CEST 2010


  Thank you for your reply.
I solved my problem.
I rewrite lookup() to extend it and I forgot to assign right local 
interface using $fs.
Now I fixed the problem.
Thanks for your support.

stefano

Il 21/09/2010 12:58, Bogdan-Andrei Iancu ha scritto:
> Hi Stefano
>
> Stefano Pisani wrote:
>>    I tried to use "mhomed = 1" but it doesn't work for me.
>>
> this is for interface selection, not ports.
>> When a call arrives to opensips for a client registered on port 5061, he
>> forwards the call
>> using 5060 as from port and not 5061, so che call does not pass the
>> firewall.
>>
> do you route your calls (INVITEs) based on lookup() information ?
>
> Regards,
> Bogdan
>> regards,
>> stefano
>>
>> Il 15/09/2010 14:05, Stefano ha scritto:
>>
>>>     Hi all,
>>> I return on an argument proposed a couple of weeks ago.
>>> I have an installation of opensips binding on two ports (5060 and 5061).
>>> Some client registers itself on 5060, others on 5061.
>>> My wish is that opensips uses as from port the same port used by client
>>> for registration.
>>> Is it possible that?
>>> At the moment opensips uses always 5060.
>>>
>>> regards,
>>> stefano
>>>
>>> _______________________________________________
>>> Users mailing list
>>> Users at lists.opensips.org
>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>>
>>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>>
>



More information about the Users mailing list