10-27-2015 10:06 AM - edited 03-17-2019 04:43 AM
Hello Team,
Please I need help with my installation. I am setting up a CME V10 IPT
I have a DID range of 80380553xx to 350
When my phones make external (PSTN) calls, they all use the same line 8038055300 instead of their individual numbers. Example. extension 305 should call with 8038055305.
Secondly inbound calls are not reaching the extensions, I always get the message "The number you are calling is not allocated"; but from debug voip dial-peer, I can see that the calls from PSTN are reaching my gateway.
Regards,
Anthony
Solved! Go to Solution.
10-27-2015 11:39 AM
Hi Anthony.
On your voice port you applied a translation profile that doesn't exist
configure
voice translation-profile PSTN
translate called 1
and that will solve incoming calls matching
For outbound calls
For outgoing calling...
try to configure a translation such as
voice translation-rule 10
rule 1 /^3..*/ /8038055\0/
voice translation-profile CLID
translate calling 10
Apply Voice translation profile on all your outgoing pots dialpeers
with
translatio-profile outgoing CLID
HTH
Regards
Carlo
10-27-2015 10:12 AM
And what does a debug ccapi inout says??
The information you posted is useless without a debug to tell what's wrong
10-27-2015 10:29 AM
10-27-2015 10:55 AM
Hi,
The inbound called number from PSTN is "Called Number=8038055301" but your DNs are 3-digits, for example 301. That's why the incoming call fails. You must either translate the incoming called number to your 3-digits numbers or change the DNs so that they match the full number from your Telco. This is also the reason, but in reverse to incoming reason, why the number shown for outbound calls isn't shown as the individual DNs.
Sincerely
Roger
10-27-2015 11:03 AM
Hi Roger,
Thanks For your response.
I have a translation rule in my config. I also mapped the translation profile containing the T-Rule to my voice port. Its in the sh run I attached earlier.
voice translation-rule 1
rule 1 /8038055\(3..\)/ /\1/
voice-port 0/0/0:15
translation-profile incoming PSTN
But how it affects the outbound calls from the extensions to the PSTN is what I don't understand yet. input is needed
Regards
10-27-2015 11:23 AM
For the incoming part you are missing the translation profile, add this to your config.
voice translation-profile PSTN
translate called 1
For the outgoing it doesn't affect the calling number as your configuration looks currently. You need to translate from your 3-digit numbers to the number that your Telco expect. Probably you need to translate from 301 to 803855301. Create a new rule set and profile and attach that in the outbound direction on your voice port.
Sincerely
Roger
10-27-2015 11:46 AM
Thanks, You guys are really helpful.
The incoming calls from PSTN are working and ringing on the required extensions.
but the outbound calls to PSTN are still using the 8038055300.
below are the modifications I made on the translation rules (for a test using ext. 301);
voice translation-rule 1
rule 1 /8038055\(3..\)/ /\1/
voice translation-rule 2
rule 1 /301/ /8038055301/
voice translation-profile PSTN
translate called 1
voice translation-profile PSTN2
translate calling 2
voice-port 0/0/0:15
translation-profile incoming PSTN
translation-profile outgoing PSTN2
10-27-2015 11:53 AM
Hi Anthony.
Can you please post a debug isdn q931 and a debug voip dialpeer inout
Please put them in two separated files.
Thanks
Regards
Carlo
10-27-2015 12:20 PM
10-27-2015 12:35 PM
Hi Anthony,
as you can see you are correctly sending your full ddi to your provider
ef = 0x0093
Bearer Capability i = 0x8090A3
Standard = CCITT
Transfer Capability = Speech
Transfer Mode = Circuit
Transfer Rate = 64 kbit/s
Channel ID i = 0xA9839F
Exclusive, Channel 31
Calling Party Number i = 0x0181, '8038055309'
Plan:ISDN, Type:Unknown
Called Party Number i = 0x81, '07057023846'
Plan:ISDN, Type:Unknown
Try to change numbering type you send to provider from unknown to subscriber or national according to what your provider expects
In this way
voice translation-rule 10
rule 1 /^3..*/ /8038055\0/ type any subscriber
if with subscriber doesn't work, change it with national
Please let me know
Regards
Carlo
10-27-2015 01:06 PM
Try with setting the calling number to the same format as the Telco send incoming called number to you.
In the original debug it shows as "Called Number=8038055301(TON=Subscriber, NPI=ISDN)"
IE Telco send it in type subscriber and plan ISDN.
10-27-2015 01:56 PM
Thanks Carlo and Roger,
I will effect the changes tomorrow. Its already night here and I need to leave the site.
Thanks for your expert insight.
10-27-2015 12:02 PM
Roger,
I have changed my configuration to reflect as you suggested, but outgoing calls are still using 300 (as last digit instead of its own extension)
voice translation-rule 1
rule 1 /8038055\(3..\)/ /\1/
voice translation-rule 10
rule 1 /^3..*/ /8038055\0/
voice translation-profile CLID
translate calling 10
voice translation-profile PSTN
translate called 1
dial-peer voice 1000 voip
destination-pattern 1...T
translate-outgoing calling 1
session target ras
voice-class codec 1
dtmf-relay h245-signal h245-alphanumeric
fax rate 4800
dial-peer voice 9999 voip
incoming called-number 172342...
dtmf-relay h245-alphanumeric
no vad
dial-peer voice 5 voip
destination-pattern 2000
session protocol sipv2
session target ipv4:10.71.34.10
dtmf-relay sip-notify
codec g711ulaw
no vad
dial-peer voice 1 pots
destination-pattern 3..$
incoming called-number .
direct-inward-dial
port 0/0/0:15
dial-peer voice 2 pots
translation-profile outgoing CLID
destination-pattern 0[7-9].........
port 0/0/0:15
forward-digits 11
dial-peer voice 3 pots
destination-pattern 009T
port 0/0/0:15
forward-digits 11
prefix 009
dial-peer voice 4 pots
destination-pattern 1[2-9]......
port 0/0/0:15
forward-digits all
dial-peer voice 6 pots
destination-pattern 01.......
port 0/0/0:15
forward-digits all
10-27-2015 12:25 PM
Anthony.
Can you please post debug outpu as requested?
Thanks
Regards
Carlo
10-27-2015 11:39 AM
Hi Anthony.
On your voice port you applied a translation profile that doesn't exist
configure
voice translation-profile PSTN
translate called 1
and that will solve incoming calls matching
For outbound calls
For outgoing calling...
try to configure a translation such as
voice translation-rule 10
rule 1 /^3..*/ /8038055\0/
voice translation-profile CLID
translate calling 10
Apply Voice translation profile on all your outgoing pots dialpeers
with
translatio-profile outgoing CLID
HTH
Regards
Carlo
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