hi chad,<br><br>nothing could match "+" in the destination_number. <br><br>-nandy<br><br><div class="gmail_quote">On Mon, Sep 19, 2011 at 12:42 PM, Chad Vogel <span dir="ltr"><<a href="mailto:cvogel@lyonl.com">cvogel@lyonl.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;">
<div style="word-wrap: break-word;">
<div style="margin: 0px; color: rgb(178, 34, 33);">
<span style="color: rgb(44, 38, 249);">I'm trying to build a dialplan however it doesn't seem to work. on the first number I would like to forward and all other numbers i would like to play an an audio file.</span></div>
<div style="margin: 0px; color: rgb(178, 34, 33);">
<span style="color: rgb(44, 38, 249);"><br>
</span></div>
<div style="margin: 0px; color: rgb(178, 34, 33);">
<span style="color: rgb(44, 38, 249);"> <</span>include<span style="color: rgb(44, 38, 249);">></span></div>
<div style="margin: 0px; color: rgb(44, 38, 249);">
<<span style="color: rgb(178, 34, 33);">extension</span> <span style="color: rgb(255, 27, 24);">name</span>=<span style="color: rgb(0, 0, 0);">"</span>14142211800<span style="color: rgb(0, 0, 0);">"</span>></div>
<div style="margin: 0px; color: rgb(44, 38, 249);">
<<span style="color: rgb(178, 34, 33);">condition</span> <span style="color: rgb(255, 27, 24);">
field</span>=<span style="color: rgb(0, 0, 0);">"</span>destination_number<span style="color: rgb(0, 0, 0);">"</span>
<span style="color: rgb(255, 27, 24);">expression</span>=<span style="color: rgb(0, 0, 0);">""^+</span><span style="color: rgb(255, 27, 24);">14142211800</span><span style="color: rgb(0, 0, 0);">$"</span>></div>
<div style="margin: 0px; color: rgb(44, 38, 249);">
<<span style="color: rgb(178, 34, 33);">action</span> <span style="color: rgb(255, 27, 24);">
application</span>=<span style="color: rgb(0, 0, 0);">"</span>bridge<span style="color: rgb(0, 0, 0);">"</span>
<span style="color: rgb(255, 27, 24);">data</span>=<span style="color: rgb(0, 0, 0);">"</span>sofia/gateway/level3/<a href="tel:%2B15618911806" value="+15618911806" target="_blank">+15618911806</a><span style="color: rgb(0, 0, 0);">"</span>/></div>
<div style="margin: 0px; color: rgb(178, 34, 33);">
<span style="color: rgb(44, 38, 249);"> </</span>condition<span style="color: rgb(44, 38, 249);">></span></div>
<div style="margin: 0px; color: rgb(178, 34, 33);">
<span style="color: rgb(44, 38, 249);"> </</span>extension<span style="color: rgb(44, 38, 249);">></span></div>
<div style="margin: 0px; color: rgb(44, 38, 249);">
<<span style="color: rgb(178, 34, 33);">extension</span> <span style="color: rgb(255, 27, 24);">name</span>=<span style="color: rgb(0, 0, 0);">"</span>13127567001<span style="color: rgb(0, 0, 0);">"</span>></div>
<div style="margin: 0px; color: rgb(44, 38, 249);">
<<span style="color: rgb(178, 34, 33);">condition</span> <span style="color: rgb(255, 27, 24);">
field</span>=<span style="color: rgb(0, 0, 0);">"</span>destination_number<span style="color: rgb(0, 0, 0);">"</span>
<span style="color: rgb(255, 27, 24);">expression</span>=<span style="color: rgb(0, 0, 0);">""^+(</span><span style="color: rgb(255, 27, 24);">1</span><span style="color: rgb(0, 0, 0);">{</span><span style="color: rgb(255, 27, 24);">0</span><span style="color: rgb(0, 0, 0);">,</span><span style="color: rgb(255, 27, 24);">1</span><span style="color: rgb(0, 0, 0);">}\</span><span style="color: rgb(255, 27, 24);">d</span><span style="color: rgb(0, 0, 0);">{</span><span style="color: rgb(255, 27, 24);">10</span><span style="color: rgb(0, 0, 0);">})$"</span>></div>
<div style="margin: 0px; color: rgb(44, 38, 249);">
<<span style="color: rgb(178, 34, 33);">action</span> <span style="color: rgb(255, 27, 24);">
application</span>=<span style="color: rgb(0, 0, 0);">"</span>answer<span style="color: rgb(0, 0, 0);">"</span>/></div>
<div style="margin: 0px; color: rgb(44, 38, 249);">
<<span style="color: rgb(178, 34, 33);">action</span> <span style="color: rgb(255, 27, 24);">
application</span>=<span style="color: rgb(0, 0, 0);">"</span>set<span style="color: rgb(0, 0, 0);">"</span>
<span style="color: rgb(255, 27, 24);">data</span>=<span style="color: rgb(0, 0, 0);">"</span>playback_terminators=#<span style="color: rgb(0, 0, 0);">"</span>/></div>
<div style="margin: 0px; color: rgb(44, 38, 249);">
<<span style="color: rgb(178, 34, 33);">action</span> <span style="color: rgb(255, 27, 24);">
application</span>=<span style="color: rgb(0, 0, 0);">"</span>playback<span style="color: rgb(0, 0, 0);">"</span>
<span style="color: rgb(255, 27, 24);">data</span>=<span style="color: rgb(0, 0, 0);">"</span>C:\Program Files\FreeSWITCH\sounds\music\48000\danza-espanola-op-37-h-142-xii-arabesca.wav<span style="color: rgb(0, 0, 0);">"</span>/></div>
<div style="margin: 0px; color: rgb(178, 34, 33);">
<span style="color: rgb(44, 38, 249);"> </</span>condition<span style="color: rgb(44, 38, 249);">></span></div>
<div style="margin: 0px; color: rgb(178, 34, 33);">
<span style="color: rgb(44, 38, 249);"> </</span>extension<span style="color: rgb(44, 38, 249);">></span></div>
<div style="margin: 0px; color: rgb(178, 34, 33);">
<span style="color: rgb(44, 38, 249);"> </</span>include<span style="color: rgb(44, 38, 249);">></span></div>
<div style="margin: 0px; min-height: 11px;">
<br>
</div>
</div>
<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>
<br></blockquote></div><br>