[Freeswitch-users] Adding Leading Digits To CALLING Number of Outgoing Call

2009-10-19 Thread Jerry Richards

How do I use the dial plan to add leading digits to an outgoing call through
a gateway?

My internal phone number is 5380, but when FS sends the call to the gateway
I want the CALLING party to be 4253495380.

Best Regards,
Jerry


___
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


Re: [Freeswitch-users] Adding Leading Digits To CALLING Number of Outgoing Call

2009-10-19 Thread Jerry Richards

Okay, I figured it out.  I added the following line to the default.xml file,
just prior to the bridge action:

action application=set
data=effective_caller_id_number=425349${caller_id_number}/

Now, 425349 is prepended to the outgoing call's caller ID.

Best Regards,
Jerry


-Original Message-
From: Jerry Richards [mailto:jerry.richa...@teotech.com] 
Sent: Monday, October 19, 2009 9:14 AM
To: 'freeswitch-users@lists.freeswitch.org'
Subject: Adding Leading Digits To CALLING Number of Outgoing Call


How do I use the dial plan to add leading digits to an outgoing call through
a gateway?

My internal phone number is 5380, but when FS sends the call to the gateway
I want the CALLING party to be 4253495380.

Best Regards,
Jerry


___
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


Re: [Freeswitch-users] Adding Leading Digits To CALLING Number of Outgoing Call

2009-10-19 Thread Michael Collins
On Mon, Oct 19, 2009 at 10:15 AM, Jerry Richards jerry.richa...@teotech.com
 wrote:


 Okay, I figured it out.  I added the following line to the default.xml
 file,
 just prior to the bridge action:

Way to go all Chuck Norris on this issue! :)
-MC
___
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