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: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Steven Frazier
Sent: Thursday, March 10, 2005 10:23 PM
To: [email protected]
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. 


_______________________________________________
Asterisk-Users mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to