[asterisk-bugs] [JIRA] (ASTERISK-27805) PauseMonitor Disconnects Call when using MixMonitor in Pre-Dial Handlers

Richard Mudgett (JIRA) noreply at issues.asterisk.org
Wed Apr 18 08:28:50 CDT 2018


    [ https://issues.asterisk.org/jira/browse/ASTERISK-27805?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=243072#comment-243072 ] 

Richard Mudgett commented on ASTERISK-27805:
--------------------------------------------

MixMonitor like Monitor operates on a *channel* and the recording is associated with that channel.  If you start it on PJSIP/100 then you need to stop it on PJSIP/100.  PJSIP/200 doesn't know anything about MixMonitor on PJSIP/100.

{noformat}
exten = 100,1,NoOp()
; Start recording the incoming channel wherever the channel goes.
same = n,MixMonitor(incoming_channel_recording)
same = n,Dial(PJSIP/200,,b(predial_outgoing,1))
same = n,Hangup()

; This predial_outgoing routine operates on PJSIP/200 that the Dial above is getting ready to dial.
exten = predial_outgoing,1,NoOp()
; Start recording the outgoing channel wherever the channel goes.
same = n,MixMonitor(outgoing_channel_recording)
same = n,Return()
{noformat}

> PauseMonitor Disconnects Call when using MixMonitor in Pre-Dial Handlers
> ------------------------------------------------------------------------
>
>                 Key: ASTERISK-27805
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-27805
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Applications/app_mixmonitor, pjproject/pjsip
>    Affects Versions: 13.20.0, GIT
>         Environment: Fedora 23
>            Reporter: Ross Beer
>              Labels: pjsip
>
> If MixMonitor is set within a pre-dial handler and dynamic features are set in the preceding dialplan, the call is hung up when performing a PauseMonitor feature call.
> [predial]
> exten => _X.,1,MixMonitor(<Settings>)



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



More information about the asterisk-bugs mailing list