[general]
static=yes
writeprotect=no
clearglobalvars=no


[t2-1]
exten=>_9637.,1,NoOp(--${CALLERID(num)} - ${EXTEN} --)
same=>n,Stasis(smex_in)
same=>n,GotoIf($["${STASISSTATUS}" = "FAILED"]?direct_dial:hang)
same=>n(direct_dial),Dial(SIP/t2-1/9638${EXTEN:4})
same=>n(hang),Hangup()

exten=>_9636.,1,NoOp(--${CALLERID(num)} - ${EXTEN} --)
same=>n,Stasis(smex_out)
same=>n,GotoIf($["${STASISSTATUS}" = "FAILED"]?direct_dial:hang)
same=>n(direct_dial),Dial(SIP/t2-1/${EXTEN:4})
same=>n(hang),Hangup()

;;exten=>_+X.,1,NoOp(-- JURIS --)
;;same=>n,Dial(SIP/t2-1/+37126528066)

exten=>_+X.,1,NoOp(--${CALLERID(num)} - ${EXTEN} --)
same=>n,Stasis(smex_out)
same=>n,GotoIf($["${STASISSTATUS}" = "FAILED"]?direct_dial:hang)
same=>n(direct_dial),Dial(SIP/t2-1/${EXTEN})
same=>n(hang),Hangup()

[t2-2]
exten=>_9637.,1,NoOp(--${CALLERID(num)} - ${EXTEN} -- 9637.....)
same=>n,Stasis(smex_in)
same=>n,GotoIf($["${STASISSTATUS}" = "FAILED"]?direct_dial:hang)
same=>n(direct_dial),Dial(SIP/t2-2/9638${EXTEN:4})
same=>n(hang),Hangup()

exten=>_9636.,1,NoOp(--${CALLERID(num)} - ${EXTEN} -- 9636...)
same=>n,Stasis(smex_out)
same=>n,GotoIf($["${STASISSTATUS}" = "FAILED"]?direct_dial:hang)
same=>n(direct_dial),Dial(SIP/t2-2/${EXTEN:4})
same=>n(hang),Hangup()

exten=>_+X.,1,NoOp(--${CALLERID(num)} - ${EXTEN} -- +X.....)
same=>n,Stasis(smex_out)
same=>n,GotoIf($["${STASISSTATUS}" = "FAILED"]?direct_dial:hang)
same=>n(direct_dial),Dial(SIP/t2-2/${EXTEN})
same=>n(hang),Hangup()
