<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>
<extension name="enum"></div><div> <condition field="${module_exists(mod_enum)}" expression="true"/></div><div> <condition field="destination_number" expression="^(.*)$"></div>
<div> <action application="transfer" data="$1 enum"/></div><div> </condition></div><div> </extension></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; "><X-PRE-PROCESS cmd="include" data="<a href="http://companya.tele.co.uk/*.xml" target="_blank" style="color: rgb(0, 0, 204); ">companya.tele.co.uk/*.xml</a>"/> 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"><<a href="mailto:lloydie.t@gmail.com">lloydie.t@gmail.com</a>></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><X-PRE-PROCESS cmd="include" data="<a href="http://companya.tele.co.uk/*.xml" target="_blank">companya.tele.co.uk/*.xml</a>"/><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><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" target="_blank">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" target="_blank">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" target="_blank">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" target="_blank">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" target="_blank">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" target="_blank">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="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>