[asterisk-users] IAX2 Question (Asterisk 1.4 tarball)

David Ruggles david at safedatausa.com
Tue Mar 13 08:38:13 MST 2007


I've got IAX2 setup between two servers with this config:

I have two servers on a switch: asteriskm is 192.168.0.160 and asterisk1 is
192.168.0.161 asteriskm has a Sangoma T1 card in it. I want to route calls
from asteriskm to asterisk1 which will run an AGI IVR for the call.

Config is below, but my problem is that 90-95% of the time when I start
asterisk on the two servers I get the following message on asteriskm's cli:
[Mar 13 11:34:33] NOTICE[6024]: chan_iax2.c:7840 __iax2_poke_noanswer: Peer
'asterisk1' is now UNREACHABLE! Time: 0
[Mar 13 11:36:13] WARNING[6029]: chan_iax2.c:3792 iax2_send: No private
structure for packet?

The warning repeats every 30 seconds, what am I doing wrong?

Asteriskm config:
**iax.conf**
[general]
bindaddr=192.168.0.160
bandwidth=low
disallow=all
allow=gsm
jitterbuffer=no
tos=lowdelay
authdebug=no

[asterisk1]
type=peer
username=asteriskm
auth=plaintext
secret=asgard
host=192.168.0.161
qualify=yes

**extensions.conf**
[general]

[1ST-T1]
exten => _XXXXX,1,AGI(rexx.agi)
exten => 12345,1,Dial(IAX2/asterisk1/80483)
exten => 12345,n,Hangup()

Asterisk1 config:
**iax.conf**
[general]
bindaddr=192.168.0.161
bandwidth=low
disallow=all
allow=gsm
jitterbuffer=no
tos=lowdelay
authdebug=no

[asteriskm]
type=user
context=incoming-iax
auth=plaintext
secret=asgard
host=192.168.0.160
qualify=yes
trunk=yes

**extensions.conf**
[general]

[incoming-iax]
exten => _XXXXX,1,AGI(rexx.agi)

Thanks,

David Ruggles
CCNA MCSE (NT) CNA A+
Network Engineer	Safe Data, Inc.
(910) 285-7200	david at safedatausa.com





More information about the asterisk-users mailing list