<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=iso-8859-1"><meta name=Generator content="Microsoft Word 12 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.E-MailFormatvorlage17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=DE-AT link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><font size=2 color="#1f497d" face=Calibri><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Hi,<o:p></o:p></span></font></p><p class=MsoNormal><font size=2 color="#1f497d" face=Calibri><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></font></p><p class=MsoNormal><font size=2 color="#1f497d" face=Calibri><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>i´m no expert but you should see something like in sofia status:<o:p></o:p></span></font></p><p class=MsoNormal><font size=2 color="#1f497d" face=Calibri><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></font></p><p class=MsoNormal><font size=2 color="#1f497d" face=Calibri><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>external::soho66       gateway       sip:1000022541@sip.soho66.co.uk:8060      TRYING (retry: 22s)<o:p></o:p></span></font></p><p class=MsoNormal><font size=2 color="#1f497d" face=Calibri><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></font></p><p class=MsoNormal><font size=2 color="#1f497d" face=Calibri><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>maybe you need a:  sofia profile external rescan<o:p></o:p></span></font></p><p class=MsoNormal><font size=2 color="#1f497d" face=Calibri><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>and/or: sofia profile external restart<o:p></o:p></span></font></p><p class=MsoNormal><font size=2 color="#1f497d" face=Calibri><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></font></p><p class=MsoNormal><font size=2 color="#1f497d" face=Calibri><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>clemens<o:p></o:p></span></font></p><p class=MsoNormal><font size=2 color="#1f497d" face=Calibri><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></font></p><div style='border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt'><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><font size=2 face=Tahoma><span lang=DE style='font-size:10.0pt;font-family:"Tahoma","sans-serif";font-weight:bold'>From:</span></font></b><font size=2 face=Tahoma><span lang=DE style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] <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<br><b><span style='font-weight:bold'>Subject:</span></b> Re: [Freeswitch-users] Dialplan in a muddle<o:p></o:p></span></font></p></div></div><p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:12.0pt'><o:p>&nbsp;</o:p></span></font></p><p class=MsoNormal style='margin-bottom:12.0pt'><font size=3 face="Times New Roman"><span style='font-size:12.0pt'>EXECUTE sofia/internal/<a href="mailto:200@companya.tele.co.uk">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>&lt;include&gt;<br>&nbsp; &lt;gateway name=&quot;soho66&quot;&gt;<br>&nbsp;&nbsp;&nbsp; &lt;param name=&quot;username&quot; value=&quot;1000022541&quot; /&gt;<br>&nbsp;&nbsp;&nbsp; &lt;param name=&quot;realm&quot; value=&quot;<a href="http://sip.soho66.co.uk:8060">sip.soho66.co.uk:8060</a>&quot; /&gt;<br>&nbsp;&nbsp;&nbsp; &lt;param name=&quot;password&quot; value=&quot;5J8D139O&quot; /&gt;<br>&nbsp; &lt;/gateway&gt; <br>&lt;/include&gt;<br><br><br>sofia status<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Type&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Data&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; State<br>=================================================================================================<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; internal&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; profile&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="http://sip:mod_sofia@188.222.84.32:5060">sip:mod_sofia@188.222.84.32:5060</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; RUNNING (0)<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; external&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; profile&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="http://sip:mod_sofia@188.222.84.32:5080">sip:mod_sofia@188.222.84.32:5080</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; RUNNING (0)<br>&nbsp;&nbsp;&nbsp; external::<a href="http://example.com">example.com</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; gateway&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="mailto:sip%3Ajoeuser@example.com">sip:joeuser@example.com</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; NOREG<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="http://companyb.tele.co.uk">companyb.tele.co.uk</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; alias&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; internal&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ALIASED<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; internal-ipv6&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; profile&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; sip:mod_sofia@[::1]:5060&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; RUNNING (0)<br>&nbsp;&nbsp;&nbsp; <a href="http://companya.tele.co.uk">companya.tele.co.uk</a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; alias&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; internal&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ALIASED<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 188.222.85.33&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; alias&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; internal&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ALIASED<br>=================================================================================================<br>3 profiles 3 aliases<br><br><br><br><o:p></o:p></span></font></p><div><p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:12.0pt'>On 3 March 2011 18:58, lloyd thomas &lt;<a href="mailto:lloydie.t@gmail.com">lloydie.t@gmail.com</a>&gt; wrote:<o:p></o:p></span></font></p><p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:12.0pt'>No Joy. Looks like the may be something wrong with the initial companya.tele.co.uk.xml file.<br>Have a look<o:p></o:p></span></font></p><div><p class=MsoNormal style='margin-bottom:12.0pt'><font size=3 face="Times New Roman"><span style='font-size:12.0pt'><br><br><a href="http://pastebin.freeswitch.org/15539" target="_blank">http://pastebin.freeswitch.org/15539</a><br><br><o:p></o:p></span></font></p></div><div><div><div><p class=MsoNormal style='margin-bottom:12.0pt'><font size=3 face="Times New Roman"><span style='font-size:12.0pt'>---------- Forwarded message ----------<br>From: <b><span style='font-weight:bold'>Garry Matthews</span></b> &lt;<a href="mailto:garry.matthews@ethermagic.co.uk" target="_blank">garry.matthews@ethermagic.co.uk</a>&gt;<br>Date: 3 March 2011 18:08<br>Subject: RE: [Freeswitch-users] Dialplan in a muddle<br>To: lloyd thomas &lt;<a href="mailto:lloydie.t@gmail.com" target="_blank">lloydie.t@gmail.com</a>&gt;<br><br><o:p></o:p></span></font></p><div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><b><u><font size=2 color=red face="Courier New"><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New";color:red;font-weight:bold'>-</span></font></u></b><font size=2><span lang=EN-US style='font-size:10.0pt'> <font color=blue><span style='color:blue'>&lt;</span></font><font color="#990000"><span style='color:#990000'>include</span></font><font color=blue><span style='color:blue'>&gt;</span></font></span></font><span lang=EN-US><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><b><u><font size=2 color=red face="Courier New"><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New";color:red;font-weight:bold'>-</span></font></u></b><font size=2><span lang=EN-US style='font-size:10.0pt'> <font color=blue><span style='color:blue'>&lt;</span></font><font color="#990000"><span style='color:#990000'>gateway name</span></font><font color=blue><span style='color:blue'>=&quot;</span></font><b><span style='font-weight:bold'>soho66</span></b><font color=blue><span style='color:blue'>&quot;&gt;</span></font></span></font><span lang=EN-US><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><b><font size=2 color=red face="Courier New"><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New";color:red;font-weight:bold'>&nbsp;</span></font></b><font size=2><span lang=EN-US style='font-size:10.0pt'> <font color=blue><span style='color:blue'>&lt;</span></font><font color="#990000"><span style='color:#990000'>param</span></font> <font color="#990000"><span style='color:#990000'>name</span></font><font color=blue><span style='color:blue'>=&quot;</span></font><b><span style='font-weight:bold'>username</span></b><font color=blue><span style='color:blue'>&quot;</span></font><font color="#990000"><span style='color:#990000'> value</span></font><font color=blue><span style='color:blue'>=&quot;</span></font><b><span style='font-weight:bold'>1000014877</span></b><font color=blue><span style='color:blue'>&quot; /&gt;</span></font> </span></font><span lang=EN-US><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><b><font size=2 color=red face="Courier New"><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New";color:red;font-weight:bold'>&nbsp;</span></font></b><font size=2><span lang=EN-US style='font-size:10.0pt'> <font color=blue><span style='color:blue'>&lt;</span></font><font color="#990000"><span style='color:#990000'>param</span></font> <font color="#990000"><span style='color:#990000'>name</span></font><font color=blue><span style='color:blue'>=&quot;</span></font><b><span style='font-weight:bold'>realm</span></b><font color=blue><span style='color:blue'>&quot;</span></font><font color="#990000"><span style='color:#990000'> value</span></font><font color=blue><span style='color:blue'>=&quot;</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'>&quot; /&gt;</span></font> </span></font><span lang=EN-US><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><b><font size=2 color=red face="Courier New"><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New";color:red;font-weight:bold'>&nbsp;</span></font></b><font size=2><span lang=EN-US style='font-size:10.0pt'> <font color=blue><span style='color:blue'>&lt;</span></font><font color="#990000"><span style='color:#990000'>param</span></font> <font color="#990000"><span style='color:#990000'>name</span></font><font color=blue><span style='color:blue'>=&quot;</span></font><b><span style='font-weight:bold'>password</span></b><font color=blue><span style='color:blue'>&quot;</span></font><font color="#990000"><span style='color:#990000'> value</span></font><font color=blue><span style='color:blue'>=&quot;</span></font><b><span style='font-weight:bold'>C9J6U0LO</span></b><font color=blue><span style='color:blue'>&quot; /&gt;</span></font> </span></font><span lang=EN-US><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><b><font size=2 color=red face="Courier New"><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New";color:red;font-weight:bold'>&nbsp;</span></font></b><font size=2><span lang=EN-US style='font-size:10.0pt'> <font color=blue><span style='color:blue'>&lt;/</span></font><font color="#990000"><span style='color:#990000'>gateway</span></font><font color=blue><span style='color:blue'>&gt;</span></font></span></font><span lang=EN-US><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><b><font size=2 color=red face="Courier New"><span lang=EN-US style='font-size:10.0pt;font-family:"Courier New";color:red;font-weight:bold'>&nbsp;</span></font></b><font size=2><span lang=EN-US style='font-size:10.0pt'> <font color=blue><span style='color:blue'>&lt;/</span></font><font color="#990000"><span style='color:#990000'>include</span></font><font color=blue><span style='color:blue'>&gt;</span></font></span></font><span lang=EN-US><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font size=2 color="#1f497d" face="Times New Roman"><span lang=EN-US style='font-size:11.0pt;color:#1F497D'>&nbsp;</span></font><span lang=EN-US><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font size=2 color="#1f497d" face="Times New Roman"><span lang=EN-US style='font-size:11.0pt;color:#1F497D'>I&#8217;ve made a few changes for security reasons, but it should give you the idea !</span></font><span lang=EN-US><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font size=2 color="#1f497d" face="Times New Roman"><span lang=EN-US style='font-size:11.0pt;color:#1F497D'>&nbsp;</span></font><span lang=EN-US><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font size=2 color="#1f497d" face="Times New Roman"><span lang=EN-US style='font-size:11.0pt;color:#1F497D'>If you type &gt;sofia status</span></font><span lang=EN-US><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font size=2 color="#1f497d" face="Times New Roman"><span lang=EN-US style='font-size:11.0pt;color:#1F497D'>&nbsp;</span></font><span lang=EN-US><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font size=2 color="#1f497d" face="Times New Roman"><span lang=EN-US style='font-size:11.0pt;color:#1F497D'>Then you should see REGED to show that you have registered.</span></font><span lang=EN-US><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font size=2 color="#1f497d" face="Times New Roman"><span lang=EN-US style='font-size:11.0pt;color:#1F497D'>&nbsp;</span></font><span lang=EN-US><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font size=2 color="#1f497d" face="Times New Roman"><span lang=EN-US style='font-size:11.0pt;color:#1F497D'>Any luck?</span></font><span lang=EN-US><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font size=2 color="#1f497d" face="Times New Roman"><span lang=EN-US style='font-size:11.0pt;color:#1F497D'>&nbsp;</span></font><span lang=EN-US><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font size=2 color="#1f497d" face="Times New Roman"><span lang=EN-US style='font-size:11.0pt;color:#1F497D'>Garry.</span></font><span lang=EN-US><o:p></o:p></span></p><div style='border:none;border-top:solid windowtext 1.0pt;padding:3.0pt 0cm 0cm 0cm;border-color:-moz-use-text-color -moz-use-text-color'><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><b><font size=2 face="Times New Roman"><span lang=EN-US style='font-size:10.0pt;font-weight:bold'>From:</span></font></b><font size=2><span lang=EN-US style='font-size:10.0pt'> 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><o:p></o:p></span></p></div><div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font size=3 face="Times New Roman"><span lang=EN-US style='font-size:12.0pt'>&nbsp;<o:p></o:p></span></font></p><p class=MsoNormal style='mso-margin-top-alt:auto;margin-bottom:12.0pt'><font size=3 face="Times New Roman"><span lang=EN-US style='font-size:12.0pt'>Ah Ha, what is your gateway settings (roughly)?<o:p></o:p></span></font></p><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font size=3 face="Times New Roman"><span lang=EN-US style='font-size:12.0pt'>On 3 March 2011 17:51, Garry Matthews &lt;<a href="mailto:garry.matthews@ethermagic.co.uk" target="_blank">garry.matthews@ethermagic.co.uk</a>&gt; wrote:<o:p></o:p></span></font></p><div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font size=2 color="#1f497d" face="Times New Roman"><span lang=EN-US style='font-size:11.0pt;color:#1F497D'>I&#8217;m not sure if this helps &#8211; I just started with Freeswicth and Soho 66 today. I&#8217;m a total beginner and have been working from the book.</span></font><span lang=EN-US><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font size=2 color="#1f497d" face="Times New Roman"><span lang=EN-US style='font-size:11.0pt;color:#1F497D'>However, I can get calls out using the following file -</span></font><span lang=EN-US><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font size=2 color="#1f497d" face="Times New Roman"><span lang=EN-US style='font-size:11.0pt;color:#1F497D'>&nbsp;</span></font><span lang=EN-US><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font size=2 color="#1f497d" face="Times New Roman"><span lang=EN-US style='font-size:11.0pt;color:#1F497D'>conf/dialplan/default/01_custom.xml</span></font><span lang=EN-US><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font size=2 color="#1f497d" face="Times New Roman"><span lang=EN-US style='font-size:11.0pt;color:#1F497D'>&nbsp;</span></font><span lang=EN-US><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font size=2 color="#1f497d" face="Times New Roman"><span lang=EN-US style='font-size:11.0pt;color:#1F497D'>&lt;include&gt;</span></font><span lang=EN-US><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font size=2 color="#1f497d" face="Times New Roman"><span lang=EN-US style='font-size:11.0pt;color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;extension name=&quot;Dial Out Custom Gateway&quot;&gt;</span></font><span lang=EN-US><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font size=2 color="#1f497d" face="Times New Roman"><span lang=EN-US style='font-size:11.0pt;color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;condition field=&quot;destination_number&quot; </span></font><span lang=EN-US><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font size=2 color="#1f497d" face="Times New Roman"><span lang=EN-US style='font-size:11.0pt;color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; expression=&quot;^9(0\d{10})$&quot;&gt;</span></font><span lang=EN-US><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font size=2 color="#1f497d" face="Times New Roman"><span lang=EN-US style='font-size:11.0pt;color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application=&quot;bridge&quot;</span></font><span lang=EN-US><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font size=2 color="#1f497d" face="Times New Roman"><span lang=EN-US style='font-size:11.0pt;color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; data=&quot;sofia/gateway/soho66/$1&quot;/&gt;</span></font><span lang=EN-US><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font size=2 color="#1f497d" face="Times New Roman"><span lang=EN-US style='font-size:11.0pt;color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/condition&gt;</span></font><span lang=EN-US><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font size=2 color="#1f497d" face="Times New Roman"><span lang=EN-US style='font-size:11.0pt;color:#1F497D'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/extension&gt;</span></font><span lang=EN-US><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font size=2 color="#1f497d" face="Times New Roman"><span lang=EN-US style='font-size:11.0pt;color:#1F497D'>&lt;/include&gt;</span></font><span lang=EN-US><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font size=2 color="#1f497d" face="Times New Roman"><span lang=EN-US style='font-size:11.0pt;color:#1F497D'>&nbsp;</span></font><span lang=EN-US><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font size=2 color="#1f497d" face="Times New Roman"><span lang=EN-US style='font-size:11.0pt;color:#1F497D'>You then need to -</span></font><span lang=EN-US><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font size=2 color="#1f497d" face="Times New Roman"><span lang=EN-US style='font-size:11.0pt;color:#1F497D'>&nbsp;</span></font><span lang=EN-US><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font size=2 color="#1f497d" face="Times New Roman"><span lang=EN-US style='font-size:11.0pt;color:#1F497D'>reloadxml</span></font><span lang=EN-US><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font size=2 color="#1f497d" face="Times New Roman"><span lang=EN-US style='font-size:11.0pt;color:#1F497D'>&nbsp;</span></font><span lang=EN-US><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font size=2 color="#1f497d" face="Times New Roman"><span lang=EN-US style='font-size:11.0pt;color:#1F497D'>This may give you something to compare with.</span></font><span lang=EN-US><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font size=2 color="#1f497d" face="Times New Roman"><span lang=EN-US style='font-size:11.0pt;color:#1F497D'>&nbsp;</span></font><span lang=EN-US><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font size=2 color="#1f497d" face="Times New Roman"><span lang=EN-US style='font-size:11.0pt;color:#1F497D'>I hope this helps.</span></font><span lang=EN-US><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font size=2 color="#1f497d" face="Times New Roman"><span lang=EN-US style='font-size:11.0pt;color:#1F497D'>&nbsp;</span></font><span lang=EN-US><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font size=2 color="#1f497d" face="Times New Roman"><span lang=EN-US style='font-size:11.0pt;color:#1F497D'>Garry.</span></font><span lang=EN-US><o:p></o:p></span></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font size=2 color="#1f497d" face="Times New Roman"><span lang=EN-US style='font-size:11.0pt;color:#1F497D'>&nbsp;</span></font><span lang=EN-US><o:p></o:p></span></p><div style='border:none;border-top:solid windowtext 1.0pt;padding:3.0pt 0cm 0cm 0cm;border-color:-moz-use-text-color'><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><b><font size=2 face="Times New Roman"><span lang=EN-US style='font-size:10.0pt;font-weight:bold'>From:</span></font></b><font size=2><span lang=EN-US style='font-size:10.0pt'> 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><o:p></o:p></span></p></div><div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font size=3 face="Times New Roman"><span lang=EN-US style='font-size:12.0pt'>&nbsp;<o:p></o:p></span></font></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font size=3 face="Times New Roman"><span lang=EN-US style='font-size:12.0pt'>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>&nbsp;&nbsp; &lt;condition field=&quot;destination_number&quot; expression=&quot;^9?([2-9]{6})$&quot;&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application=&quot;set&quot; data=&quot;effective_caller_id_name=12345678&quot;/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application=&quot;set&quot; data=&quot;effective_caller_id_number=12345678&quot;/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp; &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>&nbsp;&nbsp; &lt;/condition&gt;<br>&lt;/extension&gt;<br><br>&lt;extension name=&quot;Regional 01&quot;&gt;<br>&nbsp; &lt;condition field=&quot;destination_number&quot; expression=&quot;^9?(01\d{9})$&quot;&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application=&quot;set&quot; data=&quot;effective_caller_id_name=12345678&quot;/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application=&quot;set&quot; data=&quot;effective_caller_id_number=12345678&quot;/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp; &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>&nbsp; &lt;/condition&gt;<br>&lt;/extension&gt;<br><br>&lt;extension name=&quot;Regional 02&quot;&gt;<br>&nbsp; &lt;condition field=&quot;destination_number&quot; expression=&quot;^9?(02\d{9})$$&quot;&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application=&quot;set&quot; data=&quot;effective_caller_id_name=12345678&quot;/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application=&quot;set&quot; data=&quot;effective_caller_id_number=123456781&quot;/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp; &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>&nbsp; &lt;/condition&gt;<br>&lt;/extension&gt;<br><br>&lt;extension name=&quot;Mobile&quot;&gt;<br>&nbsp; &lt;condition field=&quot;destination_number&quot; expression=&quot;^9?(07\d{9})$&quot;&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application=&quot;set&quot; data=&quot;effective_caller_id_name=12345678&quot;/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application=&quot;set&quot; data=&quot;effective_caller_id_number=12345678&quot;/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp; &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>&nbsp; &lt;/condition&gt;<br>&lt;/extension&gt;<br><br>&lt;extension name=&quot;International&quot;&gt;<br>&nbsp; &lt;condition field=&quot;destination_number&quot; expression=&quot;^9?(00\d*))$&quot;&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application=&quot;set&quot; data=&quot;effective_caller_id_name=12345678&quot;/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application=&quot;set&quot; data=&quot;effective_caller_id_number=12345678&quot;/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp; &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>&nbsp; &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>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;gateway name=&quot;<a href="http://sip.soho66.co.uk" target="_blank">sip.soho66.co.uk</a>&quot;&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;param name=&quot;username&quot; value=&quot;12345678&quot;/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;param name=&quot;from-user&quot; value=&quot;12345678&quot;/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;param name=&quot;password&quot; value=&quot;ABCDEFGH&quot;/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;param name=&quot;expire-seconds&quot; value=&quot;600&quot;/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;param name=&quot;register&quot; value=&quot;true&quot;/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;param name=&quot;retry-seconds&quot; value=&quot;30&quot;/&gt;<br>&nbsp;&nbsp;&nbsp; &lt;/gateway&gt;<br>&lt;/include&gt;<br>------------- eof conf/sip_profiles/external/companya_soho66.xml -----------------------<o:p></o:p></span></font></p></div></div></div></div></div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><font size=3 face="Times New Roman"><span lang=EN-US style='font-size:12.0pt'>&nbsp;<o:p></o:p></span></font></p></div></div></div></div></div><p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:12.0pt'><o:p>&nbsp;</o:p></span></font></p></div></div></div><p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:12.0pt'><o:p>&nbsp;</o:p></span></font></p></div></div></body></html>