<div dir="ltr">Non-ideal, but you could use mod_db to store the ${uuid} (value) against the ${sip_call_id} (key), then do a lookup over RPC to find the UUID you need. You'd need to set it within dialplan on every call that you're interested in, which you could do at the start of the dialplan.<div>
<br></div><div>I'm not sure if there's a way to query it built-in, though making a patch to add that ability should be easy since the uuid-call_id mapping is already stored within the sofia db. Using that would be much better.</div>
<div><br></div><div>If that DB is ODBC then that gives you another option, querying the sip_dialogs table yourself.</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 31 December 2013 13:20, Mino Haluz <span dir="ltr"><<a href="mailto:mino.haluz@gmail.com" target="_blank">mino.haluz@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>what could be the most efficient way to terminate dialog with RPC when all I have are only inbound/outbound CallIDs? There is uuid_kill command, but it requires uuids of channels. </div>
<div><br></div><div>Thanks,</div><div>Mino</div></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div>