while testing "listen only" conference participation, i noticed that
a=direction:active does not work in master branch.  when sems gets this
kind of sdp:

v=0.
o=twinkle 663644302 703547736 IN IP4 192.168.0.199.
s=-.
c=IN IP4 192.168.0.199.
t=0 0.
m=audio 8000 RTP/AVP 98 97 8 0 3 101.
a=direction:active.
a=rtpmap:98 speex/16000.
a=rtpmap:97 speex/8000.
a=rtpmap:8 PCMA/8000.
a=rtpmap:0 PCMU/8000.
a=rtpmap:3 GSM/8000.
a=rtpmap:101 telephone-event/8000.
a=fmtp:101 0-15.
a=ptime:20.

it replies with

Server: Sip Express Media Server (1.5.0 (x86/linux)).
...
v=0.
o=sems 1 1 IN IP4 192.98.102.34.
s=sems.
c=IN IP4 192.98.102.34.
t=0 0.
m=audio 40022 RTP/AVP 102 8 0 3 96.
a=rtpmap:102 speex/8000.
a=rtpmap:8 PCMA/8000.
a=rtpmap:0 PCMU/8000.
a=rtpmap:3 GSM/8000.
a=rtpmap:96 telephone-event/8000.

i.e. a:direction=passive is missing and wireshark shows that sems sends
media to private ip address.

when i make the same test with 1.4.2 sems, it works ok. invite sdp:

v=0.
o=twinkle 1711854506 743773684 IN IP4 192.168.0.199.
s=-.
c=IN IP4 192.168.0.199.
t=0 0.
m=audio 8000 RTP/AVP 98 97 8 0 3 101.
a=direction:active.
a=rtpmap:98 speex/16000.
a=rtpmap:97 speex/8000.
a=rtpmap:8 PCMA/8000.
a=rtpmap:0 PCMU/8000.
a=rtpmap:3 GSM/8000.
a=rtpmap:101 telephone-event/8000.
a=fmtp:101 0-15.
a=ptime:20.

response:

Server: Sip Express Media Server (rexported (x86/linux)).
...
Contact: <sip:[email protected]:5090>.
Content-Type: application/sdp.
Content-Length: 223.
.
v=0.
o=sems 517618684 499731131 IN IP4 192.98.102.34.
s=session.
c=IN IP4 192.98.102.34.
t=0 0.
m=audio 40002 RTP/AVP 97 101.
a=rtpmap:97 speex/8000.
a=rtpmap:101 telephone-event/8000.
a=fmtp:101 0-15.
a=direction:passive.

i.e., a=direction:passive is included and sems sends media to received
media ip/port.

-- juha
_______________________________________________
Semsdev mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/semsdev

Reply via email to