<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:x="urn:schemas-microsoft-com:office:excel" xmlns:p="urn:schemas-microsoft-com:office:powerpoint" xmlns:a="urn:schemas-microsoft-com:office:access" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" xmlns:rs="urn:schemas-microsoft-com:rowset" xmlns:z="#RowsetSchema" xmlns:b="urn:schemas-microsoft-com:office:publisher" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" xmlns:c="urn:schemas-microsoft-com:office:component:spreadsheet" xmlns:odc="urn:schemas-microsoft-com:office:odc" xmlns:oa="urn:schemas-microsoft-com:office:activation" xmlns:html="http://www.w3.org/TR/REC-html40" xmlns:q="http://schemas.xmlsoap.org/soap/envelope/" xmlns:rtc="http://microsoft.com/officenet/conferencing" xmlns:D="DAV:" xmlns:Repl="http://schemas.microsoft.com/repl/" xmlns:mt="http://schemas.microsoft.com/sharepoint/soap/meetings/" xmlns:x2="http://schemas.microsoft.com/office/excel/2003/xml" xmlns:ppda="http://www.passport.com/NameSpace.xsd" xmlns:ois="http://schemas.microsoft.com/sharepoint/soap/ois/" xmlns:dir="http://schemas.microsoft.com/sharepoint/soap/directory/" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:dsp="http://schemas.microsoft.com/sharepoint/dsp" xmlns:udc="http://schemas.microsoft.com/data/udc" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:sub="http://schemas.microsoft.com/sharepoint/soap/2002/1/alerts/" xmlns:ec="http://www.w3.org/2001/04/xmlenc#" xmlns:sp="http://schemas.microsoft.com/sharepoint/" xmlns:sps="http://schemas.microsoft.com/sharepoint/soap/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:udcs="http://schemas.microsoft.com/data/udc/soap" xmlns:udcxf="http://schemas.microsoft.com/data/udc/xmlfile" xmlns:udcp2p="http://schemas.microsoft.com/data/udc/parttopart" xmlns:wf="http://schemas.microsoft.com/sharepoint/soap/workflow/" xmlns:dsss="http://schemas.microsoft.com/office/2006/digsig-setup" xmlns:dssi="http://schemas.microsoft.com/office/2006/digsig" xmlns:mdssi="http://schemas.openxmlformats.org/package/2006/digital-signature" xmlns:mver="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns:mrels="http://schemas.openxmlformats.org/package/2006/relationships" xmlns:spwp="http://microsoft.com/sharepoint/webpartpages" xmlns:ex12t="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:ex12m="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:pptsl="http://schemas.microsoft.com/sharepoint/soap/SlideLibrary/" xmlns:spsl="http://microsoft.com/webservices/SharePointPortalServer/PublishedLinksService" xmlns:Z="urn:schemas-microsoft-com:" xmlns:st="&#1;" xmlns="http://www.w3.org/TR/REC-html40"><head><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii"><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:0in;
        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;}
