Hi Janek,

We expect the billing_cdf value configured in Bono to match the diameter 
identity of the CDF. For now, we need the diameter identity of the CDF to be 
the same as the FQDN that resolves to it, and the CDF must be listening on 3868.
Can you change your billing_cdf value to the cdf diameter identity, and restart 
Bono (run "service bono stop")?

At the moment, Sprout is throwing a parsing error as Bono doesn't include the 
quotes when it adds the ccf value on the P-Charging-Function-Address header, 
meaning that Sprout rejects it as it contains a ';'. I've raised an issue 
(https://github.com/Metaswitch/sprout/issues/518) to track fixing this. 
Changing your billing_cdf configuration to the diameter identity should mean 
that you no longer hit this problem though. 

Incidentally, why is your billing_cdf set to 
"aaa://cdf.domain.com:3868;transport=TCP"? Is that from a spec/the docs?

Ellie

-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of Jasio 
Kololski
Sent: 24 April 2014 10:23
To: [email protected]
Subject: [Clearwater] P-Charging-Function-Address CDF URI parsing error on bono

Hello Community,

Bono incorrectly sends P-Charging-Function-Address cdf parameter.
In bono's /etc/clearwater/config I have configured 
billing_cdf="aaa://cdf.domain.com:3868;transport=TCP" as cdf diameter URI.
Bono sends PCFA but it doesn't include double quotes.
Sprout spits parsing error as below.

24-04-2014 08:52:42.489 Error pjsip: sip_transport. Error processing 1184 bytes 
packet from TCP 10.193.153.116:49897 : PJSIP syntax error exception when 
parsing 'P-Charging-Function-Addresses' header on line 16 col 39:
REGISTER sip:domain.com;transport=UDP SIP/2.0
Path: sip:[email protected]:5058;transport=TCP;lr;ob
Via: SIP/2.0/TCP 10.193.153.116:49897
;rport;branch=z9hG4bKPjI4L5Nl79sUZMRhFR.0KuH3wzrG5QVAGk
Via: SIP/2.0/UDP 10.193.3.109:46862
;received=10.193.3.109;branch=z9hG4bK-d8754z-2cb573d1bf1b6b5b-1---d8754z-
Max-Forwards: 69
Contact: <sip:[email protected]:46862
;transport=UDP;rinstance=ca886d699f294a88>
To: <sip:[email protected]>
From: <sip:[email protected]>;tag=2f38b63c
Call-ID: NzM4MmRlNDc5YTcwNzNkMjgxYTIzZTg4NmU5ZGFmMDY.
CSeq: 7 REGISTER
Expires: 3600
Allow: INVITE, ACK, CANCEL, BYE, NOTIFY, REFER, MESSAGE, OPTIONS, INFO, 
SUBSCRIBE
Supported: replaces, norefersub, extended-refer, timer, X-cisco-serviceuri
User-Agent: Z 3.2.21357 r21367
Allow-Events: presence, kpml
P-Charging-Function-Addresses: ccf=aaa://cdf.domain.com:3868;transport=TCP
P-Charging-Vector:
icid-value="NzM4MmRlNDc5YTcwNzNkMjgxYTIzZTg4NmU5ZGFmMDY.";icid-generated-at=10.193.153.116
Session-Expires: 600
Route: <sip:sprout.domain.com:5052;transport=TCP;lr;orig>
Content-Length:  0


-- end of packet.

P-Charging-Vector icid-value has double quotes for a change :)

Regards,

Janek
_______________________________________________
Clearwater mailing list
[email protected]
http://lists.projectclearwater.org/listinfo/clearwater
_______________________________________________
Clearwater mailing list
[email protected]
http://lists.projectclearwater.org/listinfo/clearwater

Reply via email to