Код: Выделить всё
*CLI> dialplan show 200@from-internal
[ Included context 'app-fax' created by 'pbx_config' ]
'200' => 1. Set(FAX_RX_EMAIL=info@mail.ru) [pbx_config]
2. Goto(ext-fax,s,1) [pbx_config]
[ Included context 'outrt-3' created by 'pbx_config' ]
'_.' => 1. Macro(user-callerid,LIMIT,EXTERNAL,) [pbx_config]
2. Gosub(sub-record-check,s,1(out,${EXTEN},dontcare)) [pbx_config]
3. ExecIf($[ "${CALLEE_ACCOUNCODE}" != "" ] ?Set(CDR(accountcode)=${CALLEE_ACCOUNCODE})) [pbx_config]
4. Set(ROUTE_CIDSAVE=${CALLERID(all)}) [pbx_config]
5. Set(MOHCLASS=${IF($["${MOHCLASS}"=""]?default:${MOHCLASS})}) [pbx_config]
6. Set(_NODEST=) [pbx_config]
7. Set(CALLERID(all)=${ROUTE_CIDSAVE}) [pbx_config]
8. Set(_KEEPCID=TRUE) [pbx_config]
9. Goto(app-blackhole,zapateller,1) [pbx_config]
[ Included context 'outrt-38' created by 'pbx_config' ]
'_.' => 1. Macro(user-callerid,LIMIT,EXTERNAL,) [pbx_config]
2. Gosub(sub-record-check,s,1(out,${EXTEN},dontcare)) [pbx_config]
3. ExecIf($[ "${CALLEE_ACCOUNCODE}" != "" ] ?Set(CDR(accountcode)=${CALLEE_ACCOUNCODE})) [pbx_config]
4. Set(ROUTE_CIDSAVE=${CALLERID(all)}) [pbx_config]
5. Set(MOHCLASS=${IF($["${MOHCLASS}"=""]?default:${MOHCLASS})}) [pbx_config]
6. Set(_NODEST=) [pbx_config]
7. Set(CALLERID(all)=${ROUTE_CIDSAVE}) [pbx_config]
8. Set(_KEEPCID=TRUE) [pbx_config]
9. Goto(app-announcement-5,s,1) [pbx_config]
[ Included context 'bad-number' created by 'pbx_config' ]
'_X.' => 1. ResetCDR() [pbx_config]
2. NoCDR() [pbx_config]
3. Progress() [pbx_config]
4. Wait(1) [pbx_config]
5. Progress() [pbx_config]
6. Playback(silence/1&cannot-complete-as-dialed&check-number-dial-again,noanswer) [pbx_config]
7. Wait(1) [pbx_config]
8. Congestion(20) [pbx_config]
9. Hangup() [pbx_config]
-= 4 extensions (29 priorities) in 4 contexts. =-