[Asterisk-Users] Help, please help -- IAX2 softphone to server on LAN

Wolfgang Borgon wborgon at yahoo.com
Mon Oct 10 10:57:06 MST 2005


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 at 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/



More information about the asterisk-users mailing list