<br clear="all">Can you post your <span class="Apple-style-span" style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; ">conf/dialplan/companya.tele.co.uk.xml</span><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><br>

</span></font></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">I think there is a problem in the above file. Do you have a </span></font></div>

<div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><br></span></font></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><div>

 &lt;extension name=&quot;enum&quot;&gt;</div><div>      &lt;condition field=&quot;${module_exists(mod_enum)}&quot; expression=&quot;true&quot;/&gt;</div><div>      &lt;condition field=&quot;destination_number&quot; expression=&quot;^(.*)$&quot;&gt;</div>

<div>        &lt;action application=&quot;transfer&quot; data=&quot;$1 enum&quot;/&gt;</div><div>      &lt;/condition&gt;</div><div>    &lt;/extension&gt;</div><div><br></div><div>and</div><div><br></div></span></font>the line <span class="Apple-style-span" style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; ">&lt;X-PRE-PROCESS cmd=&quot;include&quot; data=&quot;<a href="http://companya.tele.co.uk/*.xml" target="_blank" style="color: rgb(0, 0, 204); ">companya.tele.co.uk/*.xml</a>&quot;/&gt; below?</span></div>

<div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;"><br></span></font></div><div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">THanks</span></font></div>

<div><font class="Apple-style-span" face="arial, sans-serif"><span class="Apple-style-span" style="border-collapse: collapse;">Lloyd<br></span></font><br><div class="gmail_quote">On Thu, Mar 3, 2011 at 12:03 PM, lloyd thomas <span dir="ltr">&lt;<a href="mailto:lloydie.t@gmail.com">lloydie.t@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Maybe getting a bit ahead of myself but I am trying to set up a multi-company dial plan. Things are working fine internally, but I am not getting the grasp for external calls.<br>

