Might want to doublecheck the format your carrier accepts for outgoing calls.<div><br></div><div>Also, attatch a full siptrace with your debug log, that helps a lot.<br><br>freeswitch&gt; sofia profile external siptrace on<br>
<br><div class="gmail_quote">On Thu, Jul 28, 2011 at 5:58 PM, Dmitry Saratsky <span dir="ltr">&lt;<a href="mailto:freeswitch@simpot.com">freeswitch@simpot.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Did you restarted FS after that change? Or you only have reloaded xmls???<br>
<div class="im"><br>
-----Original Message-----<br>
From: <a href="mailto:freeswitch-users-bounces@lists.freeswitch.org">freeswitch-users-bounces@lists.freeswitch.org</a><br>
[mailto:<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org">freeswitch-users-bounces@lists.freeswitch.org</a>] On Behalf Of<br>
Srinivasan Krishnamurthy<br>
</div>Sent: 29 Jul 2011 00:55<br>
<div><div></div><div class="h5">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" value="+14152484142">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">freeswitch-users-bounces@lists.freeswitch.org</a><br>
[mailto:<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org">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>
   &lt;list name=&quot;custom_carrier&quot; default=&quot;deny&quot;&gt;<br>
     &lt;node type=&quot;allow&quot; cidr=xxx.xxx.xxx.xxx/32&quot;/&gt;<br>
   &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>
        &lt;extension name=&quot;Dial Out Custom Gateway&quot;&gt;<br>
                &lt;condition field=&quot;destination_number&quot;<br>
expression=&quot;^9(1\d{10})$&quot;&gt;<br>
                        &lt;action application=&quot;bridge&quot;<br>
data=&quot;sofia/gateway/xxx.xxx.xxx.xxx/$1&quot;/&gt;<br>
                &lt;/condition&gt;<br>
        &lt;/extension&gt;<br>
&lt;/include&gt;<br>
<br>
Created sip_profiles\external\custom_carrier.xml<br>
&lt;include&gt;<br>
        &lt;gateway name=&quot;xxx.xxx.xxx.xxx&quot;&gt;<br>
                &lt;param name=&quot;username&quot; value=&quot;anything&quot;/&gt;<br>
                &lt;param name=&quot;password&quot; value=&quot;anything&quot;/&gt;<br>
                &lt;param name=&quot;auth-calls&quot; value=&quot;false&quot;/&gt;<br>
                &lt;param name=&quot;apply-outbound-acl&quot; value=&quot;custom_carrier&quot;/&gt;<br>
                &lt;param name=&quot;apply-inbound-acl&quot; value=&quot;custom_carrier&quot;/&gt;<br>
<br>
                &lt;param name=&quot;register&quot; value=&quot;false&quot;/&gt;<br>
        &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">freeswitch-users-bounces@lists.freeswitch.org</a><br>
[mailto:<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org">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>
   &lt;list name=&quot;custom_carrier&quot; default=&quot;deny&quot;&gt;<br>
     &lt;node type=&quot;allow&quot; cidr=xxx.xxx.xxx.xxx/32&quot;/&gt;<br>
   &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>
        &lt;extension name=&quot;Dial Out Custom Gateway&quot;&gt;<br>
                &lt;condition field=&quot;destination_number&quot;<br>
expression=&quot;^9(1\d{10})$&quot;&gt;<br>
                        &lt;action application=&quot;bridge&quot;<br>
data=&quot;sofia/gateway/custom_carrier/$1&quot;/&gt;<br>
                &lt;/condition&gt;<br>
        &lt;/extension&gt;<br>
&lt;/include&gt;<br>
<br>
Created sip_profiles\external\custom_carrier.xml<br>
&lt;include&gt;<br>
        &lt;gateway name=&quot;custom_carrier&quot;&gt;<br>
                &lt;param name=&quot;username&quot; value=&quot;anything&quot;/&gt;<br>
                &lt;param name=&quot;password&quot; value=&quot;anything&quot;/&gt;<br>
                &lt;param name=&quot;auth-calls&quot; value=&quot;false&quot;/&gt;<br>
                &lt;param name=&quot;apply-outbound-acl&quot; value=&quot;custom_carrier&quot;/&gt;<br>
                &lt;param name=&quot;apply-inbound-acl&quot; value=&quot;custom_carrier&quot;/&gt;<br>
<br>
                &lt;param name=&quot;register&quot; value=&quot;false&quot;/&gt;<br>
        &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" value="+14152484142">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" value="+14152484142">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" value="+14152484142">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" value="+14152484142">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" value="+14152484142">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" value="+14152484142">14152484142</a>) State HANGUP<br>
2011-07-28 10:10:24.388677 [DEBUG] mod_sofia.c:435<br>
sofia/external/<a href="tel:14152484142" value="+14152484142">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">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">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">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>
</div></div></blockquote></div><br></div>