cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Announcements

Welcome to the Cisco Small Business Community

Have a question? Click on a topic board below to get started in the community.

395
Views
0
Helpful
2
Replies
FAST-DETECT
Beginner

Incoming calls get stripped of leading zeros and I don't know why...

Hi,

our UC560 setup is now running for quite some time. But there is still this one issue that is bugging for some time now. 

We have two ISDN DID trunks for Incoming / Outgoing calls. 

After my very basic setup I noticed that all caller IDs get their leading zero stripped. In Germany we use the "0" as first digit of the area-code and "00" as the international code.

I thought a quick fix would be to just add a Call-Back Rule within CCA to add a leading 0. This works for national calls as the transmitted caller-id always includes the area-code even for local calls.

However If I receive an international call (what happens quite often recently) I'm not getting the expected "00" in front of the number but also only a single "0".

 

I took a look at all translation-rules that are configured, but I couldn't find any rule that just deletes all leading zeros from the incoming number :( What's happening there?

voice translation-rule 4
 rule 1 /301/ /55555529/
 rule 2 /302/ /55555529/
 rule 13 /^2\(..\)$/ /5555552\1/
 rule 14 /^1\(..\)$/ /5555551\1/
 rule 15 /^.*$/ /+49895555550/
!
voice translation-rule 5
 rule 15 /^...$/ /123456/
!
voice translation-rule 7
 rule 1 /555555201/ /201/
 rule 2 /555555202/ /202/
 rule 3 /555555203/ /203/
 rule 4 /555555204/ /204/
 rule 5 /555555205/ /205/
 rule 6 /555555206/ /206/
 rule 7 /555555207/ /207/
 rule 8 /555555208/ /208/
 rule 9 /555555209/ /209/
!
voice translation-rule 8
 rule 1 /555555210/ /210/
 rule 2 /555555211/ /211/
 rule 3 /555555212/ /212/
 rule 4 /555555213/ /213/
 rule 5 /555555214/ /214/
 rule 6 /555555215/ /215/
 rule 7 /555555216/ /216/
 rule 8 /555555217/ /217/
 rule 9 /555555218/ /218/
 rule 10 /555555219/ /219/
!
voice translation-rule 9
 rule 1 /555555220/ /220/
 rule 2 /555555221/ /221/
 rule 3 /555555222/ /222/
 rule 4 /555555223/ /223/
 rule 5 /555555224/ /224/
 rule 6 /555555225/ /225/
 rule 7 /555555226/ /226/
 rule 8 /555555227/ /227/
 rule 9 /555555228/ /228/
 rule 10 /555555229/ /229/
!
voice translation-rule 10
 rule 1 /55555529/ /511/
!
voice translation-rule 12
 rule 1 /55555504/ /112/
!
voice translation-rule 13
 rule 1 /555555260/ /996/
!
voice translation-rule 14
 rule 1 /55555501/ /444/
!
voice translation-rule 15
 rule 1 /55555502/ /111/
!
voice translation-rule 18
 rule 1 /555555200/ /444/
!
voice translation-rule 19
 rule 1 /555555100/ /444/
!
voice translation-rule 20
 rule 1 /55555500/ /444/
!
voice translation-rule 21
 rule 1 /5555550/ /444/
!
voice translation-rule 23
 rule 1 /555555110/ /110/
 rule 2 /555555111/ /111/
 rule 3 /555555112/ /112/
 rule 4 /555555113/ /113/
 rule 5 /555555114/ /114/
 rule 6 /555555115/ /115/
 rule 7 /555555116/ /116/
 rule 8 /555555117/ /117/
 rule 9 /555555118/ /118/
 rule 10 /555555119/ /119/
!
voice translation-rule 24
 rule 1 /555555120/ /120/
 rule 2 /555555121/ /121/
 rule 3 /555555122/ /122/
 rule 4 /555555123/ /123/
 rule 5 /555555124/ /124/
 rule 6 /555555125/ /125/
 rule 7 /555555126/ /126/
 rule 8 /555555127/ /127/
 rule 9 /555555128/ /128/
 rule 10 /555555129/ /129/
