[OpenSER-Users] Using script variable
Ruchir
ruchir.lists at gmail.com
Tue Jun 17 13:44:56 CEST 2008
I'll try to use avps and let you know.
On Tue, Jun 17, 2008 at 5:03 PM, Daniel-Constantin Mierla <miconda at gmail.com>
wrote:
> Hello,
>
> On 06/17/08 14:11, Ruchir wrote:
>
>> I was thinking of using script variable to hold the source leg information
>> for multi-leg accounting as avp variables will be lost when request is
>> relayed(I'm pushing uri and relaying request in case of call forwarding). Is
>> it safe way or will it create any issues when simultaneous calls are going
>> on.
>>
>
> the AVPs are not lost when relaying with TM functions. AVPs should be used
> for this kind of operations.
>
> Script variables are stored in private memory and are persistent per
> process. The accounting event may happen in a different process than the one
> that processed the request. Using script variables is not safe.
>
> Cheers,
> Daniel
>
>
>
> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.openser.org
>> http://lists.openser.org/cgi-bin/mailman/listinfo/users
>>
>>
>
> --
> http://www.asipto.com
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kamailio.org/pipermail/users/attachments/20080617/bedc138f/attachment.htm
More information about the Users
mailing list