[OpenSIPS-Users] 0800 free call

Zahid Mehmood zm23 at columbia.edu
Mon Apr 5 14:20:55 CEST 2010


Philipp,
    The accounting (acc) module can be used to log extra values.   You can configure the module to save the billing party in acc records and generate cdr using that information.

(http://www.opensips.org/html/docs/modules/1.6.x/acc.html#id271945 )

-- 
Zahid



On Apr 5, 2010, at 7:23 AM, Philipp Hoffmann wrote:

> Hi list,
> 
> we want route our costumers 0800 free call numbers with OpenSIPS. Here need to pay the called party, not the caller.
> 
> A example CDR for this:
> 
> To: 49800123456
> From: 49208123456
> Location: user at example.de
> 
> My idea:
> 
> if ($rU =~ "^49800") {
> 
>  dp_translate("1", "$rU/$rU");
> 
>  $avp(s:billing_party) = $rU;
> 
>  $avp(s:can_uri) = $fn; # From
> 
>  # billing_profile = 0800freecalls
> 
> };
> 
> How can I fix a profile for billing in my opensips.cfg?
> 
> Thanks,
> Philipp
> 
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users




More information about the Users mailing list