cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
552
Views
0
Helpful
3
Replies

Voice Translation Rule !!!

anis_cisco
Level 1
Level 1

Hi all,

I have ccme 7.0.

Below are the debug isdn q931 logs for an ip phone where call forward all is enable on ip phone (having DID 17383831) to 33381821.

can any body tell me how to replace the calling party number 39583729 which is mentioned in bold to 17383831.

I tried to create translation rule, but its not working ....

CCME#
Sep 19 15:04:50.659: ISDN Se0/0/0:15 Q931: RX <- SETUP pd = 8  callref = 0x2D94

        Sending Complete
        Bearer Capability i = 0x8090A3
                Standard = CCITT
                Transfer Capability = Speech
                Transfer Mode = Circuit
                Transfer Rate = 64 kbit/s
        Channel ID i = 0xA18385
                Preferred, Channel 5
        Progress Ind i = 0x8281 - Call not end-to-end ISDN, may have in-band info


        Calling Party Number i = 0x2183, '39583729'
                Plan:ISDN, Type:National
        Called Party Number i = 0xC1, '17383831'
                Plan:ISDN, Type:Subscriber(local)
Sep 19 15:04:50.659: ISDN Se0/0/0:15 Q931: Received SETUP  callref = 0xAD94 call
ID = 0x0606 switch = primary-net5 interface = User
Sep 19 15:04:50.679: ISDN Se0/0/0:15 Q931: TX -> CALL_PROC pd = 8  callref = 0xA
D94
        Channel ID i = 0xA98385
                Exclusive, Channel 5
Sep 19 15:04:50.687: ISDN Se0/0/0:15 Q931: Applying typeplan for sw-type 0x12 is
0x2 0x1, Calling num 39583729
Sep 19 15:04:50.687: ISDN Se0/0/0:15 Q931: Sending SETUP  callref = 0x0861 callI
D = 0x87E2 switch = primary-net5 interface = User
BIPA-CCME#
Sep 19 15:04:50.691: ISDN Se0/0/0:15 Q931: TX -> SETUP pd = 8  callref = 0x0861

        Sending Complete
        Bearer Capability i = 0x8090A3
                Standard = CCITT
                Transfer Capability = Speech
                Transfer Mode = Circuit
                Transfer Rate = 64 kbit/s
        Channel ID i = 0xA9838A
                Exclusive, Channel 10
        Progress Ind i = 0x8281 - Call not end-to-end ISDN, may have in-band info

       Calling Party Number i = 0x2183, '39583729'
                Plan:ISDN, Type:National
        Called Party Number i = 0xC1, '33381821'
                Plan:ISDN, Type:Subscriber(local)
Sep 19 15:04:50.767: ISDN Se0/0/0:15 Q931: RX <- CALL_PROC pd = 8  callref = 0x8
861
        Channel ID i = 0xA9838A
                Exclusive, Channel 10
Sep 19 15:04:56.835: ISDN Se0/0/0:15 Q931: RX <- ALERTING pd = 8  callref = 0x88
61
        Progress Ind i = 0x8282 - Destination address is non-ISDN
        Progress Ind i = 0x8288 - In-band info or appropriate now available
Sep 19 15:04:56.843: ISDN Se0/0/0:15 Q931: TX -> ALERTING pd = 8  callref = 0xAD
94
        Progress Ind i = 0x8282 - Destination address is non-ISDN
        Progress Ind i = 0x8288 - In-band info or appropriate now available
Sep 19 15:05:02.623: ISDN Se0/0/0:15 Q931: RX <- DISCONNECT pd = 8  callref = 0x
8861
        Cause i = 0x8091 - User busy
Sep 19 15:05:02.627: ISDN Se0/0/0:15 Q931: TX -> RELEASE pd = 8  callref = 0x086
1
Sep 19 15:05:02.735: ISDN Se0/0/0:15 Q931: RX <- RELEASE_COMP pd = 8  callref =
0x8861
Sep 19 15:05:02.743: ISDN Se0/0/0:15 Q931: TX -> DISCONNECT pd = 8  callref = 0x
AD94
        Cause i = 0x8091 - User busy
Sep 19 15:05:02.823: ISDN Se0/0/0:15 Q931: RX <- RELEASE pd = 8  callref = 0x2D9
4
Sep 19 15:05:02.823: ISDN Se0/0/0:15 Q931: TX -> RELEASE_COMP pd = 8  callref =
0xAD94
CCME#
CCME#

can any body help me urgently please

Regards,

3 Replies 3

Steven Holl
Cisco Employee
Cisco Employee

Translation probably isn't working because you're matching a different inbound dial-peer than you expect.

Can you get:

sh run

Along with these debugs for the call:

debug voip ccapi inout

debug isdn q931

Something like this should work:

voice translation-rule 1

rule 1 /^39583729$/ /17383831/

voice translation-profile ani

translate calling 1

dial-peer voice 10 pots

incoming called-number 39583729

port 0/0/0:15

translation-profile in ani

Hi Steven,

Thanks for your reply. attached are your required debugs.

Regards

FYI, always run voice debugs at the same time.  Running them separate doesn't show how they talk to each other.

Did you takje a look at the output before you send the debugs off?  What dial-peers did you see that you are matching inbound and outbound for a call?  Do you have translation profiles applied to those peers in the applicable direction?

You have a simple misconfiguration, and I've already alluded to the answer and proper configuration in my previous post.  I have faith that you can cross the last gap and figure it out from here on your own.

Familiarize yourself with these links:

http://www.cisco.com/en/US/partner/tech/tk652/tk90/technologies_configuration_example09186a00803f818a.shtml

http://www.cisco.com/en/US/tech/tk652/tk90/technologies_tech_note09186a008010fed1.shtml

-Steve