Hi all,
 
I am trying to get some AVP value from radius and insert into the SIP messages. I am OK to get the AVPs from radius but dont know how to insert these values into reply messages ( 200 OK for Register and Invite request). Should someone help which command should be used on this case.
 
I tried these commands from route processing REGISTER message, but not sucess yet
 
insert_hf("credit-amount: $avp(s:h323-credit-amount)\r\n","SIP-AVP");
#        avp_pushto("$br","$avp(s:h323-credit-amount)");   
    append_to_reply("Foo: $avp(s:h323-credit-amount)\r\n");
 
Regards,
 
Tung