Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- gabriel*CLI> dialplan show callorigination
- [ Context 'callorigination' created by 'pbx_config' ]
- 'i' => 1. Hangup() [pbx_config]
- '_X!' => 1. NoOP(Call origination (ext=${originate_ext}, number=${EXTEN}, chantype=${CHANNEL(channeltype)})) [pbx_config]
- 2. GotoIf(${VALID_EXTEN(callorigination,${EXTEN},dahdi)}?${CHANNEL(channeltype)}) [pbx_config]
- 3. Verbose(Do not know how to originate for channel of type ${CHANNEL(channeltype)}) [pbx_config]
- 4. Hangup(1) [pbx_config]
- [DAHDI] 5. Set(chn=${CUT(CUT(CHANNEL(name),/,2),-,1)}) [pbx_config]
- 6. Gosub(dahdi-setup,${chn},1) [pbx_config]
- 7. Goto(godial) [pbx_config]
- [SIP] 8. Set(CDR(accountcode)=${SIPPEER(${originate_ext},accountcode)) [pbx_config]
- 9. Set(recordoutbound=${SIPPEER(${originate_ext},chanvar[recordoutbound])}) [pbx_config]
- [godial] 10. Set(requirepin=no) [pbx_config]
- 11. Set(nointernalhunt=1) [pbx_config]
- 12. Goto(${SIPPEER(${originate_ext},context)},${EXTEN},1) [pbx_config]
- ...
- -- Executing [102@callorigination:1] NoOp("DAHDI/24-1", "Call origination (ext=, number=102, chantype=DAHDI)") in new stack
- -- Executing [102@callorigination:2] GotoIf("DAHDI/24-1", "0?DAHDI") in new stack
- -- Executing [102@callorigination:3] Verbose("DAHDI/24-1", "Do not know how to originate for channel of type DAHDI") in new stack
- Do not know how to originate for channel of type DAHDI
- -- Executing [102@callorigination:4] Hangup("DAHDI/24-1", "1") in new stack
- == Spawn extension (callorigination, 102, 4) exited non-zero on 'DAHDI/24-1'
- -- Hanging up on 'DAHDI/24-1'
- -- Hungup 'DAHDI/24-1'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement