[Home]

Summary:ASTERISK-17307: ConfBridge mute option 'm' fails under a specific scenario
Reporter:Simon M (smallet)Labels:
Date Opened:2011-01-28 14:44:43.000-0600Date Closed:2012-02-02 09:23:58.000-0600
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Applications/app_confbridge
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:We are using ConfBridge for 3-way call usage and are currently experiencing some strange behavior with the 'm' (mute) option.

We have noticed that when the following sequence occurs, the mute option is not respected, that is, the person that should be muted is not.

Sequence of calls with person muted (setting is ignored somehow) (with options)
1q
1qm
1qA

Sequence of calls with person muted (working!!)
1q
1qA
1qm

I put reproducibility to 'always' but again, that will occur only when the sequence is 1q, 1qm, 1qA, which we are able to reproduce when the 2 persons called answer just about at the same time (but the muted person answers like 0.5 second faster).

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

here's the asterisk AGI trace (the mute IS respected in this scenario)

Called 5000@AS5350
   -- SIP/AS5350-00000045 is ringing
   -- SIP/AS5350-00000044 is making progress passing it to Local/init@conference_init-d51f;2
   -- SIP/AS5350-00000045 answered Local/init@conference_init-5dd3;2
   -- Executing [s@conference_check:1] AGI("Local/init@conference_init-5dd3;1", "conference_check.agi,1296245943.155,1") i
   -- Launched AGI Script /var/lib/asterisk/agi-bin/conference_check.agi
   -- AGI Script Executing Application: (ConfBridge) Options: (1296245943.155,1q)
   -- AGI Script Executing Application: (noOp) Options: (Found.PSAP.In.Conference..Add.Caller)
   -- Executing [h@conference_init:1] Hangup("Local/init@conference_init-5dd3;2", "") in new stack
   -- <Local/init@conference_init-5dd3;2>AGI Script conf_leg_calling.agi completed, returning -1
   -- AGI Script Executing Application: (Answer) Options: ()
   -- SIP/AS5350-00000044 answered Local/init@conference_init-d51f;2
   -- Executing [s@conference_check:1] AGI("Local/init@conference_init-d51f;1", "conference_check.agi,1296245943.155,2") i
   -- Launched AGI Script /var/lib/asterisk/agi-bin/conference_check.agi
   -- AGI Script Executing Application: (ConfBridge) Options: (1296245943.155,1qA)
   -- AGI Script Executing Application: (ConfBridge) Options: (1296245943.155,1qm)
   -- Executing [h@conference_init:1] Hangup("Local/init@conference_init-d51f;2", "") in new stack
   -- <Local/init@conference_init-d51f;2>AGI Script conf_leg_calling.agi completed, returning -1
   -- <SIP/AS5350-00000045>AGI Script conference_check.agi completed, returning -1
   -- Executing [h@conference_check:1] AGI("SIP/AS5350-00000045", "hangup_check.agi,1296245943.155,1,1296245966") in new s
   -- Launched AGI Script /var/lib/asterisk/agi-bin/hangup_check.agi
   -- <SIP/AS5350-00000045>AGI Script hangup_check.agi completed, returning 0
   -- Executing [h@conference_check:2] Hangup("SIP/AS5350-00000045", "") in new stack
 == Spawn extension (conference_check, h, 2) exited non-zero on 'SIP/AS5350-00000045'
   -- <SIP/AS5350-00000044>AGI Script conference_check.agi completed, returning -1
   -- Executing [h@conference_check:1] AGI("SIP/AS5350-00000044", "hangup_check.agi,1296245943.155,2,1296245971") in new s
   -- Launched AGI Script /var/lib/asterisk/agi-bin/hangup_check.agi
   -- <SIP/AS5350-00000044>AGI Script hangup_check.agi completed, returning 0
   -- Executing [h@conference_check:2] Hangup("SIP/AS5350-00000044", "") in new stack
 == Spawn extension (conference_check, h, 2) exited non-zero on 'SIP/AS5350-00000044'
   -- <SIP/192.168.0.13-00000043>AGI Script 911main.agi completed, returning -1
   -- Executing [h@sbcservers:1] Set("SIP/192.168.0.13-00000043", "cdr_end_time=1296245973") in new stack
   -- Executing [h@sbcservers:2] AGI("SIP/192.168.0.13-00000043", "911cdr.agi,1296245943.155") in new stack
   -- Launched AGI Script /var/lib/asterisk/agi-bin/911cdr.agi



