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



_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to