bypass_media=true and socket
We are somewhat new to freeswitch, but have found it to be an excellent solution to some projects. With bypass_media=false before our socket command and the perl app returning the bridge everything works fine. Calls sound great. But if we set bypass_media=true immediately before our socket command we receive an almost immediate CANCEL back from ????? If we just hard code the bridge instead of the socket, and bypass_media=true then everything works fine. It's just the combination of bypass_media=false and socket. Here is the dialplan.... <include> <extension name="default"> <condition field="destination_number" expression="^\d\d\d\d\d\d\d+$"> <action application="set" data="bypass_media=true"/> <action application="socket" data="0.0.0.0.0:8040 full"/> </condition> </extension> </include> I have also tried: <action application="set" data="bypass_media_after_bridge=true"/> And the behavior is the same. Is there something simple we may be missing? Much thanks Tim
Socket is a custom app wrote by you? What are you trying to accomplish with bypass media? -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/bypass-media-true-and-socket-t... Sent from the freeswitch-users mailing list archive at Nabble.com.
Jeff, socket is the outbound ESL. Tim, it would be useful to know what you're sending via ESL and see debug-level logs with siptrace enabled so we can see what's going on. -Steve On 27 April 2011 15:45, Jeff Lenk <jeff@jefflenk.com> wrote:
Socket is a custom app wrote by you?
What are you trying to accomplish with bypass media?
-- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/bypass-media-true-and-socket-t... Sent from the freeswitch-users mailing list archive at Nabble.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
Ok sorry for the confusion Thanks Steven. -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/bypass-media-true-and-socket-t... Sent from the freeswitch-users mailing list archive at Nabble.com.
We have identified the issue. It was in the perl code. So false alarm. We do not have it working fully at this time, but are VERY close. Thanks for the quick response though everyone. From: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Steven Ayre Sent: Wednesday, April 27, 2011 2:00 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] bypass_media=true and socket Jeff, socket is the outbound ESL. Tim, it would be useful to know what you're sending via ESL and see debug-level logs with siptrace enabled so we can see what's going on. -Steve On 27 April 2011 15:45, Jeff Lenk <jeff@jefflenk.com<mailto:jeff@jefflenk.com>> wrote: Socket is a custom app wrote by you? What are you trying to accomplish with bypass media? -- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/bypass-media-true-and-socket-t... Sent from the freeswitch-users mailing list archive at Nabble.com. _______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org<mailto: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
participants (3)
-
Jeff Lenk
-
Steven Ayre
-
Tim Meade