set callerid

Usage: SET CALLERID <number>

Changes the callerid of the current channel.

200 result=1


  1. !/bin/sh
echo "SET CALLERID \"$CIDNAME\"<$agi_callerid>"

  • do not forget to escape the quotation marks around the CALLERID name
  • append the CALLERID number enclosed in "<" and ">" and make sure that there is no SPACE in front of "<"
  • since Asterisk 1.2 an AGI script receives both $agi_callerid (the number) and $agi_calleridname (the name) seperately

Go back to Asterisk AGI

Created by: pinhole, Last modification: Sat 27 of Mar, 2010 (16:27 UTC) by JustRumours
Please update this page with new information, just login and click on the "Edit" or "Discussion" tab. Get a free login here: Register Thanks! - Find us on Google+