[Users] call forwarding and billing

Bogdan-Andrei Iancu bogdan at voice-system.ro
Wed May 10 13:35:48 CEST 2006


Hi,

Jayesh Nambiar wrote:

> Hi folks,
> I have implemented the openser.cfg with forwarding and voicemail 
> features completely. Only problem is,
> if the user is forwarding the call on a pstn number how should he be 
> billed, as the one who has forwarded is accountable and not the one 
> who called.
> I have implemented forwarding using avps serial forking method. I've 
> read about multiple leg accounting and was not successful in 
> understanding it properly. The docs only mention to set the parametrs 
> and after I set the params, I get a n/a in src_leg and dst_leg column. 
> Can someone pls give me examples of successfully using multiple leg 
> accounting in openser.cfg.

id not enough to define the AVP that will keep the source and 
destination of each leg, but you also need from the script to populate 
them according to your call processing related to forward. If you search 
on the list archive, there was a post about multi leg call, containing a 
script snapshot.

> Is it like, the call leg accounting will only take place if there is a 
> 3XX response from the server. I am asking this as my cfg does not 
> produce any 302 response, but creates a brand new Invite request for 
> the forwarded call. Can someone pls tell me more about multi-leg 
> accounting.

no, it is not related to redirect processing.

> Also I read about the diversion module which can be used in the 
> forwarding scenarios.
> But I added the diversion header and forwarded the call to Cisco 
> gateway, it gave a 400 Bad Request reponse saying 'Malformed 
> CC-Diversion/Diversion/CC-Redirect Header'. Can someone explain what 
> does this mean.

it means that the Diversion hdr you added is not accepted by the GW - I 
had also this problem once and the solution was to remove all hdr 
parameters  - the CISCO GW does not like them.

regards,
bogdan




More information about the sr-users mailing list