<div dir="ltr">That means the person calling hung up. If you don&#39;t think that&#39;s the case, can you pastebin a full call log on /log 7 from the fs_cli?<div><br clear="all"><div dir="ltr"><span style="font-family:Verdana, Arial, Helvetica, sans-serif"><span style="font-size:small">-Avi</span></span></div>

<br><div class="gmail_quote">On Mon, Sep 19, 2011 at 9:40 AM, 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:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">





<div style="word-wrap:break-word">
it seems to almost work, but call forwarding doesnt work, I get this error: &quot;[INFO] mod_dptools.c:2801 Originate Failed.  Cause: ORIGINATOR_CANCEL&quot;
<div>
<div><br>
</div>
<div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;color:rgb(178, 34, 33)">
<span style="color:#2c26f9">  &lt;</span>include<span style="color:#2c26f9">&gt;</span></div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;color:rgb(44, 38, 249)">
    &lt;<span style="color:#b22221">extension</span> <span style="color:#ff1b18">name</span>=<span style="color:#000000">&quot;</span><a href="tel:4142211800" value="+14142211800" target="_blank">4142211800</a><span style="color:#000000">&quot;</span>&gt;</div>


<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;color:rgb(44, 38, 249)">
      &lt;<span style="color:#b22221">condition</span> <span style="color:#ff1b18">
field</span>=<span style="color:#000000">&quot;</span>destination_number<span style="color:#000000">&quot;</span>
<span style="color:#ff1b18">expression</span>=<span style="color:#000000">&quot;</span>^(\+?1)?<a href="tel:%284142211800" value="+14142211800" target="_blank">(4142211800</a>)$<span style="color:#000000">&quot;</span>&gt;</div>

<div class="im">
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;color:rgb(44, 38, 249)">
        &lt;<span style="color:#b22221">action</span> <span style="color:#ff1b18">
application</span>=<span style="color:#000000">&quot;</span>bridge<span style="color:#000000">&quot;</span>
<span style="color:#ff1b18">data</span>=<span style="color:#000000">&quot;</span>sofia/gateway/level3/<a href="tel:%2B15618911806" value="+15618911806" target="_blank">+15618911806</a><span style="color:#000000">&quot;</span>/&gt;</div>


<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;color:rgb(178, 34, 33)">
<span style="color:#2c26f9">      &lt;/</span>condition<span style="color:#2c26f9">&gt;</span></div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;color:rgb(178, 34, 33)">
<span style="color:#2c26f9">    &lt;/</span>extension<span style="color:#2c26f9">&gt;</span></div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;color:rgb(44, 38, 249)">
    &lt;<span style="color:#b22221">extension</span> <span style="color:#ff1b18">name</span>=<span style="color:#000000">&quot;</span><a href="tel:13127567001" value="+13127567001" target="_blank">13127567001</a><span style="color:#000000">&quot;</span>&gt;</div>


</div><div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;color:rgb(44, 38, 249)">
      &lt;<span style="color:#b22221">condition</span> <span style="color:#ff1b18">
field</span>=<span style="color:#000000">&quot;</span>destination_number<span style="color:#000000">&quot;</span>
<span style="color:#ff1b18">expression</span>=<span style="color:#000000">&quot;</span>^(\+?1)?(\d{10})$<span style="color:#000000">&quot;</span>&gt;</div><div class="im">
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;color:rgb(44, 38, 249)">
        &lt;<span style="color:#b22221">action</span> <span style="color:#ff1b18">
application</span>=<span style="color:#000000">&quot;</span>answer<span style="color:#000000">&quot;</span>/&gt;</div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;color:rgb(44, 38, 249)">
        &lt;<span style="color:#b22221">action</span> <span style="color:#ff1b18">
application</span>=<span style="color:#000000">&quot;</span>set<span style="color:#000000">&quot;</span>
<span style="color:#ff1b18">data</span>=<span style="color:#000000">&quot;</span>playback_terminators=#<span style="color:#000000">&quot;</span>/&gt;</div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;color:rgb(44, 38, 249)">
        &lt;<span style="color:#b22221">action</span> <span style="color:#ff1b18">
