Amazing. Thanks Jarrod. <div><br><div><br><div class="gmail_quote">On Wed, Dec 23, 2009 at 7:09 PM, Jarrod Lash <span dir="ltr"><<a href="mailto:jarrod@fed-com.com">jarrod@fed-com.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Bruce,<br>
<br>
<a href="http://www.voip-info.org/wiki/view/Asterisk+manager+API" target="_blank">http://www.voip-info.org/wiki/view/Asterisk+manager+API</a><br>
<br>
In the AMI do :<br>
Variable: crap1=data<br>
Variable: crap2=data<br>
Variable: crap3=data<br>
<br>
<br>
In the dialplan variables will be in the format..<br>
${crap1}<br>
<br>
<br>
Also as an FYI.. Look at cepstral in place of Festival...<br>
<br>
--<br>
Jarrod Lash, <<a href="mailto:jarrod@fed-com.com">jarrod@fed-com.com</a>><br>
Federated Communications, LLC.<br>
<a href="http://www.fed-com.com" target="_blank">www.fed-com.com</a><br>
Office: +1-412-357-2127<br>
Mobile: +1-412-999-0049<br>
Fax: +1-412-545-8368<br>
<div><div></div><div class="h5"><br>
<br>
<br>
<br>
On Wed, Dec 23, 2009 at 6:28 PM, Bruce Nik <<a href="mailto:brucevoip@gmail.com">brucevoip@gmail.com</a>> wrote:<br>
> Hello Everyone,<br>
> I want to send a few numbers (variables) when doing Asterisk AMI Originate<br>
> command and then have Festival read them back to customer in the context.<br>
> How should this be done? Following is my not working example and also<br>
> reference on AMI Originate Command:<br>
> Command: Originate<br>
> Channel: SIP/123<br>
> Context: TestFestival<br>
> Priority: 1<br>
> Exten: 555<br>
> Variable: $numberONE, $numberTWO, $numberTHREE<br>
> /etc/asterisk/extensions.conf:<br>
> [TestFestival]<br>
> exten => 555,1,Answer()<br>
> exten => 555,n,Festival(you entered: $numberONE $numberTWO $numberTHREE)<br>
> exten => 555,n,Hangup()<br>
> I very much appreacitate any input on this.<br>
><br>
><br>
><br>
><br>
> trixbox1*CLI> manager show command originate<br>
> Action: Originate<br>
> Synopsis: Originate Call<br>
> Privilege: originate,all<br>
> Description: Generates an outgoing call to a Extension/Context/Priority or<br>
> Application/Data<br>
> Variables: (Names marked with * are required)<br>
> *Channel: Channel name to call<br>
> Exten: Extension to use (requires 'Context' and 'Priority')<br>
> Context: Context to use (requires 'Exten' and 'Priority')<br>
> Priority: Priority to use (requires 'Exten' and 'Context')<br>
> Application: Application to use<br>
> Data: Data to use (requires 'Application')<br>
> Timeout: How long to wait for call to be answered (in ms)<br>
> CallerID: Caller ID to be set on the outgoing channel<br>
> Variable: Channel variable to set, multiple Variable: headers are<br>
> allowed<br>
> Account: Account code<br>
> Async: Set to 'true' for fast origination<br>
><br>
</div></div>> _______________________________________________<br>
> -- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.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">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
><br>
<br>
_______________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.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">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
</blockquote></div><br></div></div>