origination_audio_mode in Freeswitch Dialplan
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*
sounds like a bug On Thursday, August 4, 2016, Saurabh Verma <saurabhkv01@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*
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@jerris.com> wrote:
sounds like a bug
On Thursday, August 4, 2016, Saurabh Verma <saurabhkv01@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@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@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*
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@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@jerris.com> wrote:
sounds like a bug
On Thursday, August 4, 2016, Saurabh Verma <saurabhkv01@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@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@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*
How exactly are you setting this variable? On Thu, Aug 4, 2016 at 7:46 AM, Saurabh Verma <saurabhkv01@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@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@jerris.com> wrote:
sounds like a bug
On Thursday, August 4, 2016, Saurabh Verma <saurabhkv01@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@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@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@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@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@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
Hey Brian, I am setting it in *conf/dialplan/default.xml* file under Local_Extension like below: <action application="bridge" data="{origination_audio_mode=sendonly}user/${dialed_extension}@ ${domain_name}"/> On Thu, Aug 4, 2016 at 7:40 PM, Brian West <brian@freeswitch.org> wrote:
How exactly are you setting this variable?
On Thu, Aug 4, 2016 at 7:46 AM, Saurabh Verma <saurabhkv01@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@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@jerris.com> wrote:
sounds like a bug
On Thursday, August 4, 2016, Saurabh Verma <saurabhkv01@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@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@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@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@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@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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@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@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*
participants (3)
-
Brian West
-
Michael Jerris
-
Saurabh Verma