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
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