[Freeswitch-users] Unable to make outbound calls

Ian McMaster ian.mcmaster at gmail.com
Wed Jan 15 00:31:43 MSK 2014


I have tried two dialplan routes:

1)  Freeswitch cookbook suggests putting in conf/dialplan/default.xml

    <extension name="dial-10-digit-number no prefix">
      <condition field="destination_number" expression="^(\d{10})$">
        <action application="bridge" data="sofia/gateway/babytel/$1"/>
      </condition>
    </extension>

2)  Freeswitch 1.0.6 book suggest putting in conf/default/01_babytel.xml

       <extension name="Outbound Babytel calls - prefix 91">
                <condition field="destination_number"
expression="^9(1\d{10})$">
                        <action application="bridge"
data="sofia/gateway/babytel/$1"/>
                </condition>
        </extension>

Both give the same symptom:
freeswitch at internal> /log 6
+OK log level 6 [6]
freeswitch at internal>
2014-01-14 16:28:33.238770 [NOTICE] switch_channel.c:1055 New Channel
sofia/internal/101 at 192.168.2.7 [b5bdf358-5142-4b0e-8753-d15a84922e18]
2014-01-14 16:28:33.378781 [INFO] mod_dialplan_xml.c:558 Processing 101
<101>->9058305602 in context default
2014-01-14 16:28:33.378781 [NOTICE] switch_channel.c:1055 New Channel
sofia/external/9058305602 [9ddd008b-3e75-46ed-a864-858554737aeb]
<then nothing....>
After about 30 seconds,
2014-01-14 16:29:33.019000 [INFO] mod_dptools.c:3201 Originate Failed.
 Cause: NO_ANSWER



On Tue, Jan 14, 2014 at 3:59 PM, Vik Killa <vipkilla at gmail.com> wrote:

> What dialplan entry is executing?
>
>
> On Tue, Jan 14, 2014 at 3:39 PM, Ian McMaster <ian.mcmaster at gmail.com>wrote:
>
>> Apologies for a simple newbie question.  Following examples in the first
>> two FreeSWITCH books, have been able to set up a SIP gateway, register, and
>> receive calls.
>> However I can't make calls.  The dialplan is being entered, but 'hangs' at
>>
>> switch_channel.c:1055 New Channel sofia/external/16475551212
>>
>> a)  The provider name is "babytel".
>> b)  The dial plan bridge is to data="sofia/gateway/babytel/$1"  (as per
>> the books)
>> c)  The provider xml file is in conf/sip_profiles/external  (as per the
>> books)
>>
>> d)  sofia status
>> Name:  external::babytel
>> Type:  gateway
>> State:  REGED
>>
>> Why is the bridge channel called "sofia/external/...."?  And not
>> "sofia/babytel/..."?
>> Why does sofia status show "external::<provider>" (the books just show
>> the provider name)?
>>
>> Can anyone explain why the bridge to the gateway does not occur?
>>
>> Thank you,
>> Ian.
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>> 
>> 
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://wiki.freeswitch.org
>> http://www.cluecon.com
>>
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>>
>>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140114/50c09641/attachment.html 


Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users mailing list