Hello,
What is the simplest way to configure Kamailio to generate periodical OPTIONS to the caller, for an established dialog?
Can you give me some starting references?
Thanks, Stefan
On 28 Dec 2015, at 09:51, Mititelu Stefan fanx07@gmail.com wrote:
Hello,
What is the simplest way to configure Kamailio to generate periodical OPTIONS to the caller, for an established dialog?
Can you give me some starting references?
To be SIP correct, a proxy may not insert any transactions in a dialog between two endpoints. The endpoints have the cseq counter and inserting anything will mess with the CSEQ.
Having said that, the dialog module has a keep-alive function that does this. It may generate strange error messages which is fine. You want to test the behaviour on a per-device basis.
Cheers, /O
Hi Olle,
Thank you for your answer. Having a look at the dialog module documentation I think I can make use of parameters ka_timer + ka_interval together with dlg_set_property() function.
Do you know if I can manipulate the generated OPTIONS in any way? (like append_hf() ) Not able to test this at the moment but I assume it should work.
Cheers, Stefan On Dec 28, 2015 11:07 AM, "Olle E. Johansson" oej@edvina.net wrote:
On 28 Dec 2015, at 09:51, Mititelu Stefan fanx07@gmail.com wrote:
Hello,
What is the simplest way to configure Kamailio to generate periodical OPTIONS to the caller, for an established dialog?
Can you give me some starting references?
To be SIP correct, a proxy may not insert any transactions in a dialog between two endpoints. The endpoints have the cseq counter and inserting anything will mess with the CSEQ.
Having said that, the dialog module has a keep-alive function that does this. It may generate strange error messages which is fine. You want to test the behaviour on a per-device basis.
Cheers, /O
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,
On 28/12/15 11:56, Mititelu Stefan wrote:
Hi Olle,
Thank you for your answer. Having a look at the dialog module documentation I think I can make use of parameters ka_timer + ka_interval together with dlg_set_property() function.
Do you know if I can manipulate the generated OPTIONS in any way? (like append_hf() ) Not able to test this at the moment but I assume it should work.
using event_route[tm:local-request] should allow adding headers.
Cheers, Daniel
Hi,
/ka_timer/ and /ka_interval/ from dialog module come into my mind, e.g. see http://kamailio.org/docs/modules/devel/modules/dialog.html#idp1758856
Regards, Paul
Am 28.12.2015 um 09:51 schrieb Mititelu Stefan:
Hello,
What is the simplest way to configure Kamailio to generate periodical OPTIONS to the caller, for an established dialog?
Can you give me some starting references?
Thanks, Stefan
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