[Devel] OpenSER sometimes goes down.

Bogdan-Andrei Iancu bogdan at voice-system.ro
Mon Feb 13 11:01:05 CET 2006


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:---------- at ----------:5060;tgrp="NXT-LAB-TORO-3">
>
> INVITE sip:5551100 at ops-linux-01.lab-ops.com:5060 SIP/2.0
> From:<sip:---------- at --------:5060;tgrp="NXT-LAB-TORO-3">;tag=7421C2D5-53BD-46F0-A013-F9877C243C39-69 
>
> To: <sip:5551100 at ----------:5060>
> Call-ID: 4730C31A-C15B-4BA5-8E4A-0002138C824F-33 at ----------
> 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>; 
> 2451-3348507627-150410 at ---------;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.
>>>




More information about the Devel mailing list