Hi Jasio,
Your icid-value in the P-Charging-Vector is
"Njc3NWFjNzMzZjRiZGM0Y2QwNzgzYjRhNDQ2YzNjY2M.+AB175506938170414-282885978@10.193.153.20".
According to the ABNF defined in RFC 3455, the icid-value must be of type
gen-value, e.g.:
P-Charging-Vector = "P-Charging-Vector" HCOLON icid-value
*(SEMI charge-params)
charge-params = icid-gen-addr / orig-ioi /
term-ioi / generic-param
icid-value = "icid-value" EQUAL gen-value
icid-gen-addr = "icid-generated-at" EQUAL host
orig-ioi = "orig-ioi" EQUAL gen-value
term-ioi = "term-ioi" EQUAL gen-value
A gen-value can be a token, a host or a quoted-string. None of these types can
validly contain a '@', so sprout rejects the header with a syntax exception.
Are you able to strip the '@' from your icid-value? What's generating the
P-Charging-Vector for the INVITE?
Ellie
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Jasio
Kololski
Sent: 17 April 2014 17:16
To: [email protected]
Subject: [Clearwater] P-Charging-Vector parsing error on sprout
Dear Clearwater project developers.
I have found the following error on sprout when doing sip-sip call.
INVITE returning form AS terminating trigger gets dropped with the following
log information:
17-04-2014 15:55:06.992 Error pjsip: sip_transport. Error processing 1359 bytes
packet from UDP 10.193.153.20:45321 : PJSIP syntax error exception when parsing
'P-Charging-Vector' header on line 11 col 102:
INVITE sip:[email protected] SIP/2.0 Via:SIP/2.0/UDP
10.193.153.20;branch=z9hG4bKBroadWorks.-11o46re-10.193.153.115V5054-0-942867908-666881274-1397750107014-
From:"user 201"<sip:[email protected];user=phone>;tag=666881274-1397750107014-
To:"user 203"<sip:[email protected]>
Call-ID:[email protected]
CSeq:942867908 INVITE
Contact:<sip:10.193.153.20:5060>
P-Asserted-Identity:"user 201"<sip:[email protected]>,"user 201"<tel:
+16505550000+16505550000>
Privacy:none
Route:<sip:[email protected]:5054;lr>
P-Charging-Vector:icid-value=
Njc3NWFjNzMzZjRiZGM0Y2QwNzgzYjRhNDQ2YzNjY2M.+AB175506938170414-282885978@10.193.153.20
;orig-ioi=domain.com;term-ioi=domain.com
Allow:ACK,BYE,CANCEL,INFO,INVITE,OPTIONS,PRACK,REFER,NOTIFY
Accept:application/media_control+xml,application/sdp,multipart/mixed
Supported:
Max-Forwards:10
Content-Type:application/sdp
Content-Length:252
v=0
o=BroadWorks 2807 1 IN IP4 10.193.3.128
s=-
c=IN IP4 10.193.3.128
t=0 0
m=audio 54790 RTP/AVP 3 110 8 0 98 101
a=rtpmap:110 speex/8000
a=rtpmap:98 iLBC/8000
a=fmtp:98 mode=20
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=sendrecv
-- end of packet.
Regards,
Janek
Call
Send SMS
Add to Skype
You'll need Skype CreditFree via Skype
_______________________________________________
Clearwater mailing list
[email protected]
http://lists.projectclearwater.org/listinfo/clearwater
_______________________________________________
Clearwater mailing list
[email protected]
http://lists.projectclearwater.org/listinfo/clearwater