Here's the second asterisk AGI trace (the mute IS NOT respected in this scenario)
Called 5000@AS5350
   -- SIP/AS5350-00000021 is ringing
   -- SIP/AS5350-00000020 is making progress passing it to Local/init@conference_init-5088;2
   -- SIP/AS5350-00000021 answered Local/init@conference_init-cc56;2
   -- Executing [s@conference_check:1] AGI("Local/init@conference_init-cc56;1", "conference_check.agi,1296244527.71,1") in
   -- Launched AGI Script /var/lib/asterisk/agi-bin/conference_check.agi
   -- AGI Script Executing Application: (ConfBridge) Options: (1296244527.71,1q)
   -- Executing [h@conference_init:1] Hangup("Local/init@conference_init-cc56;2", "") in new stack
   -- <Local/init@conference_init-cc56;2>AGI Script conf_leg_calling.agi completed, returning -1
   -- AGI Script Executing Application: (noOp) Options: (Found.PSAP.In.Conference..Add.Caller)
   -- AGI Script Executing Application: (Answer) Options: ()
   -- SIP/AS5350-00000020 answered Local/init@conference_init-5088;2
   -- Executing [s@conference_check:1] AGI("Local/init@conference_init-5088;1", "conference_check.agi,1296244527.71,2") in
   -- Launched AGI Script /var/lib/asterisk/agi-bin/conference_check.agi
   -- AGI Script Executing Application: (ConfBridge) Options: (1296244527.71,1qm)
   -- AGI Script Executing Application: (ConfBridge) Options: (1296244527.71,1qA)
   -- Executing [h@conference_init:1] Hangup("Local/init@conference_init-5088;2", "") in new stack
   -- <Local/init@conference_init-5088;2>AGI Script conf_leg_calling.agi completed, returning -1
   -- <SIP/AS5350-00000021>AGI Script conference_check.agi completed, returning -1
   -- Executing [h@conference_check:1] AGI("SIP/AS5350-00000021", "hangup_check.agi,1296244527.71,1,1296244574") in new st
   -- Launched AGI Script /var/lib/asterisk/agi-bin/hangup_check.agi
   -- <SIP/AS5350-00000021>AGI Script hangup_check.agi completed, returning 0
   -- Executing [h@conference_check:2] Hangup("SIP/AS5350-00000021", "") in new stack
 == Spawn extension (conference_check, h, 2) exited non-zero on 'SIP/AS5350-00000021'
   -- <SIP/AS5350-00000020>AGI Script conference_check.agi completed, returning -1
   -- Executing [h@conference_check:1] AGI("SIP/AS5350-00000020", "hangup_check.agi,1296244527.71,2,1296244577") in new st
   -- Launched AGI Script /var/lib/asterisk/agi-bin/hangup_check.agi
   -- <SIP/AS5350-00000020>AGI Script hangup_check.agi completed, returning 0
   -- Executing [h@conference_check:2] Hangup("SIP/AS5350-00000020", "") in new stack
 == Spawn extension (conference_check, h, 2) exited non-zero on 'SIP/AS5350-00000020'
   -- <SIP/192.168.0.13-0000001f>AGI Script 911main.agi completed, returning -1
   -- Executing [h@sbcservers:1] Set("SIP/192.168.0.13-0000001f", "cdr_end_time=1296244582") in new stack
   -- Executing [h@sbcservers:2] AGI("SIP/192.168.0.13-0000001f", "911cdr.agi,1296244527.71") in new stack
   -- Launched AGI Script /var/lib/asterisk/agi-bin/911cdr.agi
Comments:By: Simon M (smallet) 2011-01-28 14:46:31.000-0600

To temporarily fix this problem, we are adding a 1 second wait time for the person that is muted, so there is no way for that person to appear in front of the 1qA.!

By: Kinsey Moore (kmoore) 2011-08-15 10:34:16.223-0500

What version of Asterisk does this occur under?

By: Matt Jordan (mjordan) 2012-02-02 09:23:43.652-0600

Per the Asterisk maintenance timeline page at http://www.asterisk.org/asterisk-versions maintenance (bug) support for the 1.4 and 1.6.x branches has ended. For continued maintenance support please move to the 1.8 branch which is a long term support (LTS) branch. For more information about branch support, please see https://wiki.asterisk.org/wiki/display/AST/Asterisk+Versions.  After testing with Asterisk 1.8, if you find this problem has not been resolved, please open a new issue against Asterisk 1.8.