Hi Derek,
according to the RFC 3261 URI syntax, I understand that the parameters
values cannot be placed inside quotes. Here are the relevant rules:
uri-parameters = *( ";" uri-parameter)
uri-parameter = transport-param / user-param / method-param
/ ttl-param / maddr-param / lr-param / other-param
other-param = pname [ "=" pvalue ]
pname = 1*paramchar
pvalue = 1*paramchar
paramchar = param-unreserved / unreserved / escaped
param-unreserved = "[" / "]" / "/" / ":" / "&" / "+" / "$"
It seams to me that the value is just an array of chars.
Regards,
Bogdan
Derek wrote:
Here is the request. The problem is the initial invite to a third
party SIP proxy has the tgrp="NXT-LAB-TORO-3" in the Contact:. When
that device initiates a call on behalf of the first call, it copies
the Contact: to the From:.
Is it also not valid to have ["] in the Contact: uri?
Here is the original Contact: and the request that SER sees. SER does
not complain about ["] in Contact: headers.
I have requested that the ["] be removed from the initial INVITE in
the Contact: header and it has fixed the problem. Thanks for your input.
Contact: <sip:[EMAIL PROTECTED]:5060;tgrp="NXT-LAB-TORO-3">
INVITE sip:[EMAIL PROTECTED]:5060 SIP/2.0
From:<sip:[EMAIL PROTECTED]:5060;tgrp="NXT-LAB-TORO-3">;tag=7421C2D5-53BD-46F0-A013-F9877C243C39-69
To: <sip:[EMAIL PROTECTED]:5060>
Call-ID: [EMAIL PROTECTED]
CSeq: 1 INVITE
Content-Length: 0
Via: SIP/2.0/UDP
----------:5060;branch=z9hG4bK02D9192E-B13A-4CBE-A442-69DA87F42579-46
Contact: <sip:----------:5060>
Call-Info: <http://example.com>;
[EMAIL PROTECTED];gen-rt=3348507627-150431;gen-lt=7421C2D5-53BD-46F0-A013-F9877C243C39-68
Max-Forwards: 70
Session-Expires: 1800;refresher=uac
Min-SE: 90
Supported: timer
Bogdan-Andrei Iancu wrote:
Hi Derek,
["] char may appear in TO or FROM but only as quoter for the display
name - if you have the request, you may post it to see if there are
any problems.
regards,
bogdan
Derek wrote:
On a related note, is it valid to have character ["] in the To: or
From: header? I am receiving the same message in my logs when I
have a ["] in the From: header. My openser is not crashing when
this happens, it returns a 500 error message.
Thanks.
_______________________________________________
Devel mailing list
[email protected]
http://openser.org/cgi-bin/mailman/listinfo/devel