p
        {mso-style-priority:99;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.apple-style-span
        {mso-style-name:apple-style-span;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
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=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Thanks Michael now it works.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] <b>On Behalf Of </b>Michael Collins<br><b>Sent:</b> Friday, July 29, 2011 10:34 AM<br><b>To:</b> FreeSWITCH Users Help<br><b>Subject:</b> Re: [Freeswitch-users] Trunk without authentication configuration<o:p></o:p></span></p></div><p class=MsoNormal><o:p>&nbsp;</o:p></p><p class=MsoNormal>Srini,<o:p></o:p></p><div><p class=MsoNormal><o:p>&nbsp;</o:p></p></div><div><p class=MsoNormal>I think you misunderstood what my suggestion. What you've got in your gateway definition are parameters that belong in the SIP profile. Again, look in conf/sip_profiles/external/example.xml. Don't add any parameters that are not already in that file. A gateway definition should be no more complicated than this:<o:p></o:p></p></div><div><p class=MsoNormal><o:p>&nbsp;</o:p></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span class=apple-style-span><span style='font-size:11.5pt;font-family:"Courier New"'>&lt;include&gt;</span></span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span class=apple-style-span><span style='font-size:11.5pt;font-family:"Courier New"'>&nbsp; &lt;gateway name=&quot;custom_carrier&quot;&gt;</span></span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span class=apple-style-span><span style='font-size:11.5pt;font-family:"Courier New"'>&nbsp; &nbsp; &lt;param name=&quot;username&quot; value=&quot;my_username&quot;/&gt;</span></span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span class=apple-style-span><span style='font-size:11.5pt;font-family:"Courier New"'>&nbsp; &nbsp; &lt;param name=&quot;realm&quot; value=&quot;target_realm&quot;/&gt;</span></span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span class=apple-style-span><span style='font-size:11.5pt;font-family:"Courier New"'>&nbsp; &nbsp; &lt;param name=&quot;password&quot; value=&quot;my_password&quot;/&gt;</span></span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span class=apple-style-span><span style='font-size:11.5pt;font-family:"Courier New"'>&nbsp; &nbsp; &lt;param name=&quot;register&quot; value=&quot;false&quot;/&gt;</span></span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-family:"Courier New"'>&nbsp; &lt;/gateway&gt;</span><o:p></o:p></p></div><div><p class=MsoNormal><span style='font-family:"Courier New"'>&lt;/include&gt;</span><o:p></o:p></p></div><div><p class=MsoNormal><o:p>&nbsp;</o:p></p></div><div><p class=MsoNormal>Also, when doing a sip trace, simply do this:<o:p></o:p></p></div><div><p class=MsoNormal>sofia global siptrace on<o:p></o:p></p></div><div><p class=MsoNormal><o:p>&nbsp;</o:p></p></div><div><p class=MsoNormal>If you do that sofialoglevel stuff you'll end up with way more information than you need.<o:p></o:p></p></div><div><p class=MsoNormal><o:p>&nbsp;</o:p></p></div><div><p class=MsoNormal>-MC<o:p></o:p></p></div><div><p class=MsoNormal><o:p>&nbsp;</o:p></p><div><p class=MsoNormal>On Fri, Jul 29, 2011 at 10:19 AM, Srinivasan Krishnamurthy &lt;<a href="mailto:skrishnamurthy@attinteractive.com">skrishnamurthy@attinteractive.com</a>&gt; wrote:<o:p></o:p></p><div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;color:black'>Now my </span><span style='color:black'>sip_profiles\external\custom_carrier.xml looks like</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;color:black'>&nbsp;</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;color:black'>&lt;include&gt;</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;color:black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;gateway name=&quot;custom_carrier&quot;&gt;</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;color:black'>&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;param name=&quot;auth-calls&quot; value=&quot;false&quot;/&gt;</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;color:black'>&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;param name=&quot;apply-outbound-acl&quot; value=&quot;custom_carrier&quot;/&gt;</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;color:black'>&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;param name=&quot;apply-inbound-acl&quot; value=&quot;custom_carrier&quot;/&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;color:black'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/gateway&gt;</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;color:black'>&lt;/include&gt;</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;color:black'>&nbsp;</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;color:black'>I have restarted FS. &nbsp;Enabled sofia log in debug &#8220;sofia tracelevel 6&#8217; and sip trace is on too.</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;color:black'>Refer to complete log @ <a href="http://pastebin.freeswitch.org/16918" target="_blank"><span style='color:black'>http://pastebin.freeswitch.org/16918</span></a></span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;color:#1F497D'>&nbsp;</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;color:red'>2011-07-29 10:00:31.372738 [ERR] mod_sofia.c:3492 Invalid Gateway</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;color:black'>2011-07-29 10:00:31.372738 [NOTICE] mod_sofia.c:3779 Close Channel N/A [CS_NEW]</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;color:black'>2011-07-29 10:00:31.372738 [DEBUG] switch_core_state_machine.c:428 () Running State Change CS_DESTROY</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;color:black'>2011-07-29 10:00:31.372738 [DEBUG] switch_core_state_machine.c:438 (N/A) State DESTROY</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;color:black'>2011-07-29 10:00:31.372738 [DEBUG] mod_sofia.c:350 N/A SOFIA DESTROY</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;color:black'>2011-07-29 10:00:31.372738 [DEBUG] switch_core_state_machine.c:438 (N/A) State DESTROY going to sleep</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;color:red'>2011-07-29 10:00:31.372738 [ERR] switch_ivr_originate.c:2493 Cannot create outgoing channel of type [sofia] cause: [INVALID_NUMBER_FORMAT]</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;color:#1F497D'>&nbsp;</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;color:#1F497D'>Regards</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;color:#1F497D'>Srini</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:11.0pt;color:#1F497D'>&nbsp;</span><o:p></o:p></p><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><b><span style='font-size:10.0pt'>From:</span></b><span style='font-size:10.0pt'> <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>On Behalf Of </b>Brad Mina<br><b>Sent:</b> Thursday, July 28, 2011 7:33 PM<br><b>To:</b> FreeSWITCH Users Help<br><b>Subject:</b> Re: [Freeswitch-users] Trunk without authentication configuration</span><o:p></o:p></p></div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;<o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Might want to doublecheck the format your carrier accepts for outgoing calls.<o:p></o:p></p><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;<o:p></o:p></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;margin-bottom:12.0pt'>Also, attatch a full siptrace with your debug log, that helps a lot.<br><br>freeswitch&gt; sofia profile external siptrace on<o:p></o:p></p><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>On Thu, Jul 28, 2011 at 5:58 PM, Dmitry Saratsky &lt;<a href="mailto:freeswitch@simpot.com" target="_blank">freeswitch@simpot.com</a>&gt; wrote:<o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Did you restarted FS after that change? Or you only have reloaded xmls???<o:p></o:p></p><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><br>-----Original Message-----<br>From: <a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a><br>[mailto:<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a>] On Behalf Of<br>Srinivasan Krishnamurthy<o:p></o:p></p></div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Sent: 29 Jul 2011 00:55<o:p></o:p></p><div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>To: FreeSWITCH Users Help<br>Subject: Re: [Freeswitch-users] Trunk without authentication configuration<br><br>Thanks for your suggestion. I tried but got Invalid gateway err!!!<br><br>----------------------------------------------------------------------------<br>-<br>EXECUTE sofia/internal/<a href="http://1001@10.10.2.3:5070" target="_blank">1001@10.10.2.3:5070</a><br>bridge(sofia/gateway/xxx.xxx.xxx.xxx/<a href="tel:14152484142" target="_blank">14152484142</a>)<br>2011-07-28 14:48:39.163987 [ERR] mod_sofia.c:3492 Invalid Gateway<br>2011-07-28 14:48:39.163987 [NOTICE] mod_sofia.c:3779 Close Channel N/A<br>[CS_NEW]<br>2011-07-28 14:48:39.163987 [DEBUG] switch_core_state_machine.c:428 ()<br>Running State Change CS_DESTROY<br>2011-07-28 14:48:39.163987 [DEBUG] switch_core_state_machine.c:438 (N/A)<br>State DESTROY<br>2011-07-28 14:48:39.163987 [DEBUG] mod_sofia.c:350 N/A SOFIA DESTROY<br>2011-07-28 14:48:39.163987 [DEBUG] switch_core_state_machine.c:438 (N/A)<br>State DESTROY going to sleep<br>2011-07-28 14:48:39.163987 [ERR] switch_ivr_originate.c:2493 Cannot create<br>outgoing channel of type [sofia] cause: [INVALID_NUMBER_FORMAT]<br>2011-07-28 14:48:39.163987 [DEBUG] switch_ivr_originate.c:3308 Originate<br>Resulted in Error Cause: 28 [INVALID_NUMBER_FORMAT]<br>2011-07-28 14:48:39.163987 [INFO] mod_dptools.c:2356 Originate Failed.<br>Cause: INVALID_NUMBER_FORMAT<br>----------------------------------------------------------------------------<br>---<br>Regards<br>Srini<br><br><br>-----Original Message-----<br>From: <a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a><br>[mailto:<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a>] On Behalf Of Dmitry<br>Saratsky<br>Sent: Thursday, July 28, 2011 2:23 PM<br>To: FreeSWITCH Users Help<br>Subject: Re: [Freeswitch-users] Trunk without authentication configuration<br><br>I think you should try to change &quot;custom_carrier&quot; under dialplan and<br>sip_profile to &quot;xxx.xxx.xxx.xxx&quot;:<br><br><br>&nbsp; &lt;list name=&quot;custom_carrier&quot; default=&quot;deny&quot;&gt;<br>&nbsp; &nbsp; &lt;node type=&quot;allow&quot; cidr=xxx.xxx.xxx.xxx/32&quot;/&gt;<br>&nbsp; &lt;/list&gt;<br>In acl.conf.xml<br><br>Created dialplan\default\01_custom_carrier.xml file as &lt;include&gt;<br>&lt;!-- Dial any 10 digit number 1(2223334444) here --&gt;<br>&nbsp; &nbsp; &nbsp; &nbsp;&lt;extension name=&quot;Dial Out Custom Gateway&quot;&gt;<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;condition field=&quot;destination_number&quot;<br>expression=&quot;^9(1\d{10})$&quot;&gt;<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;action application=&quot;bridge&quot;<br>data=&quot;sofia/gateway/xxx.xxx.xxx.xxx/$1&quot;/&gt;<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;/condition&gt;<br>&nbsp; &nbsp; &nbsp; &nbsp;&lt;/extension&gt;<br>&lt;/include&gt;<br><br>Created sip_profiles\external\custom_carrier.xml<br>&lt;include&gt;<br>&nbsp; &nbsp; &nbsp; &nbsp;&lt;gateway name=&quot;xxx.xxx.xxx.xxx&quot;&gt;<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;param name=&quot;username&quot; value=&quot;anything&quot;/&gt;<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;param name=&quot;password&quot; value=&quot;anything&quot;/&gt;<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;param name=&quot;auth-calls&quot; value=&quot;false&quot;/&gt;<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;param name=&quot;apply-outbound-acl&quot; value=&quot;custom_carrier&quot;/&gt;<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;param name=&quot;apply-inbound-acl&quot; value=&quot;custom_carrier&quot;/&gt;<br><br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;param name=&quot;register&quot; value=&quot;false&quot;/&gt;<br>&nbsp; &nbsp; &nbsp; &nbsp;&lt;/gateway&gt;<br>&lt;/include&gt;<br><br><br>Regards,<br>Dmitry.<br><br>-----Original Message-----<br>From: <a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a><br>[mailto:<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a>] On Behalf Of<br>Srinivasan Krishnamurthy<br>Sent: 28 Jul 2011 20:53<br>To: FreeSWITCH Users Help<br>Subject: [Freeswitch-users] Trunk without authentication configuration<br><br>I have configured a new gateway for outbound calls from FS as<br><br>&nbsp; &lt;list name=&quot;custom_carrier&quot; default=&quot;deny&quot;&gt;<br>&nbsp; &nbsp; &lt;node type=&quot;allow&quot; cidr=xxx.xxx.xxx.xxx/32&quot;/&gt;<br>&nbsp; &lt;/list&gt;<br>In acl.conf.xml<br><br>Created dialplan\default\01_custom_carrier.xml file as &lt;include&gt;<br>&lt;!-- Dial any 10 digit number 1(2223334444) here --&gt;<br>&nbsp; &nbsp; &nbsp; &nbsp;&lt;extension name=&quot;Dial Out Custom Gateway&quot;&gt;<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;condition field=&quot;destination_number&quot;<br>expression=&quot;^9(1\d{10})$&quot;&gt;<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;action application=&quot;bridge&quot;<br>data=&quot;sofia/gateway/custom_carrier/$1&quot;/&gt;<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;/condition&gt;<br>&nbsp; &nbsp; &nbsp; &nbsp;&lt;/extension&gt;<br>&lt;/include&gt;<br><br>Created sip_profiles\external\custom_carrier.xml<br>&lt;include&gt;<br>&nbsp; &nbsp; &nbsp; &nbsp;&lt;gateway name=&quot;custom_carrier&quot;&gt;<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;param name=&quot;username&quot; value=&quot;anything&quot;/&gt;<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;param name=&quot;password&quot; value=&quot;anything&quot;/&gt;<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;param name=&quot;auth-calls&quot; value=&quot;false&quot;/&gt;<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;param name=&quot;apply-outbound-acl&quot; value=&quot;custom_carrier&quot;/&gt;<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;param name=&quot;apply-inbound-acl&quot; value=&quot;custom_carrier&quot;/&gt;<br><br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;param name=&quot;register&quot; value=&quot;false&quot;/&gt;<br>&nbsp; &nbsp; &nbsp; &nbsp;&lt;/gateway&gt;<br>&lt;/include&gt;<br><br>When I make an outbound call from registered extension (1001) xlite I get<br>the following error. (I also tried using SJ phone)<br><br>2011-07-28 10:10:24.388677 [DEBUG] sofia.c:4200 Channel<br>sofia/external/<a href="tel:14152484142" target="_blank">14152484142</a> entering state [terminated][503]<br>2011-07-28 10:10:24.388677 [NOTICE] sofia.c:4836 Hangup<br>sofia/external/<a href="tel:14152484142" target="_blank">14152484142</a> [CS_CONSUME_MEDIA] [NORMAL_TEMPORARY_FAILURE]<br>2011-07-28 10:10:24.388677 [DEBUG] switch_channel.c:2145 Send signal<br>sofia/external/<a href="tel:14152484142" target="_blank">14152484142</a> [KILL]<br>2011-07-28 10:10:24.388677 [DEBUG] switch_core_session.c:1022 Send signal<br>sofia/external/<a href="tel:14152484142" target="_blank">14152484142</a> [BREAK]<br>2011-07-28 10:10:24.388677 [DEBUG] switch_core_state_machine.c:314<br>(sofia/external/<a href="tel:14152484142" target="_blank">14152484142</a>) Running State Change CS_HANGUP<br>2011-07-28 10:10:24.388677 [DEBUG] switch_core_state_machine.c:498<br>(sofia/external/<a href="tel:14152484142" target="_blank">14152484142</a>) State HANGUP<br>2011-07-28 10:10:24.388677 [DEBUG] mod_sofia.c:435<br>sofia/external/<a href="tel:14152484142" target="_blank">14152484142</a> Overriding SIP cause 503 with 503 from the other<br>leg<br><br>I have attached the complete log too.<br><br>Iam a new FC users. I have referred to the following thread<br><a href="http://lists.freeswitch.org/pipermail/freeswitch-users/2011-March/070294.htm" target="_blank">http://lists.freeswitch.org/pipermail/freeswitch-users/2011-March/070294.htm</a><br>l<br><br>and also read the section &quot;Connecting to the world with gateways&quot; in<br>FreeSwitch book several times.<br><br>Any help would be appreciated.<br><br>Note: Iam able to make outbond calls from softphone through the trunk<br>without FS.<br><br>Srini<br><br><br>_______________________________________________<br>Join us at ClueCon 2011, Aug 9-11, Chicago<br><a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a> 877-7-4ACLUE<br><br>FreeSWITCH-users mailing list<br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">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><br>_______________________________________________<br>Join us at ClueCon 2011, Aug 9-11, Chicago<br><a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a> 877-7-4ACLUE<br><br>FreeSWITCH-users mailing list<br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">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><br>_______________________________________________<br>Join us at ClueCon 2011, Aug 9-11, Chicago<br><a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a> 877-7-4ACLUE<br><br>FreeSWITCH-users mailing list<br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">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><o:p></o:p></p></div></div></div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>&nbsp;<o:p></o:p></p></div></div></div><p class=MsoNormal style='margin-bottom:12.0pt'><br>_______________________________________________<br>Join us at ClueCon 2011, Aug 9-11, Chicago<br><a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a> 877-7-4ACLUE<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><o:p></o:p></p></div><p class=MsoNormal><o:p>&nbsp;</o:p></p></div></div></body></html>