My horror story is with context numbering.   So hopefully this tip will help 
all those curious.

Lets say items in your context are as follows:

exten => 1001,1,bla bla bla
exten => 1001,2,bla bla bla
exten => 1001,3,bla bla bla
exten => 1001,4,bla bla bla
exten => 1001,6,bla bla bla

Note that I have a total of 5 line of codes.  The last line is actually 
numbered 6.   In my experience, MAKE SURE, that the context/dial plan in 
question, is properly numbered.   In this particular example it should have 
been exten => 1001,5,bla bla bla.

The above example is intended for those who actually use the GotoIf statement 
within their dial plans.  I spent an entire day trying to solve an issue, which 
was caused by my own stupidity, not paying attention to the numbering.  Even if 
the GotoIf statement is not used, make sure you number them well...  Have your 
dial plans numbered properly otherwise you will experience STRANGE results ;).

I pi$$ed away an entire day, the time which I could have otherwise spent 
drinking pints of beer!  Moral of the story: after the number 4 comes 5, not 6 
;).

Cheers!

Reply via email to