[asterisk-bugs] [Asterisk 0017149]: Busy(xx) exits immediately on IAX channel

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Apr 8 10:58:29 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17149 
====================================================================== 
Reported By:                jlamanna
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   17149
Category:                   Applications/General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:           Older 1.4 - please test a newer version 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-04-08 00:30 CDT
Last Modified:              2010-04-08 10:58 CDT
====================================================================== 
Summary:                    Busy(xx) exits immediately on IAX channel
Description: 
I'm running Asterisk 1.4.26.3 and I've noticed an interesting problem
when trying to play a Busy tone over a IAX trunk from the PSTN.
It seems as though Busy(20) returns immediately (it does not
wait 20s), so the caller never hears the busy tone, but
the call just appears to hang up.
I don't believe this happens when trying to play a Busy on a SIP trunk.

The busy part of the dialplan looks like this,

exten => s-BUSY,1,Noop(Dial failed due to trunk reporting BUSY - giving
up)
exten => s-BUSY,n,Playtones(busy)
exten => s-BUSY,n,Busy(20)

The only way to remedy this is to put a Wait(20) between the
Playtones() and Busy().
Any ideas on why this only fails on IAX and not SIP?

I cannot test a later version of Asterisk because of the SIP relay bug.
====================================================================== 

---------------------------------------------------------------------- 
 (0120208) jlamanna (reporter) - 2010-04-08 10:58
 https://issues.asterisk.org/view.php?id=17149#c120208 
---------------------------------------------------------------------- 
IAX trunk configuration on A:
[to-pstn]
context=from-pstn
host=ip.address.B
qualify=yes
secret=xxxxxxxxx
type=peer
username=w2bpstn

IAX trunk configuration on B:
[w2bpstn]
context=from-internal
host=ip.address.A
secret=xxxxxxxxx
type=user 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-04-08 10:58 jlamanna       Note Added: 0120208                          
======================================================================




More information about the asterisk-bugs mailing list