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

Kevin Harwell (JIRA) noreply at issues.asterisk.org
Tue Apr 17 10:23:52 CDT 2018


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

Kevin Harwell commented on ASTERISK-27805:
------------------------------------------

Set the following in _features.conf_:
{noformat}
[applicationmap]
pauseMonitor   => #1,self/callee,Pausemonitor
unpauseMonitor => #3,self/callee,UnPauseMonitor
{noformat}
Also something like the following in _extensions.conf_:
{noformat}
[default]
exten => predial_outbound,1,NoOp()
	same => n,MixMonitor(/tmp/mixmonitor.wav)
	same => n,Return()

exten => _1XX,1,NoOp()
	same => n,Set(__DYNAMIC_FEATURES=pauseMonitor#unpauseMonitor)
	same => n,Dial(PJSIP/${EXTEN},,b(default^predial_outbound^1))
	same => n,Hangup()
{noformat}
Then have something like endpoint 101 dial endpoint 102. After answering, when 102 presses '#1' on their phone the call is hung up. I was also able to duplicate this by not even having the predial handler attached at all. Just set the features, call, press the feature code, and then it hangs up.

> 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