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
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 http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
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
Daniel,
On an incoming call I need to get the call-id from a ringing call in a specific dialog profile. I then add that called to a replaces header and send to a B2BUA which connects the current call to the ringing one.
Thanks
John
From: Daniel-Constantin Mierla [mailto:miconda@gmail.com] Sent: 07 February 2014 12:32 To: John Murray; 'Kamailio (SER) - Users Mailing List' Subject: Re: [SR-Users] Dialog
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 http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
This is the typical BLF case. Why don't you use BLF/presence to do it? If you really want to do it from the script you can save all the required info in a cache and retrieve it from there, instead of messing with the dialog module.
Regards, Ovidiu Sas On Feb 7, 2014 7:37 AM, "John Murray" john.murray@skyracktelecom.com wrote:
Daniel,
On an incoming call I need to get the call-id from a ringing call in a specific dialog profile. I then add that called to a replaces header and send to a B2BUA which connects the current call to the ringing one.
Thanks
John
*From:* Daniel-Constantin Mierla [mailto:miconda@gmail.com] *Sent:* 07 February 2014 12:32 *To:* John Murray; 'Kamailio (SER) - Users Mailing List' *Subject:* Re: [SR-Users] Dialog
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.orgsr-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
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
--
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
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
Hi Ovidiu,
BLF requires support from the handset / UA. I have analogue handsets.
How would the cache work you described?
Regards
John On 9 Feb 2014 02:27, "Ovidiu Sas" osas@voipembedded.com wrote:
This is the typical BLF case. Why don't you use BLF/presence to do it? If you really want to do it from the script you can save all the required info in a cache and retrieve it from there, instead of messing with the dialog module.
Regards, Ovidiu Sas On Feb 7, 2014 7:37 AM, "John Murray" john.murray@skyracktelecom.com wrote:
Daniel,
On an incoming call I need to get the call-id from a ringing call in a specific dialog profile. I then add that called to a replaces header and send to a B2BUA which connects the current call to the ringing one.
Thanks
John
*From:* Daniel-Constantin Mierla [mailto:miconda@gmail.com] *Sent:* 07 February 2014 12:32 *To:* John Murray; 'Kamailio (SER) - Users Mailing List' *Subject:* Re: [SR-Users] Dialog
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.orgsr-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
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
--
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
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
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
There are many modules that will let you store data: http://kamailio.org/docs/modules/devel/modules/memcached.html http://kamailio.org/docs/modules/devel/modules/htable.html ...
Or you can use shared memory variables: http://www.kamailio.org/wiki/cookbooks/devel/pseudovariables#shv_name_-_shar...
Store anything that you need upon receiving a 18x provisional reply and delete the data when a final reply to an initial INVITE is received. In between, you can access/retrieve data while handling a new INVITE that you want to modify/alter.
Regards, Ovidiu Sas
On Sun, Feb 9, 2014 at 3:31 AM, John Murray john.murray@skyracktelecom.com wrote:
Hi Ovidiu,
BLF requires support from the handset / UA. I have analogue handsets.
How would the cache work you described?
Regards
John
On 9 Feb 2014 02:27, "Ovidiu Sas" osas@voipembedded.com wrote:
This is the typical BLF case. Why don't you use BLF/presence to do it? If you really want to do it from the script you can save all the required info in a cache and retrieve it from there, instead of messing with the dialog module.
Regards, Ovidiu Sas
On Feb 7, 2014 7:37 AM, "John Murray" john.murray@skyracktelecom.com wrote:
Daniel,
On an incoming call I need to get the call-id from a ringing call in a specific dialog profile. I then add that called to a replaces header and send to a B2BUA which connects the current call to the ringing one.
Thanks
John
From: Daniel-Constantin Mierla [mailto:miconda@gmail.com] Sent: 07 February 2014 12:32 To: John Murray; 'Kamailio (SER) - Users Mailing List' Subject: Re: [SR-Users] Dialog
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
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
--
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
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
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
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
Hi Daniel,
Is this just not possible to get the call-id of a ringing call from a dialog profile in the kamailio config?
Thanks
John
From: John Murray [mailto:john.murray@skyracktelecom.com] Sent: 07 February 2014 12:37 To: 'miconda@gmail.com'; 'Kamailio (SER) - Users Mailing List' Subject: RE: [SR-Users] Dialog
Daniel,
On an incoming call I need to get the call-id from a ringing call in a specific dialog profile. I then add that called to a replaces header and send to a B2BUA which connects the current call to the ringing one.
Thanks
John
From: Daniel-Constantin Mierla [mailto:miconda@gmail.com] Sent: 07 February 2014 12:32 To: John Murray; 'Kamailio (SER) - Users Mailing List' Subject: Re: [SR-Users] Dialog
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 http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users