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: [email protected]
> 
> 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
> [email protected]
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users


_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to