06-14-2012 03:56 PM - edited 03-19-2019 05:06 AM
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 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).....
Is it possible that router matches with dial-peer voice 26 and return call toward SBC connection???
Or router should generate a reorder tone (after matching with dial-peer 12)???
Thanks for your help
Enrique Villasana
06-15-2012 06:29 AM
You will need to remove "huntstop" on dial peer 12 for that to work, if you remove it then it will route to it as it also matches the same pattern (less explicit makes it secondary).
Chris
07-09-2012 02:47 PM
Hi Chris Deren.
I was working on another project and forgot this old problem, but I am back.
As you said, If I do not remove "huntstop" on dial peer 12, the call never will be routed via dial-peer 26???.
Thanks for your very importat help...
Enrique Villasana
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide