Try the effective_caller_name and effective_caller_id variables instead. On Wed, Jan 25, 2012 at 4:22 AM, bennygeorge <barnyritchley@hotmail.com> wrote:
Hello all
we have a situation where we receive the caller id in from as per below:
INVITE sip:123456789@1.1.1.1 SIP/2.0. From: "anonymous" <sip:1.2.3.4>;
when this happens, freeswitch sends the call out and inserts the caller id number of 0000000000
I have changed the vars.xml to the following:
<X-PRE-PROCESS cmd="set" data="outbound_caller_name=Anonymous"/> <X-PRE-PROCESS cmd="set" data="outbound_caller_id=anonymous@anonymous.invalid"/>
however this doesn't work.
What I'm trying to achieve is that if FS doesn't receive a good caller id, then it will format it with anonymous@anonymous.invalid
This particular carrier is not using PAI.
It would be fine if FS left the from number empty - i did try changing the vars.xml to the following:
<X-PRE-PROCESS cmd="set" data="outbound_caller_id=_undef_"/>
but that didn't work either
any help greatly appreciated as always
brgds
-- View this message in context: http://freeswitch-users.2379917.n2.nabble.com/RE-Outbound-Caller-ID-on-anoym... Sent from the freeswitch-users mailing list archive at Nabble.com.
_________________________________________________________________________ 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