cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
581
Views
0
Helpful
7
Replies

Voice Translations does not working

Hi.

I have a CME version 9.1 with a problem to translation a called number. The configurations are below:

-------------------------

voice translation-rule 1
   rule 1 /^00../ /025/


voice translation-rule 2
  rule 1 /^.*/ /6133222222/

voice translation-profile GVT-25
  translate calling 2
  translate called 1

dial-peer voice 1 pots
translation-profile outgoing GVT-25
destination-pattern 0.[^0]...[2-6].......
direct-inward-dial
port 0/0/0:15

-----------------------

When I am using the test translation, it works fine:

CCME#test voice translation-rule 1 00145132162136
Matched with rule 1
Original number: 00145132162136 Translated number: 0255132162136
Original number type: none Translated number type: none
Original number plan: none Translated number plan: none

When I make a call to this number, I saw the call going to the dial-peer correct, the process of translation works, but the GwReceivedCalledNumber is not fowarded from the TranslatedCalledNumber

CCME#show call active voice brief

<supressed>

SIP call-legs: 1
H323 call-legs: 0
Call agent controlled call-legs: 0
SCCP call-legs: 0
Multicast call-legs: 0
Total call-legs: 2
22C4 : 10894289 579893298ms.1 (.17:29:47.427 SAS Mon Mar 6 2017) +-1 pid:40019 Answer 4707 connecting
dur 00:00:00 tx:98/15680 rx:96/15360 dscp:0 media:0 audio tos:0xB8 video tos:0x0
IP 192.168.50.37:19656 SRTP: off rtt:0ms pl:0/0ms lost:0/0/0 delay:0/0/0ms g711alaw TextRelay: off Transcoded: No
media inactive detected:n media contrl rcvd:n/a timestamp:n/a
long duration call detected:n long duration call duration:n/a timestamp:n/a

22C4 : 10894291 579897588ms.1 (.17:29:51.709 SAS Mon Mar 6 2017) +-1 pid:1 Originate 0145132162136 connecting
dur 00:00:00 tx:97/16296 rx:99/15840 dscp:0 media:0 audio tos:0x0 video tos:0x0
Tele 0/0/0:15 (10894291) [0/0/0.1] tx:1970/1970/0ms g711alaw noise:-60 acom:3 i/0:-7/-66 dBm

CCME#show call active voice 

<supressed>

OriginalCalledNumber=00145132162136
OriginalCalledOctet=0x0
OriginalRedirectCalledNumber=
OriginalRedirectCalledOctet=0x80
TranslatedCallingNumber=6133222222
TranslatedCallingOctet=0x0
TranslatedCalledNumber=0255132162136
TranslatedCalledOctet=0x0
TranslatedRedirectCalledNumber=
TranslatedRedirectCalledOctet=0x80
GwCollectedCalledNumber=00145132162136
GwReceivedCalledNumber=00145132162136

I dont know why the number is not translating to Gw. Anyone could help me?

Regards

7 Replies 7

Dennis Mink
VIP Alumni
VIP Alumni

So does the outbound call trough your dial-peer 1 pots actually fail?

Please remember to rate useful posts, by clicking on the stars below.

No, it works, but I need to chance any type of Brazilian external telephone operator (21 Embratel, 31 Oi, 14 Brasil Telecom etc..) to GVT external telephone operator (number 25) because it has low call costs.

Our company have voice routers in Brazil also, we only have Oi so we add a prefix to the call.

dial-peer voice 10 pots
 description LONG DISTANCE CALLS
 destination-pattern 90[1-9][1-9]........$
 port 0/0/0:0
 prefix 031

!
dial-peer voice 11 pots
 description LONG DISTANCE CALLS (CELLPHONES)
 destination-pattern 90[1-9][1-9][6-9]........
 port 0/0/0:0
 prefix 031

Hi Rolando,

In your configuration, what happen if the you make calls using another prefix, for example, using 014? There no translation?

They cant, their dial plan is the following:

