-MichaelIt will get you on the right path for figuring out what information to collect for the troubleshooting process.Lastly I recommend reviewing this wiki page: https://confluence.freeswitch.org/display/FREESWITCH/Troubleshooting+DebuggingAlso, it would probably help if you gave us a plain language description of what you are trying to do with that dialplan snippet. I see a lot of anti-actions which may or may not be what you need. Maybe a brief description would help, something like: "When caller id 1005 calls in, play file1.wav and then hangup."Welcome to FreeSWITCH!The folks around here will be happy to help. In this case I believe they/we just need some additional information. I recommend that you get a console debug log and drop it into pastebin.freeswitch.org and set the syntax highlight to "FreeSWITCH Log".
On Fri, Oct 3, 2014 at 8:47 AM, Tom Angle <tangle70@gmail.com> wrote:
I am new to Freeswitch.
I am trying to create a MOH server for our Metaswitch. Currently I have
it working, but it will only play on audio file. I would like to set it
up to play a particular audio depending on the inbound phone number. The
below code is in my dialplan/default.xml and does not work. Could
someone tell me what I am doing wrong? Thanks for any help.
<extension name="4000_hold_music">
<condition field="effective_caller_id_number" expression="^(1000)$">
<action application="answer"/>
<action application="execute_extension" data="is_secure XML
features"/>
<action application="playback" data="$${hold_music}"/>
<anti-action application="set" data="zrtp_secure_media=true"/>
<anti-action application="answer"/>
<anti-action application="execute_extension"
data="is_zrtp_secure XML features"/>
<anti-action application="playback" data="/music/music1.wav"/>
</condition>
<condition field="effective_caller_id_number" expression="^(1005)$">
<action application="answer"/>
<action application="execute_extension" data="is_secure XML
features"/>
<action application="playback" data="$${hold_music}"/>
<anti-action application="set" data="zrtp_secure_media=true"/>
<anti-action application="answer"/>
<anti-action application="execute_extension"
data="is_zrtp_secure XML features"/>
<anti-action application="playback" data="/music/music4.wav"/>
</condition>
</extension>
_________________________________________________________________________
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-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.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
_________________________________________________________________________ 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-powered IP PBX: The CudaTel Communication Server http://www.cudatel.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