[asterisk-users] AMI and extensions.conf
Tzafrir Cohen
tzafrir.cohen at xorcom.com
Sat Aug 16 00:37:45 CDT 2008
On Sat, Aug 16, 2008 at 01:46:54AM +0000, Vadim Lebedev wrote:
> Vadim Lebedev <vadim <at> mbdsys.com> writes:
>
> >
> > Tzafrir Cohen <tzafrir.cohen <at> xorcom.com> writes:
> >
> > >
> > > On Thu, Aug 14, 2008 at 04:06:27PM +0000, Vadim Lebedev wrote:
> > > > Hello
> > > >
> > > > I'm looking for a wayy to modify extensions.conf
> > > > It seems that PutConfig AMI command is not
> > > > supposed to work on extensionsq.conf
> > >
> > > It should. Do you have a test case where it doesn't?
> > >
>
> > Action: updateconfig
> > reload: no
> > srcfilename: extensions.conf
> > dstfilename: extensions.conf
> > Action-0000: append
> > Var-0000: exten
> > Value-0000: 999,1,Noop(999)
> > Cat-0000: ami-test
> >
> > Response: Success
> >
> > But the file itself is not modified
> >
> > _______________________________________________
>
> Ok i've fixed the problem (actually there was two of them
> 1) space in after colon in "dstfilename: extensions.conf" and
Does this really matter?
> 2) numiric id have to be in XXXXXX (6 digit) format
Is there a simple way to find "incorrect headers" in manager messages?
e.g.: a debug message about "header Action-0000 does nothing"?
--
Tzafrir Cohen
icq#16849755 jabber:tzafrir.cohen at xorcom.com
+972-50-7952406 mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com iax:guest at local.xorcom.com/tzafrir
More information about the asterisk-users
mailing list