[Asterisk-Users] SetCallerID({$NEWCALLERID})

Steven Frazier lists at futuresync.com
Thu Mar 10 20:34:08 MST 2005


I see the problem, sorry for the post

The $ in the wrong position.

wrong
exten => 7403134175,5,SetCallerID({$NEWCALLERID})
right
exten => 7403134175,5,SetCallerID(${NEWCALLERID})



-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Steven Frazier
Sent: Thursday, March 10, 2005 10:23 PM
To: asterisk-users at lists.digium.com
Subject: [Asterisk-Users] SetCallerID({$NEWCALLERID})


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?
 exten => 2125551212,5,SetCallerID({$NEWCALLERID}) 
 exten => 2125551212,6,Noop(${CALLERID}) 
Actually shows $NEWCALLERID instead of the contents of $NEWCALLERID. 





More information about the asterisk-users mailing list