[asterisk-users] Maniuplate callerID based off of callerID

Louis Carreiro carreirolt at gmail.com
Fri Apr 8 10:19:29 CDT 2011


Perfect! That was it! Thanks!

-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Michel
Verbraak
Sent: Friday, April 08, 2011 10:17 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Maniuplate callerID based off of callerID

Almost,

If you use Asterisk version 1.6 or higher use

Exten => ExecIf($["${CALLERID(number)}" = "400"]?Set(CALLERID(num)="")

Or 

Exten => ExecIf($["${CALLERID(number)}" = "400"]?Set(CALLERID(all)="")



Michel Verbraak

<http://www.intercommit.nl/> 


On 08-04-11 15:56, Louis Carreiro wrote: 

	Hey all!

	 

	I'm trying to figure out a way to manipulate a call's caller ID
based off of the caller's caller ID. Basically, I've got a situation where
anything that goes through an Nortel Opt11's IVR comes out with the caller
ID 400 (the Opt11's IVR's ext).  When the call goes out the trunk that the
call is destined for, I'd like to grab the 400 caller ID and delete it so it
comes through as "Unknown". The "Unknown" part doesn't have to be the
literal string, just a blank CallerID would be fine.

	 

	Would it be something like:

	 

	Exten => ExecIf($["${CALLERID(number)}" = "400"]?SetCallerID())

	 

	Thanks all!

	
	
	--
	
_____________________________________________________________________
	-- Bandwidth and Colocation Provided by http://www.api-digital.com
--
	New to Asterisk? Join us for a live introductory webinar every
Thurs:
	               http://www.asterisk.org/hello
	
	asterisk-users mailing list
	To UNSUBSCRIBE or update options visit:
	   http://lists.digium.com/mailman/listinfo/asterisk-users





More information about the asterisk-users mailing list