I would not know if this is something that can be helpful to you, but in WombatDialer we associate a channel variable to with an unique-id to each call, so that we can reattach to a set of calls if the AMI connection goes down and we can be absolutely sure that what we are looking at is the call we think it is. It is not really expensive to do - just a GetVar per channel to mek sure our assumptions are correct.<br>
<div class="gmail_extra"><br><br><div class="gmail_quote">2012/11/7 Jerry Geis <span dir="ltr"><<a href="mailto:geisj@pagestation.com" target="_blank">geisj@pagestation.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I am using 1.4.43 currently.<br>
<br>
I am using the AMI to originate a call over a SIP Trunk to my cell XXX506YYYY. works fine.<br>
when the call is active I do a "core show channels concise" and I get:<br>
<br>
SIP/testsystem-00000ad0!<u></u>smvoice-dialout!callprogress!<u></u>4!Up!AGI!smvoice!0!!3!24!(<u></u>None)<br>
<br>
My AGI is called smvoice.<br>
No place does my number show up.<br>
How do I "lookup" my call so I can "hangup" the call at a later time.<br>
<br>
In my case there my be more than one call active at a time, and I want to<br>
hangup the correct call. I know I need the data "testsystem-00000ad0" to cancel my call<br>
but how do I "associate" that with my number so I can find the right call to hangup.<br>
<br>
Thanks,<br>
<br>
Jerry<br>
<br>
--<br>
______________________________<u></u>______________________________<u></u>_________<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/<u></u>mailman/listinfo/asterisk-<u></u>users</a><br>
</blockquote></div><br><br clear="all"><br>-- <br><div>Loway - home of QueueMetrics - <a href="http://queuemetrics.com" target="_blank">http://queuemetrics.com</a><br></div><div>Test-drive WombatDialer beta @ <a href="http://wombatdialer.com" target="_blank">http://wombatdialer.com</a>
</div><br>
</div>