E
E
Evgeny Sementsov2013-01-14 10:54:33
Asterisk
Evgeny Sementsov, 2013-01-14 10:54:33

How to filter the dialplan so that you can see all rows by extension?

For example:
mynumber => 1. Dial(SIP/${EXTEN} router ,,Tt) [pbx_config]
2. HangUp() [pbx_config]
And display 2 lines at once through “dialplan show | grep mynumber" fails.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
mithraen, 2013-01-14
@relsy

dial plan show | grep -C2 mynumber
if mynumber can have an arbitrary number of lines, not 2, it's easier to write a perl script.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question