[Home]

Summary:ASTERISK-10304: moh does not play during calls to app_system
Reporter:Matthew Nicholson (mnicholson)Labels:
Date Opened:2007-09-14 16:57:30Date Closed:2007-09-19 14:33:00
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Applications/app_system
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:app_system does not service the channel during execution which causes music on hold to stop playing during curl execution. This can be fixed by starting an autoservice on the channel before doing any long running operations.

This can be reproduced using the following dialplan snippet.

[moh-test]

exten => s,1,StartMusicOnHold
exten => s,n,Wait(3)
exten => s,n,System(sleep 3)
exten => s,n,Wait(3)
exten => s,n,StopMusicOnHold

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

This is related to 10725.  Other applications and functions suffer from this same issue.
Comments:By: Digium Subversion (svnbot) 2007-09-19 14:32:00

Repository: asterisk
Revision: 83179

------------------------------------------------------------------------
r83179 | russell | 2007-09-19 14:31:59 -0500 (Wed, 19 Sep 2007) | 5 lines

The System() and TrySystem() applications can take a substantial amount of
time to execute while not servicing the channel.  So, put the channel in
autoservice while the command is being executed.
(closes issue ASTERISK-10304, reported by mnicholson)

------------------------------------------------------------------------

By: Digium Subversion (svnbot) 2007-09-19 14:33:00

Repository: asterisk
Revision: 83180

------------------------------------------------------------------------
r83180 | russell | 2007-09-19 14:32:59 -0500 (Wed, 19 Sep 2007) | 13 lines

Merged revisions 83179 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r83179 | russell | 2007-09-19 14:50:48 -0500 (Wed, 19 Sep 2007) | 5 lines

The System() and TrySystem() applications can take a substantial amount of
time to execute while not servicing the channel.  So, put the channel in
autoservice while the command is being executed.
(closes issue ASTERISK-10304, reported by mnicholson)

........

------------------------------------------------------------------------