Hello,

do you need it in kamailio config or from an external application? From external application the mi/rpc command has to be used.

Cheers,
Daniel

On 06/02/14 21:45, John Murray wrote:

Hi,

 

I need to get call-id and from-tag from a call in ringing state (2).

If I use dlg_manage() and put the call into a profile using set_dlg_profile("usr",”1").

Then do a avp_db_query() I don’t see the call until it is connected.

I am using db_mode 1.

 

Yet if I do a sercmd dlg.dlg_list I see the call in ringing state and when it is connected.

 

How do I get the call-id when it is in ringing state?

 

Regards

 

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

-- 
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda