Can you paste these dialplan snippets into pastebin? I don't know if my mail reader is messing them up, but I'm seeing what appear to be really weird lines, like this:<br><br><action application="playback" data="/usr/local/freeswitch/conf/mvsounds/jerry.wav break="on_true""/><br>
<br>That line doesn't look valid to me and I want to make sure that it is (or isn't) what you are actually using.<br><br>Thanks,<br>MC<br><br><div class="gmail_quote">On Wed, Sep 29, 2010 at 3:27 PM, Mario <span dir="ltr"><<a href="mailto:mario_fs@mgtech.com">mario_fs@mgtech.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">I am struggling with the extension below which is a snippet of a larger<br>
one that simply says "Hi" followed by a name based on the caller id. I<br>
have looked at the book/wiki but the samples didn't work for me. I tried<br>
various options but this is as close as I can get. What is happening is<br>
that the first action (hi) does not play, and then only extension 100<br>
will work. As if the break=true is not honored. BTW I looked at macros<br>
but wanted to keep the numbers and file names close together. I thought<br>
this was easier. Thanks!<br>
<br>
<extension name="mvhi"><br>
<condition field="destination_number" expression="^2921$"/><br>
<action application="playback"<br>
data="/usr/local/freeswitch/conf/mvsounds/hi.wav"/><br>
<condition field="${caller_id_number}" expression="^100"<br>
break="on_true"><br>
<action application="playback"<br>
data="/usr/local/freeswitch/conf/mvsounds/danny.wav"/><br>
</condition><br>
<condition field="${caller_id_number}" expression="^200"><br>
<action application="playback"<br>
data="/usr/local/freeswitch/conf/mvsounds/pam.wav break="on_true""/><br>
</condition><br>
<condition field="${caller_id_number}" expression="^300"><br>
<action application="playback"<br>
data="/usr/local/freeswitch/conf/mvsounds/jerry.wav break="on_true""/><br>
</condition><br>
</extension><br>
<br>
I also tried this which plays the "hi" but will not go beyond ext 100.<br>
<extension name="mvhi"><br>
<condition field="destination_number" expression="^2921$"><br>
<action application="playback"<br>
data="/usr/local/freeswitch/conf/mvsounds/hi.wav"/><br>
</condition><br>
<condition field="${caller_id_number}" expression="^100"<br>
break="on_true"><br>
<action application="playback"<br>
data="/usr/local/freeswitch/conf/mvsounds/danny.wav"/><br>
</condition><br>
<condition field="${caller_id_number}" expression="^200"<br>
break="on_true"><br>
<action application="playback"<br>
data="/usr/local/freeswitch/conf/mvsounds/pam.wav"/><br>
</condition><br>
<condition field="${caller_id_number}" expression="^300"><br>
<action application="playback"<br>
data="/usr/local/freeswitch/conf/mvsounds/jerry.wav"/><br>
</condition><br>
</extension><br>
<br>
<br>
_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</blockquote></div><br>