[from-pri-pstn]
; Calls from BT arrive here for processing
; match anything that arrives from BT, and send it out on port 2
exten => _21766X,1,Dial(ZAP/g2/${EXTEN})
exten => _21766X,2,Congestion
exten => _21766X,102,Busy
exten => _21767[012346789],1,Dial(ZAP/g2/${EXTEN})
exten => _21767[012346789],2,Congestion
exten => _21767[012346789],102,Busy
exten => 217675,1,Answer()
exten => 217675,n,SayUnixTime(,GMT, R)
exten => 217675,n,hangup
[from-internal]
; any calls from the Nortel arrive here for processing
; we match anything and send it to BT without passing 'Go'
; Note, with this you may have a 4-second post-dial delay
; need to have better matching for faster call connects...
exten => _X.,1,Dial(ZAP/g1/${EXTEN})
exten => _X.,2,Congestion
exten => _X.,102,Busy