John Kiniston
2013-Apr-10 20:59 UTC
[asterisk-users] AMI Reload action, returning generated errors?
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>
Trung Nguyen Dac
2013-Apr-11 02:13 UTC
[asterisk-users] AMI Reload action, returning generated errors?
*Hi pal.* * * *Maybe you forgot to enclose the near parenthesis found? 'Goto(7124,1' in extension file, Firstly correct this syntax then try again.* * * *BRs* */*** *Nguyen Trung (Mr)* *Trust me I'm an "Engineer"!* * * * VEGA CORPORATION<http://vega.com.vn/Default.aspx?AppID=cont&ChannelID=8> * * - Em at il: trungnd at vega.com.vn - Handphone: [+84] 934448537 - Skype: nguyentrunght */ ** * On Thu, Apr 11, 2013 at 3:59 AM, John Kiniston <johnkiniston at gmail.com>wrote:> 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 > > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > New to Asterisk? Join us for a live introductory webinar every Thurs: > http://www.asterisk.org/hello > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20130411/26b7c06d/attachment.htm>