I tested and found that avp variables are lost after relaying the request. My call scenario is like following
I'll try to use avps and let you know.On Tue, Jun 17, 2008 at 5:03 PM, Daniel-Constantin Mierla <miconda@gmail.com> wrote:Hello,the AVPs are not lost when relaying with TM functions. AVPs should be used for this kind of operations.
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.
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@lists.openser.org
http://lists.openser.org/cgi-bin/mailman/listinfo/users
--
http://www.asipto.com