Thank you.<br><br>I had previously seen the Local channel channel but I didn't completely understand how it worked. That was a really good explanation of how I can do it.<br><br>Cheers,<br><br>- Simon<br><br><div><span class="gmail_quote">
On 7/27/06, <b class="gmail_sendername">Moises Silva</b> <<a href="mailto:moises.silva@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">moises.silva@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
may be im missing something, but i think the pseudo channel you are<br>looking for is called "Local" and you can call some extension that you<br>know the only thing it does is play the message you need. So you can
<br>originate a call to that Local channel and bridge it to the Meetme<br>conference where your users are waiting.<br><br>[meetme-play-message]<br>exten => s,1,Answer()<br>exten => s,2,Playback(were_sorry_the_translator_is_gone)
<br>exten => s,3,Hangup()<br><br>[receive-meetme-message]<br>exten => s,1,Answer()<br>exten => s,2,AGI(some.pl) /* assuming is needed to execute agi to know<br>wich conference to join*/<br>exten => s,3,Meetme(${variable_conference_set_from_perl_agi})
<br>exten => s,4,Hangup()<br><br>then, when a translator is gone, from the DeadAgi execute a manager<br>action "Originate" to call Local channel<br><br>Action: Originate<br>Channel: Local/s@meetme-play-message
<br>Context: receive-meetme-message<br>extension: s<br>priority: 1<br><br><br>You can do it in both directions :)<br><br>It would be enough?<br><br>Regards<br><br>On 7/27/06, Simon Austin <<a href="mailto:simon@openflows.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
simon@openflows.org</a>> wrote:<br>> Hi All,<br>><br>> I have a problem and I'm not sure if a solution is possible without using<br>> the asterisk testing code.<br>><br>> I am developing a volunteer translation service that users can dial into.
<br>> I have a list of volunteer translators cell phone numbers stored in a<br>> mysql database along with times that they have volunteered to act as<br>> translators. That I pull from using some perl AGI scripts.
<br>><br>> A user calls, I ask which language they need help/translation with, then I<br>> put the users into a meetme conference while I call translators and play<br>> them a message asking if they're available at this time. They can refuse
<br>> or accept the call.<br>><br>> Once I get a translator that has accepted the call I connect the<br>> translator as an administrator to the meetme conference that is holding<br>> the user that is listening to music on hold.
<br>><br>> That is all working quite well with the Dialplan and AGI scripts I have<br>> set up.<br>><br>> Problems happen when the translator drops the call midway through the<br>> conversation. i.e. Losing cell phone service.
<br>><br>> When that happens I need a way to play a message to the user to let them<br>> know that the translator has been lost and we're looking for a new one.<br>><br>> I then need to put back the music on hold, then run deadagi scripts to
<br>> find a new translator to connect to the meetme conference to help out the<br>> user.<br>><br>> What is currently happening is that the user is left in the conference<br>> alone forever listening to MOH.
<br>><br>> I think there are two ways to do this, but I can't find out how to do<br>> either from any documentation I've found.<br>><br>> 1. Break the user out of the meetme conf and back into the dialplan.
<br>> - If I kick them from the conference they are immediately hung up on and<br>> I don't know how to stop this from happening.<br>> - There is function that is available in Asterisk 1.4 called<br>> ManagerRedirect that seems like it could do this for me, but i'd rather
<br>> not try to integrate this into 1.2.10 because I fear breaking too many<br>> other things and running 1.4 (testing) just isn't an option at this time.<br>> (details here: <a href="http://bugs.digium.com/view.php?id=6508" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://bugs.digium.com/view.php?id=6508</a>)<br>><br>> 2. Play a message into the conference<br>> - Can I join a new pseudo channel that I've created to a meetme conf<br>> that plays a message? Does anyone know how to do this?
<br>> - Can I override the MOH and stream a recorded message into the<br>> conference with only the single user in the meetme conf?<br>><br>> Any help/ideas are appreciated.<br>><br>> Cheers,<br>><br>
> - Simon<br>><br>> Simon Austin<br>> <a href="http://simon.openflows.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://simon.openflows.org</a><br>> _______________________________________________
<br>> --Bandwidth and Colocation provided by
<a href="http://Easynews.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">Easynews.com</a> --<br>><br>> asterisk-users mailing list<br>> To UNSUBSCRIBE or update options visit:<br>>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://lists.digium.com/mailman/listinfo/asterisk-users
</a><br>><br><br><br>--<br>"Su nombre es GNU/Linux, no solamente Linux, mas info en <a href="http://www.gnu.org" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">http://www.gnu.org</a>"
<br>_______________________________________________<br>--Bandwidth and Colocation provided by
<a href="http://Easynews.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">Easynews.com</a> --<br><br>asterisk-users mailing list<br>To UNSUBSCRIBE or update options visit:<br> <a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">
http://lists.digium.com/mailman/listinfo/asterisk-users
</a><br></blockquote></div><br>