cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
672
Views
5
Helpful
6
Replies

Digit translation - stripping number on incoming

vbiccarino
Level 1
Level 1

Hi

 

I am setting up a CME in Johannesburg that is connected to an MTN ISDN30

 

the DID range is 0102850100 - 199 but I have made the extns begin with a '1' so for example if I call 0102850199 from an external number it will ring 1199.

 

I am having problems getting incoming DID calls to ring the extensions. I have configured the CME as follows. Is there something I am missing as when I test my translation it seems to behave correctly?

 

 

OUTUT OF DEBUG ISDN Q931
========================
*Apr  8 10:20:59.317: ISDN Se0/0/0:15 Q931: RX <- SETUP pd = 8  callref = 0x6902
        Bearer Capability i = 0x9090A3
                Standard = CCITT
                Transfer Capability = 3.1kHz Audio
                Transfer Mode = Circuit
                Transfer Rate = 64 kbit/s
        Channel ID i = 0xA98381
                Exclusive, Channel 1
        Calling Party Number i = 0x0080, '441733395300'
                Plan:Unknown, Type:Unknown
        Called Party Number i = 0x80, '27102850199'
                Plan:Unknown, Type:Unknown
        Sending Complete
*Apr  8 10:20:59.317: ISDN Se0/0/0:15 Q931: Received SETUP  callref = 0xE902 callID = 0x016A switch = primary-net5 interface = User
*Apr  8 10:20:59.321: ISDN Se0/0/0:15 Q931: TX -> CALL_PROC pd = 8  callref = 0xE902
        Channel ID i = 0xA98381
                Exclusive, Channel 1
*Apr  8 10:20:59.321: ISDN Se0/0/0:15 Q931: TX -> DISCONNECT pd = 8  callref = 0xE902
        Cause i = 0x8081 - Unallocated/unassigned number
*Apr  8 10:20:59.345: ISDN Se0/0/0:15 Q931: RX <- RELEASE pd = 8  callref = 0x6902
*Apr  8 10:20:59.345: ISDN Se0/0/0:15 Q931: TX -> RELEASE_COMP pd = 8  callref = 0xE902
*Apr  8 10:20:59.889: ISDN Se0/0/0:15 Q931: RX <- SETUP pd = 8  callref = 0x6A02
        Bearer Capability i = 0x9090A3
                Standard = CCITT
                Transfer Capability = 3.1kHz Audio
                Transfer Mode = Circuit
                Transfer Rate = 64 kbit/s
        Channel ID i = 0xA98381
                Exclusive, Channel 1
        Calling Party Number i = 0x0080, '441733395300'
                Plan:Unknown, Type:Unknown
        Called Party Number i = 0x80, '27102850199'
                Plan:Unknown, Type:Unknown
        Sending Complete
*Apr  8 10:20:59.889: ISDN Se0/0/0:15 Q931: Received SETUP  callref = 0xEA02 callID = 0x016B switch = primary-net5 interface = User
*Apr  8 10:20:59.893: ISDN Se0/0/0:15 Q931: TX -> CALL_PROC pd = 8  callref = 0xEA02
        Channel ID i = 0xA98381
                Exclusive, Channel 1
*Apr  8 10:20:59.897: ISDN Se0/0/0:15 Q931: TX -> DISCONNECT pd = 8  callref = 0xEA02
        Cause i = 0x8081 - Unallocated/unassigned number
*Apr  8 10:20:59.925: ISDN Se0/0/0:15 Q931: RX <- RELEASE pd = 8  callref = 0x6A02
*Apr  8 10:20:59.925: ISDN Se0/0/0:15 Q931: TX -> RELEASE_COMP pd = 8  callref = 0xEA02
*Apr  8 10:21:01.301: ISDN Se0/0/0:15 Q931: RX <- SETUP pd = 8  callref = 0x6B02
        Bearer Capability i = 0x9090A3
                Standard = CCITT
                Transfer Capability = 3.1kHz Audio
                Transfer Mode = Circuit
                Transfer Rate = 64 kbit/s
        Channel ID i = 0xA98381
                Exclusive, Channel 1
        Calling Party Number i = 0x0080, '441733395300'
                Plan:Unknown, Type:Unknown
        Called Party Number i = 0x80, '27102850199'
                Plan:Unknown, Type:Unknown
        Sending Complete
