Hi,
I have added this to my config, and it seems to have the correct accounting record, however, all forwarded call have no audio issues...
Can someone please help?
failure_route[1] { end_media_session(); # Handle 3XX Redirects if (t_check_status("3[0-9][0-9]")) { #log the redirect into the accounting table #get_redirects("4:1","Redirected"); #get_redirects("*","Redirected"); get_redirects("*"); t_relay(); }; }
Regards, Howard
On 1/9/07, Howard Tang howard615@gmail.com wrote:
Hi,
Did anyone successfully setup call accounting for call forward? I have been searching for a working example for few days on google, I still couldn't find any working example.
The config I have at the moment is
modparam("acc", "multi_leg_enabled", 1) modparam("acc", "src_leg_avp_id", 110) modparam("acc", "dst_leg_avp_id", 111)
In the main route, if (!method=="REGISTER" && !method=="NOTIFY") { avp_write("$from/username", "$avp(i:110)"); avp_write("$ruri/username", "$avp(i:111)"); };
Let say A call B and B forward call to C, the record in the acc table is all A to C without B in any one of the record for billing purpose. The Call forward was set on the UA.
Can anyone give me a hand on this please?
-- Howard Tang