Thanks! It's working.
2012/9/10 Muhammad Shahzad <[email protected]> > Set following modparam, and all AVPs will be visible in reply route as > well, > > modparam("tm", "onreply_avp_mode", 1) > > Thank you. > > > On Mon, Sep 10, 2012 at 2:41 PM, Dragomir Haralambiev > <[email protected]>wrote: > >> Hello, >> >> I need to change accounted AVPs values on onreply_route. >> How to do that? >> Here is example: >> >> modparam("acc", "detect_direction", 1) >> modparam("acc", "log_level", 1) >> modparam("acc", "cdr_flag", 2) >> modparam("acc", "failed_transaction_flag", 1) >> modparam("acc", "log_flag", 1) >> modparam("acc", "log_missed_flag", 1) >> >> modparam("acc", "aaa_url", >> "radius:/etc/radiusclient-ng/radiusclient.conf") >> modparam("acc", "aaa_extra", "....... >> Billing-Info=$avp(bill_info); >> .......") >> modparam("acc", "aaa_flag", 2) >> modparam("acc", "aaa_missed_flag", 2) >> >> .... >> $avp(bill_info)="set init value"; >> setflag(1); setflag(2); >> t_relay(); >> >> ..... >> onreply_route { >> ..... >> $avp(bill_info)="new bill value"; >> ... >> } >> >> Best regards, >> PlayMen >> >> >> >> _______________________________________________ >> Users mailing list >> [email protected] >> http://lists.opensips.org/cgi-bin/mailman/listinfo/users >> >> > > > -- > Muhammad Shahzad > ----------------------------------- > CISCO Rich Media Communication Specialist (CRMCS) > CISCO Certified Network Associate (CCNA) > Cell: +92 334 422 40 88 > MSN: [email protected] > Email: [email protected] > > _______________________________________________ > 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
