I had to reboot the FS box anyway and that seemed to sort it all out. I suspect a profile rescan may have sorted it out<br><br>Thanks for all your help.<br><br><div class="gmail_quote">On 3 March 2011 21:21, Clemens Ebentheuer <span dir="ltr"><<a href="mailto:ce@kapper.net">ce@kapper.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div link="blue" vlink="purple" lang="DE-AT"><div><p class="MsoNormal"><font color="#1f497d" face="Calibri" size="2"><span style="font-size: 11pt; color: rgb(31, 73, 125);">Hi,</span></font></p>
<p class="MsoNormal"><font color="#1f497d" face="Calibri" size="2"><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></font></p><p class="MsoNormal"><font color="#1f497d" face="Calibri" size="2"><span style="font-size: 11pt; color: rgb(31, 73, 125);">i´m no expert but you should see something like in sofia status:</span></font></p>
<p class="MsoNormal"><font color="#1f497d" face="Calibri" size="2"><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></font></p><p class="MsoNormal"><font color="#1f497d" face="Calibri" size="2"><span style="font-size: 11pt; color: rgb(31, 73, 125);">external::soho66 gateway <a href="http://sip:1000022541@sip.soho66.co.uk:8060" target="_blank">sip:1000022541@sip.soho66.co.uk:8060</a> TRYING (retry: 22s)</span></font></p>
<p class="MsoNormal"><font color="#1f497d" face="Calibri" size="2"><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></font></p><p class="MsoNormal"><font color="#1f497d" face="Calibri" size="2"><span style="font-size: 11pt; color: rgb(31, 73, 125);">maybe you need a: sofia profile external rescan</span></font></p>
<p class="MsoNormal"><font color="#1f497d" face="Calibri" size="2"><span style="font-size: 11pt; color: rgb(31, 73, 125);">and/or: sofia profile external restart</span></font></p><p class="MsoNormal"><font color="#1f497d" face="Calibri" size="2"><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></font></p>
<p class="MsoNormal"><font color="#1f497d" face="Calibri" size="2"><span style="font-size: 11pt; color: rgb(31, 73, 125);">clemens</span></font></p><p class="MsoNormal"><font color="#1f497d" face="Calibri" size="2"><span style="font-size: 11pt; color: rgb(31, 73, 125);"> </span></font></p>
<div style="border-width: medium medium medium 1.5pt; border-style: none none none solid; border-color: -moz-use-text-color -moz-use-text-color -moz-use-text-color blue; padding: 0cm 0cm 0cm 4pt;"><div><div style="border-width: 1pt medium medium; border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; padding: 3pt 0cm 0cm;">
<p class="MsoNormal"><b><font face="Tahoma" size="2"><span style="font-size: 10pt; font-weight: bold;" lang="DE">From:</span></font></b><font face="Tahoma" size="2"><span style="font-size: 10pt;" lang="DE"> <a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a> [mailto:<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a>] <b><span style="font-weight: bold;">On Behalf Of </span></b>lloyd thomas<br>
<b><span style="font-weight: bold;">Sent:</span></b> Thursday, March 03, 2011 9:07 PM<br><b><span style="font-weight: bold;">To:</span></b> freeswitch-users<div><div></div><div class="h5"><br><b><span style="font-weight: bold;">Subject:</span></b> Re: [Freeswitch-users] Dialplan in a muddle</div>
</div></span></font></p></div></div><div><div></div><div class="h5"><p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> </span></font></p><p class="MsoNormal" style="margin-bottom: 12pt;">
<font face="Times New Roman" size="3"><span style="font-size: 12pt;">EXECUTE sofia/internal/<a href="mailto:200@companya.tele.co.uk" target="_blank">200@companya.tele.co.uk</a> bridge(sofia/gateway/soho66/07973323260)<br>
2011-03-03 19:57:22.189028 [ERR] mod_sofia.c:3891 Invalid Gateway<br><br>So it looks as though my gateway does not register. The file is in conf/sip_profiles/external/01_companya_soho66.xml<br>Don't understand what the problem is<br>
<br>Help<br><br><include><br> <gateway name="soho66"><br> <param name="username" value="1000022541" /><br> <param name="realm" value="<a href="http://sip.soho66.co.uk:8060" target="_blank">sip.soho66.co.uk:8060</a>" /><br>
<param name="password" value="5J8D139O" /><br> </gateway> <br></include><br><br><br>sofia status<br> Name Type Data State<br>
=================================================================================================<br> internal profile <a href="http://sip:mod_sofia@188.222.84.32:5060" target="_blank">sip:mod_sofia@188.222.84.32:5060</a> RUNNING (0)<br>
external profile <a href="http://sip:mod_sofia@188.222.84.32:5080" target="_blank">sip:mod_sofia@188.222.84.32:5080</a> RUNNING (0)<br> external::<a href="http://example.com" target="_blank">example.com</a> gateway <a href="mailto:sip%3Ajoeuser@example.com" target="_blank">sip:joeuser@example.com</a> NOREG<br>
<a href="http://companyb.tele.co.uk" target="_blank">companyb.tele.co.uk</a> alias internal ALIASED<br> internal-ipv6 profile sip:mod_sofia@[::1]:5060 RUNNING (0)<br>
<a href="http://companya.tele.co.uk" target="_blank">companya.tele.co.uk</a> alias internal ALIASED<br> 188.222.85.33 alias internal ALIASED<br>
=================================================================================================<br>3 profiles 3 aliases<br><br><br><br></span></font></p><div><p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size: 12pt;">On 3 March 2011 18:58, lloyd thomas <<a href="mailto:lloydie.t@gmail.com" target="_blank">lloydie.t@gmail.com</a>> wrote:</span></font></p>
<p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size: 12pt;">No Joy. Looks like the may be something wrong with the initial companya.tele.co.uk.xml file.<br>Have a look</span></font></p><div><p class="MsoNormal" style="margin-bottom: 12pt;">
<font face="Times New Roman" size="3"><span style="font-size: 12pt;"><br><br><a href="http://pastebin.freeswitch.org/15539" target="_blank">http://pastebin.freeswitch.org/15539</a><br><br></span></font></p></div><div><div>
<div><p class="MsoNormal" style="margin-bottom: 12pt;"><font face="Times New Roman" size="3"><span style="font-size: 12pt;">---------- Forwarded message ----------<br>From: <b><span style="font-weight: bold;">Garry Matthews</span></b> <<a href="mailto:garry.matthews@ethermagic.co.uk" target="_blank">garry.matthews@ethermagic.co.uk</a>><br>
Date: 3 March 2011 18:08<br>Subject: RE: [Freeswitch-users] Dialplan in a muddle<br>To: lloyd thomas <<a href="mailto:lloydie.t@gmail.com" target="_blank">lloydie.t@gmail.com</a>><br><br></span></font></p><div><div>
<p class="MsoNormal"><b><u><font color="red" face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New"; color: red; font-weight: bold;" lang="EN-US">-</span></font></u></b><font size="2"><span style="font-size: 10pt;" lang="EN-US"> <font color="blue"><span style="color: blue;"><</span></font><font color="#990000"><span style="color: rgb(153, 0, 0);">include</span></font><font color="blue"><span style="color: blue;">></span></font></span></font><span lang="EN-US"></span></p>
<p class="MsoNormal"><b><u><font color="red" face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New"; color: red; font-weight: bold;" lang="EN-US">-</span></font></u></b><font size="2"><span style="font-size: 10pt;" lang="EN-US"> <font color="blue"><span style="color: blue;"><</span></font><font color="#990000"><span style="color: rgb(153, 0, 0);">gateway name</span></font><font color="blue"><span style="color: blue;">="</span></font><b><span style="font-weight: bold;">soho66</span></b><font color="blue"><span style="color: blue;">"></span></font></span></font><span lang="EN-US"></span></p>
<p class="MsoNormal"><b><font color="red" face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New"; color: red; font-weight: bold;" lang="EN-US"> </span></font></b><font size="2"><span style="font-size: 10pt;" lang="EN-US"> <font color="blue"><span style="color: blue;"><</span></font><font color="#990000"><span style="color: rgb(153, 0, 0);">param</span></font> <font color="#990000"><span style="color: rgb(153, 0, 0);">name</span></font><font color="blue"><span style="color: blue;">="</span></font><b><span style="font-weight: bold;">username</span></b><font color="blue"><span style="color: blue;">"</span></font><font color="#990000"><span style="color: rgb(153, 0, 0);"> value</span></font><font color="blue"><span style="color: blue;">="</span></font><b><span style="font-weight: bold;">1000014877</span></b><font color="blue"><span style="color: blue;">" /></span></font> </span></font><span lang="EN-US"></span></p>
<p class="MsoNormal"><b><font color="red" face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New"; color: red; font-weight: bold;" lang="EN-US"> </span></font></b><font size="2"><span style="font-size: 10pt;" lang="EN-US"> <font color="blue"><span style="color: blue;"><</span></font><font color="#990000"><span style="color: rgb(153, 0, 0);">param</span></font> <font color="#990000"><span style="color: rgb(153, 0, 0);">name</span></font><font color="blue"><span style="color: blue;">="</span></font><b><span style="font-weight: bold;">realm</span></b><font color="blue"><span style="color: blue;">"</span></font><font color="#990000"><span style="color: rgb(153, 0, 0);"> value</span></font><font color="blue"><span style="color: blue;">="</span></font><b><span style="font-weight: bold;"><a href="http://sip.soho66.co.uk:8060" target="_blank">sip.soho66.co.uk:8060</a></span></b><font color="blue"><span style="color: blue;">" /></span></font> </span></font><span lang="EN-US"></span></p>
<p class="MsoNormal"><b><font color="red" face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New"; color: red; font-weight: bold;" lang="EN-US"> </span></font></b><font size="2"><span style="font-size: 10pt;" lang="EN-US"> <font color="blue"><span style="color: blue;"><</span></font><font color="#990000"><span style="color: rgb(153, 0, 0);">param</span></font> <font color="#990000"><span style="color: rgb(153, 0, 0);">name</span></font><font color="blue"><span style="color: blue;">="</span></font><b><span style="font-weight: bold;">password</span></b><font color="blue"><span style="color: blue;">"</span></font><font color="#990000"><span style="color: rgb(153, 0, 0);"> value</span></font><font color="blue"><span style="color: blue;">="</span></font><b><span style="font-weight: bold;">C9J6U0LO</span></b><font color="blue"><span style="color: blue;">" /></span></font> </span></font><span lang="EN-US"></span></p>
<p class="MsoNormal"><b><font color="red" face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New"; color: red; font-weight: bold;" lang="EN-US"> </span></font></b><font size="2"><span style="font-size: 10pt;" lang="EN-US"> <font color="blue"><span style="color: blue;"></</span></font><font color="#990000"><span style="color: rgb(153, 0, 0);">gateway</span></font><font color="blue"><span style="color: blue;">></span></font></span></font><span lang="EN-US"></span></p>
<p class="MsoNormal"><b><font color="red" face="Courier New" size="2"><span style="font-size: 10pt; font-family: "Courier New"; color: red; font-weight: bold;" lang="EN-US"> </span></font></b><font size="2"><span style="font-size: 10pt;" lang="EN-US"> <font color="blue"><span style="color: blue;"></</span></font><font color="#990000"><span style="color: rgb(153, 0, 0);">include</span></font><font color="blue"><span style="color: blue;">></span></font></span></font><span lang="EN-US"></span></p>
<p class="MsoNormal"><font color="#1f497d" face="Times New Roman" size="2"><span style="font-size: 11pt; color: rgb(31, 73, 125);" lang="EN-US"> </span></font><span lang="EN-US"></span></p><p class="MsoNormal"><font color="#1f497d" face="Times New Roman" size="2"><span style="font-size: 11pt; color: rgb(31, 73, 125);" lang="EN-US">I’ve made a few changes for security reasons, but it should give you the idea !</span></font><span lang="EN-US"></span></p>
<p class="MsoNormal"><font color="#1f497d" face="Times New Roman" size="2"><span style="font-size: 11pt; color: rgb(31, 73, 125);" lang="EN-US"> </span></font><span lang="EN-US"></span></p><p class="MsoNormal"><font color="#1f497d" face="Times New Roman" size="2"><span style="font-size: 11pt; color: rgb(31, 73, 125);" lang="EN-US">If you type >sofia status</span></font><span lang="EN-US"></span></p>
<p class="MsoNormal"><font color="#1f497d" face="Times New Roman" size="2"><span style="font-size: 11pt; color: rgb(31, 73, 125);" lang="EN-US"> </span></font><span lang="EN-US"></span></p><p class="MsoNormal"><font color="#1f497d" face="Times New Roman" size="2"><span style="font-size: 11pt; color: rgb(31, 73, 125);" lang="EN-US">Then you should see REGED to show that you have registered.</span></font><span lang="EN-US"></span></p>
<p class="MsoNormal"><font color="#1f497d" face="Times New Roman" size="2"><span style="font-size: 11pt; color: rgb(31, 73, 125);" lang="EN-US"> </span></font><span lang="EN-US"></span></p><p class="MsoNormal"><font color="#1f497d" face="Times New Roman" size="2"><span style="font-size: 11pt; color: rgb(31, 73, 125);" lang="EN-US">Any luck?</span></font><span lang="EN-US"></span></p>
<p class="MsoNormal"><font color="#1f497d" face="Times New Roman" size="2"><span style="font-size: 11pt; color: rgb(31, 73, 125);" lang="EN-US"> </span></font><span lang="EN-US"></span></p><p class="MsoNormal"><font color="#1f497d" face="Times New Roman" size="2"><span style="font-size: 11pt; color: rgb(31, 73, 125);" lang="EN-US">Garry.</span></font><span lang="EN-US"></span></p>
<div style="border-width: 1pt medium medium; border-style: solid none none; padding: 3pt 0cm 0cm; border-color: -moz-use-text-color;"><p class="MsoNormal"><b><font face="Times New Roman" size="2"><span style="font-size: 10pt; font-weight: bold;" lang="EN-US">From:</span></font></b><font size="2"><span style="font-size: 10pt;" lang="EN-US"> lloyd thomas [mailto:<a href="mailto:lloydie.t@gmail.com" target="_blank">lloydie.t@gmail.com</a>] <br>
<b><span style="font-weight: bold;">Sent:</span></b> 03 March 2011 18:02<br><b><span style="font-weight: bold;">To:</span></b> Garry Matthews<br><b><span style="font-weight: bold;">Subject:</span></b> Re: [Freeswitch-users] Dialplan in a muddle</span></font><span lang="EN-US"></span></p>
</div><div><div><p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size: 12pt;" lang="EN-US"> </span></font></p><p class="MsoNormal" style="margin-bottom: 12pt;"><font face="Times New Roman" size="3"><span style="font-size: 12pt;" lang="EN-US">Ah Ha, what is your gateway settings (roughly)?</span></font></p>
<div><p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size: 12pt;" lang="EN-US">On 3 March 2011 17:51, Garry Matthews <<a href="mailto:garry.matthews@ethermagic.co.uk" target="_blank">garry.matthews@ethermagic.co.uk</a>> wrote:</span></font></p>
<div><div><p class="MsoNormal"><font color="#1f497d" face="Times New Roman" size="2"><span style="font-size: 11pt; color: rgb(31, 73, 125);" lang="EN-US">I’m not sure if this helps – I just started with Freeswicth and Soho 66 today. I’m a total beginner and have been working from the book.</span></font><span lang="EN-US"></span></p>
<p class="MsoNormal"><font color="#1f497d" face="Times New Roman" size="2"><span style="font-size: 11pt; color: rgb(31, 73, 125);" lang="EN-US">However, I can get calls out using the following file -</span></font><span lang="EN-US"></span></p>
<p class="MsoNormal"><font color="#1f497d" face="Times New Roman" size="2"><span style="font-size: 11pt; color: rgb(31, 73, 125);" lang="EN-US"> </span></font><span lang="EN-US"></span></p><p class="MsoNormal"><font color="#1f497d" face="Times New Roman" size="2"><span style="font-size: 11pt; color: rgb(31, 73, 125);" lang="EN-US">conf/dialplan/default/01_custom.xml</span></font><span lang="EN-US"></span></p>
<p class="MsoNormal"><font color="#1f497d" face="Times New Roman" size="2"><span style="font-size: 11pt; color: rgb(31, 73, 125);" lang="EN-US"> </span></font><span lang="EN-US"></span></p><p class="MsoNormal"><font color="#1f497d" face="Times New Roman" size="2"><span style="font-size: 11pt; color: rgb(31, 73, 125);" lang="EN-US"><include></span></font><span lang="EN-US"></span></p>
<p class="MsoNormal"><font color="#1f497d" face="Times New Roman" size="2"><span style="font-size: 11pt; color: rgb(31, 73, 125);" lang="EN-US"> <extension name="Dial Out Custom Gateway"></span></font><span lang="EN-US"></span></p>
<p class="MsoNormal"><font color="#1f497d" face="Times New Roman" size="2"><span style="font-size: 11pt; color: rgb(31, 73, 125);" lang="EN-US"> <condition field="destination_number" </span></font><span lang="EN-US"></span></p>
<p class="MsoNormal"><font color="#1f497d" face="Times New Roman" size="2"><span style="font-size: 11pt; color: rgb(31, 73, 125);" lang="EN-US"> expression="^9(0\d{10})$"></span></font><span lang="EN-US"></span></p>
<p class="MsoNormal"><font color="#1f497d" face="Times New Roman" size="2"><span style="font-size: 11pt; color: rgb(31, 73, 125);" lang="EN-US"> <action application="bridge"</span></font><span lang="EN-US"></span></p>
<p class="MsoNormal"><font color="#1f497d" face="Times New Roman" size="2"><span style="font-size: 11pt; color: rgb(31, 73, 125);" lang="EN-US"> data="sofia/gateway/soho66/$1"/></span></font><span lang="EN-US"></span></p>
<p class="MsoNormal"><font color="#1f497d" face="Times New Roman" size="2"><span style="font-size: 11pt; color: rgb(31, 73, 125);" lang="EN-US"> </condition></span></font><span lang="EN-US"></span></p>
<p class="MsoNormal"><font color="#1f497d" face="Times New Roman" size="2"><span style="font-size: 11pt; color: rgb(31, 73, 125);" lang="EN-US"> </extension></span></font><span lang="EN-US"></span></p>
<p class="MsoNormal"><font color="#1f497d" face="Times New Roman" size="2"><span style="font-size: 11pt; color: rgb(31, 73, 125);" lang="EN-US"></include></span></font><span lang="EN-US"></span></p><p class="MsoNormal">
<font color="#1f497d" face="Times New Roman" size="2"><span style="font-size: 11pt; color: rgb(31, 73, 125);" lang="EN-US"> </span></font><span lang="EN-US"></span></p><p class="MsoNormal"><font color="#1f497d" face="Times New Roman" size="2"><span style="font-size: 11pt; color: rgb(31, 73, 125);" lang="EN-US">You then need to -</span></font><span lang="EN-US"></span></p>
<p class="MsoNormal"><font color="#1f497d" face="Times New Roman" size="2"><span style="font-size: 11pt; color: rgb(31, 73, 125);" lang="EN-US"> </span></font><span lang="EN-US"></span></p><p class="MsoNormal"><font color="#1f497d" face="Times New Roman" size="2"><span style="font-size: 11pt; color: rgb(31, 73, 125);" lang="EN-US">reloadxml</span></font><span lang="EN-US"></span></p>
<p class="MsoNormal"><font color="#1f497d" face="Times New Roman" size="2"><span style="font-size: 11pt; color: rgb(31, 73, 125);" lang="EN-US"> </span></font><span lang="EN-US"></span></p><p class="MsoNormal"><font color="#1f497d" face="Times New Roman" size="2"><span style="font-size: 11pt; color: rgb(31, 73, 125);" lang="EN-US">This may give you something to compare with.</span></font><span lang="EN-US"></span></p>
<p class="MsoNormal"><font color="#1f497d" face="Times New Roman" size="2"><span style="font-size: 11pt; color: rgb(31, 73, 125);" lang="EN-US"> </span></font><span lang="EN-US"></span></p><p class="MsoNormal"><font color="#1f497d" face="Times New Roman" size="2"><span style="font-size: 11pt; color: rgb(31, 73, 125);" lang="EN-US">I hope this helps.</span></font><span lang="EN-US"></span></p>
<p class="MsoNormal"><font color="#1f497d" face="Times New Roman" size="2"><span style="font-size: 11pt; color: rgb(31, 73, 125);" lang="EN-US"> </span></font><span lang="EN-US"></span></p><p class="MsoNormal"><font color="#1f497d" face="Times New Roman" size="2"><span style="font-size: 11pt; color: rgb(31, 73, 125);" lang="EN-US">Garry.</span></font><span lang="EN-US"></span></p>
<p class="MsoNormal"><font color="#1f497d" face="Times New Roman" size="2"><span style="font-size: 11pt; color: rgb(31, 73, 125);" lang="EN-US"> </span></font><span lang="EN-US"></span></p><div style="border-width: 1pt medium medium; border-style: solid none none; padding: 3pt 0cm 0cm; border-color: -moz-use-text-color;">
<p class="MsoNormal"><b><font face="Times New Roman" size="2"><span style="font-size: 10pt; font-weight: bold;" lang="EN-US">From:</span></font></b><font size="2"><span style="font-size: 10pt;" lang="EN-US"> lloyd thomas [mailto:<a href="mailto:lloydie.t@gmail.com" target="_blank">lloydie.t@gmail.com</a>] <br>
<b><span style="font-weight: bold;">Sent:</span></b> 03 March 2011 17:04<br><b><span style="font-weight: bold;">To:</span></b> freeswitch-users<br><b><span style="font-weight: bold;">Subject:</span></b> [Freeswitch-users] Dialplan in a muddle</span></font><span lang="EN-US"></span></p>
</div><div><div><p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size: 12pt;" lang="EN-US"> </span></font></p><p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size: 12pt;" lang="EN-US">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 -----------------------</span></font></p>
</div></div></div></div></div><p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size: 12pt;" lang="EN-US"> </span></font></p></div></div></div></div></div><p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> </span></font></p>
</div></div></div><p class="MsoNormal"><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> </span></font></p></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 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>