Re: [Freeswitch-users] Outbound Caller ID on anoymous calls
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.
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
hi there the problem is that I'm trying to set it up so that it uses the variables set in vars.xml the dial plan is quite large and is curl based so don't really want to increase the load on every call checking the cli on each call attempt are these variables accepted in the main vars.xml section, or is there a global way to specify the caller id to send when freeswitch would normally set it to 0000000000? ideally, it would be great to be able to say to use the anonymous@anonymous.invalid for cli in the from field rather than the 0000000000 many thanks -- 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.
Does anyone have any ideas on this one? Are there any non documented ways to set a callerid as anonymous@anonymous.invalid instead of 0000000? 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.
On Wed, Jan 25, 2012 at 7:22 AM, bennygeorge <barnyritchley@hotmail.com>wrote:
hi there
the problem is that I'm trying to set it up so that it uses the variables set in vars.xml
the dial plan is quite large and is curl based so don't really want to increase the load on every call checking the cli on each call attempt
Why not? The "increased" load would be infinitesimal. Besides, checking for stuff like this in your curl app is exactly what that process is designed to allow. -MC
participants (3)
-
bennygeorge
-
curriegrad2004
-
Michael Collins