03-05-2014 01:05 AM - edited 03-16-2019 10:01 PM
Hello,
I have the numbers which are 7 digit 8002111,8042222 and they are working good with the below configuration.
dial-peer voice 800 voip
description ** Outgoing Calls Toll Fr
translation-profile incoming dialed
destination-pattern 98[024].....
translate-outgoing calling 1
translate-outgoing called 2
session protocol sipv2
session target ipv4:10.21.20.49
dtmf-relay rtp-nte sip-notify
codec g711alaw
no vad
I also have one more number which is 10 digit 8002490123 and I want my users to be able to dial both the 7 digit and 10 digit numbers.
How can I make a dialpeer
Solved! Go to Solution.
03-05-2014 01:29 AM
If you are going to use same dial-peer then put this in:
destination-pattern 98[024].....T
If you want to keep this one then add T as I said and create another dial-peer with exact 10 digit match like:
destination-pattern 98[024]........
HTH,
Dragan
03-05-2014 01:29 AM
If you are going to use same dial-peer then put this in:
destination-pattern 98[024].....T
If you want to keep this one then add T as I said and create another dial-peer with exact 10 digit match like:
destination-pattern 98[024]........
HTH,
Dragan
03-05-2014 01:44 AM
Thanks I did not created the a 10 digit dial peer I jsut used T on the existing dialpeer. Can you please le me know what T denotes and when it should be used.
03-05-2014 01:59 AM
T is for interdigit timeout...so when you have match on dial-peer (not exact match in digits ie some digit pattern is matched) that dial-peer waits to see whole entered numbers and then send digits out. It's used in variable length dial-plans...
So for example in your dial-peer you could enter only 98[024].T and it should work just fine.
HTH,
Dragan
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