[asterisk-users] Triggering a call from bash
Rodolfo Alcazar Portillo
rodolfo.alcazar at padep.org.bo
Thu Oct 16 11:49:45 CDT 2008
Am Donnerstag, den 16.10.2008, 11:02 -0500 schrieb David A. Bandel:
> 2008/10/16 Rodolfo Alcazar Portillo <rodolfo.alcazar at padep.org.bo>:
> > Hi.
> >
> > Does anyone knows how to trigger a phone call from a bash command?
>
> Two ways:
> 1. look in your asterisk source directory for a file called
> sample.call. This will show you what you need to put into your spool
> directory for * to place a call to a number.
> 2. using `asterisk -rx console dial xxxx` you can call a number, but
> it will connect from the console
Option 2 will do. The right command is
# asterisk -rx 'originate SIP/1/123456 extension 400 at greeting'
Thanks!
--
Rodolfo Alcazar
Responsable red y datos
Deutsche Gesellschaft für
Technische Zusammenarbeit (GTZ) GmbH
Programa de Apoyo a la Gestión Pública Descentralizada y
Lucha Contra La Pobreza - PADEP
Av. Sánchez Lima 2226
La Paz, Bolivia
Tel: +591 22417628 (121)
Fax: +591 22417628 (126)
Web: www.padep.org.bo
Email: rodolfo.alcazar at padep.org.bo
More information about the asterisk-users
mailing list