<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'><div dir='ltr'>
<font size="3" face="Times New Roman">
</font><p style="margin: 0in 0in 0pt;" class="MsoPlainText"><font size="3" face="Consolas">I have configured a new gateway for outbound calls from
FS as</font></p><font size="3" face="Times New Roman">
</font><p style="margin: 0in 0in 0pt;" class="MsoPlainText"><?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p><font size="3" face="Consolas"> </font></o:p></p><font size="3" face="Times New Roman">
</font><p style="margin: 0in 0in 0pt;" class="MsoPlainText"><font face="Consolas"><font size="3"><span style="mso-spacerun: yes;"> </span><list
name="custom_carrier" default="deny"></font></font></p><font size="3" face="Times New Roman">
</font><p style="margin: 0in 0in 0pt;" class="MsoPlainText"><font face="Consolas"><font size="3"><span style="mso-spacerun: yes;"> </span><node
type="allow" cidr=xxx.xxx.xxx.xxx/32"/> </font></font></p><font size="3" face="Times New Roman">
</font><p style="margin: 0in 0in 0pt;" class="MsoPlainText"><font face="Consolas"><font size="3"><span style="mso-spacerun: yes;"> </span></list></font></font></p><font size="3" face="Times New Roman">
</font><p style="margin: 0in 0in 0pt;" class="MsoPlainText"><font size="3" face="Consolas">In acl.conf.xml</font></p><font size="3" face="Times New Roman">
</font><p style="margin: 0in 0in 0pt;" class="MsoPlainText"><o:p><font size="3" face="Consolas"> </font></o:p></p><font size="3" face="Times New Roman">
</font><p style="margin: 0in 0in 0pt;" class="MsoPlainText"><font size="3" face="Consolas">Created dialplan\default\01_custom_carrier.xml file as
<include></font></p><font size="3" face="Times New Roman">
</font><p style="margin: 0in 0in 0pt;" class="MsoPlainText"><font size="3" face="Consolas"><!-- Dial any 10 digit number 1(2223334444) here
--></font></p><font size="3" face="Times New Roman">
</font><p style="margin: 0in 0in 0pt;" class="MsoPlainText"><font face="Consolas"><font size="3"><span style="mso-tab-count: 1;"> </span><extension
name="Dial Out Custom Gateway"></font></font></p><font size="3" face="Times New Roman">
</font><p style="margin: 0in 0in 0pt;" class="MsoPlainText"><font face="Consolas"><font size="3"><span style="mso-tab-count: 2;"> </span><condition
field="destination_number" expression="^9(1\d{10})$"></font></font></p><font size="3" face="Times New Roman">
</font><p style="margin: 0in 0in 0pt;" class="MsoPlainText"><font face="Consolas"><font size="3"><span style="mso-tab-count: 3;"> </span><action
application="bridge"
data="sofia/gateway/custom_carrier/$1"/></font></font></p><font size="3" face="Times New Roman">
</font><p style="margin: 0in 0in 0pt;" class="MsoPlainText"><font face="Consolas"><font size="3"><span style="mso-tab-count: 2;"> </span></condition></font></font></p><font size="3" face="Times New Roman">
</font><p style="margin: 0in 0in 0pt;" class="MsoPlainText"><font face="Consolas"><font size="3"><span style="mso-tab-count: 1;"> </span></extension></font></font></p><font size="3" face="Times New Roman">
</font><p style="margin: 0in 0in 0pt;" class="MsoPlainText"><font size="3" face="Consolas"></include></font></p><font size="3" face="Times New Roman">
</font><p style="margin: 0in 0in 0pt;" class="MsoPlainText"><o:p><font size="3" face="Consolas"> </font></o:p></p><font size="3" face="Times New Roman">
</font><p style="margin: 0in 0in 0pt;" class="MsoPlainText"><font size="3" face="Consolas">Created sip_profiles\external\custom_carrier.xml</font></p><font size="3" face="Times New Roman">
</font><p style="margin: 0in 0in 0pt;" class="MsoPlainText"><font size="3" face="Consolas"><include></font></p><font size="3" face="Times New Roman">
</font><p style="margin: 0in 0in 0pt;" class="MsoPlainText"><font face="Consolas"><font size="3"><span style="mso-tab-count: 1;"> </span><gateway
name="custom_carrier"></font></font></p><font size="3" face="Times New Roman">
</font><p style="margin: 0in 0in 0pt;" class="MsoPlainText"><font face="Consolas"><font size="3"><span style="mso-tab-count: 2;"> </span><param
name="username" value="anything"/></font></font></p><font size="3" face="Times New Roman">
</font><p style="margin: 0in 0in 0pt;" class="MsoPlainText"><font face="Consolas"><font size="3"><span style="mso-tab-count: 2;"> </span><param
name="password" value="anything"/></font></font></p><font size="3" face="Times New Roman">
</font><p style="margin: 0in 0in 0pt;" class="MsoPlainText"><font face="Consolas"><font size="3"><span style="mso-tab-count: 2;"> </span><param
name="auth-calls" value="false"/></font></font></p><font size="3" face="Times New Roman">
</font><p style="margin: 0in 0in 0pt;" class="MsoPlainText"><font face="Consolas"><font size="3"><span style="mso-tab-count: 2;"> </span><param
name="apply-outbound-acl" value="custom_carrier"/></font></font></p><font size="3" face="Times New Roman">
</font><p style="margin: 0in 0in 0pt;" class="MsoPlainText"><font size="3"><font face="Consolas"><span style="mso-tab-count: 2;"> </span><param
name="apply-inbound-acl" value="custom_carrier"/><span style="mso-tab-count: 2;"> </span></font></font></p><font size="3" face="Times New Roman">
</font><p style="margin: 0in 0in 0pt;" class="MsoPlainText"><font face="Consolas"><font size="3"><span style="mso-tab-count: 2;"> </span><param
name="register" value="false"/></font></font></p><font size="3" face="Times New Roman">
</font><p style="margin: 0in 0in 0pt;" class="MsoPlainText"><font face="Consolas"><font size="3"><span style="mso-tab-count: 1;"> </span></gateway></font></font></p><font size="3" face="Times New Roman">
</font><p style="margin: 0in 0in 0pt;" class="MsoPlainText"><font size="3" face="Consolas"></include></font></p><font size="3" face="Times New Roman">
</font><p style="margin: 0in 0in 0pt;" class="MsoPlainText"><o:p><font size="3" face="Consolas"> </font></o:p></p><font size="3" face="Times New Roman">
</font><p style="margin: 0in 0in 0pt;" class="MsoPlainText"><font size="3" face="Consolas">When I make an outbound call from registered extension
(1001) xlite I get the following error. (I also tried using SJ phone)</font></p><font size="3" face="Times New Roman">
</font><p style="margin: 0in 0in 0pt;" class="MsoPlainText"><o:p><font size="3" face="Consolas"> </font></o:p></p><font size="3" face="Times New Roman">
</font><p style="margin: 0in 0in 0pt;" class="MsoPlainText"><font size="3" face="Consolas">2011-07-28 10:10:24.388677 [DEBUG] sofia.c:4200 Channel
sofia/external/14152484142 entering state [terminated][503]</font></p><font size="3" face="Times New Roman">
</font><p style="margin: 0in 0in 0pt;" class="MsoPlainText"><font size="3" face="Consolas">2011-07-28 10:10:24.388677 [NOTICE] sofia.c:4836 Hangup
sofia/external/14152484142 [CS_CONSUME_MEDIA] [NORMAL_TEMPORARY_FAILURE]</font></p><font size="3" face="Times New Roman">
</font><p style="margin: 0in 0in 0pt;" class="MsoPlainText"><font size="3" face="Consolas">2011-07-28 10:10:24.388677 [DEBUG] switch_channel.c:2145
Send signal sofia/external/14152484142 [KILL]</font></p><font size="3" face="Times New Roman">
</font><p style="margin: 0in 0in 0pt;" class="MsoPlainText"><font size="3" face="Consolas">2011-07-28 10:10:24.388677 [DEBUG]
switch_core_session.c:1022 Send signal sofia/external/14152484142 [BREAK]</font></p><font size="3" face="Times New Roman">
</font><p style="margin: 0in 0in 0pt;" class="MsoPlainText"><font size="3" face="Consolas">2011-07-28 10:10:24.388677 [DEBUG]
switch_core_state_machine.c:314 (sofia/external/14152484142) Running State
Change CS_HANGUP</font></p><font size="3" face="Times New Roman">
</font><p style="margin: 0in 0in 0pt;" class="MsoPlainText"><font size="3" face="Consolas">2011-07-28 10:10:24.388677 [DEBUG]
switch_core_state_machine.c:498 (sofia/external/14152484142) State HANGUP</font></p><font size="3" face="Times New Roman">
</font><p style="margin: 0in 0in 0pt;" class="MsoPlainText"><font size="3" face="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</font></p><font size="3" face="Times New Roman">
</font><p style="margin: 0in 0in 0pt;" class="MsoPlainText"><o:p><font size="3" face="Consolas"> </font></o:p></p><font size="3" face="Times New Roman">
</font><p style="margin: 0in 0in 0pt;" class="MsoPlainText"><font size="3" face="Consolas">I have attached the complete log too.</font></p><font size="3" face="Times New Roman">
</font><p style="margin: 0in 0in 0pt;" class="MsoPlainText"><o:p><font size="3" face="Consolas"> </font></o:p></p><font size="3" face="Times New Roman">
</font><p style="margin: 0in 0in 0pt;" class="MsoPlainText"><font size="3" face="Consolas">Iam a new FC users. I have referred to the following
thread </font><a href="http://lists.freeswitch.org/pipermail/freeswitch-users/2011-March/070294.html"><font color="#0000ff" size="3" face="Consolas">http://lists.freeswitch.org/pipermail/freeswitch-users/2011-March/070294.html</font></a></p><font size="3" face="Times New Roman">
</font><p style="margin: 0in 0in 0pt;" class="MsoPlainText"><o:p><font size="3" face="Consolas"> </font></o:p></p><font size="3" face="Times New Roman">
</font><p style="margin: 0in 0in 0pt;" class="MsoPlainText"><font size="3" face="Consolas">and also read the section "Connecting to the world
with gateways" in FreeSwitch book several times.</font></p><font size="3" face="Times New Roman">
</font><p style="margin: 0in 0in 0pt;" class="MsoPlainText"><o:p><font size="3" face="Consolas"> </font></o:p></p><font size="3" face="Times New Roman">
</font><p style="margin: 0in 0in 0pt;" class="MsoPlainText"><font size="3" face="Consolas">Any help would be appreciated.</font></p><font size="3" face="Times New Roman">
</font><p style="margin: 0in 0in 0pt;" class="MsoPlainText"><o:p><font size="3" face="Consolas"> </font></o:p></p><font size="3" face="Times New Roman">
</font><p style="margin: 0in 0in 0pt;" class="MsoPlainText"><font size="3" face="Consolas">Note: Iam able to make outbond calls from softphone
through the trunk without FS.</font></p><font size="3" face="Times New Roman">
</font><p style="margin: 0in 0in 0pt;" class="MsoPlainText"><o:p><font size="3" face="Consolas"> </font></o:p></p><font size="3" face="Times New Roman">
</font><p style="margin: 0in 0in 0pt;" class="MsoPlainText"><font size="3" face="Consolas">Srini</font></p><font size="3" face="Times New Roman">
</font>                                            </div></body>
</html>