pjsip client always populates itself as "controlled" agent in stun connectivity checks for the incoming ice-lite call

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

 



Hi Amaresh,

looks like the bug is in our side indeed. We parsed the "ice-lite"
attribute, but the code that's supposed to change the role was not
implemented! I just fixed this in
http://trac.pjsip.org/repos/ticket/977

Thanks for the report!

Cheers
 Benny

On Mon, Oct 19, 2009 at 11:19 AM, amaresh marekar <amaresh.dm at gmail.com> wrote:
>
> Hi Benny
>
> This is the sdp of the incoming call from ice-lite agent .
>
> sdp in incoming invite from ice-lite agent :-
>
> v=0
> o=- 4471179 4471180 IN IP4 10.232.35.110
> s=
> c=IN IP4 10.232.35.110
> t=0 0
> a=ice-lite
> m=audio 50000 RTP/AVP 0 8 18 101
> a=rtpmap:0 PCMU/8000
> a=rtpmap:8 PCMA/8000
> a=rtpmap:18 G729/8000
> a=rtpmap:101 telephone-event/8000
> a=fmtp:0 annexb=no
> a=fmtp:8 annexb=no
> a=fmtp:18 annexb=no
> a=rtcp:50001 IN IP4 10.232.35.110
> a=ptime:20
> a=maxptime:20
> a=sendrecv
> a=candidate:1513163555 1 UDP 2130706431 10.232.35.110 50000 typ host
> a=candidate:1513163555 2 UDP 2130706430 10.232.35.110 50001 typ host
> a=ice-pwd:BoJsdddp4tEKlDzrvgvo3n
> a=ice-ufrag:vRoq
> a=fmtp:101 0-15,56,70
>
>
> sdp in 200ok generated by pjsip full ice client :-
>
> v=0
> o=- 3464933844 3464933845 IN IP4 10.232.35.110
> s=pjmedia
> c=IN IP4 10.232.35.110
> t=0 0
> a=X-nat:0
> m=audio 1377 RTP/AVP 0 101
> a=rtcp:1379 IN IP4 10.232.35.110
> a=rtpmap:0 PCMU/8000
> a=sendrecv
> a=rtpmap:101 telephone-event/8000
> a=fmtp:101 0-15
> a=ice-ufrag:2cd672ae
> a=ice-pwd:69525f90
> a=candidate:Hae8236e 1 UDP 2130706431 10.232.35.110 1377 typ host
> a=candidate:Hae8236e 2 UDP 2130706430 10.232.35.110 1379 typ host
>
> Stun connectivity checks sent by pjsip client .
>
> --- begin STUN message ---
> STUN Binding request
> ?Hdr: length=88, magic=2112a442, tsx_id=000006a426e901eb5af141bb
> ?Attributes:
> ? PRIORITY: length=4, value=1862270975 (0x6effffff)
> ? ICE-CONTROLLED: length=8, data=18be67844ae13d6c
> ? SOFTWARE: length=12, value="pjnath-1.4.5"
> ? USERNAME: length=13, value="vRoq:2cd672ae"
> ? MESSAGE-INTEGRITY: length=20,
> data=1315e1a763b586c308bf68703da7af0d891e26d8
> ? FINGERPRINT: length=4, value=3029057934 (0xb48bc18e)
> --- end of STUN messa



[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