How to retrieve value from header?<br><br><div class="gmail_quote">On Wed, Jun 18, 2008 at 6:31 PM, Iñaki Baz Castillo <<a href="mailto:ibc@in.ilimit.es">ibc@in.ilimit.es</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
El Wednesday 18 June 2008 14:52:47 Ruchir escribió:<br>
<div class="Ih2E3d">> I tested and found that avp variables are lost after relaying the request.<br>
> My call scenario is like following<br>
><br>
</div>> 1. Call is made<br>
> 2. Callee has call forwarding so appropriate avp values are loaded.<br>
> 3. avp for source and destination number are stored for multi-leg<br>
> accounting<br>
> 4. request is relayed<br>
> 5. request comes again to openser<br>
> 6. avp variable is lost this time<br>
<br>
Of course. AVP's live for a transaction (and for responses to this transaction<br>
is "avp_on_reply" is set to "yes" in "tm" module).<br>
<br>
If OpenSer sends a request (client transaction) and this request comes back<br>
(maybe a spiral) the new arriving request is a server transaction independent<br>
of the first client transaction and of course they don't sahre AVP's.<br>
<br>
For this you need adding headers or parameters in the message.<br>
<div class="Ih2E3d"><br>
<br>
--<br>
Iñaki Baz Castillo<br>
<a href="mailto:ibc@in.ilimit.es">ibc@in.ilimit.es</a><br>
<br>
_______________________________________________<br>
</div><div><div></div><div class="Wj3C7c">Users mailing list<br>
<a href="mailto:Users@lists.openser.org">Users@lists.openser.org</a><br>
<a href="http://lists.openser.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.openser.org/cgi-bin/mailman/listinfo/users</a><br>
</div></div></blockquote></div><br>