[OpenSIPS-Users] Query about avp in siptrace module

Daniel Zanutti daniel.zanutti at gmail.com
Tue Mar 22 17:22:17 CET 2016


Hi Agalya

Could you post you opensips.cfg file and some trace with the AVP = NULL
error?

On Tue, Mar 22, 2016 at 12:07 PM, Ramachandran, Agalya (Contractor) <
Agalya_Ramachandran at comcast.com> wrote:

> Hi Daniel,
>
>
>
> I have already set the onreply_avp_mode.
>
> *modparam("tm", "onreply_avp_mode", 1)*
>
>
>
> Added  the below line in route at the very beginning as suggested by you.
>
> *$avp(traced_user) = "1"; *
>
>
>
> Am calling *sip_trace()* in ‘route’ and ‘onreply_route’.
>
> Still am seeing AVP is NULL in my traces.  Can you please clarify me on
> what am missing out.
>
>
>
> Regards,
> Agalya
>
>
>
>
>
> *From:* users-bounces at lists.opensips.org [mailto:
> users-bounces at lists.opensips.org] *On Behalf Of *Daniel Zanutti
> *Sent:* Monday, March 21, 2016 2:24 PM
> *To:* OpenSIPS users mailling list <users at lists.opensips.org>
> *Subject:* Re: [OpenSIPS-Users] Query about avp in siptrace module
>
>
>
> Please take a look at AVP page:
>
> http://www.opensips.org/html/docs/modules/1.9.x/avpops.html#id248034
>
>
>
> 'AVPs are persistent per SIP transaction, being available in "route",
> "branch_route" and "failure_route". To make them available in
> "onreply_route" armed via TM module, set "onreply_avp_mode" parameter of TM
> module (note that in the default "onreply_route", the AVPs of the
> transaction are not available)'
>
>
>
> The AVP is persistent at the SIP transaction. Even if not, you are setting
> it again on every message received.
>
>
>
> Don't forget to call sip_trace again on reply_route
>
>
>
> Regards
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20160322/e85343f6/attachment.htm>


More information about the Users mailing list