On 10 Apr 2015, at 14:21, Daniel Tryba d.tryba@pocos.nl wrote:
On Friday 10 April 2015 13:16:40 Dirk Teurlings - SIGNET B.V. wrote:
Throughout the routes of kamailio we use multiple variables. These consist of $var, $avp, $dlg_var and probably more. What's the policy for these variables when used. When, if even, are they being cleaned up after a call has been terminated.
These variables are limited to their scope, a $var is valid in the current SIP message. An $avp's scope is a SIP transaction (eg from INVITE til the end of a BYE),
No, a transaction is a request and the attached responses. From an INVITE to the final response or a BYE to the final response to the BYE - it's not in between INVITE and BYE.
the same for $dlg_var but then only when using the dialog module.
THis applies to the call.
/O