[OpenSIPS-Users] 0800 free call

Philipp Hoffmann philipp.hoffmann at arcor.de
Mon Apr 5 13:23:53 CEST 2010


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



More information about the Users mailing list