[Freeswitch-users] Receiving audio despite SDP with a=sendonly

Larry Hemenway larry.hemenway at gmail.com
Wed Feb 21 23:09:09 UTC 2018


Hello,

Is there a way to establish a call with one-way audio on a call from the start?

I'm currently sending a request with the following SDP - (note a=sendonly):

v=0
o=Larry 2890844526 2890844526 IN IP4 127.0.0.1
s= My Session
c=IN IP4 172.22.112.1
t=0 0
m=audio 49170 RTP/AVP 0 8
a=sendonly
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000

FreeSWITCH is sending back the right response (note the a=recvonly):

v=0
o=FreeSWITCH 1519171720 1519171721 IN IP4 172.17.0.2
s=FreeSWITCH
c=IN IP4 172.17.0.2
t=0 0
m=audio 21768 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=recvonly
a=ptime:20

But I'm still receiving audio from FreeSWITCH. It is only after I
resend the SDP via a reinvite that the audio stops being sent from
FreeSWITCH.

Larry



More information about the FreeSWITCH-users mailing list