Advertisement
Guest User

Untitled

a guest
Jan 6th, 2022
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.76 KB | None | 0 0
  1.  
  2. same = n,GosubIf($["${MASTER_CHANNEL(sm_call[${call_index}][pstn_dial])}" != ""]?pstn_dial)
  3. same = n,GosubIf($["${MASTER_CHANNEL(sm_call[${call_index}][ecf_dial])}" != ""]?ecf_dial)
  4. same = n,GosubIf($["${MASTER_CHANNEL(sm_call[${call_index}][cfu_dial])}" != ""]?cfu_dial)
  5. same = n,GosubIf($["${MASTER_CHANNEL(sm_call[${call_index}][dnis_dial])}" != ""]?dnis_dial)
  6. same = n,Return
  7.  
  8. same = n(pstn_dial),Gosub(dial,${EXTEN},1(pstn_dial,pstn_switch,PSTN))
  9. same = n,Return
  10.  
  11. same = n(ecf_dial),Noop
  12. same = n,Gosub(dial,${EXTEN},1(ecf_dial,ecf_switch,ECF))
  13. same = n,Return
  14.  
  15. same = n(cfu_dial),Gosub(dial,${EXTEN},1(cfu_dial,cfu_switch,CFU))
  16. same = n,Return
  17.  
  18. same = n(dnis_dial),Gosub(dial,${EXTEN},1(dnis_dial,dnis_switch,DEFAULT))
  19. same = n,Return
  20.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement