[Freeswitch-users] origination_audio_mode in Freeswitch Dialplan
Brian West
brian at freeswitch.org
Thu Aug 4 18:10:17 MSD 2016
How exactly are you setting this variable?
On Thu, Aug 4, 2016 at 7:46 AM, Saurabh Verma <saurabhkv01 at gmail.com> wrote:
> 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*
>
> _________________________________________________________________________
> 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
>
--
*Brian West*
brian at freeswitch.org
*Twitter: @FreeSWITCH , @briankwest*
http://www.freeswitchbook.com
http://www.freeswitchcookbook.com
https://www.gofundme.com/freeswitch_ubuntu
Got Bugs? Report them here <https://freeswitch.org/jira>! | Reddit:
/r/freeswitch <https://www.reddit.com/r/freeswitch>
*T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378)
*iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160804/3bbfc428/attachment.html
Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users
mailing list