Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: SIP test suites (SDP format issue)

SIP test suites (SDP format issue) 14 Mar 2017 14:17 #7871

  • Deltour
  • Deltour's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
  • Karma: 0
Hello

I am working on the Session Initiation Protocol (SIP) Test Suite downloaded on the ttcn-3 web site (TS 102 027).

In the module SIP_TypesAndConf, there is a modulepar defined as follows:

//PX_SDPBODY : SDP parameter proposed by the ETS
modulepar charstring PX_SDPBODY :=
"v=0 \n o=voicesession 12345 12345 IN IP4 193.174.154.20 \n s=Voice Session\n c=IN IP4 195.174.154.20 \n t=0 0 \n m=audio 8500 RTP/AVP 0 \n a=rtpmap:0 PCMU/8000"
with {extension "Description: SDP parameter proposed by the ETS"}


In the RFC 4566 " SDP: Session Description Protocol", in section 5 "SDP Specification", it is written :

An SDP session description consists of a number of lines of text of the form:

<type>=<value>

where <type> MUST be exactly one case-significant character.


But in the SIP_TypesAndConf module, all <type> (except first one) are prefixed by a white space.

Am I misunderstanding the RFC or is there a bug in the test suites?

Regards

Julien
The administrator has disabled public write access.

SIP test suites (SDP format issue) 14 Mar 2017 15:10 #7872

Hi Julien,

you are correct, the string is incorrect:
- there should be no space either before, nor after the line break
- the line break should be 0x0d0a, i.e. "\q{0,0,0,13}\q{0,0,0,10}"

Regards, Gyorgy
The administrator has disabled public write access.
  • Page:
  • 1

FacebookTwitterGoogle BookmarksRedditNewsvineTechnoratiLinkedin