Hi,
How do I execute something after a meetme conference? Something like a bash script. Because I don’t see any variable like MONITOR_EXEC. Do I need to modify the app_meetme.c to solve this? Please point me to the right direction.
Thanks
Hi,
How do I execute something after a meetme conference? Something like a bash script. Because I don’t see any variable like MONITOR_EXEC. Do I need to modify the app_meetme.c to solve this? Please point me to the right direction.
Thanks
Not really sure what you are trying to do. Here are a couple options, if these don’t meet your needs, be more specific about what you are trying to do.
1.) If you want to execute a script after a user has left a conference you could try something like this
exten => 1,1,Answer
exten => 1,n,MeetMe(100,p) ; ‘p’ allows user to exit conference by pressing '#'
exten => 1,n,AGI(script.sh)
exten => h,1,DeadAGI(script.sh)
This will execute the ‘script.sh’ shell script either after the person leaves the conference or before they hangup.
2.) If you want to execute a script while the user is in the conference, you may want to try the ‘b’ option. This will execute an AGI script in the background of the conference. It is described better on http://www.voip-info.org/wiki-Asterisk+cmd+Meetme.
Dan