[Freeswitch-users] Changing display name in From header ?
Tim Smith
gb10hkzo-fs1 at yahoo.co.uk
Sun Aug 24 21:02:25 MSD 2014
Hi,
What magic needs to be done to change the display name in the From header ?
I've tried outbound_caller_name, effective_caller_id_name and all sorts of other combinations under the sun and yet I can't get the Freeswitch to comply !!!!
Here's what the relevant section of my XML dial plan looks like:
<condition field="${privacy}" expression="yes" break="never">
<action application="export" data="outbound_caller_name=Anonymous"/>
<action application="export" data="sip_from_uri=<sip:anonymous at anonymous.invalid>"/>
<action application="export" data="sip_cid_type=pid"/>
<action application="export" data="origination_caller_id_name=${outbound_caller_id_number}"/>
<action application="export" data="origination_caller_id_number=${outbound_caller_id_number}"/>
<anti-action application="set" data="sip_cid_type=none"/>
<anti-action application="set" data="effective_caller_id_number=${outbound_caller_id_number}"/>
<anti-action application="set" data="effective_caller_id_name=${outbound_caller_id_name}"/>
</condition>
Basically, I need the From header to look like :
From: "Anonymous" <sip:anonymous at anonymous.invalid>
and PID to look like :
P-Asserted-Identity: "9094445555" <sip:9094445555 at 1.2.3.4>
Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users
mailing list