<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=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;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 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.EmailStyle18
        {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'>Logs are attached <a href="http://pastebin.freeswitch.org/16910">http://pastebin.freeswitch.org/16910</a><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>I don&#8217;t see FS sending INVITE out to gateway.<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><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> Thursday, July 28, 2011 12:31 PM<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><div><p class=MsoNormal>I recommend two things:<o:p></o:p></p></div><div><p class=MsoNormal>#1 turn on siptrace at fs_cli: sofia global siptrace on<o:p></o:p></p></div><div><p class=MsoNormal>#2 put the log into <a href="http://pastebin.freeswitch.org">pastebin.freeswitch.org</a> and use &quot;FreeSWITCH Log&quot; as the syntax highlighting<o:p></o:p></p></div><div><p class=MsoNormal>Put the pastebin link in this email thread.<o:p></o:p></p></div><div><p class=MsoNormal><o:p>&nbsp;</o:p></p></div><div><p class=MsoNormal>It looks to me like you may just not be supplying the correct credentials to the carrier, but you won't know unless you look at the sip trace to see what, exactly, is happening.<o:p></o:p></p></div><div><p class=MsoNormal><o:p>&nbsp;</o:p></p></div><div><p class=MsoNormal>-MC&nbsp;<o:p></o:p></p></div><div><p class=MsoNormal><o:p>&nbsp;</o:p></p><div><p class=MsoNormal>On Thu, Jul 28, 2011 at 11:10 AM, Srinivasan Krishnamurthy &lt;<a href="mailto:aksrini@hotmail.com">aksrini@hotmail.com</a>&gt; wrote:<o:p></o:p></p><div><div><p style='margin:0in;margin-bottom:.0001pt'><span style='font-family:Consolas'>I have configured a new gateway for outbound calls from FS as</span><o:p></o:p></p><p style='margin:0in;margin-bottom:.0001pt'><span style='font-family:Consolas'>&nbsp;</span><o:p></o:p></p><p style='margin:0in;margin-bottom:.0001pt'><span style='font-family:Consolas'>&nbsp;&nbsp; &lt;list name=&quot;custom_carrier&quot; default=&quot;deny&quot;&gt;</span><o:p></o:p></p><p style='margin:0in;margin-bottom:.0001pt'><span style='font-family:Consolas'>&nbsp;&nbsp;&nbsp;&nbsp; &lt;node type=&quot;allow&quot; cidr=xxx.xxx.xxx.xxx/32&quot;/&gt; </span><o:p></o:p></p><p style='margin:0in;margin-bottom:.0001pt'><span style='font-family:Consolas'>&nbsp;&nbsp; &lt;/list&gt;</span><o:p></o:p></p><p style='margin:0in;margin-bottom:.0001pt'><span style='font-family:Consolas'>In acl.conf.xml</span><o:p></o:p></p><p style='margin:0in;margin-bottom:.0001pt'><span style='font-family:Consolas'>&nbsp;</span><o:p></o:p></p><p style='margin:0in;margin-bottom:.0001pt'><span style='font-family:Consolas'>Created dialplan\default\01_custom_carrier.xml file as &lt;include&gt;</span><o:p></o:p></p><p style='margin:0in;margin-bottom:.0001pt'><span style='font-family:Consolas'>&lt;!-- Dial any 10 digit number 1(2223334444) here --&gt;</span><o:p></o:p></p><p style='margin:0in;margin-bottom:.0001pt'><span style='font-family:Consolas'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;extension name=&quot;Dial Out Custom Gateway&quot;&gt;</span><o:p></o:p></p><p style='margin:0in;margin-bottom:.0001pt'><span style='font-family:Consolas'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;condition field=&quot;destination_number&quot; expression=&quot;^9(1\d{10})$&quot;&gt;</span><o:p></o:p></p><p style='margin:0in;margin-bottom:.0001pt'><span style='font-family:Consolas'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;action application=&quot;bridge&quot; data=&quot;sofia/gateway/custom_carrier/$1&quot;/&gt;</span><o:p></o:p></p><p style='margin:0in;margin-bottom:.0001pt'><span style='font-family:Consolas'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/condition&gt;</span><o:p></o:p></p><p style='margin:0in;margin-bottom:.0001pt'><span style='font-family:Consolas'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/extension&gt;</span><o:p></o:p></p><p style='margin:0in;margin-bottom:.0001pt'><span style='font-family:Consolas'>&lt;/include&gt;</span><o:p></o:p></p><p style='margin:0in;margin-bottom:.0001pt'><span style='font-family:Consolas'>&nbsp;</span><o:p></o:p></p><p style='margin:0in;margin-bottom:.0001pt'><span style='font-family:Consolas'>Created sip_profiles\external\custom_carrier.xml</span><o:p></o:p></p><p style='margin:0in;margin-bottom:.0001pt'><span style='font-family:Consolas'>&lt;include&gt;</span><o:p></o:p></p><p style='margin:0in;margin-bottom:.0001pt'><span style='font-family:Consolas'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;gateway name=&quot;custom_carrier&quot;&gt;</span><o:p></o:p></p><p style='margin:0in;margin-bottom:.0001pt'><span style='font-family:Consolas'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;param name=&quot;username&quot; value=&quot;anything&quot;/&gt;</span><o:p></o:p></p><p style='margin:0in;margin-bottom:.0001pt'><span style='font-family:Consolas'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;param name=&quot;password&quot; value=&quot;anything&quot;/&gt;</span><o:p></o:p></p><p style='margin:0in;margin-bottom:.0001pt'><span style='font-family:Consolas'>&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 style='margin:0in;margin-bottom:.0001pt'><span style='font-family:Consolas'>&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 style='margin:0in;margin-bottom:.0001pt'><span style='font-family:Consolas'>&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; </span><o:p></o:p></p><p style='margin:0in;margin-bottom:.0001pt'><span style='font-family:Consolas'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;param name=&quot;register&quot; value=&quot;false&quot;/&gt;</span><o:p></o:p></p><p style='margin:0in;margin-bottom:.0001pt'><span style='font-family:Consolas'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/gateway&gt;</span><o:p></o:p></p><p style='margin:0in;margin-bottom:.0001pt'><span style='font-family:Consolas'>&lt;/include&gt;</span><o:p></o:p></p><p style='margin:0in;margin-bottom:.0001pt'><span style='font-family:Consolas'>&nbsp;</span><o:p></o:p></p><p style='margin:0in;margin-bottom:.0001pt'><span style='font-family:Consolas'>When I make an outbound call from registered extension (1001) xlite I get the following error. (I also tried using SJ phone)</span><o:p></o:p></p><p style='margin:0in;margin-bottom:.0001pt'><span style='font-family:Consolas'>&nbsp;</span><o:p></o:p></p><p style='margin:0in;margin-bottom:.0001pt'><span style='font-family:Consolas'>2011-07-28 10:10:24.388677 [DEBUG] sofia.c:4200 Channel sofia/external/14152484142 entering state [terminated][503]</span><o:p></o:p></p><p style='margin:0in;margin-bottom:.0001pt'><span style='font-family:Consolas'>2011-07-28 10:10:24.388677 [NOTICE] sofia.c:4836 Hangup sofia/external/14152484142 [CS_CONSUME_MEDIA] [NORMAL_TEMPORARY_FAILURE]</span><o:p></o:p></p><p style='margin:0in;margin-bottom:.0001pt'><span style='font-family:Consolas'>2011-07-28 10:10:24.388677 [DEBUG] switch_channel.c:2145 Send signal sofia/external/14152484142 [KILL]</span><o:p></o:p></p><p style='margin:0in;margin-bottom:.0001pt'><span style='font-family:Consolas'>2011-07-28 10:10:24.388677 [DEBUG] switch_core_session.c:1022 Send signal sofia/external/14152484142 [BREAK]</span><o:p></o:p></p><p style='margin:0in;margin-bottom:.0001pt'><span style='font-family:Consolas'>2011-07-28 10:10:24.388677 [DEBUG] switch_core_state_machine.c:314 (sofia/external/14152484142) Running State Change CS_HANGUP</span><o:p></o:p></p><p style='margin:0in;margin-bottom:.0001pt'><span style='font-family:Consolas'>2011-07-28 10:10:24.388677 [DEBUG] switch_core_state_machine.c:498 (sofia/external/14152484142) State HANGUP</span><o:p></o:p></p><p style='margin:0in;margin-bottom:.0001pt'><span style='font-family:Consolas'>2011-07-28 10:10:24.388677 [DEBUG] mod_sofia.c:435 sofia/external/14152484142 Overriding SIP cause 503 with 503 from the other leg</span><o:p></o:p></p><p style='margin:0in;margin-bottom:.0001pt'><span style='font-family:Consolas'>&nbsp;</span><o:p></o:p></p><p style='margin:0in;margin-bottom:.0001pt'><span style='font-family:Consolas'>I have attached the complete log too.</span><o:p></o:p></p><p style='margin:0in;margin-bottom:.0001pt'><span style='font-family:Consolas'>&nbsp;</span><o:p></o:p></p><p style='margin:0in;margin-bottom:.0001pt'><span style='font-family:Consolas'>Iam a new FC users. I have referred to the following thread </span><a href="http://lists.freeswitch.org/pipermail/freeswitch-users/2011-March/070294.html" target="_blank"><span style='font-family:Consolas'>http://lists.freeswitch.org/pipermail/freeswitch-users/2011-March/070294.html</span></a><o:p></o:p></p><p style='margin:0in;margin-bottom:.0001pt'><span style='font-family:Consolas'>&nbsp;</span><o:p></o:p></p><p style='margin:0in;margin-bottom:.0001pt'><span style='font-family:Consolas'>and also read the section &quot;Connecting to the world with gateways&quot; in FreeSwitch book several times.</span><o:p></o:p></p><p style='margin:0in;margin-bottom:.0001pt'><span style='font-family:Consolas'>&nbsp;</span><o:p></o:p></p><p style='margin:0in;margin-bottom:.0001pt'><span style='font-family:Consolas'>Any help would be appreciated.</span><o:p></o:p></p><p style='margin:0in;margin-bottom:.0001pt'><span style='font-family:Consolas'>&nbsp;</span><o:p></o:p></p><p style='margin:0in;margin-bottom:.0001pt'><span style='font-family:Consolas'>Note: Iam able to make outbond calls from softphone through the trunk without FS.</span><o:p></o:p></p><p style='margin:0in;margin-bottom:.0001pt'><span style='font-family:Consolas'>&nbsp;</span><o:p></o:p></p><p style='margin:0in;margin-bottom:.0001pt'><span style='font-family:Consolas'>Srini</span><o:p></o:p></p></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>