Dialplan: record_session - silence after bridge
Hi all, I'm running FreeSwitch Version 1.0.trunk (498:8901) on Suse 10.0 (x86_64). I'm trying to record a session and closely followed the steps in: http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_record_session The recording file is generated OK, however it only record the audio UP TO the bridge action. After the bridging it records only silence. Here is the snippet of my dialplan: <extension name="westhawk" number="8002096143"> <application app_name="record_session" app_data="/usr/local/freeswitch/recordings/2008-07-17-14-12-20_8002096143_8187760092.wav"></application> <application app_name="bridge" app_data="sofia/gateway/westhawk/8187760092"></application> </extension> The odd thing is, when I do the same in javascript, it does record the whole session, including the bridging. Here is the snippet of the javascript: session.execute("record_session", recordfile) session.execute("bridge", bridge); Any idea what I need to change to get my dialplan working? Thanks, Birgit -- -- Birgit Arkesteijn, birgit@westhawk.co.uk, -- Westhawk Ltd, Albion Wharf, 19 Albion Street, Manchester M1 5LN, UK -- Company no: 1769350 -- Registered Office: -- 15 London Road, Stockton Heath, Warrington WA4 6SJ. UK. -- tel.: +44 (0)161 237 0660 -- <URL: http://www.westhawk.co.uk>
Here is an example of working XML for what you want to accomplish. <extension name="record_test"> <condition field="destination_number" expression="^888$"> <action application="record_session" data="/tmp/recording.wav"/> <action application="bridge" data="sofia/profile/someplace"/> </condition> </extension> The XML you posted wasn't correct or maybe it was paraphrased and incomplete. /b On Jul 17, 2008, at 9:25 AM, Birgit Arkesteijn wrote:
Hi all,
I'm running FreeSwitch Version 1.0.trunk (498:8901) on Suse 10.0 (x86_64).
Brian West sip:brian@freeswitch.org
Hi Brian, Sorry, I copied the snippet from the xml_cdr file, assuming it was correct. Using ethereal, here is the full dialplan. As far as I can see, it is correct. <?xml version="1.0" encoding="UTF-8"?> <document type="freeswitch/xml"> <section name="dialplan" description="FreeSwitch dialplan for Westhawk"> <context name="default"> <extension name="westhawk"> <condition field="destination_number" expression="^8002096143$"> <comment>caller_ani == 2136276666</comment> <action application="set" data="call_id=70"/> <action application="playback" data="westhawk/Jingle.wav"/> <comment>no area_code</comment> <action application="playback" data="westhawk/call_recording_tag.wav"/> <action application="record_session" data="/usr/local/freeswitch/recordings/2008-07-17-15-46-27_8002096143_8187760092.wav"/> <action application="bridge" data="sofia/gateway/westhawk/8187760092"/> </condition </extension> </context> </section> </document> Thanks, Birgit On 17/07/08 15:42, Brian West wrote:
Here is an example of working XML for what you want to accomplish.
<extension name="record_test"> <condition field="destination_number" expression="^888$"> <action application="record_session" data="/tmp/recording.wav"/> <action application="bridge" data="sofia/profile/someplace"/> </condition> </extension>
The XML you posted wasn't correct or maybe it was paraphrased and incomplete.
/b
On Jul 17, 2008, at 9:25 AM, Birgit Arkesteijn wrote:
Hi all,
I'm running FreeSwitch Version 1.0.trunk (498:8901) on Suse 10.0 (x86_64).
Brian West sip:brian@freeswitch.org
_______________________________________________ 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
-- -- Birgit Arkesteijn, birgit@westhawk.co.uk, -- Westhawk Ltd, Albion Wharf, 19 Albion Street, Manchester M1 5LN, UK -- Company no: 1769350 -- Registered Office: -- 15 London Road, Stockton Heath, Warrington WA4 6SJ. UK. -- tel.: +44 (0)161 237 0660 -- <URL: http://www.westhawk.co.uk>
participants (2)
-
Birgit Arkesteijn
-
Brian West