Sure, put this is in your dialplan before bridge command

<action application="set" data="effective_caller_id_name=${caller_id_number}"/>
<action application="export" data="effective_caller_id_name=${caller_id_number}"/>



On Sat, Jan 18, 2014 at 10:09 PM, Nick M. Hill <Nick.Hill@bombardier-it.com> wrote:

From: Nick M. Hill
Sent: ‎18/‎01/‎2014 18:46
To: freeswitch-users@lists.freeswitch.org
Subject: Help with advanced inbound number routing

Hi all,

We have freeswitch setup as a gateway to our lync server, however at the moment I can’t figure out how to force freeswitch to send a call from one trunk to a lync number and set the display name

here is how it is currently working

Number xxx-xxx-xxx comes in on trunk one à freeswitch sends the call to lync/xxx-xxx-xxx à Lync displays the DID freeswitch called.

Here is the From field in the Invite Header

FROM: "0114xxxxxxx"<sip:0781xxxxx@10.1.220.1>;tag=D5pv251yDNHNe

TO: <sip:+44114xxxxxx@10.1.16.113:5068>;tag=f955586259;epid=07DCEB7C65

 

I need the call to somehow present the 0781xxxxx number in the To field as the display name

is this possible?


_________________________________________________________________________
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