!
voice translation-rule 25
 rule 1 /555555130/ /130/
 rule 2 /555555131/ /131/
 rule 3 /555555132/ /132/
 rule 4 /555555133/ /133/
 rule 5 /555555134/ /134/
 rule 6 /555555135/ /135/
 rule 7 /555555136/ /136/
 rule 8 /555555137/ /137/
 rule 9 /555555138/ /138/
 rule 10 /555555139/ /139/
!
voice translation-rule 26
 rule 1 /555555140/ /140/
 rule 2 /555555141/ /141/
 rule 3 /555555142/ /142/
 rule 4 /555555143/ /143/
 rule 5 /555555144/ /144/
 rule 6 /555555145/ /145/
 rule 7 /555555146/ /146/
 rule 8 /555555147/ /147/
 rule 9 /555555148/ /148/
 rule 10 /555555149/ /149/
!
voice translation-rule 27
 rule 1 /555555150/ /150/
 rule 2 /555555151/ /151/
 rule 3 /555555152/ /152/
 rule 4 /555555153/ /153/
 rule 5 /555555154/ /154/
 rule 6 /555555155/ /155/
 rule 7 /555555156/ /156/
 rule 8 /555555157/ /157/
 rule 9 /555555158/ /158/
 rule 10 /555555159/ /159/
!
voice translation-rule 28
 rule 1 /555555160/ /160/
 rule 2 /555555161/ /161/
 rule 3 /555555162/ /162/
 rule 4 /555555163/ /163/
 rule 5 /555555164/ /164/
 rule 6 /555555165/ /165/
 rule 7 /555555166/ /166/
 rule 8 /555555167/ /167/
 rule 9 /555555168/ /168/
 rule 10 /555555169/ /169/
!
voice translation-rule 29
 rule 1 /555555170/ /170/
 rule 2 /555555171/ /171/
 rule 3 /555555172/ /172/
 rule 4 /555555173/ /173/
 rule 5 /555555174/ /174/
 rule 6 /555555175/ /175/
 rule 7 /555555176/ /176/
 rule 8 /555555177/ /177/
 rule 9 /555555178/ /178/
 rule 10 /555555179/ /179/
!
voice translation-rule 30
 rule 1 /555555180/ /180/
 rule 2 /555555181/ /181/
 rule 3 /555555182/ /182/
 rule 4 /555555183/ /183/
 rule 5 /555555184/ /184/
 rule 6 /555555185/ /185/
 rule 7 /555555186/ /186/
 rule 8 /555555187/ /187/
 rule 9 /555555188/ /188/
 rule 10 /555555189/ /189/
!
voice translation-rule 31
 rule 1 /555555190/ /190/
 rule 2 /555555191/ /191/
 rule 3 /555555192/ /192/
 rule 4 /555555193/ /193/
 rule 5 /555555194/ /194/
 rule 6 /555555195/ /195/
 rule 7 /555555196/ /196/
 rule 8 /555555197/ /197/
 rule 9 /555555198/ /198/
 rule 10 /555555199/ /199/
!
voice translation-rule 1000
 rule 1 /.*/ //
!
voice translation-rule 1112
 rule 1 /^8/ //
!
voice translation-rule 2001
!
voice translation-rule 2002
 rule 1 /^6/ //
 rule 2 /^A/ //
!
voice translation-rule 2222
!
!

 

regards,

Fabian

2 REPLIES 2
FAST-DETECT
Beginner

OMG! just realized that my telco doesn't send the caller ID!

however debug isdn q931 shows, that they submit the call plan type as national...

Plan:ISDN, Type:National

Using the CCA reginal call plan settings might fix my problem, however I ditched them because of the default access code. I will probaby need some translation rules that take the "type" into account. How do I do this?

 

regards,

Fabian

 

I already figured it out myself - that was easy, if you know where to look...

 

voice translation-rule 3265
rule 1 /\(^.*$\)/ /0\1/ type national national
rule 2 /\(^.*$\)/ /00\1/ type international international
This widget could not be displayed.