×

Warning message

  • Cisco Support Forums is in Read Only mode while the site is being migrated.
  • Cisco Support Forums is in Read Only mode while the site is being migrated.

Translation Pattern for Diverted calls

Unanswered Question
Oct 14th, 2013
User Badges:

Hi)


I'm after a bit of help with translation patterns.


We have an incomming BRI line on an H323 gateway, 5056020, that follows a translation rule
"rule 1 /^.*\(..\)/ /4581\1/" to connect to reception (it replaces 5056020 with 458120
which is the recption phone.


We have a separate PSTN line, 5056030, that is redirected by the telco to 5056020.


I need to be able to send these incomming redirected call to a different extn, 458162.


I have tried a few options such as


voice translation-rule 1       **sends calls to reception**
rule 1 /^.*\(..\)/ /4581\1/
!
voice translation-rule 7    ** sends calls to Extn 458162**
rule 1 /^5056030$/ /458162/
!
voice translation-profile INGRESS
translate called 1
translate redirect-called 7





Whatever I do all calls go to reception, any thoughts ?
Below is debug isdn q931 for reference for a redirected call.
I am trying to work with the "redirecting num 5056030" part.


thanks.



router#
Oct 14 13:47:58 UTC: ISDN BR0/2/1 Q931: RX <- FACILITY pd = 8  callref = N/A
        Facility i = 0x91A10E02010102010C30060A01010A0101
                Protocol Profile = Remote Operations Protocol
                0xA10E02010102010C30060A01010A0101
                Component = Invoke component, Unsupported operation
        Called Party Number i = 0x81, '5056030'
                Plan:ISDN, Type:Unknown
Oct 14 13:47:58 UTC: ISDN BR0/2/1 **ERROR**: host_facility_invoke: HOST_FAC_INV: B-channel = D-channel
                call id 0xFFFF
Oct 14 13:47:59 UTC: ISDN BR0/2/0 Q931: RX <- SETUP pd = 8  callref = 0x1E
        Sending Complete
        Bearer Capability i = 0x8090A3
                Standard = CCITT
                Transfer Capability = Speech
                Transfer Mode = Circuit
                Transfer Rate = 64 kbit/s
        Channel ID i = 0x89
                Exclusive, B1
        Facility i = 0x91A1210202008002010F30180201010A0101A110A00EA10C0A0104120734383633303330
                Protocol Profile = Remote Operations Protocol
                0xA1210202008002010F30180201010A0101A110A00EA10C0A0104120734383633303330
                Component = Invoke component
                        Invoke Id = 128
                        Operation = Diversion Leg2
        Calling Party Number i = 0x0180, '01234 5678910'
                Plan:ISDN, Type:Unknown
        Calling Party Number
router# i = 0x0183, '01234 5678910'
                Plan:ISDN, Type:Unknown
        Called Party Number i = 0x81, '5056020'
                Plan:ISDN, Type:Unknown
Oct 14 13:47:59 UTC: ISDN BR0/2/0 Q931: extract_redirect_orig_called_ie: IE type redirecting num 5056030
                 reason 15 cnt 1 plan 4 type 1 pres 0
Oct 14 13:47:59 UTC: ISDN BR0/2/0 Q931: TX -> CALL_PROC pd = 8  callref = 0x9E
        Channel ID i = 0x89
                Exclusive, B1
Oct 14 13:47:59 UTC: ISDN BR0/2/0 Q931: TX -> ALERTING pd = 8  callref = 0x9E
router#
router#
Oct 14 13:48:06 UTC: ISDN BR0/2/0 Q931: RX <- DISCONNECT pd = 8  callref = 0x1E
        Cause i = 0x8090 - Normal call clearing



voice translation-rule 1
rule 1 /^.*\(..\)/ /4581\1/
!
!
voice translation-rule 7
rule 1 /^5056030$/ /458162/
!


!
voice translation-profile INGRESS
translate called 1
translate redirect-called 7
!

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
Nishant Savalia Mon, 10/14/2013 - 07:40
User Badges:
  • Silver, 250 points or more

Hi Rob,

Can you please share below things:


1). running-config

2). debug isdn q931

3). debug voice ccapi ind 2

4). debug voice translation


After that, try by modifying your voice translation-rule 1 as below


voice translation-rule 1

rule 1 /^.*\(20$\)/ /4581\1/


OR


voice translation-rule 1

rule 1 /^50560\(20$\)/ /4581\1/


OR


voice translation-rule 1

rule 1 /^5056020$\/ /458120/



Regards,

Nishant Savalia

kidcisco212 Tue, 10/15/2013 - 02:00
User Badges:

Hi Nishant,


Thanks for the reply but I am not sure how this will help, the translation rules provided surely will only affect calls to  5056020 which already works.


What I am trying to do is pick out the diverted number of 5056030 which can be seen in the above q931 debug at


"Oct 14 13:47:59 UTC: ISDN BR0/2/0 Q931: extract_redirect_orig_called_ie: IE type redirecting num 5056030"

which I need to send to extn 458162.


Sorry I am not at work for the other info at the moment

Regards, Rob

Ayodeji Okanlawon Tue, 10/15/2013 - 03:04
User Badges:
  • Super Bronze, 10000 points or more
  • Cisco Designated VIP,

    2017 IP Telephony

Rob,


Have you tried just using "translated called" instead of redirect. You need to change your translation rule to include the number...


e.g.


voice translation-rule 1

rule 1 /^.*\(..\)/ /4581\1/

rule 2 /^5056030$/ /458162/

Actions

This Discussion