This issue has been documented on the previous Post for Call Control.
When a caller prepaid account reached zero balance during a call, call control immediately send BYE request to both ends to terminate the call. Since this request is internally generated, accounting should take place on the local_route.
The group used the code below to account the BYE
local_route {
if (is_method("BYE") ) {
acc_db_request("Internally generated BYE", "acc");
acc_rad_request("Internally generated BYE"); #// This is sending an Bye to the radius server to create the stop time.
}
}
The code was placed before the main routing block.
Custom Search
Wednesday, July 15, 2009
Subscribe to:
Post Comments (Atom)

0 comments:
Post a Comment