[Asterisk-Users] callerid send to shell script with system command

Tomaz Izanc izol at itt.nu
Tue Apr 29 08:40:38 MST 2003


hi!


anyone has a idea how to send caller id (incoming number)
to shell script like:

exten => s,1,wait,2
exten => s,2,System(/bin/script callerid-number)
exten =>s,3,answer

i need to run script in shell with command line like "/bin/script -a 
123456789 "
this 123456789 must be callerid (incoming call) number.

tnx,
Thomas





More information about the asterisk-users mailing list