<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">
level 3 is sending us &#43; on every incoming DID, how would i write the correct expression?
<div><br>
</div>
<div>
<div>
<div>On Sep 19, 2011, at 12:05 AM, Nandy Dagondon wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">hi chad,<br>
<br>
nothing could match &quot;&#43;&quot; in the destination_number.&nbsp; <br>
<br>
-nandy<br>
<br>
<div class="gmail_quote">On Mon, Sep 19, 2011 at 12:42 PM, Chad Vogel <span dir="ltr">
&lt;<a href="mailto:cvogel@lyonl.com">cvogel@lyonl.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin-top: 0pt; margin-right: 0pt; margin-bottom: 0pt; margin-left: 0.8ex; border-left-width: 1px; border-left-style: solid; border-left-color: rgb(204, 204, 204); padding-left: 1ex; position: static; z-index: auto; ">
<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);">&nbsp;&nbsp;&lt;</span>include<span style="color: rgb(44, 38, 249);">&gt;</span></div>
<div style="margin: 0px; color: rgb(44, 38, 249);">&nbsp; &nbsp; &lt;<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);">&quot;</span>14142211800<span style="color: rgb(0, 0, 0);">&quot;</span>&gt;</div>
<div style="margin: 0px; color: rgb(44, 38, 249);">&nbsp; &nbsp; &nbsp; &lt;<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);">&quot;</span>destination_number<span style="color: rgb(0, 0, 0);">&quot;</span>
<span style="color: rgb(255, 27, 24);">expression</span>=<span style="color: rgb(0, 0, 0);">&quot;&quot;^&#43;</span><span style="color: rgb(255, 27, 24);">14142211800</span><span style="color: rgb(0, 0, 0);">$&quot;</span>&gt;</div>
<div style="margin: 0px; color: rgb(44, 38, 249);">&nbsp; &nbsp; &nbsp; &nbsp; &lt;<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);">&quot;</span>bridge<span style="color: rgb(0, 0, 0);">&quot;</span>
<span style="color: rgb(255, 27, 24);">data</span>=<span style="color: rgb(0, 0, 0);">&quot;</span>sofia/gateway/level3/<a href="tel:%2B15618911806" value="&#43;15618911806" target="_blank">&#43;15618911806</a><span style="color: rgb(0, 0, 0);">&quot;</span>/&gt;</div>
<div style="margin: 0px; color: rgb(178, 34, 33);"><span style="color: rgb(44, 38, 249);">&nbsp; &nbsp; &nbsp; &lt;/</span>condition<span style="color: rgb(44, 38, 249);">&gt;</span></div>
<div style="margin: 0px; color: rgb(178, 34, 33);"><span style="color: rgb(44, 38, 249);">&nbsp; &nbsp; &lt;/</span>extension<span style="color: rgb(44, 38, 249);">&gt;</span></div>
<div style="margin: 0px; color: rgb(44, 38, 249);">&nbsp; &nbsp; &lt;<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);">&quot;</span>13127567001<span style="color: rgb(0, 0, 0);">&quot;</span>&gt;</div>
<div style="margin: 0px; color: rgb(44, 38, 249);">&nbsp; &nbsp; &nbsp; &lt;<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);">&quot;</span>destination_number<span style="color: rgb(0, 0, 0);">&quot;</span>
<span style="color: rgb(255, 27, 24);">expression</span>=<span style="color: rgb(0, 0, 0);">&quot;&quot;^&#43;(</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);">})$&quot;</span>&gt;</div>
<div style="margin: 0px; color: rgb(44, 38, 249);">&nbsp; &nbsp; &nbsp; &nbsp; &lt;<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);">&quot;</span>answer<span style="color: rgb(0, 0, 0);">&quot;</span>/&gt;</div>
<div style="margin: 0px; color: rgb(44, 38, 249);">&nbsp; &nbsp; &nbsp; &nbsp; &lt;<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);">&quot;</span>set<span style="color: rgb(0, 0, 0);">&quot;</span>
<span style="color: rgb(255, 27, 24);">data</span>=<span style="color: rgb(0, 0, 0);">&quot;</span>playback_terminators=#<span style="color: rgb(0, 0, 0);">&quot;</span>/&gt;</div>
<div style="margin: 0px; color: rgb(44, 38, 249);">&nbsp; &nbsp; &nbsp; &nbsp; &lt;<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);">&quot;</span>playback<span style="color: rgb(0, 0, 0);">&quot;</span>
<span style="color: rgb(255, 27, 24);">data</span>=<span style="color: rgb(0, 0, 0);">&quot;</span>C:\Program Files\FreeSWITCH\sounds\music\48000\danza-espanola-op-37-h-142-xii-arabesca.wav<span style="color: rgb(0, 0, 0);">&quot;</span>/&gt;</div>
<div style="margin: 0px; color: rgb(178, 34, 33);"><span style="color: rgb(44, 38, 249);">&nbsp; &nbsp; &nbsp; &lt;/</span>condition<span style="color: rgb(44, 38, 249);">&gt;</span></div>
<div style="margin: 0px; color: rgb(178, 34, 33);"><span style="color: rgb(44, 38, 249);">&nbsp; &nbsp; &lt;/</span>extension<span style="color: rgb(44, 38, 249);">&gt;</span></div>
<div style="margin: 0px; color: rgb(178, 34, 33);"><span style="color: rgb(44, 38, 249);">&nbsp; &lt;/</span>include<span style="color: rgb(44, 38, 249);">&gt;</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>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<br>
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br>
http://www.freeswitch.org<br>
</blockquote>
</div>
<br>
</div>
</body>
</html>