hot to asterisk multiport...??? example 5060, 5061, 5080 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070815/8a515309/attachment.htm
Off the cuff, I can't recall if asterisk can listen for (in this case I assume) SIP on multiple ports. It would be quite easy to do this redirection with iptables, though. On 8/15/07, Walter Willis <walterwn at gmail.com> wrote:> hot to asterisk multiport...??? > example 5060, 5061, 5080 >-- Erik Anderson http://andersonfam.org
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? -- -- Steven http://www.glimasoutheast.org "Walter Willis" <walterwn at gmail.com> wrote in message news:6b0bc7870708152136o27b36449l987a2b62447ba137 at mail.gmail.com... hot to asterisk multiport...??? example 5060, 5061, 5080 _______________________________________________ --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
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
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... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070817/89eb36f9/attachment.htm
Ahh, I see. Good point. -- -- Steven http://www.glimasoutheast.org "Steve Totaro" <stotaro at totarotechnologies.com> wrote in message news:46C5827E.9020905 at totarotechnologies.com...> 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 >
thank you. On 8/17/07, Steven <asterisk at tescogroup.com> wrote:> > Ahh, I see. > > > Good point. > > -- > -- > Steven > > http://www.glimasoutheast.org > > > > "Steve Totaro" <stotaro at totarotechnologies.com> wrote in message news: > 46C5827E.9020905 at totarotechnologies.com... > > 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 > > > > > > > _______________________________________________ > --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... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20070819/eaa540c5/attachment.htm