<br><br>On Monday, August 1, 2016, Saurabh Verma <<a href="mailto:saurabhkv01@gmail.com">saurabhkv01@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>Hi <br><br></div><div>I want to implement One Way Audio through Freeswitch in Default mode.<br></div><div><br></div><b>SoftClient1 ---------> FREESWITCH ----------> SoftClient2</b><br></div><b>a=sendonly (Default Mode) </b><br><div><div><br></div><div>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 <b>sendonly as media attribute in SDP of INVITE packet</b>.Freeswitch replies with recvonly in the 200OK.When Freeswitch forwards the Invite to Softclient2 ,<b>we can't see any media attribute</b> parameter in it and Softclient2 replies to FREESWITCH with <b>sendrecv in 200OK </b>and hence Both way media is flowing instead of one way.<br><br></div><div>Generally if a SIP client receives sendonly in Invite, it will send recvonly in 200OK by default.</div><div> <br></div></div></div></blockquote><div><br></div><div>And that's is what we are doing here</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>But here Freeswitch is modifying it and not forwarding sendonly to SoftClient2.<br><br><br> <img style="margin-right:0px" src="cid:ii_irbo3bii1_15644d5b3660fd9a" height="175" width="385"><br><br></div></div></div></blockquote><div><br></div><div>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.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>Why Freeswitch is not forwarding the sendonly in invite to SoftClient2?<br></div></div></div></blockquote><div><br></div><div>If you are looking for FreeSWITCH to copy the exact</div><div>sdp and forward it, use bypass media</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>How can we implement this using Default mode?<br><br></div></div></div></blockquote><div><br></div><div>What is default mode?</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>Can somebody help me with this?<br></div><div><br></div><div><br clear="all"><br>-- <br><div data-smartmail="gmail_signature"><div dir="ltr"><i><font color="#0b5394">With Warm Regards:</font></i><div><i><font color="#0b5394">Saurabh Kumar Verma</font></i></div></div></div>
</div></div></div>
</blockquote>