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@internal> /log 6
+OK log level 6 [6]
freeswitch@internal>
2014-01-14 16:28:33.238770 [NOTICE] switch_channel.c:1055 New Channel sofia/internal/101@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@gmail.com> wrote:
What dialplan entry is executing?


On Tue, Jan 14, 2014 at 3:39 PM, Ian McMaster <ian.mcmaster@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@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@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@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org