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

Reply via email to