[Asterisk-Users] IAX2 trunk mode not working
Javier Pinzon
jpinzon at vir2com.com
Mon Oct 4 17:12:36 MST 2004
Hi all - We have several servers working just fine with IAX2 w/o trunk mode.
We are trying to setup trunk mode to save bandwidth, but we can not achieve
the savings with our current configuration (see below).
When we place a call between * boxes A & B it works fine, but the command
'iax2 trunk debug' shows no activity for the trunk mode (1 peer, 0 calls).
Anyone who has been able to configure IAX2 trunks can help?
Server A is a Dual Xeon 2.8 Ghz running a CVS from 2/16/04 on Redhat 9.0
Server B is a Pentium III 900 MHz running a CVS from 8/25/04 on Redhat 9.0
Both servers have G729 installed and working. Here is a pseudo-diagram/flow:
PSTN ---{PRI/TE410P}---> Server A ---{IAX2}---> Server B ---> Music On Hold
The connection between A & B is a 128Kbps dedicated IP channel and we expect
to be able to handle up to 10 calls. Right now 5 calls is the limit with
G729. After that the voice is choppy.
Thanks
Javier
==========================================================================
Server A connected to the PSTN (PRI/E1 using a TE410P) =>
IP:XXX.XXX.XXX.XXX
===========IAX.conf==========
[pbxserverA]
type= friend
trunk=yes
username=ServerA01
auth=plaintext
secret=IAXServerA01
context=LDN
host=YYY.YYY.YYY.YYY
port=5036
qualify=yes
==========Extensions.conf==========
[default]
exten=>
5252525,1,Dial(IAX2/pbxserverB:IAXServerB01 at YYY.YYY.YYY.YYY/${EXTEN})
[LDN]
exten => _021XXXXXXX,1,Dial(Zap/g2/09${EXTEN:2})
exten => _02XXXXXXXX,1,Dial(Zap/g2/07${EXTEN:2})
----------------------------------
Server B IP=> YYY.YYY.YYY.YYY
========IAX.conf =========
[pbxserverB]
type=friend
trunk=yes ; Use IAX2 trunking with this host
username=ServerB01
auth=plaintext
secret=IAXServerB01
context=default
host=XXX.XXX.XXX.XXX
port=5036
qualify=yes
======== Extensions.conf ==========
[outgoing]
exten =>
_902XXXXXXXX,2,Dial(IAX2/pbxserverA:IAXServerA01 at XXX.XXX.XXX.XXX/${EXTEN:1}@
LDN)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20041004/3a2752f9/attachment.htm
More information about the asterisk-users
mailing list