[asterisk-bugs] [JIRA] (ASTERISK-24527) Give StopMixMonitor the ability to Stop MixMon on ANY channel.

xrobau (JIRA) noreply at issues.asterisk.org
Fri Nov 14 19:01:29 CST 2014


xrobau created ASTERISK-24527:
---------------------------------

             Summary: Give StopMixMonitor the ability to Stop MixMon on ANY channel.
                 Key: ASTERISK-24527
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-24527
             Project: Asterisk
          Issue Type: Improvement
      Security Level: None
          Components: Applications/app_mixmonitor
    Affects Versions: 13.0.0
            Reporter: xrobau
            Severity: Minor


If the channel that started recording (via dialplan) wishes to stop recording after (for example) going through Queues, the StopMixMonitor command is unable to stop it, as it will only look on the CURRENT channel for the MixMonID.

Adding the ability to specify the channel to StopMixMon would make this more controllable by the dialplan:

{code}
   -- Executing [recordcheck at sub-record-check:18] MixMonitor("Local/11991199 at from-pstn-0000000c;2", "2014/11/15/q-1122-91919191-20141115-103758-1416011878.395.wav,ai(LOCAL_MIXMON_ID),") in new stack
    -- Executing [recordcheck at sub-record-check:19] Set("Local/11991199 at from-pstn-0000000c;2", "__MIXMON_ID=0x7fd0b498c6d0") in new stack
    -- Executing [recordcheck at sub-record-check:20] Set("Local/11991199 at from-pstn-0000000c;2", "__RECORD_ID=Local/11991199 at from-pstn-0000000c;2") in new stack
{code}

That starts recording, then gets handed to a Queue..

{code}
   -- Executing [1122 at ext-queues:41] Queue("Local/11991199 at from-pstn-0000000c;2", "1122,t,,,,,,,,") in new stack
    -- Called Local/303 at from-queue/n
    --     -- LazyMembers debugging - Numbusies: 0, Nummems: 1
  == Begin MixMonitor Recording Local/11991199 at from-pstn-0000000c;2
    -- Executing [303 at from-queue:1] Set("Local/303 at from-queue-0000000d;2", "QAGENT=303") in new stack
    -- Executing [303 at from-queue:2] Goto("Local/303 at from-queue-0000000d;2", "1122,1") in new stack
    -- Goto (from-queue,1122,1)
{code}

....

{code}
  -- Executing [recordcheck at sub-record-check:26] StopMixMonitor("Local/303 at from-queue-0000000d;2", "") in new stack
    -- Executing [recordcheck at sub-record-check:27] StopMixMonitor("Local/303 at from-queue-0000000d;2", "0x7fd0b498c6d0") in new stack
   -- Executing [recordcheck at sub-record-check:28] StopMixMonitor("Local/303 at from-queue-0000000d;2", "Local/11991199 at from-pstn-0000000c;2") in new stack
    -- Executing [recordcheck at sub-record-check:29] Return("Local/303 at from-queue-0000000d;2", "") in new stack
{code}

Either of the last two StopMixMonitors should be valid, I would think?
 





--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list