RTP problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I've just added http://trac.pjsip.org/repos/ticket/476 for this, just
as a reminder. This would be quite a major change to do (need to
modify stream and possibly jitter buffer), so it may not make it in
0.9.

cheers,
 -benny

On 2/14/08, Nanang Izzuddin <nanang.izzuddin at gmail.com> wrote:
> Yes, it is rather strange since in pjsua SDP iLBC has higher
>  preference than PCMU, and the eyebeam supports iLBC as higher
>  preference too in its SDP. Perhaps eyebeam decided to send PCMU
>  because eyebeam doesn't support or unsure about mode=30 (frame time).
>  And I think this is known issue that pjsip hasn't supported
>  multiple/simultaneous codecs yet.
>
>
>  nanang
>
>
>
>  On 13/02/2008, Klaus Darilion <klaus.mailinglists at pernau.at> wrote:
>  > Hi!
>  >
>  >  I have a problem with RTP. PJSIP sends INVITE requests with all codecs
>  >  to eyebeam. Eyebeam answers with multiple codecs (see below). Then pjsip
>  >  decides to send RTP with ilbc, eyebeam sends with G711. This is IMO
>  >  strange but sending and receiving different payload types is valid.
>  >
>  >  But pjsip rejects incoming RTP:
>  >
>  >  14:36:27.718   strm0527367C Bad RTP pt 0 (expecting 117)
>  >
>  >   14:36:27.734   strm0527367C RTP status: badpt=-1, badssrc=0, dup=0,
>  >  outorder=0, probation=0, restart=0
>  >
>  >   14:36:27.734   strm0527367C Bad RTP pt 0 (expecting 117)
>  >
>  >   14:36:27.765   strm0527367C RTP status: badpt=-1, badssrc=0, dup=0,
>  >  outorder=0, probation=0, restart=0
>  >
>  >
>  >  I think this is a bug in pjsip.
>  >
>  >  thanks
>  >  Klaus
>  >
>  >
>  >  U 2008/02/13 14:36:24.036837 4.5.6.3:1786 -> 1.2.3.160:5060
>  >  INVITE sip:klaus2 at otherdomain.com:6060 SIP/2.0.
>  >  Via: SIP/2.0/UDP
>  >  10.10.0.51:1786;rport;branch=z9hG4bKPj6abbb11403354180b8a7617ad61505a9.
>  >  Max-Forwards: 70.
>  >  From: sip:klaus.darilion@xxxxxxxxxxxx;tag=0b39dc5fa7af406db588048d922ee881.
>  >  To: sip:klaus2 at otherdomain.com.
>  >  Contact: <sip:klaus.darilion at 10.10.0.51:1786>.
>  >  Call-ID: e3e07d7bb5d843359cd3a8bfa6cd2607.
>  >  CSeq: 13591 INVITE.
>  >  Route: <sip:mydomain.com;transport=UDP;lr>.
>  >  Allow: PRACK, INVITE, ACK, BYE, CANCEL, UPDATE, SUBSCRIBE, NOTIFY,
>  >  PUBLISH, REFER, MESSAGE, OPTIONS.
>  >  Supported: replaces, 100rel, norefersub.
>  >  User-Agent: QjSimple 0.3pre by ipcom.at.
>  >  Proxy-Authorization: Digest username="klaus.darilion",
>  >  realm="mydomain.com", nonce="47b2f38482d7aefbdca4c3b2fd2050cee6c5775e",
>  >  uri="sip:klaus2 at otherdomain.com:6060",
>  >  response="27b17a46d5fc1a9eddf954716138b48a".
>  >  Content-Type: application/sdp.
>  >  Content-Length:   598.
>  >  .
>  >  v=0.
>  >  o=- 3411902183 3411902183 IN IP4 10.10.0.51.
>  >  s=pjmedia.
>  >  c=IN IP4 10.10.0.51.
>  >  t=0 0.
>  >  a=X-nat:0.
>  >  m=audio 4000 RTP/SAVP 103 102 104 117 3 0 8 101.
>  >  a=rtcp:4001 IN IP4 10.10.0.51.
>  >  a=rtpmap:103 speex/16000.
>  >  a=rtpmap:102 speex/8000.
>  >  a=rtpmap:104 speex/32000.
>  >  a=rtpmap:117 iLBC/8000.
>  >  a=fmtp:117 mode=30.
>  >  a=rtpmap:3 GSM/8000.
>  >  a=rtpmap:0 PCMU/8000.
>  >  a=rtpmap:8 PCMA/8000.
>  >  a=sendrecv.
>  >  a=rtpmap:101 telephone-event/8000.
>  >  a=fmtp:101 0-15.
>  >  a=crypto:1 AES_CM_128_HMAC_SHA1_80
>  >  inline:6EFZp6PIPvydNNIHx2fP4S00Ge68YJqphMyrF5up.
>  >  a=crypto:2 AES_CM_128_HMAC_SHA1_32
>  >  inline:qmjJfTK4P64oRygGYrDMjjVcsrEKfnKnoQ8WXROS.
>  >
>  >
>  >
>  >
>  >
>  >  U 2008/02/13 14:36:27.097969 1.2.3.160:5060 -> 4.5.6.3:1786
>  >  SIP/2.0 200 OK.
>  >  Via: SIP/2.0/UDP
>  >  10.10.0.51:1786;received=4.5.6.3;rport=1786;branch=z9hG4bKPj6abbb11403354180b8a7617ad61505a9.
>  >  Record-Route: <sip:88.198.53.113:6061;transport=tls;lr;r2=on>.
>  >  Record-Route: <sip:88.198.53.113:6060;r2=on;lr=on>.
>  >  Record-Route:
>  >  <sip:1.2.3.160;ftag=0b39dc5fa7af406db588048d922ee881;nat=caller;lr=on>.
>  >  Contact: <sip:klaus2 at 4.5.6.3:1610;transport=TLS;rinstance=d0e6de01175913d9>.
>  >  To: <sip:klaus2 at otherdomain.com>;tag=c52f5b0d.
>  >  From:
>  >  <sip:klaus.darilion at mydomain.com>;tag=0b39dc5fa7af406db588048d922ee881.
>  >  Call-ID: e3e07d7bb5d843359cd3a8bfa6cd2607.
>  >  CSeq: 13591 INVITE.
>  >  Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE,
>  >  SUBSCRIBE, INFO.
>  >  Content-Type: application/sdp.
>  >  User-Agent: eyeBeam release 1013t stamp 43069.
>  >  Content-Length: 353.
>  >  .
>  >  v=0.
>  >  o=- 0 2 IN IP4 4.5.6.3.
>  >  s=CounterPath eyeBeam 1.5.
>  >  c=IN IP4 1.2.3.163.
>  >  t=0 0.
>  >  m=audio 37564 RTP/SAVP 117 0 8 101.
>  >  a=crypto:1 AES_CM_128_HMAC_SHA1_80
>  >  inline:6EFZp6PIPvydNNIHx2fP4S00Ge68YJqphMyrF5up .
>  >  a=fmtp:101 0-15.
>  >  a=rtpmap:117 iLBC/8000.
>  >  a=rtpmap:101 telephone-event/8000.
>  >  a=sendrecv.
>  >  a=x-rtp-session-id:A42751BBA7F442AABA9C315FFEB8714C.
>  >
>  >  _______________________________________________
>  >  Visit our blog: http://blog.pjsip.org
>  >
>  >  pjsip mailing list
>  >  pjsip at lists.pjsip.org
>  >  http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>  >
>
>  _______________________________________________
>  Visit our blog: http://blog.pjsip.org
>
>  pjsip mailing list
>  pjsip at lists.pjsip.org
>  http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org
>



[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux