Both sides previous revision
Previous revision
Next revision
|
Previous revision
Last revision
Both sides next revision
|
migration:kamailio-tips [2009/06/17 10:29] miconda |
migration:kamailio-tips [2009/12/09 09:28] 192.98.100.132 |
===== TCP Connection Lifetime ===== | ===== TCP Connection Lifetime ===== |
| |
* **registrar** module in Kamailio has support to set automatically the lifetime of the TCP connection for current processed SIP REGISTER message. | * **registrar** module in Kamailio 1.5 and earlier had support to set automatically the lifetime of the TCP connection for current processed SIP REGISTER message by defining **tcp_persistent_flag** module parameter and then by setting the flag before save() function was called. |
* in **sip-router** similar functionality can be achieved by setting **tcp_connection_lifetime** config parameters just a bit higher than max registration expire. The lifetime for a TCP connection is automatically extended when a message is going through. In case of hard/soft phones, the connection is closed by client side when they shut down. | * In **sip-router** and Kamailio 3.0 **tcp_persistent_flag** parameter does not exist anymore. Similar functionality can be achieved by setting **tcp_connection_lifetime** core config parameter just a bit higher than max registration expire. The lifetime for a TCP connection is automatically extended when a message is going through. In case of hard/soft phones, the connection is closed by client side when they shut down. |
| |
===== Log levels ===== | ===== Log levels ===== |
| |
By default, [b]use_dns_failover[/b] is currently "off". Hopefully, the default can be changed to "on" in order to be compatible with Kamailio default. | By default, [b]use_dns_failover[/b] is currently "off". Hopefully, the default can be changed to "on" in order to be compatible with Kamailio default. |
| |
| ===== Core Functions ===== |
| |
| * [b]append_branch()[/b] - fully Kamailio append_branch() function is now implemented by [b]kex[/b] module and it is named [b]km_append_branch()[/b]. See: |
| * http://sip-router.org/docbook/sip-router/branch/master/modules_k/kex/kex.html |
| * note: there is still a core function still called [b]append_branch()[/b], but it is SIP Express Router (SER) compatible. |
| * [b]km_append_branch()[/b] - as new feature, it accepts now the URI parameter to contain pseudo-variables |
| |
===== Script syntax ===== | ===== Script syntax ===== |