[Home]

Summary:ASTERISK-06692: Maximum pbx stack exceeded
Reporter:AhmedK (ahmedkassim)Labels:
Date Opened:2006-04-04 06:35:11Date Closed:2011-06-07 14:07:53
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Documentation
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) dialplan.txt
( 1) digium.log
( 2) digiumerrors.log
( 3) patch.dialplan
Description:Hi,
I keep getting crashes on my asterisk box and when i check /var/log/asterisk/messages i keep seeing the message 'Maximum pbx stack exceeded' just before the crash in the logs and i have no idea what this means. any ideas?
Comments:By: Matthew Fredrickson (mattf) 2006-04-04 11:34:34

Post the relevant sections of your dialplan.  Are you doing any sort of recursive operations in the relevant portions?  If so, that could very well be a reason why.

By: Matt O'Gorman (mogorman) 2006-04-04 11:47:51

or more likely a bug in your dial plan.

By: AhmedK (ahmedkassim) 2006-04-06 05:38:10

Should i post my entire dial plan?

By: AhmedK (ahmedkassim) 2006-04-06 05:43:52

Just posted the dial plan

By: Tilghman Lesher (tilghman) 2006-04-06 09:07:15

Could you post the last 500 lines before this message, and everything else up to the crash, in an uploaded file (NOT in a bugnote, please)?

By: Olle Johansson (oej) 2006-04-06 09:37:18

I saw this when I had a "N" instead of "n" for next priority in a very small dialplan

By: AhmedK (ahmedkassim) 2006-04-06 11:56:44

last 500 lines uploaded

By: AhmedK (ahmedkassim) 2006-04-06 11:58:36

Last 500 lines uploaded in digium.log (digiumerrors is the wrong file)

By: Tilghman Lesher (tilghman) 2006-04-06 12:11:27

Are your AGIs dynamically adding new extensions?  This is the only possible way I can see that some of these errors could occur, without massive memory corruption.

By: Matt O'Gorman (mogorman) 2006-04-06 12:22:28

if you run extensions reload it is real easy to find your errors, i have provided a patch that will fix your dial plan.  hope this helps.

By: Matt O'Gorman (mogorman) 2006-04-06 12:22:53

oh the attached patch patch.dialplan should fix your dial plan