[asterisk-users] Strange putconfig bahviour

Vadim Lebedev vadim at mbdsys.com
Tue Aug 19 05:23:16 CDT 2008


> Why is it bad?  In all Asterisk config files, the '>' after the '=' is
> superfluous for defining extensions, variables, etc.  Try it.  Having
> exten=123,1,... is perfectly valid and does not affect how Asterisk works
> in any appreciable way.
> 

Ok Tighlman,

Thank you for the information,
i didn't know about is as ALL asterisk docs says that
you're supposed to use exten=>xxxx   format.
So i did try putconfig without '>'  chars and have the same problem:
=====
Action: updateconfig
reload: no
SrcFilename: extensions.conf
DstFilename: extensions.conf.new
Action-000000: newcat
Cat-000000: ami-test-01
Action-000001: append
Var-000001: exten
Value-000001: 888,1,Noop(888)
Cat-000001: ami-test-01
Action-000002: append
Var-000002: exten
Value-000002: 999,1,Noop(999)
Cat-000002: ami-test-0


Response: Error
Message: Save of config failed
====

Any ideas on wher to look for the reasons or how to debug

Tanks
Vadim




More information about the asterisk-users mailing list