Hi,

Thnak Charles. It works now fine.

BTW. When this fix will be released in oficial version for Windows. The last 
setup file on sipp web is from April 2008 ?

Regards 


Mitko Mitev
IT Services and Enterprise Communications
iSEC CZ 34-5 Team Lead
 
Bidláky 20, budova Mediahall
639 00 Brno
 
Tel.: +420 533 337 251
Fax: +420 533 337 252
Mobil: +420 724 754 090
mailto: [EMAIL PROTECTED]
www.isec-it.com

 
Společnost: iSEC - IT Services and Enterprise Communications s.r.o.
Sídlo: Brno, Bidláky 20, 639 00
Obchodní firma je zapsána v obchodním rejstříku u Krajského soudu v Brně v 
oddílu C, ve složce 54602. 
IČ: 27721710
 
POZOR!

Tento e-mail může obsahovat obchodní tajemství nebo jiné utajované a důvěrné 
informace. Pokud jste tento e-mail obdrželi omylem, oznamujeme Vám tímto, že je 
přísně zakázáno jej jakýmkoli způsobem upravovat, kopírovat nebo šířit. 
Neprodleně nás prosím informujte a tento e-mail zničte. Děkujeme za spolupráci.

 

Important Note!

This e-mail  may contain trade secrets or privileged, undisclosed or otherwise 
confidential information. If you have received this e-mail in error, you are 
hereby notified that any review, copying or distribution of it is strictly 
prohibited. Please inform us immediately and destroy the original transmittal. 
Thank you for your cooperation.

 


-----Original Message-----
From: Charles P Wright [mailto:[EMAIL PROTECTED] 
Sent: 14. listopadu 2008 15:20
To: Mitev, Mitko
Cc: [email protected]
Subject: Re: [Sipp-users] Sipp 3.1 bug - Missing CRLF at the last line SDP

Mitko,

The latest trunk should fix this.

Charles




"Mitev, Mitko" <[EMAIL PROTECTED]> 
11/14/2008 06:45 AM

To
<[email protected]>
cc

Subject
[Sipp-users] Sipp 3.1 bug - Missing CRLF at the last line SDP






 
Hi all,
 
I found a bug in Sipp 3.1.
I have got following <send> segment with INVITE message
<send><![CDATA[INVITE sip:[EMAIL PROTECTED]:[remote_port] SIP/2.0
Content-Type: application/sdp
Supported: timer
Supported: 100rel
Supported: replaces
Allow: INVITE,ACK,CANCEL,BYE,REFER,NOTIFY,MESSAGE,UPDATE
Allow-Events: talk, hold
Min-SE: 90
Via: SIP/2.0/[transport] [local_ip]:[local_port];branch=[branch]
From: 49897221800 <sip:[EMAIL PROTECTED]>;tag=JLwMhQLm3CFC
    To: <sip:[EMAIL PROTECTED]>
    Call-ID: uN4Et_evv_Tb///[call_id]
    CSeq: [cseq] INVITE
    Contact: 
<sip:[EMAIL PROTECTED]:[local_port];transport=[transport]>
    Max-Forwards: 70
    Subject: OSCAR-ITT
Content-Length: [len]
 
    v=0
    o=user1 53655765 4339583258 IN IP[local_ip_type] [local_ip]
    s=-
    c=IN IP[media_ip_type] [media_ip]
    t=0 0
    m=audio [media_port] RTP/AVP 0
    a=rtpmap:0 PCMU/8000
    a=sendrecv
]]>
</send>
In the sipp v2.0.1 it works fine and sipp sends INVITE messge with CRLF at 
end of SDP. But sipp 3.1 sends this message without CRLF at the end. It 
leads that this message is rejected by some servers that are strict on the 
SDP parsing. 
 
ABNF grammer for SDP defines that each SDP attribute must be ended with 
CRLF character. See notes below:
 
Could it be created a bug for it and fix released ? 
 
The ABNF grammar of SIP (http://tools.ietf.org/html/rfc3261#page-223) you 
find
 
SIP-message    =  Request / Response
Request        =  Request-Line
                  *( message-header )
                  CRLF
                  [ message-body ]
with 
message-body = *OCTET
 
So in general, there is no CRLF at the end. SDP (
http://tools.ietf.org/html/rfc4566#page-39) says the following:
 
session-description = proto-version
                         origin-field
                         session-name-field
                         information-field
                         uri-field
                         email-fields
                         phone-fields
                         connection-field
                         bandwidth-fields
                         time-fields
                         key-field
                         attribute-fields
                         media-descriptions

with 
 
attribute-fields =    *(%x61 "=" attribute CRLF)

media-descriptions =  *( media-field
                         information-field
                         *connection-field
                         bandwidth-fields
                         key-field
                         attribute-fields )
 
 
Regards
 
Mitko Mitev
IT Services and Enterprise Communications
iSEC CZ 34-5 Team Lead
 
Bidláky 20, budova Mediahall
639 00 Brno
 
Tel.: +420 533 337 251
Fax: +420 533 337 252
Mobil: +420 724 754 090
mailto: [EMAIL PROTECTED]
www.isec-it.com
 
Společnost: iSEC - IT Services and Enterprise Communications s.r.o.
Sídlo: Brno, Bidláky 20, 639 00
Obchodní firma je zapsána v obchodním rejstříku u Krajského soudu v Brně v 
oddílu C, ve složce 54602. 
IČ: 27721710
 
POZOR!
Tento e-mail může obsahovat obchodní tajemství nebo jiné utajované a 
důvěrné informace. Pokud jste tento e-mail obdrželi omylem, oznamujeme Vám 
tímto, že je přísně zakázáno jej jakýmkoli způsobem upravovat, kopírovat 
nebo šířit. Neprodleně nás prosím informujte a tento e-mail zničte. 
Děkujeme za spolupráci.
 
Important Note!
This e-mail  may contain trade secrets or privileged, undisclosed or 
otherwise confidential information. If you have received this e-mail in 
error, you are hereby notified that any review, copying or distribution of 
it is strictly prohibited. Please inform us immediately and destroy the 
original transmittal. Thank you for your cooperation.
 
 -------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's 
challenge
Build the coolest Linux based applications with Moblin SDK & win great 
prizes
Grand prize is a trip for two to an Open Source event anywhere in the 
world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Sipp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Sipp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sipp-users

Reply via email to