<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">The other thing you can do is put UserEvent() calls in your dialplan that can have pretty much anything you want in them.<div><br></div><div>exten => s,5,UserEvent(DidQueue,${UNIQUEID} & ${CHANNEL})<br><div>
<div style="font-family: Helvetica; "><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Monaco; ">-- </div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Monaco; ">Jim Dickenson</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Monaco; "><a href="mailto:dickenson@cfmc.com">mailto:dickenson@cfmc.com</a></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Monaco; min-height: 14px; "><br></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Monaco; ">CfMC</div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal 10px/normal Monaco; "><a href="http://www.cfmc.com/">http://www.cfmc.com/</a></div><div><font class="Apple-style-span" face="Monaco" size="2"><span class="Apple-style-span" style="font-size: 10px; "><br></span></font></div></div><br class="Apple-interchange-newline">
</div>
<br><div><div>On Nov 8, 2010, at 10:45 AM, Miguel Molina wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">
<div bgcolor="#ffffff" text="#000000">
El 08/11/10 13:12, Rodrigo Lang escribió:
<blockquote cite="mid:AANLkTimUVmFX0nAaVnY6tYMvivbLpSLRheoRREF4OpvE@mail.gmail.com" type="cite">Hi to all.<br>
<br>
I'm begin a use the AMI and i have the need to get the uniqueid
from the call i have generate using the Action Originate. Anyone
can help me?<br>
<br style="background-color: rgb(255, 255, 255);">
<span style="background-color: rgb(255, 255, 255);" lang="en">When
I generate these commands:</span><br>
<br>
action: Originate<br>
channel: SIP/101<br>
application: Dial<br>
data: SIP/100,120,Ttr<br>
<br>
<span lang="en"><span title="">The only response I get when the
call is answered, is this:</span></span><br>
<br>
Response: Success<br>
Message: Originate successfully queued<br>
<br>
</blockquote>
Hi,<br>
<br>
If you are using the originate action in asynchronous mode, you will
receive the uniqueid of the originated call in the OriginateResponse
event, not in the response of the action.<br>
<br>
Regards,<br>
<br>
<pre class="moz-signature" cols="72">--
Ing. Miguel Molina
Grupo de Tecnología
Millenium Phone Center
</pre>
</div>
-- <br>_____________________________________________________________________<br>-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com">http://www.api-digital.com</a> --<br>New to Asterisk? Join us for a live introductory webinar every Thurs:<br> <a href="http://www.asterisk.org/hello">http://www.asterisk.org/hello</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">http://lists.digium.com/mailman/listinfo/asterisk-users</a></blockquote></div><br></div></body></html>