06-27-2019 01:03 AM - edited 06-27-2019 01:06 AM
Hi ,
I have SRST gateway with 2 PRI .
Each of the PRI connected to different provider.
SRST configured with SIP protocol ,Each of the PRI has a different DID.
voice register global
defualt mode
no allow-hash-in-dn
max-dn 600
max-pool 500
dialplan-pattern 1 6834... extension-lenght 4
dialplan-pattern 2 683454... extension-lenght 4
when calling to 6834... it's works properly, when calling to 683454... it's not working.
If I will change the configuration that 683454... will be "dialplan-pattern 1" it's will work propely but 6834... isn't.
Any suggest?
06-27-2019 02:37 AM
06-27-2019 02:53 AM
Hi ,
Thank you for your response.
I was wrong.
DID 1 is 6404...
DID 2 is 733294...
voice register global
defualt mode
no allow-hash-in-dn
max-dn 600
max-pool 500
dialplan-pattern 1 6404... extension-lenght 4
dialplan-pattern 2 733294... extension-lenght 4
when calling to 6404... it's works properly, when calling to 733294... it's not working.
If I will change the configuration that 733294... will be "dialplan-pattern 1" it's will work propely but 6404... isn't.
06-27-2019 04:03 AM
06-27-2019 04:37 AM
Hi,
The issue is with incoming calls from PSTN to Phone registered to SRST when the second dialplan-pattern not match, just dialplan-pattern 1 match.
attached is "show dial-peer voice sammery"
06-27-2019 06:50 AM
Your dialplan-pattern 2 is 733294... and your dial-peer voice 30 is 73329....
I wonder if making them match would solve the problem. Spitballing here...
Maren
06-27-2019 06:56 AM
Hi ,
Thanks for your response .
It's not the issue , if I will configure the dialplan-pattern 1 for 733294.. it's will work .
The issue is that the second dialplan-pattern (2) isn't work no matter what I define.
06-27-2019 12:32 PM - edited 06-27-2019 12:33 PM
Can you try it using voice translation-rule instead of using dialplan-pattern? Here is the configuration:
! voice translation-rule 1 rule 1 /^640\(4...\)$/ /\1/ ! voice translation-rule 2 rule 1 /^73329\(4...\)$/ /\1/ ! voice translation-profile PRI1-PSTN-IN translate called 1 ! voice translation-profile PRI2-PSTN-IN translate called 2 ! dial-peer voice 9001 pots description # Incoming Calls on PRI-1 # translation-profile incoming PRI1-PSTN-IN incoming called-number 6404... direct-inward-dial port 0/0/1:23 --------------------------------------> Change PRI Port number according to your setup. ! dial-peer voice 9002 pots description # Incoming Calls on PRI-2 # translation-profile incoming PRI2-PSTN-IN incoming called-number 733294... direct-inward-dial port 0/0/2:23 --------------------------------------> Change PRI Port number according to your setup. !
07-02-2019 05:23 AM
Hi ,
Thanks for your response.
This configuration working in SRST mode , but i have a problem to configure it because incoming calls which route to CUCM needs to forward all the pattern include 6404... (the cucm discard digits) and if i will configure the below dial-peer 9001 will match and discard the first three digits and i can't forward just 4 digits to CUCM because i have a lot a manipulations on CUCM.
In SRST mode i need to forward 4 digit using dialpeer pots.
In CUCM mode i need to forward digit all using dialpeer voip.
Thanks,
Danielo.
07-02-2019 06:27 AM
Hi,
Do you just want to forward 6404... to CUCM or you want to forward both 6404... and 733294...?
07-02-2019 07:13 AM
Hi,
I want forward both 6404... and 733294...to cucm.
Thanks,
Danielo.
07-02-2019 08:11 AM
What protocol are you using between SRST Router and CUCM for PRI lines?
07-02-2019 08:47 AM - edited 07-02-2019 08:53 AM
Hi,
CUCM mode:
Provider-> E1 PRI -> VGW -> SIP -> CUCM ->sip ip phone
SRST mode:
Provider -> E1 PRI -> VGW -> sip ip phone.
Thanks,
Danielo.
Thanks,
Danielo.
07-02-2019 09:38 AM
I am assuming that you have unique 4-digit numbers in DID range 6404... and 733294... for example 6404[1-4]XX and 733294[5-8]XX; then here is the configuration you can try for non-SRST and SRST mode:
! voice class codec 1 codec preference 1 g711ulaw codec preference 2 g729r8 ! voice class server-group 1000 ipv4 10.10.200.21 preference 1--------------------------------------> Change CUCM IP according to your setup. ipv4 10.10.200.22 preference 2--------------------------------------> Change CUCM IP according to your setup. description ** CUCM SERVER GROUP ** ! voice translation-rule 1 rule 1 /^640\(4[1-4]..\)$/ /\1/ ! voice translation-rule 2 rule 1 /^73329\(4[5-8]..\)$/ /\1/ ! voice translation-rule 3 rule 1 /^\(4[1-4]..\)$/ /640\1/ rule 2 /^\(4[5-8]..\)$/ /73329\1/ ! voice translation-profile PRI1-PSTN-IN translate called 1 ! voice translation-profile PRI2-PSTN-IN translate called 2 ! voice translation-profile CUCM-OUT translate called 3 ! dial-peer voice 1001 voip preference 1 description ** OUTBOUND CALLS TO CUCM CLUSTER ** translation-profile outgoing CUCM-OUT destination-pattern 4...$ session protocol sipv2 session server-group 1000 voice-class codec 1 voice-class sip early-offer forced voice-class sip bind control source-interface GigabitEthernet0/0/0-------> Change interface according to your setup. voice-class sip bind media source-interface GigabitEthernet0/0/0-------> Change interface according to your setup. dtmf-relay rtp-nte ip qos dscp cs5 media ip qos dscp cs4 signaling no vad ! dial-peer voice 9001 pots description # Incoming Calls on PRI-1 # translation-profile incoming PRI1-PSTN-IN incoming called-number 6404... direct-inward-dial port 0/0/1:23 --------------------------------------> Change PRI Port number according to your setup. ! dial-peer voice 9002 pots description # Incoming Calls on PRI-2 # translation-profile incoming PRI2-PSTN-IN incoming called-number 733294... direct-inward-dial port 0/0/2:23 --------------------------------------> Change PRI Port number according to your setup. !
During normal operation, the dial-peer 1001 will be used to prefix the digits and send the calls to CUCM. During SRST mode, the IP Phones will register to SRST router with 4-digit DN and it will create dial peers automatically.
06-27-2019 07:49 AM
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