[Freeswitch-users] origination_audio_mode in Freeswitch Dialplan

Saurabh Verma saurabhkv01 at gmail.com
Thu Aug 4 12:23:04 MSD 2016


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*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20160804/7e764f4d/attachment.html 


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