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