The communication problem boiled down to iptables rules, but I'm still
getting the "No private structure for packet?" error message. It
doesn't
seem to cause any problems and only occurs when an IAX2 peer has been
unavailable for at least three minutes, but I would like to know why it
happens if anyone knows.
Thanks,
David Ruggles
CCNA MCSE (NT) CNA A+
Network Engineer Safe Data, Inc.
(910) 285-7200 david@safedatausa.com
-----Original Message-----
From: asterisk-users-bounces@lists.digium.com
[mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of David Ruggles
Sent: Tuesday, March 13, 2007 11:38 AM
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: [asterisk-users] IAX2 Question (Asterisk 1.4 tarball)
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@safedatausa.com
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users