[Home]

Summary:ASTERISK-15045: IAX trunk clicks as other calls in the same trunk hang up
Reporter:Alec Davis (alecdavis)Labels:
Date Opened:2009-10-28 05:02:12Date Closed:2011-06-07 14:00:58
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Channels/chan_iax2
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:We have 2 IAX trunks between head office and 2 branch office, over a 5Mbit private ip network.

Each time a call hangs up on the same trunk as other calls, the other calls hear an annoying click.

When a 2nd call joins the trunk, no clicks are heard.  

Call quality while talking is near perfect with so much bandwidth, we are using alaw codec.


****** ADDITIONAL INFORMATION ******

DAHDI Version: 2.2.0
Asterisk SVN-branch-1.6.1-r224673
libpri version: SVN-branch-1.4-r1220

astrid*CLI> iax2 show peers
Name/Username    Host                 Mask             Port          Status
sitea/sitea  192.168.20.254  (S)  255.255.255.255  4569 (T)  (E) OK (12 ms)
siteb/siteb  192.168.30.254  (S)  255.255.255.255  4569 (T)  (E) OK (5 ms)
Comments:By: Alec Davis (alecdavis) 2009-10-28 15:34:26

<pre>
<b><u>iax.conf at headoffice site:</u></b>
[general]
bindport=4569
bindaddr=192.168.x.xx
iaxcompat=yes
delayreject=yes
bandwidth=low
disallow=lpc10
allow=alaw
allow=ulaw
allow=gsm  
jitterbuffer=no
forcejitterbuffer=no
trunkfreq=20
trunktimestamps=yes
autokill=yes

[sitea]
type=friend
host=192.168.y.yy
trunk=yes
transfer=no                     ; Disable IAX native transfer
username=sitea
secret=secret
context=iaxtrunk
peercontext=iaxtrunk
qualify=yes
qualifysmoothing = yes          ; use an average of the last two PONG
                               ; results to reduce falsly detected LAGGED hosts
                               ; Default: Off
qualifyfreqok = 60000           ; how frequently to ping the peer when
                               ; everything seems to be ok, in milliseconds
qualifyfreqnotok = 2000         ; how frequently to ping the peer when it's
                               ; either LAGGED or UNAVAILABLE, in milliseconds
permit=192.168.y.yy/255.255.255.255

<b><u>iax.conf at branch site:</u></b>
[general]
repeat of head office site except for binaddr
bindaddr=192.168.y.yy

[sitea]
type=friend
host=192.168.x.xx
trunk=yes
username=sitea
secret=secret
context=iaxtrunk
peercontext=iaxtrunk
qualify=yes
qualifysmoothing = yes          ; use an average of the last two PONG
                               ; results to reduce falsly detected LAGGED hosts
                               ; Default: Off
qualifyfreqok = 60000           ; how frequently to ping the peer when
                               ; everything seems to be ok, in milliseconds
qualifyfreqnotok = 2000         ; how frequently to ping the peer when it's
                               ; either LAGGED or UNAVAILABLE, in milliseconds
permit=192.168.x.xx/255.255.255.255
</pre>

By: Leif Madsen (lmadsen) 2009-11-02 11:43:11.000-0600

I could have sworn I saw another issue filed that described the same thing as this, but I can't seem to find it right now.

By: Alec Davis (alecdavis) 2009-11-02 14:39:24.000-0600

'acknowledged' what now?

This is probably more severe than initially reported, as I'd only heard it before deployment, but now the deployment is done, with the trunks between offices being busy, it's actually quiet annoying.

By: Leif Madsen (lmadsen) 2009-11-03 08:49:53.000-0600

I've acknowledge that based on your description, this is probably an actual issue that needs to be moved forward by a developer. The more information you can provide the better, however resources will resolve the issue as time permits.

By: Sean Bright (seanbright) 2011-05-12 09:11:07

Is this still a problem?

By: Alec Davis (alecdavis) 2011-05-12 21:34:05

Not any more that worries us.

Same test between same sites, now with Asterisk 1.8.2 and SVN-branch-1.8-r315673M