*Apr  8 10:21:01.301: ISDN Se0/0/0:15 Q931: Received SETUP  callref = 0xEB02 callID = 0x016C switch = primary-net5 interface = User
*Apr  8 10:21:01.305: ISDN Se0/0/0:15 Q931: TX -> CALL_PROC pd = 8  callref = 0xEB02
        Channel ID i = 0xA98381
                Exclusive, Channel 1
*Apr  8 10:21:01.305: ISDN Se0/0/0:15 Q931: TX -> DISCONNECT pd = 8  callref = 0xEB02
        Cause i = 0x8081 - Unallocated/unassigned number
*Apr  8 10:21:01.333: ISDN Se0/0/0:15 Q931: RX <- RELEASE pd = 8  callref = 0x6B02
*Apr  8 10:21:01.333: ISDN Se0/0/0:15 Q931: TX -> RELEASE_COMP pd = 8  callref = 0xEB02
*Apr  8 10:21:01.877: ISDN Se0/0/0:15 Q931: RX <- SETUP pd = 8  callref = 0x6C02
        Bearer Capability i = 0x9090A3
                Standard = CCITT
                Transfer Capability = 3.1kHz Audio
                Transfer Mode = Circuit
                Transfer Rate = 64 kbit/s
        Channel ID i = 0xA98381
                Exclusive, Channel 1
        Calling Party Number i = 0x0080, '441733395300'
                Plan:Unknown, Type:Unknown
        Called Party Number i = 0x80, '27102850199'
                Plan:Unknown, Type:Unknown
        Sending Complete
*Apr  8 10:21:01.877: ISDN Se0/0/0:15 Q931: Received SETUP  callref = 0xEC02 callID = 0x016D switch = primary-net5 interface = User
*Apr  8 10:21:01.885: ISDN Se0/0/0:15 Q931: TX -> CALL_PROC pd = 8  callref = 0xEC02
        Channel ID i = 0xA98381
                Exclusive, Channel 1
*Apr  8 10:21:01.885: ISDN Se0/0/0:15 Q931: TX -> DISCONNECT pd = 8  callref = 0xEC02
        Cause i = 0x8081 - Unallocated/unassigned number
*Apr  8 10:21:01.909: ISDN Se0/0/0:15 Q931: RX <- RELEASE pd = 8  callref = 0x6C02
*Apr  8 10:21:01.909: ISDN Se0/0/0:15 Q931: TX -> RELEASE_COMP pd = 8  callref = 0xEC02


VOICE TRANSLATION CONFIG
========================

voice translation-rule 100
 rule 1 /^27102850/ /1/

voice translation-profile INCOMING
 translate calling 100

dial-peer voice 100 pots
 translation-profile incoming INCOMING
 incoming called-number .
 direct-inward-dial


voice-port 0/0/0:15
 translation-profile incoming INCOMING
 local-alerting
 cptone ZA
 description VOICE ISDN


VOICE TRANSLATION-RULE TEST
===========================
SA-RDCDMVPNRTR#test voice translation-rule 100 27102850199
Matched with rule 1
Original number: 27102850199    Translated number: 1199
Original number type: none      Translated number type: none
Original number plan: none      Translated number plan: none

 

1 Accepted Solution

Accepted Solutions

Your question is still open? I'm not sure which one of your last comment is latest...

If you got is solved, please close the thread else let me know if you have any other question.

View solution in original post

6 Replies 6

Vivek Batra
VIP Alumni
VIP Alumni

I think you need to apply digit manipulation to CALLED number, but you are applying to CALLING number.

Thanks

Vivek

Hi Vivek

 

Thank You for your reply

 

I thought I had done that by "incoming called-number ."

 

Is this wrong? What do I need to do?

 

Many Thanks

Your question is still open? I'm not sure which one of your last comment is latest...

If you got is solved, please close the thread else let me know if you have any other question.

Hi Vivek

 

I looked again and saw what you meant. Please ignore my question. It's now working as it should.

 

Thanks again

Nishant Savalia
Level 4
Level 4

Hi,

what i understood from your requirement is that you want to translate your called number. And the profile that you have configured is actually translating "calling number" 

voice translation-profile INCOMING
 translate calling 100  //// Translating calling number.

 

Modification:-

voice translation-profile INCOMING
 translate called 100   //// called instead of calling

 

You could have checked this yourself by running few other debug commands:-

debug voice translation

debug voice ccapi inout

 

Thanks,

Nishant

 

Regards, Nishant Savalia

Hi Nishant

 

I saw my mistake. Thanks for taking the time to answer me.

 

Vince