Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- same = n,GosubIf($["${MASTER_CHANNEL(sm_call[${call_index}][pstn_dial])}" != ""]?pstn_dial)
- same = n,GosubIf($["${MASTER_CHANNEL(sm_call[${call_index}][ecf_dial])}" != ""]?ecf_dial)
- same = n,GosubIf($["${MASTER_CHANNEL(sm_call[${call_index}][cfu_dial])}" != ""]?cfu_dial)
- same = n,GosubIf($["${MASTER_CHANNEL(sm_call[${call_index}][dnis_dial])}" != ""]?dnis_dial)
- same = n,Return
- same = n(pstn_dial),Gosub(dial,${EXTEN},1(pstn_dial,pstn_switch,PSTN))
- same = n,Return
- same = n(ecf_dial),Noop
- same = n,Gosub(dial,${EXTEN},1(ecf_dial,ecf_switch,ECF))
- same = n,Return
- same = n(cfu_dial),Gosub(dial,${EXTEN},1(cfu_dial,cfu_switch,CFU))
- same = n,Return
- same = n(dnis_dial),Gosub(dial,${EXTEN},1(dnis_dial,dnis_switch,DEFAULT))
- same = n,Return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement