<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
In plain english. I want an incoming SIP call to user 4000 to go
directly to hold and play a wav file. Also I want to assign
different wav file to different incoming numbers. This was a
customer can choose what on hold music their clients will hear. <br>
<br>
I posted the cli output in pastebin under Tom Angle. Thanks<br>
<br>
Tom<br>
<br>
<div class="moz-cite-prefix">On 10/3/2014 3:17 PM, Michael Collins
wrote:<br>
</div>
<blockquote
cite="mid:CAKzWOxXmvuPTKdLSKdTTmc_=t58hjO1cL6M_ZkMbVUv1KMA5OQ@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>
<div>
<div>
<div>
<div>Welcome to FreeSWITCH!<br>
<br>
</div>
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 <a moz-do-not-send="true"
href="http://pastebin.freeswitch.org">pastebin.freeswitch.org</a>
and set the syntax highlight to "FreeSWITCH Log". <br>
<br>
</div>
Also, 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." <br>
<br>
</div>
Lastly I recommend reviewing this wiki page: <a
moz-do-not-send="true"
href="https://confluence.freeswitch.org/display/FREESWITCH/Troubleshooting+Debugging">https://confluence.freeswitch.org/display/FREESWITCH/Troubleshooting+Debugging</a><br>
<br>
</div>
It will get you on the right path for figuring out what
information to collect for the troubleshooting process.<br>
<br>
</div>
-Michael<br>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Fri, Oct 3, 2014 at 8:47 AM, Tom
Angle <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:tangle70@gmail.com" target="_blank">tangle70@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">I am new
to Freeswitch.<br>
<br>
I am trying to create a MOH server for our Metaswitch.
Currently I have<br>
it working, but it will only play on audio file. I would
like to set it<br>
up to play a particular audio depending on the inbound phone
number. The<br>
below code is in my dialplan/default.xml and does not work.
Could<br>
someone tell me what I am doing wrong? Thanks for any help.<br>
<br>
<br>
<extension name="4000_hold_music"><br>
<condition field="effective_caller_id_number"
expression="^(1000)$"><br>
<action application="answer"/><br>
<action application="execute_extension"
data="is_secure XML<br>
features"/><br>
<action application="playback"
data="$${hold_music}"/><br>
<anti-action application="set"
data="zrtp_secure_media=true"/><br>
<anti-action application="answer"/><br>
<anti-action application="execute_extension"<br>
data="is_zrtp_secure XML features"/><br>
<anti-action application="playback"
data="/music/music1.wav"/><br>
</condition><br>
<br>
<condition field="effective_caller_id_number"
expression="^(1005)$"><br>
<action application="answer"/><br>
<action application="execute_extension"
data="is_secure XML<br>
features"/><br>
<action application="playback"
data="$${hold_music}"/><br>
<anti-action application="set"
data="zrtp_secure_media=true"/><br>
<anti-action application="answer"/><br>
<anti-action application="execute_extension"<br>
data="is_zrtp_secure XML features"/><br>
<anti-action application="playback"
data="/music/music4.wav"/><br>
</condition><br>
</extension><br>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a moz-do-not-send="true"
href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a moz-do-not-send="true"
href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a moz-do-not-send="true" href="http://www.freeswitch.org"
target="_blank">http://www.freeswitch.org</a><br>
<a moz-do-not-send="true"
href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
<a moz-do-not-send="true" href="http://www.cluecon.com"
target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a moz-do-not-send="true" href="http://www.cudatel.com"
target="_blank">http://www.cudatel.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a moz-do-not-send="true"
href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a moz-do-not-send="true"
href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users"
target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a moz-do-not-send="true"
href="http://lists.freeswitch.org/mailman/options/freeswitch-users"
target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a moz-do-not-send="true" href="http://www.freeswitch.org"
target="_blank">http://www.freeswitch.org</a><br>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
<a class="moz-txt-link-abbreviated" href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitchsolutions.com">http://www.freeswitchsolutions.com</a>
Official FreeSWITCH Sites
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://confluence.freeswitch.org">http://confluence.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://www.cluecon.com">http://www.cluecon.com</a>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
<a class="moz-txt-link-freetext" href="http://www.cudatel.com">http://www.cudatel.com</a>
FreeSWITCH-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a>
UNSUBSCRIBE:<a class="moz-txt-link-freetext" href="http://lists.freeswitch.org/mailman/options/freeswitch-users">http://lists.freeswitch.org/mailman/options/freeswitch-users</a>
<a class="moz-txt-link-freetext" href="http://www.freeswitch.org">http://www.freeswitch.org</a></pre>
</blockquote>
<br>
</body>
</html>