[SR-Users] dialog list query

Charles Chance charles.chance at sipcentric.com
Sat Feb 1 18:37:10 CET 2014


John,

What db_mode are you using for dialog module? Are the entries in the db if
you check manually?

Are you able to fetch other data using avp_db_query? And do you see any
errors in the log?

Regards,

Charles
 On 1 Feb 2014 16:24, "John Murray" <john.murray at skyracktelecom.com> wrote:

> 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
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
>

-- 
www.sipcentric.com

Follow us on twitter @sipcentric <http://twitter.com/sipcentric>

Sipcentric Ltd. Company registered in England & Wales no. 7365592. Registered 
office: Unit 10 iBIC, Birmingham Science Park, Holt Court South, Birmingham 
B7 4EJ.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20140201/fbbbfd68/attachment.html>


More information about the sr-users mailing list