<br>The first company xml file is conf/dialplan/companya.tele.co.uk.xml<br>
<br>which has the line<br>&lt;X-PRE-PROCESS cmd=&quot;include&quot; data=&quot;<a href="http://companya.tele.co.uk/*.xml" target="_blank">companya.tele.co.uk/*.xml</a>&quot;/&gt;<br>to include xml files in that conf/dialplan/<a href="http://companya.tele.co.uk" target="_blank">companya.tele.co.uk</a> folder<br>


<br>In this folder I have the xml file soho66.co.uk.xml which includes the regex to remove the initial 9 when dialling and extenal number. I cant seem to be able to get a call to go anywhere near connecting to the soho gateway.<br>


<br>I think problem is to do with this<br><br>2011-03-03 17:00:23.089153 [NOTICE] switch_ivr.c:1606 Transfer sofia/internal/<a href="mailto:200@companya.tele.co.uk" target="_blank">200@companya.tele.co.uk</a> to enum[<a href="mailto:907973323260@companya.tele.co.uk" target="_blank">907973323260@companya.tele.co.uk</a>]<br>


<br>help me please!<br><br>----------------- soho66.co.uk.xml----------------------------<br>&lt;include&gt;<br>&lt;extension name=&quot;Local Dial&quot;&gt;<br>   &lt;condition field=&quot;destination_number&quot; expression=&quot;^9?([2-9]{6})$&quot;&gt;<br>


     &lt;action application=&quot;set&quot; data=&quot;effective_caller_id_name=12345678&quot;/&gt;<br>     &lt;action application=&quot;set&quot; data=&quot;effective_caller_id_number=12345678&quot;/&gt;<br>     &lt;action application=&quot;bridge&quot; data=&quot;sofia/gateway/<a href="http://sip.soho66.co.uk/01869$1@sip.soho66.co.uk" target="_blank">sip.soho66.co.uk/01869$1@sip.soho66.co.uk</a>&quot;/&gt;<br>


   &lt;/condition&gt;<br>&lt;/extension&gt;<br><br>&lt;extension name=&quot;Regional 01&quot;&gt;<br>  &lt;condition field=&quot;destination_number&quot; expression=&quot;^9?(01\d{9})$&quot;&gt;<br>     &lt;action application=&quot;set&quot; data=&quot;effective_caller_id_name=12345678&quot;/&gt;<br>


     &lt;action application=&quot;set&quot; data=&quot;effective_caller_id_number=12345678&quot;/&gt;<br>     &lt;action application=&quot;bridge&quot; data=&quot;sofia/gateway/<a href="http://sip.soho66.co.uk/$1" target="_blank">sip.soho66.co.uk/$1</a>&quot;/&gt;<br>


  &lt;/condition&gt;<br>&lt;/extension&gt;<br><br>&lt;extension name=&quot;Regional 02&quot;&gt;<br>  &lt;condition field=&quot;destination_number&quot; expression=&quot;^9?(02\d{9})$$&quot;&gt;<br>     &lt;action application=&quot;set&quot; data=&quot;effective_caller_id_name=12345678&quot;/&gt;<br>


     &lt;action application=&quot;set&quot; data=&quot;effective_caller_id_number=123456781&quot;/&gt;<br>     &lt;action application=&quot;bridge&quot; data=&quot;sofia/gateway/<a href="http://sip.soho66.co.uk/$1" target="_blank">sip.soho66.co.uk/$1</a>&quot;/&gt;<br>


  &lt;/condition&gt;<br>&lt;/extension&gt;<br><br>&lt;extension name=&quot;Mobile&quot;&gt;<br>  &lt;condition field=&quot;destination_number&quot; expression=&quot;^9?(07\d{9})$&quot;&gt;<br>     &lt;action application=&quot;set&quot; data=&quot;effective_caller_id_name=12345678&quot;/&gt;<br>


     &lt;action application=&quot;set&quot; data=&quot;effective_caller_id_number=12345678&quot;/&gt;<br>     &lt;action application=&quot;bridge&quot; data=&quot;sofia/gateway/<a href="http://sip.soho66.co.uk/$1" target="_blank">sip.soho66.co.uk/$1</a>&quot;/&gt;<br>


  &lt;/condition&gt;<br>&lt;/extension&gt;<br><br>&lt;extension name=&quot;International&quot;&gt;<br>  &lt;condition field=&quot;destination_number&quot; expression=&quot;^9?(00\d*))$&quot;&gt;<br>     &lt;action application=&quot;set&quot; data=&quot;effective_caller_id_name=12345678&quot;/&gt;<br>


     &lt;action application=&quot;set&quot; data=&quot;effective_caller_id_number=12345678&quot;/&gt;<br>     &lt;action application=&quot;bridge&quot; data=&quot;sofia/gateway/<a href="http://sip.soho66.co.uk/$1" target="_blank">sip.soho66.co.uk/$1</a>&quot;/&gt;<br>


  &lt;/condition&gt;<br>&lt;/extension&gt;<br>&lt;/include&gt;<br>-----------------eof soho66.co.uk.xml-------------------------<br><br>-------------conf/sip_profiles/external/companya_soho66.xml -----------------------<br>


&lt;include&gt;<br>      &lt;gateway name=&quot;<a href="http://sip.soho66.co.uk" target="_blank">sip.soho66.co.uk</a>&quot;&gt;<br>      &lt;param name=&quot;username&quot; value=&quot;12345678&quot;/&gt;<br>      &lt;param name=&quot;from-user&quot; value=&quot;12345678&quot;/&gt;<br>


      &lt;param name=&quot;password&quot; value=&quot;ABCDEFGH&quot;/&gt;<br>      &lt;param name=&quot;expire-seconds&quot; value=&quot;600&quot;/&gt;<br>      &lt;param name=&quot;register&quot; value=&quot;true&quot;/&gt;<br>


      &lt;param name=&quot;retry-seconds&quot; value=&quot;30&quot;/&gt;<br>    &lt;/gateway&gt;<br>&lt;/include&gt;<br>
------------- eof conf/sip_profiles/external/companya_soho66.xml -----------------------<br><div style="display:inline"></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>