[OpenSIPS-Users] port 5060

Bogdan-Andrei Iancu bogdan at voice-system.ro
Thu Oct 9 10:34:44 CEST 2008


Yes, this might be true....

Regards,
Bogdan

David Villasmil wrote:
> 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 
> <mailto: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 <http://sip.domain.com:5090>"; # also
>     with $ru="sip.domain.com:5090 <http://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 <mailto: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 <mailto: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