[asterisk-users] asterisk multiport

Jaswinder Singh
Fri, 17 Aug 2007 11:37:31 -0000

What i actually do is make asterisk listen on some other port like 5097 and
redirect port 5060 to it with iptables  like this
/sbin/iptables -t nat -A PREROUTING -i eth0 -p udp --dport 5060 -j DNAT --to
YOURIPHERE:5097

This works very well . If i make asterisk listen on 5060 and redirect say
5097 to 5060 i had lot of problems with firewalled systems ( blocked 5060 by
isp ) . Also on blocked end its recommended to use some softphone like xlite
which  completely allows you to set custom ports on machine itself to
listen, taking 5060 completely out of picture .


On 17/08/07, Steve Totaro <stotaro at totarotechnologies.com>
wrote:
>
> Steven wrote:
> > I am curious.
> >
> > Why would one need to do this?
> >
> > If a phone connect to 5060 from another port number, asterisk happily
> works, so why use multiple port on asterisk?
> >
>
> I cannot see the thread history but from the context, I would say
> because many ISPs block 5060, 25, and others.
>
> Thanks,
> Steve Totaro
>
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>
-------------- next part --------------
An HTML attachment was scrubbed...