[Home]

Summary:ASTERISK-06310: [patch] app_meetme does not always turn off MOH when exiting
Reporter:Jeffrey C. Ollie (jcollie)Labels:
Date Opened:2006-02-14 08:37:50.000-0600Date Closed:2006-02-15 10:38:32.000-0600
Priority:CriticalRegression?No
Status:Closed/CompleteComponents:Applications/app_meetme
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) asterisk-meetme-moh-stop.diff.txt
Description:app_meetme does not turn off MOH when exiting, which can cause crashes in certain circumstances.  For example given the following dialplan snippet:

;========================================================

[internal]

exten => 1000,1,Set(MEETME_EXIT_CONTEXT=exittest-1)
exten => 1000,2,MeetMe(9999,MX)

[exittest-1]

exten => 1,1,Goto(exittest-2,s,1)

[exittest-2]

exten => s,1,Wait(10)
exten => s,2,Playback(beep)

;========================================================

If you call 1000 and get into the MeetMe, you'll hear the music on hold.  If you then hit '1' on your keypad you keep on hearing MOH for 10 seconds until the system tries to play the beep, at which time Asterisk will segfault.  app_meetme should be stopping the MOH if it started it.  I've attached a patch that turns off MOH before app_meetme exits.
Comments:By: Matt O'Gorman (mogorman) 2006-02-14 13:56:41.000-0600

commited in 1.2 and trunk

By: Matt O'Gorman (mogorman) 2006-02-15 10:38:04.000-0600

Committed revision 10195.

By: Matt O'Gorman (mogorman) 2006-02-15 10:38:32.000-0600

oops wrong bug