[SR-Users] dialog list query

John Murray john.murray at skyracktelecom.com
Sat Feb 1 17:24:28 CET 2014


Hello,

 

I am managing calls with the dialog module in kamailio 4.0.4.

 

However if is try to get the callid and from_tag of existing calls using:

 

avp_db_query("select callid, from_tag from dialog", "$avp(s:s_callid),
$avp(s:s_from_tag)");

 

I get NULL, yet if I use:

 

sercmd proxy dlg.list

 

I get the calls listed correctly.

 

What am I doing wrong?

 

Thanks

 

John

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20140201/8036ff26/attachment.html>


More information about the sr-users mailing list