N/A 1-Phone  
N/A BRSP-Internal  
19[0-47-9] BRSP-Local Emergency Numbers
9.19[0-47-9] BRSP-Local Emergency Numbers
9.[2-5]XXXXXXX BRSP-Local Brazil local dialing 2-5 for fixed phones.
9.[6-9]! BRSP-Local Brazil local dialing 6-9 for mobile phones.
90.800XXXXXXX BRSP-Local 0800 is the prefix used for toll-free telephone numbers.
90.800XXXXXX BRSP-Local 0800 is the prefix used for toll-free telephone numbers 10-digits.
90.[1-9][1-9][2-5]XXXXXXX BRSP-LD Brazil long-distance dialing 2-5 for fixed phones.
9.0[1-9][1-9][6-9]! BRSP-LD Brazil long-distance dialing 6-9 for mobile phones.
90.300XXXXXXX BRSP-LD For long-distance calls - 0300 is the prefix used for local-rate calls.
9.10[3-6]! BRSP-LD Brazil 5 digits service numbers

At some point our company made a deal with Oi and that's why we only uses that prefix, the end user cannot choose or add a prefix.

I dont remember the dialing rules, but if the user can decide the prefix, I will force the users to type it and then you dont need to do any translation.

Rolando A. Valenzuela.

PD: the output of debug isdn q931 also shows the incorrect number being sent out?

HARIS_HUSSAIN
VIP Alumni
VIP Alumni

Can you collect the debug traces like debug isdn q931 to verify if translation is happening. 

I think OriginalCalledNumber=00145132162136 will be always equal to GwCollectedCalledNumber=00145132162136.

CCME#debug isdn q931 is ON.
CCME#
CCME#term mon
CCME#
012076: .Mar 7 13:00:44.045: ISDN Se0/0/0:15 Q931: Applying typeplan for sw-type 0x16 is 0x0 0x0, Calling num 6133222222
012077: .Mar 7 13:00:44.049: ISDN Se0/0/0:15 Q931: Sending SETUP callref = 0x143E callID = 0x93BF switch = primary-qsig interface = User
012078: .Mar 7 13:00:44.049: ISDN Se0/0/0:15 Q931: TX -> SETUP pd = 8 callref = 0x143E
Bearer Capability i = 0x8090A3
Standard = CCITT
Transfer Capability = Speech
Transfer Mode = Circuit
Transfer Rate = 64 kbit/s
Channel ID i = 0xA98381
Exclusive, Channel 1
Progress Ind i = 0x8183 - Origination address is non-ISDN
Calling Party Number i = 0x0080, '6133222222'
Plan:Unknown, Type:Unknown
Called Party Number i = 0x80, '0255132162136'
Plan:Unknown, Type:Unknown
012079: .Mar 7 13:00:44.129: ISDN Se0/0/0:15 Q931: RX <- SETUP_ACK pd = 8 callref = 0x943E
Channel ID i = 0xA98381
Exclusive, Channel 1
012080: .Mar 7 13:00:48.341: ISDN Se0/0/0:15 Q931: RX <- CALL_PROC pd = 8 callref = 0x943E
Progress Ind i = 0x8281 - Call not end-to-end ISDN, may have in-band info
Progress Ind i = 0x8288 - In-band info or appropriate now available
012081: .Mar 7 13:00:48.769: ISDN Se0/0/0:15 Q931: RX <- ALERTING pd = 8 callref = 0x943E
Progress Ind i = 0x8281 - Call not end-to-end ISDN, may have in-band info
Progress Ind i = 0x8288 - In-band info or appropriate now available
012082: .Mar 7 13:00:55.313: ISDN Se0/0/0:15 Q931: TX -> DISCONNECT pd = 8 callref = 0x143E
Cause i = 0x8090 - Normal call clearing
012083: .Mar 7 13:00:55.365: ISDN Se0/0/0:15 Q931: RX <- RELEASE pd = 8 callref = 0x943E
012084: .Mar 7 13:00:55.369: ISDN Se0/0/0:15 Q931: TX -> RELEASE_COMP pd = 8 callref = 0x143E

CCME#show call active voice

