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

Eric Wieling eric at fnords.org
Tue Apr 29 09:06:22 MST 2003


Should be able to use

exten => s,2,System(/bin/script ${CALLERIDNUM})

On Tue, 2003-04-29 at 10:40, 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
-- 
BTEL Consulting
850-484-4535 x2111 (Office)
504-595-3916 x2111 (Experimental)
877-552-0838 (Backup Phone)




More information about the asterisk-users mailing list