[Asterisk-Users] Execute asterisk command in shell

James Golovich james at wwnet.net
Fri Feb 28 08:55:26 MST 2003


It sounds like you possibly need to update your version of asterisk.  When
the asterisk.conf stuff (and -C option) was added, it took away the
functionality of -x, and provided the results which you describe.

The problem was resolved shortly after it was introduced.

James


On Fri, 28 Feb 2003, Rattana BIV wrote:

> I lauch in shell :
> 
> asterisk -r -x 'help'
> asterisk -r -x "help"
> asterisk -r -x help
> 
> Put It just connect to asterisk and provide CLI command line. But the help
> doesn't print.
> 
> what do you think ?
> 
> 
> Regards
> Rattana
> ----- Message d'origine -----
> De : "Martin Pycko" <martinp at digium.com>
> À : <asterisk-users at lists.digium.com>
> Envoyé : jeudi 27 février 2003 18:04
> Objet : Re: [Asterisk-Users] Execute asterisk command in shell
> 
> 
> asterisk -r -x "this should work"
> 
> On Thu, 27 Feb 2003, Rattana BIV wrote:
> 
> > it doesn't work with me =(
> >
> >
> > ----- Message d'origine -----
> > De : "Martin Pycko" <martinp at digium.com>
> > À : <asterisk-users at lists.digium.com>
> > Envoyé : jeudi 27 février 2003 17:10
> > Objet : Re: [Asterisk-Users] Execute asterisk command in shell
> >
> >
> > > asterisk -r -x 'put the command here'
> > >
> > > regards
> > > Martin
> > >
> > > On Thu, 27 Feb 2003, Rattana BIV wrote:
> > >
> > > > Hi,
> > > >
> > > > Does anyone know how to execute an asterisk command in shell ?
> > > >
> > > > I wanted to make a script who put extension in asterisk.
> > > >
> > > > Regards
> > > >
> > > > Rattana
> > > >
> > > > _______________________________________________
> > > > Asterisk-Users mailing list
> > > > Asterisk-Users at lists.digium.com
> > > > http://lists.digium.com/mailman/listinfo/asterisk-users
> > > >
> > >
> > > _______________________________________________
> > > Asterisk-Users mailing list
> > > Asterisk-Users at lists.digium.com
> > > http://lists.digium.com/mailman/listinfo/asterisk-users
> > >
> >
> > _______________________________________________
> > Asterisk-Users mailing list
> > Asterisk-Users at lists.digium.com
> > http://lists.digium.com/mailman/listinfo/asterisk-users
> >
> 
> 
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> 
> 
> _______________________________________________
> 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