GENERIC:
SetupTime=9229403750 ms (.10:02:43.281 SAS Tue Mar 7 2017)
Index=1
PeerAddress=4741
PeerSubAddress=
PeerId=20047
PeerIfIndex=252
LogicalIfIndex=251
ConnectTime=0 ms (0)
CallDuration=00:00:00 sec
CallState=3
CallOrigin=2
ChargedUnits=0
InfoType=speech
TransmitPackets=0
TransmitBytes=0
ReceivePackets=0
ReceiveBytes=0
TELE:
ConnectionId=[0x2FAF968B 0x26D11E7 0x9C88FE12 0xB27E0552]
IncomingConnectionId=[0x2FAF968B 0x26D11E7 0x9C88FE12 0xB27E0552]
CallID=10953352
GlobalCallId=[0x2FAF968B 0x26D11E7 0x9C88FE12 0xB27E0552]
Port=50/0/47 (10953352)
BearerChannel=50/0/47.0
TxDuration=0 ms
VoiceTxDuration=0 ms
FaxTxDuration=0 ms
CoderTypeRate=g711ulaw
NoiseLevel=0
ACOMLevel=0
OutSignalLevel=0
InSignalLevel=0
InfoActivity=2
ERLLevel=0
EchoCancellerMaxReflector=14158
SessionTarget=
ImgPages=0
CallerName=FABIO HENRIQUE-PC
CallerIDBlocked=False
LongDurationCallDetected=no
LongDurCallTimeStamp=
LongDurCallDuration=
OriginalCallingNumber=4741
OriginalCallingOctet=0x0
OriginalCalledNumber=
OriginalCalledOctet=0x80
OriginalRedirectCalledNumber=
OriginalRedirectCalledOctet=0x0
TranslatedCallingNumber=4741
TranslatedCallingOctet=0x0
TranslatedCalledNumber=
TranslatedCalledOctet=0x80
TranslatedRedirectCalledNumber=
TranslatedRedirectCalledOctet=0x0
GwCollectedCalledNumber=00145132162136
GwReceivedCallingNumber=4741
GwReceivedCallingOctet3=0x0
GwReceivedCallingOctet3a=0x0
MlppServiceDomainNW=0 (none)
MlppServiceDomainID=0
PrecedenceLevel=-1 (PRECEDENCE_LEVEL_NONE)

GENERIC:
SetupTime=9229411080 ms (.10:02:50.609 SAS Tue Mar 7 2017)
Index=1
PeerAddress=0255132162136
PeerSubAddress=
PeerId=7
PeerIfIndex=146
LogicalIfIndex=80
ConnectTime=0 ms (0)
CallDuration=00:00:00 sec
CallState=2
CallOrigin=1
ChargedUnits=0
InfoType=speech
TransmitPackets=84
TransmitBytes=14112
ReceivePackets=92
ReceiveBytes=14720
TELE:
ConnectionId=[0x2FAF968B 0x26D11E7 0x9C88FE12 0xB27E0552]
IncomingConnectionId=[0x2FAF968B 0x26D11E7 0x9C88FE12 0xB27E0552]
CallID=10953353
GlobalCallId=[0x2FAF968B 0x26D11E7 0x9C88FE12 0xB27E0552]
Port=0/0/0:15 (10953353)
BearerChannel=0/0/0.1
TxDuration=1840 ms
VoiceTxDuration=1840 ms
FaxTxDuration=0 ms
CoderTypeRate=g711ulaw
NoiseLevel=-62
ACOMLevel=3
OutSignalLevel=-34
InSignalLevel=-7
InfoActivity=1
ERLLevel=51
SessionTarget=
ImgPages=0
CallerName=FABIO HENRIQUE-PC
CallerIDBlocked=False
AlertTimepoint=639476908 ms (.10:02:51.029 SAS Tue Mar 7 2017)
LongDurationCallDetected=no
LongDurCallTimeStamp=
LongDurCallDuration=
OriginalCallingNumber=4741
OriginalCallingOctet=0x0
OriginalCalledNumber=
OriginalCalledOctet=0x80
OriginalRedirectCalledNumber=
OriginalRedirectCalledOctet=0x0
TranslatedCallingNumber=6133222222
TranslatedCallingOctet=0x0
TranslatedCalledNumber=0255132162136
TranslatedCalledOctet=0x80
TranslatedRedirectCalledNumber=
TranslatedRedirectCalledOctet=0x0
GwCollectedCalledNumber=00145132162136
GwReceivedCallingNumber=4741
GwReceivedCallingOctet3=0x0
GwReceivedCallingOctet3a=0x0
GwOutpulsedCallingNumber=6133222222
GwOutpulsedCallingOctet3=0x0
GwOutpulsedCallingOctet3a=0x0
DSPIdentifier=0/1:1
MlppServiceDomainNW=0 (none)
MlppServiceDomainID=0
PrecedenceLevel=-1 (PRECEDENCE_LEVEL_NONE)

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: