[OpenSER-Users] Using script variable

Ruchir ruchir.lists at gmail.com
Wed Jun 18 15:18:02 CEST 2008


How to retrieve value from header?

On Wed, Jun 18, 2008 at 6:31 PM, Iñaki Baz Castillo <ibc at in.ilimit.es>
wrote:

> El Wednesday 18 June 2008 14:52:47 Ruchir escribió:
> > I tested and found that avp variables are lost after relaying the
> request.
> > My call scenario is like following
> >
> >    1. Call is made
> >    2. Callee has call forwarding so appropriate avp values are loaded.
> >    3. avp for source and destination number are stored for multi-leg
> >    accounting
> >    4. request is relayed
> >    5. request comes again to openser
> >    6. avp variable is lost this time
>
> Of course. AVP's live for a transaction (and for responses to this
> transaction
> is "avp_on_reply" is set to "yes" in "tm" module).
>
> If OpenSer sends a request (client transaction) and this request comes back
> (maybe a spiral) the new arriving request is a server transaction
> independent
> of the first client transaction and of course they don't sahre AVP's.
>
> For this you need adding headers or parameters in the message.
>
>
> --
> Iñaki Baz Castillo
> ibc at in.ilimit.es
>
> _______________________________________________
> Users mailing list
> Users at lists.openser.org
> http://lists.openser.org/cgi-bin/mailman/listinfo/users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kamailio.org/pipermail/users/attachments/20080618/2a4560e9/attachment.htm 


More information about the Users mailing list