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

Mike Reiling miker at mac.com
Tue Apr 29 09:26:14 MST 2003


Why not just write an agi?

--Mike

On Tuesday, April 29, 2003, at 08:40  AM, Tomaz Izanc wrote:

> 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
>
>
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
>




More information about the asterisk-users mailing list