We have a voice-gateway connected to a PBX ( for local access) , and to a SBC-Session Border Controller ( for PSTN access), from its configuration here you have a pair of dial-peers:
-----------------------------------------
dial-peer voice 12 pots
huntstop
destination-pattern 130567734..
incoming called-number .T
direct-inward-dial
port 1/0:D <---- ( to local PBX )
forward-digits 4
!
.
.
!
dial-peer voice 26 voip
huntstop
destination-pattern 1305.......
voice-class codec 1
session protocol sipv2 <---- ( to SBC )
session target ipv4:172.20.11.10
session transport udp
tech-prefix 1
dtmf-interworking rtp-nte
.
.
num-exp 305 1305
---------------------------------------------
If this router receives a call from PSTN to 3056773422 while link to PBX is down (port 1/0:D), we expect that call returns a reorder tone thanks to "huntstop" command....
But when our client had an outage and link to PBX failed, all calls from PSTN were returned to SBC ( through dial-peer voice 26 voip???) !!!
Our client is a ISP so that caused a big problem.
Is it possible that router matches with dial-peer voice 26 and returned call toward SBC connection???
Does it require aditional commands in order to assure that this configuration can work good.
Thanks for your help
Enrique Villasana