[Freeswitch-users] origination_audio_mode in Freeswitch Dialplan

Saurabh Verma saurabhkv01 at gmail.com
Thu Aug 4 11:04:02 MSD 2016


Hi

I want to implement one way audio stream through Freeswitch(Default Media
Mode).


SoftClient1 -----------> Freeswitch --------------->SofClient2
(will speak only)                                          (will listen
only)


For this i have set *origination_audio_mode=sendonly* in the dialplan at
the time of bridge.After setting this parameter in freeswitch forward the
invite to b-leg with sendonly media attribute and hence SoftClient2 replies
with recvonly in 200OK.The packets flow like below:

SoftClient1   --------------(sendrecv)---------------->
Freeswitch                        -------------(sendonly)-------------->
SoftClien2
                   <-------------(sendrecv)----------------
(origination_audio_mode=sendonly)    <------------(recvonly)--------------

*Now the problem is I am not not able to hear any sound at SoftClient2.*

When i checked the wireshark capture at Freeswitch i found that Freeswitch
is sending RTP packets on Private IP of SoftClient2 and not the Public IP.

If i remove this parameter,Freeswitch starts sending RTP to the public IP
and i am able to hear sound both way.

Can i get some help on this?
*Why the Freeswitch server is sending the RTP packets on Private IP with
origination_audio_mode=sendonly?*


-- 
*With Warm Regards:*
*Saurabh Kumar Verma*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160804/6dda286e/attachment.html 


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