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">companya.tele.co.uk/*.xml</a>&quot;/&gt;<br>to include xml files in that conf/dialplan/<a href="http://companya.tele.co.uk">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">200@companya.tele.co.uk</a> to enum[<a href="mailto:907973323260@companya.tele.co.uk">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">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">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">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">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">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">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="visibility: hidden; display: inline;" id="avg_ls_inline_popup"></div><style type="text/css">#avg_ls_inline_popup {  position:absolute;  z-index:9999;  padding: 0px 0px;  margin-left: 0px;  margin-top: 0px;  width: 240px;  overflow: hidden;  word-wrap: break-word;  color: black;  font-size: 10px;  text-align: left;  line-height: 13px;}</style>