You're looking for Ex-girlfriend logic (as it's referred to in the Wiki)
 
exten => s,1,Answer 
exten => s/9184238080,2,Set(CALLERID(name)=EVIL BASTARD) 
exten => s,2,Set(CALLERID(name)=Good Person) 
exten => s,3,Dial(SIP/goodperson) 
 
You can also use GotoIf to do the same thing.. ie
GotoIf(${CALLERID}=905XXXXXX)
 
Chad

 
________________________________

From: Scott Ivory [mailto:[EMAIL PROTECTED] 
Sent: November 3, 2006 4:01 PM
To: [email protected]
Subject: RE: [on-asterisk] action based on caller id



Sorry Bruce, I wasn't very clear.. I don't have trixbox/freepbx
installed, just good old fashion asterisk on centOS.

I suppose if I were it would be that easy!!

Thanks,

Scott

 

 

Reply via email to