[Freeswitch-users] Outbound Caller ID on anoymous calls

curriegrad2004 curriegrad2004 at gmail.com
Wed Jan 25 18:08:32 MSK 2012


Try the effective_caller_name and effective_caller_id variables instead.

On Wed, Jan 25, 2012 at 4:22 AM, bennygeorge <barnyritchley at hotmail.com> wrote:
> Hello all
>
> we have a situation where we receive the caller id in from as per below:
>
>
> INVITE sip:123456789 at 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 at 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 at 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-anoymous-calls-tp7223625p7223625.html
> Sent from the freeswitch-users mailing list archive at Nabble.com.
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org



Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list