10-30-2012 10:15 AM - edited 03-16-2019 01:56 PM
Hello
I can understadn why I can't modify my call ID in local calls.
Phone A (DN 7156) dial 887-1500, H323 make the call and applied a traslation rule.
Oct 30 13:04:55 EDT: //-1/00FA1AE63403/RXRULE/regxrule_match: No match; number=7156 rule precedence=1
Oct 30 13:04:55 EDT: //-1/00FA1AE63403/RXRULE/sed_subst: Successful substitution; pattern=7156 matchPattern=^7(...$) replacePattern=7697000 replaced pattern=7697000
Channel ID i = 0xA98381
Exclusive, Channel 1
Calling Party Number i = 0x4181, '7697000'
Plan:ISDN, Type:Subscriber(local)
Called Party Number i = 0xC1, '8871500'
Plan:ISDN, Type:Subscriber(local)
In my other gateway recive this...
Channel ID i = 0xA18387
Preferred, Channel 7
Calling Party Number i = 0x0080, '7156'
Plan:Unknown, Type:Unknown
Called Party Number i = 0x80, '1500'
Plan:Unknown, Type:Unknown
When I use area code for make the call everything works as I expect.
here is my traslation rules and dial-peer.
voice translation-rule 1020
! this rule is for DID
rule 1 /^70\(..$\)/ /76970\1/ type any subscriber
! this rule is for extensions reached by main number.
rule 2 /^7\(...$\)/ /7697000/ type any subscriber
!
!
voice translation-profile LOCOUT
translate calling 1020
!
!
dial-peer voice 12 pots
trunkgroup AIRESPRING
translation-profile outgoing LOCOUT
destination-pattern 9[2-9][0-9][0-9]....
incoming called-number .
forward-digits 7
any comment will be appreciated
thanks
AA
Solved! Go to Solution.
10-30-2012 01:10 PM
What you're saying is quite confusing. Because if you do not send '7165', there is no way that telco can present that. Maybe check all traces again.
10-30-2012 10:33 AM
In the US, you should send ANI as ISDN/national, with 10 digits.
10-30-2012 10:54 AM
Hi Paolo,
This is the path
phone DN 7156 --> H323 --> ((PSTN)) --> H323 --> AA 887-1500 both branches are in the same area code 330 and have the same telco.
when DN 7156 dial 91 (330)-887-1500 and local GW send 11 digits the gw at the other end shows.
Calling Party Number i = 0x0080, '3307697000'
Plan:Unknown, Type:Unknown
Called Party Number i = 0x80, '1500'
Plan:Unknown, Type:Unknown
but when DN 7156 dial 9-887-1500 and local GW send 7 digits the gw at the other end shows.
Calling Party Number i = 0x0080, '7156'
Plan:Unknown, Type:Unknown
Called Party Number i = 0x80, '1500'
Plan:Unknown, Type:Unknown
I made the change that you mentioned before but in the other GW shows the DN instead the mask that i did with translation rules.
translaiton rule
rule 2 /^7\(...$\)/ /3307697000/ type any national
local gw shows
Calling Party Number i = 0x2181, '3307697000'
Plan:ISDN, Type:National
Called Party Number i = 0xC1, '8871500'
Plan:ISDN, Type:Subscriber(local)
In conclusion I just wonder why the telco overrides the translation rule with the DN if I make the call with 7 digits.
thanks
10-30-2012 01:10 PM
What you're saying is quite confusing. Because if you do not send '7165', there is no way that telco can present that. Maybe check all traces again.
11-05-2012 12:32 PM
You're rigth.
I did a mistake tracing the call, I forgot the route pattern have a route list with two gateways so the call was rerouted to the back-up gateway and this gateways don't have translation rules to mask DN 7156.
.
Nov 5 13:42:50 EST: ISDN Se0/0/0:23 Q931: TX -> SETUP pd = 8 callref = 0x09B9
Bearer Capability i = 0x8090A2
Standard = CCITT
Transfer Capability = Speech
Transfer Mode = Circuit
Transfer Rate = 64 kbit/s
Channel ID i = 0xA98395
Exclusive, Channel 21
Calling Party Number i = 0x2181, '3307697000'
Plan:ISDN, Type:National
Called Party Number i = 0xC1, '8871500'
Plan:ISDN, Type:Subscriber(local)
Nov 5 13:42:50 EST: ISDN Se0/0/0:23 Q931: RX <- CALL_PROC pd = 8 callref = 0x89B9
Channel ID i = 0xA98395
Exclusive, Channel 21
Nov 5 13:42:50 EST: ISDN Se0/0/0:23 Q931: RX <- DISCONNECT pd = 8 callref = 0x89B9
Cause i = 0x82A9 - Temporary failure
Nov 5 13:42:50 EST: ISDN Se0/0/0:23 Q931: TX -> RELEASE pd = 8 callref = 0x09B9
Nov 5 13:42:50 EST: ISDN Se0/0/0:23 Q931: RX <- RELEASE_COMP pd = 8 callref = 0x89B9
Nov 5 13:43:09 EST: ISDN Se0/0/0:23 Q931: RX <- SETUP pd = 8 callref = 0x0BB4
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide