[asterisk-users] AMI and extensions.conf

Vadim Lebedev vadim at mbdsys.com
Fri Aug 15 17:39:45 CDT 2008


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?
> 

Look at this trace:
Action: login
Username: castel
Secret: castel

Asterisk Call Manager/1.0
Response: Success
Message: Authentication accepted

Action: updateconfig
reload: no
srcfilename: extensions.conf
dstfilename:  extensions.conf
Action-0000: newcat
Cat-0000: ami-test

Response: Success

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





More information about the asterisk-users mailing list