I believe someone already answered that. Use "loopback/NUMBER" as  the dial-out string. This will create a loopback call that whits the dialplan and then follows the usual stuff in there.

/Peter

9 sep 2013 kl. 20:06 skrev D D <tru083@yahoo.com>:

On the 'dial' command, I want to specify only the destination number, not the gateway.

I reviewed the documentation at https://wiki.freeswitch.org/wiki/Sofia-SIP#Dial_out_of_a_gateway,
but I want the Dialplan configuration to choose the gateway.  

How can I do that?



From: Michael Jerris <mike@jerris.com>
To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org>
Sent: Monday, September 9, 2013 11:19 AM
Subject: Re: [Freeswitch-users] How can I have the DIalplan choose the gateway for conference dialout?

https://wiki.freeswitch.org/wiki/Sofia-SIP#Dial_out_of_a_gateway

On Sep 9, 2013, at 12:02 PM, D D <tru083@yahoo.com> wrote:

Hi,

I would like to use the Dialplan configuration to control which gateway is used
on a conference dialout.

I have a gateway configured in the Dialplan, to match any number.

I have tried this on the dialout:

   conference <name> dial {originate_timeout=30}sofia/external/8005551212 12345 CallerName

but I get the errors
   Cannot locate registered user 8005551212@external
   mod_conference.c:6775 Cannot create outgoing channel, cause: USER_NOT_REGISTERED

I don't want to specify the gateway in the dial request. I want the Dialplan to choose it.
What am I doing wrong?


_________________________________________________________________________
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