Thank you for doing the research here. Any chance you could add this to the FreeTDM page on the wiki?
-MC

On Tue, Oct 16, 2012 at 2:28 AM, mbo <mbodbg@gmx.net> wrote:
After some research in the code, I found out that instead of setting
destination_number_ton the variable "freetdm_outbound_ton" has to be set on
originate. Valid values are "national", "international", "local" and
"unknown". So in my case the following command will work:

bgapi originate
{origination_caller_id_number=XXXX,originate_timeout=20,origination_uuid=7a1093b5-4225-4a99-b3dc-bb4254217e4,freetdm_outbound_ton=international}freetdm/1/a/XXXX
&park



--
View this message in context: http://freeswitch-users.2379917.n2.nabble.com/How-to-set-destination-number-ton-when-originating-a-call-with-bgapi-tp7583632p7583666.html
Sent from the freeswitch-users mailing list archive at Nabble.com.

_________________________________________________________________________
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



--
Michael S Collins
Twitter: @mercutioviz
http://www.FreeSWITCH.org
http://www.ClueCon.com
http://www.OSTAG.org