[Asterisk-Users] ${EXTEN} vs ${CALLERIDNUM} vs ??

Robert Jackson RobertJ at promedicalinc.com
Fri Oct 8 07:08:15 MST 2004



> -----Original Message-----
> From: Matthew Boehm [mailto:mboehm at cytelcom.com] 
> Sent: Friday, October 08, 2004 10:00 AM
> To: asterisk-users at lists.digium.com
> Subject: [Asterisk-Users] ${EXTEN} vs ${CALLERIDNUM} vs ??
> 
> 
> exten => 2020,1,AgentCallBackLogin((|@mycontext)
> 
> exten =>
> 2020,1,AgentCallBackLogin(${CALLERIDNUM}|${CALLERIDNUM}@cytel-
> internal)
> 
> This way, they only have to enter their password because 
> CALLERIDNUM is equal to their actual extension. (this is 
> default behavior.)
> 
> The problem is, if I add "real" callerid info to the phones 
> in sip.conf, the above exten=> no longer works because 
> CALLERIDNUM is now equal to "2223432988".
> 
You could always add the "real" callerid info in the context 
that you use to dial outbound before dialing out.  That way 
your internal folks see the internal caller id and when you 
dial to the outside world they see the "public" caller id. 

Just an idea,

Robert Jackson



More information about the asterisk-users mailing list