[Asterisk-Users] Re: Execute command in shell

James H. Cloos Jr. cloos at jhcloos.com
Fri Feb 6 04:59:34 MST 2004


>>>>> "Marc" == Marc Fargas <asterisk at telenieko.com> writes:

Marc> It drives me to a new question... how can I concatenate three
Marc> strings on extensions.org ?

Marc> That is, the command, and the two args; The arguments are the
Marc> source e164 and destination e164 numbers of the current call.

Marc> Something like "/bin/false " + $SOURCE164 + " " + $DEST164

I've not tested this, but I'd try something like:

exten => s,1,System(/bin/false ${SOURCE164} ${DEST164})

-JimC




More information about the asterisk-users mailing list