[Feb 7 14:58:03] -- Starting simple switch on 'Zap/1-1' [Feb 7 14:58:07] -- Executing [s@from-pstn:1] Set("Zap/1-1", "__FROM_DID=s") in new stack [Feb 7 14:58:07] -- Executing [s@from-pstn:2] GotoIf("Zap/1-1", "0 ?cidok") in new stack [Feb 7 14:58:07] -- Executing [s@from-pstn:3] Set("Zap/1-1", "CALLERID(name)=") in new stack [Feb 7 14:58:07] -- Executing [s@from-pstn:4] NoOp("Zap/1-1", "CallerID is "" <>") in new stack [Feb 7 14:58:07] -- Executing [s@from-pstn:5] Set("Zap/1-1", "FAX_RX=system") in new stack [Feb 7 14:58:07] -- Executing [s@from-pstn:6] Set("Zap/1-1", "FAX_RX_EMAIL=nicolas.mailloux@micronick.com") in new stack [Feb 7 14:58:07] -- Executing [s@from-pstn:7] Answer("Zap/1-1", "") in new stack [Feb 7 14:58:07] -- Executing [s@from-pstn:8] Wait("Zap/1-1", "4") in new stack asterisk*CLI> Disconnected from Asterisk server [asterisk.micronick.local asterisk]# [ Context 'from-pstn' created by 'pbx_config' ] 'fax' => 1. Goto(ext-fax|in_fax|1) [pbx_config] Include => 'from-pstn-custom' [pbx_config] Include => 'ext-did' [pbx_config] Include => 'ext-did-catchall' [pbx_config] Include => 'from-did-direct' [pbx_config] asterisk*CLI> -= 1 extension (1 priority) in 1 context. =- asterisk*CLI> asterisk*CLI> dialplan show s@from-pstn [ Included context 'ext-did' created by 'pbx_config' ] 's' => 1. Set(__FROM_DID=${EXTEN}) [pbx_config] 2. GotoIf($[ "${CALLERID(name)}" != "" ] ?cidok) [pbx_config] 3. Set(CALLERID(name)=${CALLERID(num)}) [pbx_config] [cidok] 4. Noop(CallerID is ${CALLERID(all)}) [pbx_config] 5. Set(FAX_RX=system) [pbx_config] 6. Set(FAX_RX_EMAIL=nicolas.mailloux@micronick.com) [pbx_config] 7. Answer() [pbx_config] 8. Wait(4) [pbx_config] 9. Goto(from-did-direct|800|1) [pbx_config] -= 1 extension (9 priorities) in 1 context. =-