[OpenSIPS-Users] port 5060

David Villasmil david.villasmil.work at gmail.com
Thu Oct 9 10:20:01 CEST 2008


But then I see an obvious problem on doing ti with iptables.

Nat devices will not allow the incoming packet from openser to the UAC since
the original packet went from the client to port 5060 and the reply is
coming from 5090...

On Thu, Oct 9, 2008 at 10:17 AM, David Villasmil <
david.villasmil.work at gmail.com> wrote:

> Thanks for answering, Bogdan.
>
> On SIP level I should think. I DO listen on both ports, the probltm is that
> SIP simply doesn't work on port 5060 with some routers, and short of
> updating all router's frimware this is the only solution available. I can't
> touch the routers or the clients :S
>
> I've tried redirects with
>
> $ru="sip:sip.domain.com:5090"; # also with $ru="sip.domain.com:5090";
> sl_send_reply("302", "Redirect to SIP provider");
> exit;
>
> Don't know much about iptables, but if it CAN be done there, how would I do
> it?
>
> Thanks
>
> David
>
> On Wed, Oct 8, 2008 at 9:07 PM, Bogdan-Andrei Iancu <
> bogdan at voice-system.ro> wrote:
>
>> Hi David,
>>
>> Do you want to redirect at SIP level or at IPtables level?
>>
>> Why don't you listen on both ports from opensips?
>>
>> Regards,
>> Bogdan
>>
>> David Villasmil wrote:
>>
>>> Anyone knows how to redirect from port 5060 to e.g. 5090?
>>> a simple redirect simply doesn't work.
>>>
>>> thanks to all
>>>
>>> David
>>>
>>> ------------------------------------------------------------------------
>>>
>>> _______________________________________________
>>> Users mailing list
>>> Users at lists.opensips.org
>>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>>
>>>
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20081009/2eef9bdf/attachment.htm 


More information about the Users mailing list