application</span>=<span style="color:#000000">&quot;</span>playback<span style="color:#000000">&quot;</span>
<span style="color:#ff1b18">data</span>=<span style="color:#000000">&quot;</span>C:\Program Files\FreeSWITCH\sounds\music\48000\danza-espanola-op-37-h-142-xii-arabesca.wav<span style="color:#000000">&quot;</span>/&gt;</div>


<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;color:rgb(178, 34, 33)">
<span style="color:#2c26f9">      &lt;/</span>condition<span style="color:#2c26f9">&gt;</span></div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;color:rgb(178, 34, 33)">
<span style="color:#2c26f9">    &lt;/</span>extension<span style="color:#2c26f9">&gt;</span></div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;color:rgb(178, 34, 33)">
<span style="color:#2c26f9">  &lt;/</span>include<span style="color:#2c26f9">&gt;</span></div>
<div><font color="#2c26f9"><br>
</font></div>
</div><div><font color="#2c26f9"><span style="color:rgb(0, 0, 0)">Our gateway config (i did replace the username&#39;s and passwords):</span></font></div>
<div><font color="#2c26f9"><br>
</font></div>
<div><font color="#2c26f9">
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;color:rgb(44, 38, 249)">
  &lt;<span style="color:#b22221">gateway</span> <span style="color:#ff1b18">name</span>=<span style="color:#000000">&quot;</span>level3<span style="color:#000000">&quot;</span>&gt;</div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px">
    &lt;<span style="color:rgb(178, 34, 33)">param</span> <span style="color:rgb(255, 27, 24)">
name</span>=<span style="color:rgb(0, 0, 0)">&quot;</span>username<span style="color:rgb(0, 0, 0)">&quot;</span>
<span style="color:rgb(255, 27, 24)">value</span>=<span style="color:rgb(0, 0, 0)">&quot;</span>username<span style="color:rgb(0, 0, 0)">&quot;</span>/&gt;</div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;color:rgb(44, 38, 249)">
    &lt;<span style="color:#b22221">param</span> <span style="color:#ff1b18">name</span>=<span style="color:#000000">&quot;</span>password<span style="color:#000000">&quot;</span>
<span style="color:#ff1b18">value</span>=<span style="color:#000000">&quot;</span>password<span style="color:#000000">&quot;</span>/&gt;</div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;color:rgb(44, 38, 249)">
    &lt;<span style="color:#b22221">param</span> <span style="color:#ff1b18">name</span>=<span style="color:#000000">&quot;</span>proxy<span style="color:#000000">&quot;</span>
<span style="color:#ff1b18">value</span>=<span style="color:#000000">&quot;</span><a href="http://4.55.35.60:5070" target="_blank">4.55.35.60:5070</a><span style="color:#000000">&quot;</span>/&gt;</div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;color:rgb(44, 38, 249)">
    &lt;<span style="color:#b22221">param</span> <span style="color:#ff1b18">name</span>=<span style="color:#000000">&quot;</span>expire-seconds<span style="color:#000000">&quot;</span>
<span style="color:#ff1b18">value</span>=<span style="color:#000000">&quot;</span>3600<span style="color:#000000">&quot;</span>/&gt;</div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;color:rgb(44, 38, 249)">
    &lt;<span style="color:#b22221">param</span> <span style="color:#ff1b18">name</span>=<span style="color:#000000">&quot;</span>register-transport<span style="color:#000000">&quot;</span>
<span style="color:#ff1b18">value</span>=<span style="color:#000000">&quot;</span>udp<span style="color:#000000">&quot;</span>/&gt;</div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;color:rgb(44, 38, 249)">
    &lt;<span style="color:#b22221">param</span> <span style="color:#ff1b18">name</span>=<span style="color:#000000">&quot;</span>register<span style="color:#000000">&quot;</span>
<span style="color:#ff1b18">value</span>=<span style="color:#000000">&quot;</span>false<span style="color:#000000">&quot;</span>/&gt;</div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;color:rgb(44, 38, 249)">
    &lt;<span style="color:#b22221">param</span> <span style="color:#ff1b18">name</span>=<span style="color:#000000">&quot;</span>dtmf-type<span style="color:#000000">&quot;</span>
<span style="color:#ff1b18">value</span>=<span style="color:#000000">&quot;</span>rfc2833<span style="color:#000000">&quot;</span>/&gt;</div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;color:rgb(178, 34, 33)">
<span style="color:#2c26f9">  &lt;/</span>gateway<span style="color:#2c26f9">&gt;</span><span style="color:#000000">&gt;</span></div>
<div style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0px;color:rgb(178, 34, 33)">
<span style="color:#2c26f9">&lt;/</span>include<span style="color:#2c26f9">&gt;</span></div>
<div><span style="color:#2c26f9"><br>
</span></div>
</font></div><div><div></div><div class="h5">
<div>
<div>On Sep 19, 2011, at 12:46 AM, Avi Marcus wrote:</div>
<br>
<blockquote type="cite">
<div dir="ltr">+ is a regex operator (see a basic intro at <a href="http://wiki.freeswitch.org/wiki/Regular_Expression" target="_blank">http://wiki.freeswitch.org/wiki/Regular_Expression</a>)
<div>If you want to use a literal +, you need to escape it, e.g \+<br clear="all">
<div dir="ltr"><span style="font-family:Verdana, Arial, Helvetica, sans-serif"><span style="font-size:small">-Avi</span></span></div>
<br>
<br>
<div class="gmail_quote">On Mon, Sep 19, 2011 at 8:35 AM, Chad Vogel <span dir="ltr">
&lt;<a href="mailto:cvogel@lyonl.com" target="_blank">cvogel@lyonl.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word">level 3 is sending us + on every incoming DID, how would i write the correct expression?
<div>
<div></div>
<div>
<div><br>
</div>
<div>
<div>
<div>On Sep 19, 2011, at 12:05 AM, Nandy Dagondon wrote:</div>
<br>
<blockquote type="cite">hi chad,<br>
<br>
nothing could match &quot;+&quot; 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">
&lt;<a href="mailto:cvogel@lyonl.com" target="_blank">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">
<div style="word-wrap:break-word">
<div style="margin:0px;color:rgb(178, 34, 33)"><span style="color:rgb(44, 38, 249)">I&#39;m trying to build a dialplan however it doesn&#39;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)">  &lt;</span>include<span style="color:rgb(44, 38, 249)">&gt;</span></div>
<div style="margin:0px;color:rgb(44, 38, 249)">    &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><a href="tel:14142211800" value="+14142211800" target="_blank">14142211800</a><span style="color:rgb(0, 0, 0)">&quot;</span>&gt;</div>


<div style="margin:0px;color:rgb(44, 38, 249)">      &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;^+</span><span style="color:rgb(255, 27, 24)"><a href="tel:14142211800" value="+14142211800" target="_blank">14142211800</a></span><span style="color:rgb(0, 0, 0)">$&quot;</span>&gt;</div>


<div style="margin:0px;color:rgb(44, 38, 249)">        &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="+15618911806" target="_blank">+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)">      &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)">    &lt;/</span>extension<span style="color:rgb(44, 38, 249)">&gt;</span></div>
<div style="margin:0px;color:rgb(44, 38, 249)">    &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><a href="tel:13127567001" value="+13127567001" target="_blank">13127567001</a><span style="color:rgb(0, 0, 0)">&quot;</span>&gt;</div>


<div style="margin:0px;color:rgb(44, 38, 249)">      &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;^+(</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)">        &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)">        &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)">        &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)">      &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)">    &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)">  &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" target="_blank">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" target="_blank">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>
</div>
</div>
</div>
</div>
<br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">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>
</div>
</div>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">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>
</div></div></div>
</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></div></div>