[asterisk-bugs] [Asterisk 0012110]: CCM sends multiple INVITEs which causes MusicOnHold to execute on a channel

noreply at bugs.digium.com noreply at bugs.digium.com
Wed Mar 12 13:21:52 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=12110 
====================================================================== 
Reported By:                blitzrage
Assigned To:                kpfleming
====================================================================== 
Project:                    Asterisk
Issue ID:                   12110
Category:                   Channels/chan_sip/Interoperability
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
Asterisk Version:           1.4.18 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             02-29-2008 16:27 CST
Last Modified:              03-12-2008 13:21 CDT
====================================================================== 
Summary:                    CCM sends multiple INVITEs which causes MusicOnHold
to execute on a channel
Description: 
Found this for a client who is using a CCM gateway and terminating calls to
SIP phones attached to Asterisk.

I've added some traces from the console with history dumped. You'll notice
in the good calls that you get 3 or 4 INVITE,100,200,ACK loops, then the
CCM stops sending the invites, and the call remains setup.

In 1.2.26.2, you'll see that happen, with the Starting Music on
Hold/Stopping Music on Hold each time that loop happens. On 1.2 though, the
music on hold never actually is heard. On 1.4, when the same thing happens,
the music on hold actually is executed and does not stop.

This is preventing him from moving to 1.4.
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0011475 Asterisk replies with a 488 to a Re-Inv...
====================================================================== 

---------------------------------------------------------------------- 
 kpfleming - 03-12-08 13:21  
---------------------------------------------------------------------- 
Please try the attached issue_12110.patch against Asterisk 1.4; Asterisk
has some code to explicitly take calls *off* hold when receiving an INVITE
with no SDP, which as added to interoperate with at least one known system
that uses them that way. The problem here is that CCM expects the opposite
behavior; when it sends an INVITE with no SDP, it's expecting use not to
change the state of the call, but we are.

If the patch works for you, then we'll need to make a config option to
make this behavior in Asterisk something that can be controlled. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
03-12-08 13:21  kpfleming      Note Added: 0083834                          
======================================================================




More information about the asterisk-bugs mailing list