[Freeswitch-users] How to set destination_number_ton when originating a call with bgapi

Michael Collins msc at freeswitch.org
Tue Oct 16 18:55:12 MSD 2012


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 at 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 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
>



-- 
Michael S Collins
Twitter: @mercutioviz
http://www.FreeSWITCH.org
http://www.ClueCon.com
http://www.OSTAG.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20121016/9d1f2828/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list