Dialplan debugging

Is there a way to turn on debugging on the dialplan execution?

I like to see on the console or log files how the contexts are used as a number is dialed.



you dont need to see what happens when you dial,

by using “show dialplan @” it will show you

For example

show dialplan 1234@default

if you want to see more info on the screen just up the verbose level


Thanks for the reply.

The reason I was trying to debug was that I have the following context and I was trying to reach the S extension. I dialed an unknown number like 5555 and thought it will hit my S extension and get connected to Echo Server but I was wrong. 5555 was not a registered channel and I got an error message instead.

*CLI> dialplan show s@default
[ Context ‘default’ created by ‘pbx_config’ ]
‘s’ => 1. Answer() [pbx_config]
2. Echo() [pbx_config]

-= 1 extension (2 priorities) in 1 context. =-

Do you know how I can get connected to the Echo Server on Asterisk?

This will get you there

exten => 5555,1,Goto(default,s,1)