Hello,
the dlg_manage() should be used pretty much the last action in the
config, before relaying.
Anyhow, this function creates the dialog structure in memory, at that
time setting the timeout from the avp. After that, for initial INVITE,
try to use the dedicated function:
http://kamailio.org/docs/modules/stable/modules_k/dialog.html#id2555000
IIRC, when you get new requests within dialog, then you can set the avp
again (you should test it, though).
Cheers,
Daniel
On 2/20/13 10:21 AM, Uri Shacked wrote:
Hi,
I am trying to change the timeout of a dialog based on the $avp() I
set on the modeparam.
While testing, I notice that the change does not apply after I am
using dlg_manage, only if i changed it before.
Can anyone explain why is that? and is it possible to change it after
doing dkg_manage?
Thanks,
URi
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users(a)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
Kamailio World Conference, April 16-17, 2013, Berlin
-
http://conference.kamailio.com -