[asterisk-users] IAX Trunking Only ONE-WAY

Lic. Miguel Cavazos miguel at cavazos.com.mx
Tue Aug 8 10:20:50 MST 2006


Hello, i have been reading the archives and cant find the answer to my
question. Here is the scenario,

SIP dallas gateway --> IAX2 g729 codec --> mex gw

So i send all my sip traffic on iax2 to mexico using g729 and trunk
mode, but the trunk debug shows only mexico doing trunking, in mexico
i get RX BW 40% higher than TX BW.

on dallas server when i get:

IAX2 Trunk Debug Requested
  Beginning trunk processing. Trunk queue ceiling is 128000 bytes per  
host
  - Trunk peer (200.xxx.xxx.190:4569) has 0 call chunks in transit, 0
bytes backloged and has hit a high water mark of 0 bytes
Ending trunk processing with 1 peers and 0 call chunks processed

on mexico server i get:
Beginning trunk processing. Trunk queue ceiling is 128000 bytes per host
  - Trunk peer (216.xxx.xxx.254:4569) has 19 call chunks in transit, 0
bytes backloged and has hit a high water mark of 6400 bytes
Ending trunk processing with 1 peers and 19 call chunks processed

So my bw monitor tool shows this on mexico

       Iface        RX(KB/sec)   TX(KB/sec)   Total(KB/sec)

          lo            0.000        0.000           0.000
        eth0           62.023       27.814          89.837
        sit0            0.000        0.000           0.000

       Total           62.023       27.814          89.837

My configuration on Dallas (Sending Calls)

iax.conf

[general]
bindaddr=216.xxx.xxx.254
bindport=4569
bandwidth=low
echocancel=no
jitterbuffer=no
tos=lowdelay
disallow=all
allow=g729

[mtygw]
type=friend
trunk=yes
context=mexico-out
username=mtygw
secret=*******
notransfer=yes
host=200.xxx.xxx.190
disallow=all
allow=g729

extensions.conf
MTYGW=IAX2/dallas:******@200.xxx.xxx.190
exten => _0115281.,1,Dial(${MTYGW}/${EXTEN:7},31)

My configuration on Mexico (Reciving Calls)

iax.conf

[general]
bindaddr=200.xxx.xxx.190
bindport=4569
bandwidth=low
echocancel=no
disallow=all
allow=g729
allow=gsm
jitterbuffer=no
tos=lowdelay


[dallas]
type=friend
trunk=yes
context=mexico-out
username=dallas
secret=*****
host=216.xxx.xxx.254
notransfer=yes
disallow=all
allow=g729

mexico only gets calls from dallas so theres no need to show you the
extensions.conf setup. Any ideas what can it be wrong that i get only
trunking on one side? thank you guys

p.s. im getting the timers on dallas from ztdummy im using kernel
2.6.12-10-686-smp and im getting the timer on mexico from the digium
card.

Miguel Cavazos



More information about the asterisk-users mailing list