[Freeswitch-users] Implementing One Way audio through Freeswitch(Default Mode)

Saurabh Verma saurabhkv01 at gmail.com
Mon Aug 1 10:54:16 MSD 2016


Hi

I want to implement One Way Audio through Freeswitch in Default mode.

*SoftClient1 ---------> FREESWITCH  ---------->  SoftClient2*
*a=sendonly             (Default Mode)                *

For this i have hardcoded the media attribute for audio as sendonly in
Softclient1.Everytime Softclient1 will initiate the call to softclient2.Now
when i make a call,Softclient1 sends *sendonly as media attribute in SDP of
INVITE packet*.Freeswitch replies with recvonly in the 200OK.When
Freeswitch forwards the Invite to Softclient2 ,*we can't see any media
attribute* parameter in it and Softclient2 replies to FREESWITCH with *sendrecv
in 200OK *and hence Both way media is flowing instead of one way.

Generally if a SIP client receives sendonly in Invite, it will send
recvonly in 200OK by default.But here Freeswitch is modifying it and not
forwarding sendonly to SoftClient2.


​
Why Freeswitch is not forwarding the sendonly in invite to SoftClient2?
How can we implement this using Default mode?

Can somebody help me with this?



-- 
*With Warm Regards:*
*Saurabh Kumar Verma*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160801/074a51d4/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Call_Flow.png
Type: image/png
Size: 21576 bytes
Desc: not available
Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160801/074a51d4/attachment-0002.png 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Call_Flow.png
Type: image/png
Size: 21576 bytes
Desc: not available
Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160801/074a51d4/attachment-0003.png 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list