[asterisk-users] AMI Reload action, returning generated errors?

John Kiniston johnkiniston at gmail.com
Wed Apr 10 15:59:51 CDT 2013


Howdy,

I'm building a webapp to allow my techs to do minor dialplan edits and
trigger a reload on my PBX's running 1.8

I have no problem triggering a 'reload pbx_config.so' via manager, The
problem is how can I see the results of my reload?

For example a missing close parenthesis which would show in
/var/log/asterisk/messages

[Apr 10 13:46:16] WARNING[23911] pbx_config.c: No closing parenthesis
found? 'Goto(7124,1' at line 39 of /etc/asterisk/extensions.conf

Or

[Apr 10 13:52:00] WARNING[24078] config.c: parse error: no closing ']',
line 1 of /etc/asterisk/extensions.conf


-- 
A human being should be able to change a diaper, plan an invasion, butcher
a hog, conn a ship, design a building, write a sonnet, balance accounts,
build a wall, set a bone, comfort the dying, take orders, give orders,
cooperate, act alone, solve equations, analyze a new problem, pitch manure,
program a computer, cook a tasty meal, fight efficiently, die gallantly.
Specialization is for insects.
---Heinlein
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20130410/fc7772ac/attachment.htm>


More information about the asterisk-users mailing list