Set  event on while login into  AMI and set your own uniqueid using action ID for that call .<br>Example :<br>action: login<br>Username: your_user<br>Secret: your_secret<br>Event: On<br><br>action: Originate<br>channel: SIP/101<br>
application: Dial<br>data: SIP/100,120,Ttr<br>ActionId: yourID<br><br><br>Hope that  will help.<br><br><div class="gmail_quote">On Mon, Nov 8, 2010 at 1:12 PM, Rodrigo Lang <span dir="ltr">&lt;<a href="mailto:rodrigoferreiralang@gmail.com">rodrigoferreiralang@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Hi to all.<br><br>I&#39;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><br><br><br>Thanks a lots,<br clear="all"><font color="#888888">-- <br>Rodrigo Lang<br><a href="http://openingyourmind.wordpress.com/" target="_blank">Opening your mind - Just another Open Source site</a><br>

<br>
</font><br>--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">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" target="_blank">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" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br><br clear="all"><br>-- <br><b>Adolphe CHER-AIME<br>
Network / VoIP  Engineer<br>CCNA, CCNA VOICE, Global VSAT Forum Certified<br>(509) 3449-4280</b><br>