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>