I believe the problem is in scenario.cpp in the clean_cdata function...
After the while loop which removes whitespace and new lines at the end of
the SIP packet the function looks to see if the SIP packet contains "\n\n",
if it doesn't then it will append to the packet.
The problem is that with packets that do not contain an SDP this statement
will return TRUE and the \n\n will be appended. However, for packets which
DO contain an SDP this statement will return FALSE b/c the packet will have
the SIP header followed by a \n\n and then the SDP. Since nothing gets
appended the packets will be sent out without proper termination and many
applications which parse these messages will fail.
Hope this helps some people.
On Tue, Jun 17, 2008 at 9:15 AM, Joby James <[EMAIL PROTECTED]> wrote:
> Hi Charles/Venkatesh,
>
> Could you please let me know if there is a solution for this problem?
> Which are the files I can modify to make it a success.
>
> Thanks and regards,
> Joby James.
>
> On Tue, Jun 17, 2008 at 10:14 AM, Joby James <[EMAIL PROTECTED]>
> wrote:
>
>> Hi Venkatesh,
>>
>> I see this problem on both default(-sn uac) and manual (-sf uac.xml)
>> cases.
>> I am using sipp 3.1 version.
>>
>> Thanks and regards,
>> Joby James.
>>
>>
>>
>> On Tue, Jun 17, 2008 at 10:10 AM, Venkatesh <[EMAIL PROTECTED]> wrote:
>>
>>> Are you are seeing these errors when using SIPp with the default
>>> scenarios?
>>>
>>> Venkatesh
>>>
>>>
>>> On Mon, Jun 16, 2008 at 9:23 PM, Joby James <[EMAIL PROTECTED]>
>>> wrote:
>>>
>>>> Hi All,
>>>>
>>>> I am getting the same error on our SBC.
>>>>
>>>> Error code 0X0000000B from SDP parser, at offset 133 in an SDP from
>>>> side 1) SDP Error: SDP not terminated with
>>>> *EOL *character SDP string ($$$ denotes error offset):v=0 o=user1
>>>> 53655765 2353687637 IN IP4 200.200.1.10 s=- c=IN IP4 200.200.1.10 t=0 0
>>>> m=audio 10000 RTP/AVP 0 a=rtpmap:0 PCMU/800$$$0
>>>>
>>>> Is there any patch available to fix this problem? Any suggestions ?
>>>>
>>>> Thanks in advance.
>>>>
>>>> Regards,
>>>> Joby James.
>>>>
>>>> On Fri, Jun 13, 2008 at 7:34 PM, Zarko Coklin <[EMAIL PROTECTED]>
>>>> wrote:
>>>>
>>>>> Hi all!
>>>>>
>>>>> I think there is a bug in 3.1 SIPp. According to RFC 2327, section 6,
>>>>> all SDP text based
>>>>> bodies should end with CRLF (0x0d0a). Version 2.1 works OK. See below
>>>>> an excerpt from
>>>>> RFC 2327.
>>>>>
>>>>> Regards,
>>>>> Zarko Coklin
>>>>>
>>>>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>>>> "Text records such as the session name and information are bytes
>>>>> strings which may contain any byte with the exceptions of 0x00 (Nul),
>>>>> 0x0a (ASCII newline) and 0x0d (ASCII carriage return). The sequence
>>>>> *CRLF (0x0d0a)* is used to end a record, although parsers should be
>>>>> tolerant and also accept records terminated with a single newline
>>>>> character. By default these byte strings contain ISO-10646
>>>>> characters in UTF-8 encoding, but this default may be changed using
>>>>> the `charset' attribute."
>>>>> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> -------------------------------------------------------------------------
>>>>> Check out the new SourceForge.net Marketplace.
>>>>> It's the best place to buy or sell services for
>>>>> just about anything Open Source.
>>>>> http://sourceforge.net/services/buy/index.php
>>>>> _______________________________________________
>>>>> Sipp-users mailing list
>>>>> [email protected]
>>>>> https://lists.sourceforge.net/lists/listinfo/sipp-users
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Mobile: +919880696590
>>>>
>>>> -------------------------------------------------------------------------
>>>> Check out the new SourceForge.net Marketplace.
>>>> It's the best place to buy or sell services for
>>>> just about anything Open Source.
>>>> http://sourceforge.net/services/buy/index.php
>>>> _______________________________________________
>>>> Sipp-users mailing list
>>>> [email protected]
>>>> https://lists.sourceforge.net/lists/listinfo/sipp-users
>>>>
>>>>
>>>
>>
>>
>> --
>> Mobile: +919880696590
>
>
>
>
> --
> Mobile: +919880696590
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> _______________________________________________
> Sipp-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/sipp-users
>
>
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Sipp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users