Changes the callerid of the current channel.
Returns:
200 result=1
Example
- !/bin/sh
echo “SET CALLERID \”$CIDNAME\”<$agi_callerid>”
Notes:
- 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