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><X-PRE-PROCESS cmd="include" data="<a href="http://companya.tele.co.uk/*.xml">companya.tele.co.uk/*.xml</a>"/><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><include><br><extension name="Local Dial"><br> <condition field="destination_number" expression="^9?([2-9]{6})$"><br>
<action application="set" data="effective_caller_id_name=12345678"/><br> <action application="set" data="effective_caller_id_number=12345678"/><br> <action application="bridge" data="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>"/><br>
</condition><br></extension><br><br><extension name="Regional 01"><br> <condition field="destination_number" expression="^9?(01\d{9})$"><br> <action application="set" data="effective_caller_id_name=12345678"/><br>
<action application="set" data="effective_caller_id_number=12345678"/><br> <action application="bridge" data="sofia/gateway/<a href="http://sip.soho66.co.uk/$1">sip.soho66.co.uk/$1</a>"/><br>
</condition><br></extension><br><br><extension name="Regional 02"><br> <condition field="destination_number" expression="^9?(02\d{9})$$"><br> <action application="set" data="effective_caller_id_name=12345678"/><br>
<action application="set" data="effective_caller_id_number=123456781"/><br> <action application="bridge" data="sofia/gateway/<a href="http://sip.soho66.co.uk/$1">sip.soho66.co.uk/$1</a>"/><br>
</condition><br></extension><br><br><extension name="Mobile"><br> <condition field="destination_number" expression="^9?(07\d{9})$"><br> <action application="set" data="effective_caller_id_name=12345678"/><br>
<action application="set" data="effective_caller_id_number=12345678"/><br> <action application="bridge" data="sofia/gateway/<a href="http://sip.soho66.co.uk/$1">sip.soho66.co.uk/$1</a>"/><br>
</condition><br></extension><br><br><extension name="International"><br> <condition field="destination_number" expression="^9?(00\d*))$"><br> <action application="set" data="effective_caller_id_name=12345678"/><br>
<action application="set" data="effective_caller_id_number=12345678"/><br> <action application="bridge" data="sofia/gateway/<a href="http://sip.soho66.co.uk/$1">sip.soho66.co.uk/$1</a>"/><br>
</condition><br></extension><br></include><br>-----------------eof soho66.co.uk.xml-------------------------<br><br>-------------conf/sip_profiles/external/companya_soho66.xml -----------------------<br>
<include><br> <gateway name="<a href="http://sip.soho66.co.uk">sip.soho66.co.uk</a>"><br> <param name="username" value="12345678"/><br> <param name="from-user" value="12345678"/><br>
<param name="password" value="ABCDEFGH"/><br> <param name="expire-seconds" value="600"/><br> <param name="register" value="true"/><br>
<param name="retry-seconds" value="30"/><br> </gateway><br></include><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>