<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>SetCallerID({$NEWCALLERID})</TITLE>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2800.1491" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=656293303-11032005><FONT face=Arial color=#0000ff size=2>should
use ${NEWCALLERID}</FONT></SPAN></DIV>
<DIV><SPAN class=656293303-11032005><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=656293303-11032005><FONT face=Arial color=#0000ff size=2>NOTE:
$ come before {</FONT></SPAN></DIV>
<DIV><SPAN class=656293303-11032005><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=656293303-11032005><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=656293303-11032005><FONT face=Arial color=#0000ff
size=2>Foong</FONT></SPAN></DIV>
<DIV><SPAN class=656293303-11032005><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=656293303-11032005><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<BLOCKQUOTE>
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B>
asterisk-users-bounces@lists.digium.com
[mailto:asterisk-users-bounces@lists.digium.com]<B>On Behalf Of </B>Steven
Frazier<BR><B>Sent:</B> Friday, March 11, 2005 11:23 AM<BR><B>To:</B>
asterisk-users@lists.digium.com<BR><B>Subject:</B> [Asterisk-Users]
SetCallerID({$NEWCALLERID})<BR><BR></FONT></DIV><!-- Converted from text/rtf format -->
<P><FONT face=Arial size=2>I am trying to SetCallerID to a variable I have
defined. This obviously is wrong. It actually sets the caller ID
to $NEWCALLERID. I have search through the examples on wiki but wasn't
able to find something similar to see what I was doing wrong. Could
someone tell me the correct way to SetCallerID to a defined
variable?</FONT></P>
<P><FONT face=Arial size=2> exten =>
2125551212,5,SetCallerID({$NEWCALLERID})</FONT> </P>
<P><FONT face=Arial size=2> exten =>
2125551212,6,Noop(${CALLERID})</FONT> </P>
<P><FONT face=Arial size=2>Actually shows $NEWCALLERID instead of the contents
of $NEWCALLERID.</FONT> </P><BR></BLOCKQUOTE></BODY></HTML>