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

Reply via email to