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> 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"><<a href="mailto:freeswitch@simpot.com">freeswitch@simpot.com</a>></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 "custom_carrier" under dialplan and<br>
sip_profile to "xxx.xxx.xxx.xxx":<br>
<br>
<br>
<list name="custom_carrier" default="deny"><br>
<node type="allow" cidr=xxx.xxx.xxx.xxx/32"/><br>
</list><br>
In acl.conf.xml<br>
<br>
Created dialplan\default\01_custom_carrier.xml file as <include><br>
<!-- Dial any 10 digit number 1(2223334444) here --><br>
<extension name="Dial Out Custom Gateway"><br>
<condition field="destination_number"<br>
expression="^9(1\d{10})$"><br>
<action application="bridge"<br>
data="sofia/gateway/xxx.xxx.xxx.xxx/$1"/><br>
</condition><br>
</extension><br>
</include><br>
<br>
Created sip_profiles\external\custom_carrier.xml<br>
<include><br>
<gateway name="xxx.xxx.xxx.xxx"><br>
<param name="username" value="anything"/><br>
<param name="password" value="anything"/><br>
<param name="auth-calls" value="false"/><br>
<param name="apply-outbound-acl" value="custom_carrier"/><br>
<param name="apply-inbound-acl" value="custom_carrier"/><br>
<br>
<param name="register" value="false"/><br>
</gateway><br>
</include><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>
<list name="custom_carrier" default="deny"><br>
<node type="allow" cidr=xxx.xxx.xxx.xxx/32"/><br>
</list><br>
In acl.conf.xml<br>
<br>
Created dialplan\default\01_custom_carrier.xml file as <include><br>
<!-- Dial any 10 digit number 1(2223334444) here --><br>
<extension name="Dial Out Custom Gateway"><br>
<condition field="destination_number"<br>
expression="^9(1\d{10})$"><br>
<action application="bridge"<br>
data="sofia/gateway/custom_carrier/$1"/><br>
</condition><br>
</extension><br>
</include><br>
<br>
Created sip_profiles\external\custom_carrier.xml<br>
<include><br>
<gateway name="custom_carrier"><br>
<param name="username" value="anything"/><br>
<param name="password" value="anything"/><br>
<param name="auth-calls" value="false"/><br>
<param name="apply-outbound-acl" value="custom_carrier"/><br>
<param name="apply-inbound-acl" value="custom_carrier"/><br>
<br>
<param name="register" value="false"/><br>
</gateway><br>
</include><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 "Connecting to the world with gateways" 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>