I would like to terminate the dialog when one party disconnects without sending a BYE (no more connctivity, client shutdown)
I am using TCP connection.
Should I terminate the dialog from event_route[usrloc:contact-expired] ?
I have tried also to use SIP OPTION parameter from dialog module modparam("dialog", "ka_timer", 10 ) modparam("dialog", "ka_interval", 30 ) but nothing is sent)
thibault
I would like to use nathelper module in order to "ping" all registered client and "delete" (from locations table) clients that are not reachable (maybe there's some network issue, or some other problem)
I've seen that it's possible to have this feature for natted contact using nathelper (but i haven't tried this functionaliy)
Is there a way to remove records from location table without wait that its expire is 0?
Thanks
Marino
--- Questa e-mail è stata controllata per individuare virus con Avast antivirus. https://www.avast.com/antivirus
On 30/11/15 11:37, Thibault Gueslin wrote:
I would like to terminate the dialog when one party disconnects without sending a BYE (no more connctivity, client shutdown)
I am using TCP connection.
Should I terminate the dialog from event_route[usrloc:contact-expired] ?
I have tried also to use SIP OPTION parameter from dialog module modparam("dialog", "ka_timer", 10 ) modparam("dialog", "ka_interval", 30 ) but nothing is sent)
Have you set the keepalive property for the dialog?
http://kamailio.org/docs/modules/stable/modules/dialog.html#idp3719336
Cheers, Daniel
Thanks I don't have set the dialog property.
I will add these lines on INVITE reception.
dlg_set_property("ka-src"); dlg_set_property("ka-dst"); dlg_set_property("timeout-noreset");
But is it the proper way to do it with TCP connection ?
From the tran
regards
thibault
2015-12-01 11:10 GMT+01:00 Daniel-Constantin Mierla miconda@gmail.com:
On 30/11/15 11:37, Thibault Gueslin wrote:
I would like to terminate the dialog when one party disconnects without sending a BYE (no more connctivity, client shutdown)
I am using TCP connection.
Should I terminate the dialog from event_route[usrloc:contact-expired] ?
I have tried also to use SIP OPTION parameter from dialog module modparam("dialog", "ka_timer", 10 ) modparam("dialog", "ka_interval", 30 ) but nothing is sent)
Have you set the keepalive property for the dialog?
http://kamailio.org/docs/modules/stable/modules/dialog.html#idp3719336
Cheers, Daniel
-- Daniel-Constantin Mierla http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda Book: SIP Routing With Kamailio - http://www.asipto.com http://miconda.eu
It works that is fine.
However I get an issue when one party is changing connectivity: it sends an INVITE to update the location but the keep alive is still sent to the previous location. The dialog info (kamctl dialog show) still indicates the previous location. (It looks like https://github.com/kamailio/kamailio/issues/273)
I am using the dialog module in memory (no db) so I think I don't need to look at "db_update_period" parameter ? What is the status in 4.3.3 ?
thibault
2015-12-01 12:08 GMT+01:00 Thibault Gueslin thibault.gueslin@gmail.com:
Thanks I don't have set the dialog property.
I will add these lines on INVITE reception.
dlg_set_property("ka-src"); dlg_set_property("ka-dst"); dlg_set_property("timeout-noreset");
But is it the proper way to do it with TCP connection ? From the tran
regards
thibault
2015-12-01 11:10 GMT+01:00 Daniel-Constantin Mierla miconda@gmail.com:
On 30/11/15 11:37, Thibault Gueslin wrote:
I would like to terminate the dialog when one party disconnects without sending a BYE (no more connctivity, client shutdown)
I am using TCP connection.
Should I terminate the dialog from event_route[usrloc:contact-expired] ?
I have tried also to use SIP OPTION parameter from dialog module modparam("dialog", "ka_timer", 10 ) modparam("dialog", "ka_interval", 30 ) but nothing is sent)
Have you set the keepalive property for the dialog?
http://kamailio.org/docs/modules/stable/modules/dialog.html#idp3719336
Cheers, Daniel
-- Daniel-Constantin Mierla http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda Book: SIP Routing With Kamailio - http://www.asipto.com http://miconda.eu
The dialog is terminated when the OPTIONS request doesn't get any reply, no matter it is sent via UDP, TCP or other transport.
Cheers, Daniel
On 01/12/15 12:08, Thibault Gueslin wrote:
Thanks I don't have set the dialog property.
I will add these lines on INVITE reception.
dlg_set_property("ka-src"); dlg_set_property("ka-dst"); dlg_set_property("timeout-noreset");
But is it the proper way to do it with TCP connection ? From the tran
regards
thibault
2015-12-01 11:10 GMT+01:00 Daniel-Constantin Mierla <miconda@gmail.com mailto:miconda@gmail.com>:
On 30/11/15 11:37, Thibault Gueslin wrote: > I would like to terminate the dialog when one party disconnects > without sending a BYE > (no more connctivity, client shutdown) > > I am using TCP connection. > > Should I terminate the dialog from event_route[usrloc:contact-expired] ? > > I have tried also to use SIP OPTION parameter from dialog module > modparam("dialog", "ka_timer", 10 ) > modparam("dialog", "ka_interval", 30 ) > but nothing is sent) > > Have you set the keepalive property for the dialog? http://kamailio.org/docs/modules/stable/modules/dialog.html#idp3719336 Cheers, Daniel -- Daniel-Constantin Mierla http://twitter.com/#!/miconda <http://twitter.com/#%21/miconda> - http://www.linkedin.com/in/miconda Book: SIP Routing With Kamailio - http://www.asipto.com http://miconda.eu
Hello Daniel,
Have you seen the issue I reported:
However I get an issue when one party is changing connectivity: it sends an INVITE to update the location but the keep alive is still sent to the previous location. The dialog info (kamctl dialog show) still indicates the previous location. (It looks like https://github.com/kamailio/kamailio/issues/273)
I am using the dialog module in memory (no db) so I think I don't need to look at "db_update_period" parameter ?
I have tried to call dog_manage in the WITHINDLG route but it does not change anything.
thibault
2015-12-02 7:16 GMT+01:00 Daniel-Constantin Mierla miconda@gmail.com:
The dialog is terminated when the OPTIONS request doesn't get any reply, no matter it is sent via UDP, TCP or other transport.
Cheers, Daniel
On 01/12/15 12:08, Thibault Gueslin wrote:
Thanks I don't have set the dialog property.
I will add these lines on INVITE reception.
dlg_set_property("ka-src"); dlg_set_property("ka-dst"); dlg_set_property("timeout-noreset");
But is it the proper way to do it with TCP connection ? From the tran
regards
thibault
2015-12-01 11:10 GMT+01:00 Daniel-Constantin Mierla < miconda@gmail.com miconda@gmail.com>:
On 30/11/15 11:37, Thibault Gueslin wrote:
I would like to terminate the dialog when one party disconnects without sending a BYE (no more connctivity, client shutdown)
I am using TCP connection.
Should I terminate the dialog from event_route[usrloc:contact-expired] ?
I have tried also to use SIP OPTION parameter from dialog module modparam("dialog", "ka_timer", 10 ) modparam("dialog", "ka_interval", 30 ) but nothing is sent)
Have you set the keepalive property for the dialog?
http://kamailio.org/docs/modules/stable/modules/dialog.html#idp3719336
Cheers, Daniel
-- Daniel-Constantin Mierla http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda Book: SIP Routing With Kamailio - http://www.asipto.com http://www.asipto.com http://miconda.eu
-- Daniel-Constantin Mierlahttp://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda Book: SIP Routing With Kamailio - http://www.asipto.comhttp://miconda.eu
How can I update the contact alias within the dialog on receiving the invite ? (My client is being NAT in any case)
Should I use the dbg_var to set the new alias ?
thibault
2015-12-02 9:41 GMT+01:00 Thibault Gueslin thibault.gueslin@gmail.com:
Hello Daniel,
Have you seen the issue I reported:
However I get an issue when one party is changing connectivity: it sends an INVITE to update the location but the keep alive is still sent to the previous location. The dialog info (kamctl dialog show) still indicates the previous location. (It looks like https://github.com/kamailio/kamailio/issues/273)
I am using the dialog module in memory (no db) so I think I don't need to look at "db_update_period" parameter ?
I have tried to call dog_manage in the WITHINDLG route but it does not change anything.
thibault
2015-12-02 7:16 GMT+01:00 Daniel-Constantin Mierla miconda@gmail.com:
The dialog is terminated when the OPTIONS request doesn't get any reply, no matter it is sent via UDP, TCP or other transport.
Cheers, Daniel
On 01/12/15 12:08, Thibault Gueslin wrote:
Thanks I don't have set the dialog property.
I will add these lines on INVITE reception.
dlg_set_property("ka-src"); dlg_set_property("ka-dst"); dlg_set_property("timeout-noreset");
But is it the proper way to do it with TCP connection ? From the tran
regards
thibault
2015-12-01 11:10 GMT+01:00 Daniel-Constantin Mierla < miconda@gmail.com miconda@gmail.com>:
On 30/11/15 11:37, Thibault Gueslin wrote:
I would like to terminate the dialog when one party disconnects without sending a BYE (no more connctivity, client shutdown)
I am using TCP connection.
Should I terminate the dialog from event_route[usrloc:contact-expired]
?
I have tried also to use SIP OPTION parameter from dialog module modparam("dialog", "ka_timer", 10 ) modparam("dialog", "ka_interval", 30 ) but nothing is sent)
Have you set the keepalive property for the dialog?
http://kamailio.org/docs/modules/stable/modules/dialog.html#idp3719336
Cheers, Daniel
-- Daniel-Constantin Mierla http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda Book: SIP Routing With Kamailio - http://www.asipto.com http://www.asipto.com http://miconda.eu
-- Daniel-Constantin Mierlahttp://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda Book: SIP Routing With Kamailio - http://www.asipto.comhttp://miconda.eu
I have seen that the patch submitted on master branch to fix this issue have not been merged to branch 4.3
I wil try it.
2015-12-02 15:57 GMT+01:00 Thibault Gueslin thibault.gueslin@gmail.com:
How can I update the contact alias within the dialog on receiving the invite ? (My client is being NAT in any case)
Should I use the dbg_var to set the new alias ?
thibault
2015-12-02 9:41 GMT+01:00 Thibault Gueslin thibault.gueslin@gmail.com:
Hello Daniel,
Have you seen the issue I reported:
However I get an issue when one party is changing connectivity: it sends an INVITE to update the location but the keep alive is still sent to the previous location. The dialog info (kamctl dialog show) still indicates the previous location. (It looks like https://github.com/kamailio/kamailio/issues/273)
I am using the dialog module in memory (no db) so I think I don't need to look at "db_update_period" parameter ?
I have tried to call dog_manage in the WITHINDLG route but it does not change anything.
thibault
2015-12-02 7:16 GMT+01:00 Daniel-Constantin Mierla miconda@gmail.com:
The dialog is terminated when the OPTIONS request doesn't get any reply, no matter it is sent via UDP, TCP or other transport.
Cheers, Daniel
On 01/12/15 12:08, Thibault Gueslin wrote:
Thanks I don't have set the dialog property.
I will add these lines on INVITE reception.
dlg_set_property("ka-src"); dlg_set_property("ka-dst"); dlg_set_property("timeout-noreset");
But is it the proper way to do it with TCP connection ? From the tran
regards
thibault
2015-12-01 11:10 GMT+01:00 Daniel-Constantin Mierla < miconda@gmail.commiconda@gmail.com>:
On 30/11/15 11:37, Thibault Gueslin wrote:
I would like to terminate the dialog when one party disconnects without sending a BYE (no more connctivity, client shutdown)
I am using TCP connection.
Should I terminate the dialog from
event_route[usrloc:contact-expired] ?
I have tried also to use SIP OPTION parameter from dialog module modparam("dialog", "ka_timer", 10 ) modparam("dialog", "ka_interval", 30 ) but nothing is sent)
Have you set the keepalive property for the dialog?
http://kamailio.org/docs/modules/stable/modules/dialog.html#idp3719336
Cheers, Daniel
-- Daniel-Constantin Mierla http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda Book: SIP Routing With Kamailio - http://www.asipto.com http://www.asipto.com http://miconda.eu
-- Daniel-Constantin Mierlahttp://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda Book: SIP Routing With Kamailio - http://www.asipto.comhttp://miconda.eu
Can you give the commit id of the patch pushed to master?
Cheers, Daniel
On 02/12/15 19:12, Thibault Gueslin wrote:
I have seen that the patch submitted on master branch to fix this issue have not been merged to branch 4.3
I wil try it.
2015-12-02 15:57 GMT+01:00 Thibault Gueslin <thibault.gueslin@gmail.com mailto:thibault.gueslin@gmail.com>:
How can I update the contact alias within the dialog on receiving the invite ? (My client is being NAT in any case) Should I use the dbg_var to set the new alias ? thibault 2015-12-02 9:41 GMT+01:00 Thibault Gueslin <thibault.gueslin@gmail.com <mailto:thibault.gueslin@gmail.com>>: Hello Daniel, Have you seen the issue I reported: However I get an issue when one party is changing connectivity: it sends an INVITE to update the location but the keep alive is still sent to the previous location. The dialog info (kamctl dialog show) still indicates the previous location. (It looks like https://github.com/kamailio/kamailio/issues/273) I am using the dialog module in memory (no db) so I think I don't need to look at "db_update_period" parameter ? I have tried to call dog_manage in the WITHINDLG route but it does not change anything. thibault 2015-12-02 7:16 GMT+01:00 Daniel-Constantin Mierla <miconda@gmail.com <mailto:miconda@gmail.com>>: The dialog is terminated when the OPTIONS request doesn't get any reply, no matter it is sent via UDP, TCP or other transport. Cheers, Daniel On 01/12/15 12:08, Thibault Gueslin wrote:
Thanks I don't have set the dialog property. I will add these lines on INVITE reception. dlg_set_property("ka-src"); dlg_set_property("ka-dst"); dlg_set_property("timeout-noreset"); But is it the proper way to do it with TCP connection ? From the tran regards thibault 2015-12-01 11:10 GMT+01:00 Daniel-Constantin Mierla <miconda@gmail.com <mailto:miconda@gmail.com>>: On 30/11/15 11:37, Thibault Gueslin wrote: > I would like to terminate the dialog when one party disconnects > without sending a BYE > (no more connctivity, client shutdown) > > I am using TCP connection. > > Should I terminate the dialog from event_route[usrloc:contact-expired] ? > > I have tried also to use SIP OPTION parameter from dialog module > modparam("dialog", "ka_timer", 10 ) > modparam("dialog", "ka_interval", 30 ) > but nothing is sent) > > Have you set the keepalive property for the dialog? http://kamailio.org/docs/modules/stable/modules/dialog.html#idp3719336 Cheers, Daniel -- Daniel-Constantin Mierla http://twitter.com/#!/miconda <http://twitter.com/#%21/miconda> - http://www.linkedin.com/in/miconda Book: SIP Routing With Kamailio - http://www.asipto.com http://miconda.eu
-- Daniel-Constantin Mierla http://twitter.com/#!/miconda <http://twitter.com/#%21/miconda> - http://www.linkedin.com/in/miconda Book: SIP Routing With Kamailio - http://www.asipto.com http://miconda.eu
Daniel-Constantin Mierla miconda@gmail.com 2015-08-25 15:37:34
de07fe4e78e2b7df59fbdffd74ca655bd77570ba
dialog: refresh value for contact uri for each re-invite
You wrote the patch!
Regards
Thibault
2015-12-02 22:56 GMT+01:00 Daniel-Constantin Mierla miconda@gmail.com:
Can you give the commit id of the patch pushed to master?
Cheers, Daniel
On 02/12/15 19:12, Thibault Gueslin wrote:
I have seen that the patch submitted on master branch to fix this issue have not been merged to branch 4.3
I wil try it.
2015-12-02 15:57 GMT+01:00 Thibault Gueslin thibault.gueslin@gmail.com:
How can I update the contact alias within the dialog on receiving the invite ? (My client is being NAT in any case)
Should I use the dbg_var to set the new alias ?
thibault
2015-12-02 9:41 GMT+01:00 Thibault Gueslin < thibault.gueslin@gmail.com thibault.gueslin@gmail.com>:
Hello Daniel,
Have you seen the issue I reported:
However I get an issue when one party is changing connectivity: it sends an INVITE to update the location but the keep alive is still sent to the previous location. The dialog info (kamctl dialog show) still indicates the previous location. (It looks like https://github.com/kamailio/kamailio/issues/273 https://github.com/kamailio/kamailio/issues/273)
I am using the dialog module in memory (no db) so I think I don't need to look at "db_update_period" parameter ?
I have tried to call dog_manage in the WITHINDLG route but it does not change anything.
thibault
2015-12-02 7:16 GMT+01:00 Daniel-Constantin Mierla miconda@gmail.com:
The dialog is terminated when the OPTIONS request doesn't get any reply, no matter it is sent via UDP, TCP or other transport.
Cheers, Daniel
On 01/12/15 12:08, Thibault Gueslin wrote:
Thanks I don't have set the dialog property.
I will add these lines on INVITE reception.
dlg_set_property("ka-src"); dlg_set_property("ka-dst"); dlg_set_property("timeout-noreset");
But is it the proper way to do it with TCP connection ? From the tran
regards
thibault
2015-12-01 11:10 GMT+01:00 Daniel-Constantin Mierla < miconda@gmail.commiconda@gmail.com>:
On 30/11/15 11:37, Thibault Gueslin wrote:
I would like to terminate the dialog when one party disconnects without sending a BYE (no more connctivity, client shutdown)
I am using TCP connection.
Should I terminate the dialog from
event_route[usrloc:contact-expired] ?
I have tried also to use SIP OPTION parameter from dialog module modparam("dialog", "ka_timer", 10 ) modparam("dialog", "ka_interval", 30 ) but nothing is sent)
Have you set the keepalive property for the dialog?
http://kamailio.org/docs/modules/stable/modules/dialog.html#idp3719336
Cheers, Daniel
-- Daniel-Constantin Mierla http://twitter.com/#%21/micondahttp://twitter.com/#!/miconda - http://www.linkedin.com/in/micondahttp://www.linkedin.com/in/miconda Book: SIP Routing With Kamailio - http://www.asipto.com http://www.asipto.com http://miconda.euhttp://miconda.eu
-- Daniel-Constantin Mierlahttp://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda Book: SIP Routing With Kamailio - http://www.asipto.comhttp://miconda.eu
-- Daniel-Constantin Mierlahttp://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda Book: SIP Routing With Kamailio - http://www.asipto.comhttp://miconda.eu
You need also this commit: dialog: split out storage of contact from common memory block 3820f41ab7ba33c39cd9f67e179bf203aa60ddeb
First tests give good result (applied on top of 4.3.4)
Regards
Thibault
2015-12-03 0:14 GMT+01:00 Thibault Gueslin thibault.gueslin@gmail.com:
Daniel-Constantin Mierla miconda@gmail.com 2015-08-25 15:37:34
de07fe4e78e2b7df59fbdffd74ca655bd77570ba
dialog: refresh value for contact uri for each re-invite
You wrote the patch!
Regards
Thibault
2015-12-02 22:56 GMT+01:00 Daniel-Constantin Mierla miconda@gmail.com:
Can you give the commit id of the patch pushed to master?
Cheers, Daniel
On 02/12/15 19:12, Thibault Gueslin wrote:
I have seen that the patch submitted on master branch to fix this issue have not been merged to branch 4.3
I wil try it.
2015-12-02 15:57 GMT+01:00 Thibault Gueslin thibault.gueslin@gmail.com:
How can I update the contact alias within the dialog on receiving the invite ? (My client is being NAT in any case)
Should I use the dbg_var to set the new alias ?
thibault
2015-12-02 9:41 GMT+01:00 Thibault Gueslin < thibault.gueslin@gmail.comthibault.gueslin@gmail.com>:
Hello Daniel,
Have you seen the issue I reported:
However I get an issue when one party is changing connectivity: it sends an INVITE to update the location but the keep alive is still sent to the previous location. The dialog info (kamctl dialog show) still indicates the previous location. (It looks like https://github.com/kamailio/kamailio/issues/273 https://github.com/kamailio/kamailio/issues/273)
I am using the dialog module in memory (no db) so I think I don't need to look at "db_update_period" parameter ?
I have tried to call dog_manage in the WITHINDLG route but it does not change anything.
thibault
2015-12-02 7:16 GMT+01:00 Daniel-Constantin Mierla miconda@gmail.com:
The dialog is terminated when the OPTIONS request doesn't get any reply, no matter it is sent via UDP, TCP or other transport.
Cheers, Daniel
On 01/12/15 12:08, Thibault Gueslin wrote:
Thanks I don't have set the dialog property.
I will add these lines on INVITE reception.
dlg_set_property("ka-src"); dlg_set_property("ka-dst"); dlg_set_property("timeout-noreset");
But is it the proper way to do it with TCP connection ? From the tran
regards
thibault
2015-12-01 11:10 GMT+01:00 Daniel-Constantin Mierla < miconda@gmail.commiconda@gmail.com>:
On 30/11/15 11:37, Thibault Gueslin wrote: > I would like to terminate the dialog when one party disconnects > without sending a BYE > (no more connctivity, client shutdown) > > I am using TCP connection. > > Should I terminate the dialog from event_route[usrloc:contact-expired] ? > > I have tried also to use SIP OPTION parameter from dialog module > modparam("dialog", "ka_timer", 10 ) > modparam("dialog", "ka_interval", 30 ) > but nothing is sent) > > Have you set the keepalive property for the dialog?
http://kamailio.org/docs/modules/stable/modules/dialog.html#idp3719336
Cheers, Daniel
-- Daniel-Constantin Mierla http://twitter.com/#%21/micondahttp://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda http://www.linkedin.com/in/miconda Book: SIP Routing With Kamailio - http://www.asipto.com http://www.asipto.com http://miconda.euhttp://miconda.eu
-- Daniel-Constantin Mierlahttp://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda Book: SIP Routing With Kamailio - http://www.asipto.comhttp://miconda.eu
-- Daniel-Constantin Mierlahttp://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda Book: SIP Routing With Kamailio - http://www.asipto.comhttp://miconda.eu
I wrote many patches over the time, that's why I asked for the specific details ... I think I considered the patch too big to just backport and there was no extensive testing for it. If proved to work good and not break other things in 4.3, then it can be backported for the next minor release.
Cheers, Daniel
On 03/12/15 00:14, Thibault Gueslin wrote:
Daniel-Constantin Mierla <miconda@gmail.com mailto:miconda@gmail.com> 2015-08-25 15:37:34
de07fe4e78e2b7df59fbdffd74ca655bd77570ba
dialog: refresh value for contact uri for each re-invite
You wrote the patch!
Regards
Thibault
2015-12-02 22:56 GMT+01:00 Daniel-Constantin Mierla <miconda@gmail.com mailto:miconda@gmail.com>:
Can you give the commit id of the patch pushed to master? Cheers, Daniel On 02/12/15 19:12, Thibault Gueslin wrote:
I have seen that the patch submitted on master branch to fix this issue have not been merged to branch 4.3 I wil try it. 2015-12-02 15:57 GMT+01:00 Thibault Gueslin <thibault.gueslin@gmail.com <mailto:thibault.gueslin@gmail.com>>: How can I update the contact alias within the dialog on receiving the invite ? (My client is being NAT in any case) Should I use the dbg_var to set the new alias ? thibault 2015-12-02 9:41 GMT+01:00 Thibault Gueslin <thibault.gueslin@gmail.com <mailto:thibault.gueslin@gmail.com>>: Hello Daniel, Have you seen the issue I reported: However I get an issue when one party is changing connectivity: it sends an INVITE to update the location but the keep alive is still sent to the previous location. The dialog info (kamctl dialog show) still indicates the previous location. (It looks like https://github.com/kamailio/kamailio/issues/273) I am using the dialog module in memory (no db) so I think I don't need to look at "db_update_period" parameter ? I have tried to call dog_manage in the WITHINDLG route but it does not change anything. thibault 2015-12-02 7:16 GMT+01:00 Daniel-Constantin Mierla <miconda@gmail.com <mailto:miconda@gmail.com>>: The dialog is terminated when the OPTIONS request doesn't get any reply, no matter it is sent via UDP, TCP or other transport. Cheers, Daniel On 01/12/15 12:08, Thibault Gueslin wrote:
Thanks I don't have set the dialog property. I will add these lines on INVITE reception. dlg_set_property("ka-src"); dlg_set_property("ka-dst"); dlg_set_property("timeout-noreset"); But is it the proper way to do it with TCP connection ? From the tran regards thibault 2015-12-01 11:10 GMT+01:00 Daniel-Constantin Mierla <miconda@gmail.com <mailto:miconda@gmail.com>>: On 30/11/15 11:37, Thibault Gueslin wrote: > I would like to terminate the dialog when one party disconnects > without sending a BYE > (no more connctivity, client shutdown) > > I am using TCP connection. > > Should I terminate the dialog from event_route[usrloc:contact-expired] ? > > I have tried also to use SIP OPTION parameter from dialog module > modparam("dialog", "ka_timer", 10 ) > modparam("dialog", "ka_interval", 30 ) > but nothing is sent) > > Have you set the keepalive property for the dialog? http://kamailio.org/docs/modules/stable/modules/dialog.html#idp3719336 Cheers, Daniel -- Daniel-Constantin Mierla http://twitter.com/#!/miconda <http://twitter.com/#%21/miconda> - http://www.linkedin.com/in/miconda Book: SIP Routing With Kamailio - http://www.asipto.com http://miconda.eu
-- Daniel-Constantin Mierla http://twitter.com/#!/miconda <http://twitter.com/#%21/miconda> - http://www.linkedin.com/in/miconda Book: SIP Routing With Kamailio - http://www.asipto.com http://miconda.eu
-- Daniel-Constantin Mierla http://twitter.com/#!/miconda <http://twitter.com/#%21/miconda> - http://www.linkedin.com/in/miconda Book: SIP Routing With Kamailio - http://www.asipto.com http://miconda.eu
I mention that you wrote the patch because it should be easier for you to understand (or remember) the meaning of the patch.
For sure, I will appreciate the backport in 4.3
Thank you.
Thibault
2015-12-03 12:19 GMT+01:00 Daniel-Constantin Mierla miconda@gmail.com:
I wrote many patches over the time, that's why I asked for the specific details ... I think I considered the patch too big to just backport and there was no extensive testing for it. If proved to work good and not break other things in 4.3, then it can be backported for the next minor release.
Cheers, Daniel
On 03/12/15 00:14, Thibault Gueslin wrote:
Daniel-Constantin Mierla miconda@gmail.com 2015-08-25 15:37:34
de07fe4e78e2b7df59fbdffd74ca655bd77570ba
dialog: refresh value for contact uri for each re-invite
You wrote the patch!
Regards
Thibault
2015-12-02 22:56 GMT+01:00 Daniel-Constantin Mierla < miconda@gmail.com miconda@gmail.com>:
Can you give the commit id of the patch pushed to master?
Cheers, Daniel
On 02/12/15 19:12, Thibault Gueslin wrote:
I have seen that the patch submitted on master branch to fix this issue have not been merged to branch 4.3
I wil try it.
2015-12-02 15:57 GMT+01:00 Thibault Gueslin < thibault.gueslin@gmail.comthibault.gueslin@gmail.com>:
How can I update the contact alias within the dialog on receiving the invite ? (My client is being NAT in any case)
Should I use the dbg_var to set the new alias ?
thibault
2015-12-02 9:41 GMT+01:00 Thibault Gueslin < thibault.gueslin@gmail.comthibault.gueslin@gmail.com>:
Hello Daniel,
Have you seen the issue I reported:
However I get an issue when one party is changing connectivity: it sends an INVITE to update the location but the keep alive is still sent to the previous location. The dialog info (kamctl dialog show) still indicates the previous location. (It looks like https://github.com/kamailio/kamailio/issues/273 https://github.com/kamailio/kamailio/issues/273)
I am using the dialog module in memory (no db) so I think I don't need to look at "db_update_period" parameter ?
I have tried to call dog_manage in the WITHINDLG route but it does not change anything.
thibault
2015-12-02 7:16 GMT+01:00 Daniel-Constantin Mierla < miconda@gmail.commiconda@gmail.com>:
The dialog is terminated when the OPTIONS request doesn't get any reply, no matter it is sent via UDP, TCP or other transport.
Cheers, Daniel
On 01/12/15 12:08, Thibault Gueslin wrote:
Thanks I don't have set the dialog property.
I will add these lines on INVITE reception.
dlg_set_property("ka-src"); dlg_set_property("ka-dst"); dlg_set_property("timeout-noreset");
But is it the proper way to do it with TCP connection ? From the tran
regards
thibault
2015-12-01 11:10 GMT+01:00 Daniel-Constantin Mierla < miconda@gmail.commiconda@gmail.com>:
On 30/11/15 11:37, Thibault Gueslin wrote: > I would like to terminate the dialog when one party disconnects > without sending a BYE > (no more connctivity, client shutdown) > > I am using TCP connection. > > Should I terminate the dialog from event_route[usrloc:contact-expired] ? > > I have tried also to use SIP OPTION parameter from dialog module > modparam("dialog", "ka_timer", 10 ) > modparam("dialog", "ka_interval", 30 ) > but nothing is sent) > > Have you set the keepalive property for the dialog?
http://kamailio.org/docs/modules/stable/modules/dialog.html#idp3719336 http://kamailio.org/docs/modules/stable/modules/dialog.html#idp3719336
Cheers, Daniel
-- Daniel-Constantin Mierla http://twitter.com/#%21/micondahttp://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda http://www.linkedin.com/in/miconda Book: SIP Routing With Kamailio - http://www.asipto.com http://www.asipto.com http://miconda.euhttp://miconda.eu
-- Daniel-Constantin Mierlahttp://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda Book: SIP Routing With Kamailio - http://www.asipto.comhttp://miconda.eu
-- Daniel-Constantin Mierlahttp://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda Book: SIP Routing With Kamailio - http://www.asipto.comhttp://miconda.eu
-- Daniel-Constantin Mierlahttp://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda Book: SIP Routing With Kamailio - http://www.asipto.comhttp://miconda.eu