Wolfgang Borgon
2005-Oct-10 10:57 UTC
[Asterisk-Users] Help, please help -- IAX2 softphone to server on LAN
I've already sunk several hours into this without any real progress, so I'd really appreciate any help My task is simple -- establish a connection between a softphone on XP ProSP2 to a Asterisk server on Linux FC4 over a LAN through a Netgear router. The server will then go out to a PSTN termination service. Thus far, the PSTN termination connection works fine -- I've opened up 4569 with iptables, and forwarded 4569 to the server IP. I am not, however, having any luck connecting the softphone to the server. I can telnet, ftp, and http to the server, but not IAX2. Iaxping times out, registration by Idefisk and Firefly also times out. The server fails to see the client as well. Here's a portion of my iax.conf: [client] type=friend username=client secret=****** host=192.168.1.40 context=clientcon and extensions.conf: [clientcon] exten => 2278,1,Dial(IAX2/client) Here's the output of 'iax show peers': Name/Username Host Mask Port Status voxee/##### 66.246.246.52 (S) 255.255.255.255 4569 Unmonitored client/client 192.168.1.40 (S) 255.255.255.255 0 Unmonitored demo/asterisk 216.207.245.47 (S) 255.255.255.255 4569 Unmonitored Note the port listed at 0. Debug reponse to 'dial 2278@clientcon': -- Executing Dial("ALSA/default", "IAX2/client") in new stack -- Called client Tx-Frame Retry[000] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: NEW Timestamp: 00016ms SCall: 00001 DCall: 00000 [192.168.1.40:0] VERSION : 2 CALLED NUMBER : s CODEC_PREFS : (ilbc|ulaw|alaw|gsm) CALLING PRESNTN : 67 CALLING TYPEOFN : 0 CALLING TRANSIT : 0 LANGUAGE : en USERNAME : client FORMAT : 2 CAPABILITY : 64526 ADSICPE : 0 DATE TIME : 2005-10-10 00:04:14 Tx-Frame Retry[001] -- OSeqno: 000 ISeqno: 000 Type: IAX Subclass: NEW Timestamp: 00016ms SCall: 00001 DCall: 00000 [192.168.1.40:0] VERSION : 2 CALLED NUMBER : s CODEC_PREFS : (ilbc|ulaw|alaw|gsm) CALLING PRESNTN : 67 CALLING TYPEOFN : 0 CALLING TRANSIT : 0 LANGUAGE : en USERNAME : client FORMAT : 2 CAPABILITY : 64526 ADSICPE : 0 DATE TIME : 2005-10-10 00:04:14 -- IAX2/client-1 is circuit-busy Oct 10 00:04:19 NOTICE[3615]: chan_iax2.c:2754 auto_congest: Auto-congesting cal l due to slow response -- Hungup 'IAX2/client-1' == Everyone is busy/congested at this time (1:0/1/0) == Auto fallthrough, channel 'ALSA/default' status is 'CONGESTION' __________________________________ Yahoo! Music Unlimited Access over 1 million songs. Try it free. http://music.yahoo.com/unlimited/
David J Carter
2005-Oct-10 12:13 UTC
[Asterisk-Users] Help, please help -- IAX2 softphone to server on LAN
Wolfgang wrote: - I've already sunk several hours into this without any real progress, so I'd really appreciate any help My task is simple -- establish a connection between a softphone on XP ProSP2 to a Asterisk server on Linux FC4 over a LAN through a Netgear router. The server will then go out to a PSTN termination service. Thus far, the PSTN termination connection works fine -- I've opened up 4569 with iptables, and forwarded 4569 to the server IP. I am not, however, having any luck connecting the softphone to the server. I can telnet, ftp, and http to the server, but not IAX2. Iaxping times out, registration by Idefisk and Firefly also times out. The server fails to see the client as well. Here's a portion of my iax.conf: [client] type=friend username=client secret=****** host=192.168.1.40 context=clientcon and extensions.conf: [clientcon] exten => 2278,1,Dial(IAX2/client) =========================================================You say you have 4569 configured in iptables, what about the netgear router? Have you port forwarded 4569 there? Dave
Wolfgang_Borgon
2006-Sep-28 13:44 UTC
[Asterisk-Users] Help, please help -- IAX2 softphone to server on LAN
David, Yes, I've also forwarded port 4569 to the server. Since the router is forwarding to the server, I cannot forward it to the client as well -- however, as the client isn't going out past the LAN, it shouldn't matter... unless there's something else going on that I don't know about. Thanks Wolfgang --- David J Carter <david.carter@codepipe.com> wrote:> Wolfgang wrote: - > > I've already sunk several hours into this without > any > real progress, so I'd really appreciate any help My > task is simple -- establish a connection between a > softphone on XP ProSP2 to a Asterisk server on Linux > FC4 over a LAN through a Netgear router. The server > will then go out to a PSTN termination service. > > Thus far, the PSTN termination connection works fine > -- I've opened up 4569 with iptables, and forwarded > 4569 to the server IP. I am not, however, having > any > luck connecting the softphone to the server. > > I can telnet, ftp, and http to the server, but not > IAX2. Iaxping times out, registration by Idefisk and > Firefly also times out. > > The server fails to see the client as well. > > Here's a portion of my iax.conf: > > [client] > type=friend > username=client > secret=****** > host=192.168.1.40 > context=clientcon > > and extensions.conf: > > [clientcon] > exten => 2278,1,Dial(IAX2/client) > > >=========================================================> You say you have 4569 configured in iptables, what> about the netgear router? > > Have you port forwarded 4569 there? > > Dave > > _______________________________________________ > --Bandwidth and Colocation sponsored by Easynews.com > -- > > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com >http://lists.digium.com/mailman/listinfo/asterisk-users> To UNSUBSCRIBE or update options visit: > >http://lists.digium.com/mailman/listinfo/asterisk-users>__________________________________ Yahoo! Music Unlimited Access over 1 million songs. Try it free. http://music.yahoo.com/unlimited/ _______________________________________________ --Bandwidth and Colocation sponsored by Easynews.com -- Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-use
Naija Man
2006-Oct-01 09:23 UTC
[Asterisk-Users] Help, please help -- IAX2 softphone to server on LAN
> > ---------- Forwarded message ---------- > From: "William Piper" <william.piper@gmail.com> > To: "Asterisk Users Mailing List - Non-Commercial Discussion" < > asterisk-users@lists.digium.com> > Date: Sat, 30 Sep 2006 22:08:23 -0400 > Subject: Re: [Asterisk-Users] Help, please help -- IAX2 softphone to > server on LAN > Sure sounds like a firewall issue... if you pinging port 4069 and it is > not coming back, that sounds like a firewall problem. Try taking down your > iptables and then try & see what happens. > > bp > > > On 9/28/06, Wolfgang_Borgon <wborgon@yahoo.com> wrote: > > > > David, > > Yes, I've also forwarded port 4569 to the server. > > Since the router is forwarding to the server, I cannot > > forward it to the client as well -- however, as the > > client isn't going out past the LAN, it shouldn't > > matter... unless there's something else going on that > > I don't know about. > > Thanks > > Wolfgang > > > > --- David J Carter < david.carter@codepipe.com> wrote: > > > > > Wolfgang wrote: - > > > > > > I've already sunk several hours into this without > > > any > > > real progress, so I'd really appreciate any help My > > > task is simple -- establish a connection between a > > > softphone on XP ProSP2 to a Asterisk server on Linux > > > FC4 over a LAN through a Netgear router. The server > > > will then go out to a PSTN termination service. > > > > > > Thus far, the PSTN termination connection works fine > > > -- I've opened up 4569 with iptables, and forwarded > > > 4569 to the server IP. I am not, however, having > > > any > > > luck connecting the softphone to the server. > > > > > > I can telnet, ftp, and http to the server, but not > > > IAX2. Iaxping times out, registration by Idefisk and > > > Firefly also times out. > > > > > > The server fails to see the client as well. > > > > > > Here's a portion of my iax.conf: > > > > > > [client] > > > type=friend > > > username=client > > > secret=****** > > > host=192.168.1.40 > > > context=clientcon > > > > > > and extensions.conf: > > > > > > [clientcon] > > > exten => 2278,1,Dial(IAX2/client) > > > > > > > > > > > =========================================================> > > You say you have 4569 configured in iptables, what > > > about the netgear router? > > > > > > Have you port forwarded 4569 there? > > > > > > Dave > > > > >In your iax.conf, instead of... host=192.168.1.40 Use... host=dynamic -Buki - Da Naija Man -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20061001/f998580f/attachment.htm