03-08-2012 02:31 PM - edited 03-13-2019 07:45 PM
Hi ALL,
I am using Cisco 3945E, IOS 15.1(2)T1 with radius AAA and heaving troubles with voice translation profile and radius attr.
Here is a part of my configuration - incoming dial-peer voip and voice translation profile
dial-peer voice 8 voip
corlist incoming o-test1
translation-profile incoming TESTrule
service authapp
session protocol sipv2
incoming called-number .+
incoming uri via 8
voice-class codec 1
fax protocol pass-through g711alaw
!
voice translation-rule 1
rule 1 /^48\(.........\)$/ /\1/
rule 2 /^.+/ /00\0/
voice translation-profile TestPROFILE
translate called 1
Incoming CLD is translated from 600111222 into 48600111222 according to TESTrule which is okay.
The problem is that AUTH is sending 48600111222 as called-number attribute but START ACC radius message has got 600111222 so the number before translation.
Here is debug describing what is all about:
18:46:02.896: xrule_checking
18:46:02.896: h323_xrule
18:46:02.896: h323_xrule
18:46:02.896: //-1/CA21A9028054/RXRULE/regxrule_stack_pop_RegXruleNumInfo: stack=0x2B19A804; count=1
18:46:02.896: //-1/CA21A9028054/RXRULE/regxrule_stack_pop_callinfo_internal: numinfo=0x1DA1D3A0
18:46:02.898: RADIUS/ENCODE(000F94D6):Orig. component type = VOICE
18:46:02.898: RADIUS(000F94D6): Config NAS IP: 10.10.10.5
18:46:02.898: RADIUS(000F94D6): sending
18:46:02.898: //-1/CA21A9028054/RXRULE/regxrule_stack_push_RegXruleNumInfo_internal: stack=0x2B19A804; count=1
18:46:02.898: //-1/CA21A9028054/RXRULE/regxrule_profile_translate_internal: number=224557788 type=unknown plan=unknown numbertype=calling
18:46:02.898: //-1/CA21A9028054/RXRULE/regxrule_match: No match; number=224557788 rule precedence=1
18:46:02.898: //-1/CA21A9028054/RXRULE/regxrule_profile_match_internal: No match found
18:46:02.898: //-1/CA21A9028054/RXRULE/regxrule_profile_translate_internal: No match: number=224557788 type=unknown plan=unknown
18:46:02.898: //-1/CA21A9028054/RXRULE/regxrule_profile_translate_internal: number= type=unknown plan=unknown numbertype=redirect-called
18:46:02.898: //-1/CA21A9028054/RXRULE/regxrule_get_RegXrule: Invalid translation ruleset tag=0
18:46:02.898: //-1/CA21A9028054/RXRULE/regxrule_profile_match_internal: Error: ruleset for redirect-called number not found
18:46:02.898: //-1/CA21A9028054/RXRULE/regxrule_profile_translate_internal: No match: number= type=unknown plan=unknown
18:46:02.898: //-1/CA21A9028054/RXRULE/regxrule_profile_translate_internal: number=600111222 type=unknown plan=unknown numbertype=called
18:46:02.898: //-1/CA21A9028054/RXRULE/regxrule_profile_match_internal: Matched with rule 1 in ruleset 3
18:46:02.898: //-1/CA21A9028054/RXRULE/regxrule_profile_match_internal: Matched with rule 1 in ruleset 3
18:46:02.898: //-1/CA21A9028054/RXRULE/sed_subst: Successful substitution; pattern=600111222 matchPattern=^(.........)$ replacePattern=48\1 replaced pattern=48600111222
18:46:02.898: //-1/CA21A9028054/RXRULE/regxrule_subst_num_type: Match Type = none, Replace Type = none Input Type = unknown
18:46:02.898: //-1/CA21A9028054/RXRULE/regxrule_subst_num_plan: Match Plan = none, Replace Plan = none Input Plan = unknown
18:46:02.898: //-1/CA21A9028054/RXRULE/regxrule_profile_translate_internal: xlt_number=48600111222 xlt_type=unknown xlt_plan=unknown
18:46:02.898: RADIUS(000F94D6): Send Accounting-Request to 10.10.11.11:1813 id 1646/215, len 505
18:46:02.898: RADIUS: authenticator FC 25 1E CB B3 D5 1B 21 - 43 2C 2C 45 7A 7C A9 3B
18:46:02.898: RADIUS: Acct-Session-Id [44] 10 "001EBB6A"
18:46:02.898: RADIUS: Vendor, Cisco [26] 55
18:46:02.898: RADIUS: h323-setup-time [25] 49 "h323-setup-time=19:46:02.896 CET Thu Mar 8 2012"
18:46:02.898: RADIUS: Vendor, Cisco [26] 39
18:46:02.898: RADIUS: h323-gw-id [33] 33 "h323-gw-id=C3945E.testlab.com"
18:46:02.898: RADIUS: Vendor, Cisco [26] 56
18:46:02.898: RADIUS: Conf-Id [24] 50 "h323-conf-id=CA21A902 688511E1 80548D99 8DDE9100"
18:46:02.898: RADIUS: Vendor, Cisco [26] 31
18:46:02.898: RADIUS: h323-call-origin [26] 25 "h323-call-origin=answer"
18:46:02.898: RADIUS: Vendor, Cisco [26] 27
18:46:02.898: RADIUS: h323-call-type [27] 21 "h323-call-type=VoIP"
18:46:02.898: RADIUS: Vendor, Cisco [26] 65
18:46:02.898: RADIUS: Cisco AVpair [1] 59 "h323-incoming-conf-id=CA21A902 688511E1 80548D99 8DDE9100"
18:46:02.898: RADIUS: Called-Station-Id [30] 11 "600111222"
18:46:02.898: RADIUS: Vendor, Cisco [26] 64
18:46:02.898: RADIUS: Cisco AVpair [1] 58 "call-id=SBCc60b0af0d257689d79451abb317522c0@10.193.1.196"
18:46:02.898: RADIUS: Vendor, Cisco [26] 21
18:46:02.898: RADIUS: Cisco AVpair [1] 15 "iphop=count:1"
18:46:02.898: RADIUS: Vendor, Cisco [26] 33
18:46:02.898: RADIUS: Cisco AVpair [1] 27 "iphop=hop1:10.10.10.10"
18:46:02.898: RADIUS: User-Name [1] 11 "224557788"
18:46:02.898: RADIUS: Vendor, Cisco [26] 32
18:46:02.898: RADIUS: Cisco AVpair [1] 26 "connect-progress=Call Up"
18:46:02.898: RADIUS: Acct-Authentic [45] 6 Local [2]
18:46:02.898: RADIUS: Acct-Status-Type [40] 6 Start [1]
18:46:02.898: RADIUS: Service-Type [6] 6 Login [1]
18:46:02.898: RADIUS: NAS-IP-Address [4] 6 10.10.10.5
18:46:02.898: RADIUS: Acct-Delay-Time [41] 6 0
18:46:02.898: RADIUS(000F94D6): Started 80 sec timeout
18:46:02.898: RADIUS/ENCODE(000F94D7):Orig. component type = VOICE
18:46:02.898: RADIUS(000F94D7): Config NAS IP: 10.10.10.5
18:46:02.898: RADIUS/ENCODE(000F94D7): acct_session_id: 2014059
18:46:02.898: RADIUS(000F94D7): sending
18:46:02.898: RADIUS(000F94D7): Send Access-Request to 10.10.11.11:1812 id 1645/98, len 350
18:46:02.898: RADIUS: authenticator 4E 68 F0 45 65 F8 E6 93 - C4 EC 88 76 5B AD 8B 8F
18:46:02.898: RADIUS: User-Name [1] 11 "224557788"
18:46:02.898: RADIUS: User-Password [2] 18 *
18:46:02.898: RADIUS: Vendor, Cisco [26] 64
18:46:02.898: RADIUS: Cisco AVpair [1] 58 "call-id=SBCc60b0af0d257689d79451abb317522c0@10.193.1.196"
18:46:02.898: RADIUS: Vendor, Cisco [26] 56
18:46:02.898: RADIUS: Conf-Id [24] 50 "h323-conf-id=CA21A902 688511E1 80548D99 8DDE9100"
18:46:02.898: RADIUS: Vendor, Cisco [26] 43
18:46:02.898: RADIUS: Cisco AVpair [1] 37 "remote-media-address=10.10.10.10"
18:46:02.898: RADIUS: Vendor, Cisco [26] 30
18:46:02.898: RADIUS: Cisco AVpair [1] 24 "session-protocol=sipv2"
18:46:02.898: RADIUS: Vendor, Cisco [26] 42
18:46:02.898: RADIUS: h323-remote-address[23] 36 "h323-remote-address=10.10.10.10"
18:46:02.898: RADIUS: Vendor, Cisco [26] 41
18:46:02.898: RADIUS: Cisco AVpair [1] 35 "h323-ivr-out=transactionID:510561"
18:46:02.898: RADIUS: Called-Station-Id [30] 13 "48600111222"
18:46:02.898: RADIUS: Service-Type [6] 6 Login [1]
18:46:02.898: RADIUS: NAS-IP-Address [4] 6 10.10.10.5
18:46:02.898: RADIUS(000F94D7): Started 80 sec timeout
18:46:02.898: RADIUS: Received from id 1646/215 10.10.11.11:1813, Accounting-response, len 20
18:46:02.898: RADIUS: authenticator 2A 7D 79 05 87 1F D4 9F - 45 8C EF AB 12 1D CD 7E
18:46:02.920: RADIUS: Received from id 1645/98 10.10.11.11:1812, Access-Accept, len 112
18:46:02.920: RADIUS: authenticator BE 0A C1 26 96 8B 1A 99 - 75 AC CD 37 9F 4D 18 94
18:46:02.920: RADIUS: Vendor, Cisco [26] 35
18:46:02.920: RADIUS: h323-credit-amount [101] 29 "h323-credit-amount=19145.68"
18:46:02.920: RADIUS: Vendor, Cisco [26] 25
18:46:02.920: RADIUS: h323-currency [110] 19 "h323-currency=PLN"
18:46:02.920: RADIUS: Vendor, Cisco [26] 32
18:46:02.920: RADIUS: h323-credit-time [102] 26 "h323-credit-time=7387398"
18:46:02.920: RADIUS(000F94D7): Received from id 1645/98
As I see at first CLD is translated then radius AUTH and ACC is sent.
So i do not know where the problem is located, because from my poinf of view both AUTH and ACC called-number should look like 48600111222.
Does any of you have an explaination of hint how to solve this problem.
Thx,
Mac.
03-15-2012 11:12 AM
Guys,
Have any of you experienced with similiar problem?
May it be connected with some kind of bug on 15.1(2)T1 ?
Thanks.
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: