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) < [email protected]> 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:* [email protected] [mailto: > [email protected]] *On Behalf Of *Daniel Zanutti > *Sent:* Monday, March 21, 2016 2:24 PM > *To:* OpenSIPS users mailling list <[email protected]> > *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 > [email protected] > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > >
_______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
