Hi Zohair,

I found it

 <action application="set" data="effective_caller_id_number=001${caller_id_number}"/>

but i have 2 gateways, this works with the usa gateway. However, I need to put a condition in the dialplan

if it comes from german gateway, add 0049
if it comes from usa gateway, add 001

I don't know the variable name of the gateway

best regards and many thanks

Sherif


--- On Mon, 12/26/11, Zohair Raza <engineerzuhairraza@gmail.com> wrote:

From: Zohair Raza <engineerzuhairraza@gmail.com>
Subject: Re: [Freeswitch-users] Gateway Caller ID Help required
To: "FreeSWITCH Users Help" <freeswitch-users@lists.freeswitch.org>
Date: Monday, December 26, 2011, 3:02 PM

Hi, 
use effective_caller_id variable in dialplan to append +

Regards,
Zohair Raza




On Mon, Dec 26, 2011 at 4:58 PM, Sherif Omran <sherifomran2000@yahoo.com> wrote:
Hi

I have setup an IPkall gateway, so that any call to my number in USA be connected to my extension. However, the caller ID that appear is 10 digits and i want it to show +1 stating for usa.

In the mean time, I have another german gateway, the number is transmitted fully including the country code, but it appears on my phone in the form of last 10 digits only.

any help is appreciated

thank you in advance



_________________________________________________________________________
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



-----Inline Attachment Follows-----

_________________________________________________________________________
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