[SR-Users] dlg_set_timeout_by_profile not working on kamailio 4.1.5

Jose Ferreira jferreira at wavecom.pt
Tue Sep 30 12:55:29 CEST 2014


I'm trying to use dlg_set_timeout_by_profile and it doesn't do nothing on
Kamailio 4.1.5

If i try to use the dlg_set_timeout, it also doesn't work, but it gives the
following error

CRITICAL: dialog [dlg_timer.c:205]: update_dlg_timer(): Trying to update a
bogus dlg tl=0x7f9825ac6880 tl->next=(nil) tl->prev=(nil)
ERROR: dialog [dlg_hash.c:1094]: update_dlg_timeout(): failed to update
dialog lifetime

If i set the timeout with the $avp, it only works before dlg_manage(), but
also with a Warning

WARNING: dialog [dlg_handlers.c:1245]: dlg_onroute(): inconsitent dlg timer
data on dlg 0x7f9da0dc7f08 [4066:9857] with clid
'bba73ace3ee94b95bf5b1782406047bd' and tags
'6460df6b8b3947ba96b1cf65330bf524' 'm2pmrUpHN06Fc'


The dialog module configurations are:

modparam("dialog", "db_url", DBURL)
modparam("dialog", "dlg_flag", FLT_DLG)
modparam("dialog", "db_mode", 0)
modparam("dialog", "enable_stats", 1)
modparam("dialog", "dlg_match_mode", 1)
modparam("dialog", "profiles_with_value", "user ; domain ; permissions")
modparam("dialog", "profiles_no_value", "inbound ; outbound ; all")
modparam("dialog", "send_bye", 1)
modparam("dialog", "default_timeout", 21600)
modparam("dialog", "ka_timer", 0)
modparam("dialog", "ka_interval", 0)
modparam("dialog", "timeout_avp", "$avp(dlgtimeout)")


I'm very interested to use dlg_set_timeout_by_profile,  any idea about what
is wrong with that ?

Regards,

*José Ferreira | Technical Manager*

M. +351 91 775 7166 | jferreira at wavecom.pt

Wavecom, Soluções Rádio, SA

Cacia Park | Rua do Progresso, Lote 15

3800-639 AVEIRO | Portugal

T. +351 234 919 190 | F. +351 234 919 191

*www.wavecom.pt <http://www.wavecom.pt/>*





[image: WavecomSignature]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20140930/50ab963e/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 15526 bytes
Desc: not available
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20140930/50ab963e/attachment.png>


More information about the sr-users mailing list