[Freeswitch-users] origination_audio_mode in Freeswitch Dialplan

Saurabh Verma saurabhkv01 at gmail.com
Thu Aug 4 16:46:08 MSD 2016


I have enabled STUN on SoftClient2 and now i can see RTP packets on the
public ip of SoftClient2 in the wireshark captures of Freeswitch.

*But still no sound!!!!!!!.*
When i checked the capture at Softclient2 no RTP was received.

Does one way media actually works with Freeswitch?
Can we use origination_audio_mode parameter?



On Thu, Aug 4, 2016 at 1:53 PM, Saurabh Verma <saurabhkv01 at gmail.com> wrote:

> Hey Michael,
>
> Any  suggestions to resolve the issue.
> Shall we file a Jira on the same?
>
>
>
>
> On Thu, Aug 4, 2016 at 1:00 PM, Michael Jerris <mike at jerris.com> wrote:
>
>> sounds like a bug
>>
>>
>> On Thursday, August 4, 2016, Saurabh Verma <saurabhkv01 at gmail.com> wrote:
>>
>>> 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*
>>>
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://confluence.freeswitch.org
>> http://www.cluecon.com
>>
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>>
>
>
>
> --
> *With Warm Regards:*
> *Saurabh Kumar Verma*
>



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


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