Hello,
in config you have access to SIP message that is currently processed and there you can simply use $ci. Or is there a special event route where you need the call-id?
Cheers, Daniel
On 07/02/14 13:29, John Murray wrote:
Hi Daniel,
Yes I need it in the kamailio config.
Thanks
John
*From:*sr-users-bounces@lists.sip-router.org [mailto:sr-users-bounces@lists.sip-router.org] *On Behalf Of *Daniel-Constantin Mierla *Sent:* 07 February 2014 12:15 *To:* Kamailio (SER) - Users Mailing List *Subject:* Re: [SR-Users] Dialog
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 <mailto: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://twitter.com/#%21/miconda -http://www.linkedin.com/in/miconda