Hi guys, does anybody knows if it's possible to give a format to the "calling-from" and "calling-to" values that radiusclient-ng/SER send to the Radius server?
I have a licensed billing application that is expecting to receive the "calling-from" and "calling-to" values like in a number format in order to apply the rates this mean: if "calling-from" or "calling-to" value is 836572345@sip.domain the billing application needs to receive 836572345 without the @sip.domain
What should i do at SER or radiusclient-ng in order to achieve this format?
Regards
Alberto Cruz
Hi Maxim and Juha:
Sorry If I bother you but maybe you can give me a tip about this issue. I"ll really appreciate your help.
I'm using the last stable release from SER (0.9.3) installed at Debian Sarge from the APT repository.
Alberto Cruz wrote:
Hi guys, does anybody knows if it's possible to give a format to the "calling-from" and "calling-to" values at the accounting records that radiusclient-ng/SER send to the Radius server?
I have a licensed billing application that is expecting to receive the "calling-from" and "calling-to" values like in a number format in order to apply the rates this mean: if "calling-from" or "calling-to" value is 836572345@sip.domain the billing application needs to receive 836572345 without the @sip.domain in order to apply the rate for this number.
What should i do at SER or radiusclient-ng in order to achieve this format?
Regards
Alberto Cruz
Alberto Cruz writes:
I have a licensed billing application that is expecting to receive the "calling-from" and "calling-to" values like in a number format in order to apply the rates this mean: if "calling-from" or "calling-to" value is 836572345@sip.domain the billing application needs to receive 836572345 without the @sip.domain in order to apply the rate for this number.
i can extract user part of from/to uri at your radius server when it receives the accounting packet and writes it to database.
if radius server is not in your control, you would need to modify acc.c fmt2strar() function.
-- juha
Thank you very much Juha. The radius server is out my control So I'm going to install SER from the sources instead of the Debian repository and I'm going to modify the acc.c fmtstrar() function.
Regards
Alberto Cruz
Juha Heinanen wrote:
Alberto Cruz writes:
I have a licensed billing application that is expecting to receive the "calling-from" and "calling-to" values like in a number format in order to apply the rates this mean: if "calling-from" or "calling-to" value is 836572345@sip.domain the billing application needs to receive 836572345 without the @sip.domain in order to apply the rate for this number.
i can extract user part of from/to uri at your radius server when it receives the accounting packet and writes it to database.
if radius server is not in your control, you would need to modify acc.c fmt2strar() function.
-- juha
On 18-08-2005 12:12, Alberto Cruz wrote:
Hi guys, does anybody knows if it's possible to give a format to the "calling-from" and "calling-to" values that radiusclient-ng/SER send to the Radius server?
No.
I have a licensed billing application that is expecting to receive the "calling-from" and "calling-to" values like in a number format in order to apply the rates this mean: if "calling-from" or "calling-to" value is 836572345@sip.domain the billing application needs to receive 836572345 without the @sip.domain
What should i do at SER or radiusclient-ng in order to achieve this format?
You would need to change the acc module to achieve that.
Jan.
Regards
Alberto Cruz
Serusers mailing list serusers@lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers