Changing display name in From header ?
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@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@anonymous.invalid> and PID to look like : P-Asserted-Identity: "9094445555" <sip:9094445555@1.2.3.4>
Try with sip_from_display and sip_invite_from_uri instead of sip_from_uri, something like: sip_from_display=Anonymous sip_invite_from_uri=<sip:anonymous@anonymous.invalid> origination_caller_id_name=9094445555 origination_caller_id_number=9094445555 On 24 August 2014 19:02, Tim Smith <gb10hkzo-fs1@yahoo.co.uk> wrote:
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@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@anonymous.invalid>
and PID to look like :
P-Asserted-Identity: "9094445555" <sip:9094445555@1.2.3.4>
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
Official FreeSWITCH Sites http://www.freeswitch.org http://confluence.freeswitch.org http://www.cluecon.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.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
-- Dušan Dragić
participants (2)
-
Dušan Dragić
-
Tim Smith