On Monday, August 1, 2016, Saurabh Verma <saurabhkv01@gmail.com> wrote:
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.
And that's is what we are doing here
But here Freeswitch is modifying it and not forwarding sendonly to SoftClient2.
Please understand these are 2 different calls. Depending on your codec negotiation settings the sdp may be related to different degrees or not related at all.
Why Freeswitch is not forwarding the sendonly in invite to SoftClient2?
If you are looking for FreeSWITCH to copy the exact sdp and forward it, use bypass media
How can we implement this using Default mode?
What is default mode?
Can somebody help me with this?
-- *With Warm Regards:* *Saurabh Kumar Verma*