Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Need help, with calling number

Hy guys, I have this problem with one of clients, he is sending a call to my cisco AS5300, the call is getting translated well, and goes out to the other switch where it has to get billed, but on another switch the calling number is comming wrong or empty, than the billing does not recognieze it. and rejects the call. this is the config.

voice translation-profile hyphenin

translate calling 6300

translate called 63001

dial-peer voice 6300 pots

trunkgroup CARR-IN

translation-profile outgoing hyphenin

destination-pattern 12345

and this is the call log,

as you see the calling number is abc12345

I tried to send the call to the cisco without abc, only the 12345, and

it worked well, so now I asked that client to change he's calling number

but he cannot do it. in he's device.

i need some how to make sure that any calling number wich comes in with letters like abc or some

like that, get stripped and so that the call gets translated normal, and

send further to the other switch .

Jul 28 13:03:22.031: %SYS-5-CONFIG_I: Configured from console by alp on vty1 (82.xxx.xxx.125)

Jul 28 13:03:32.223: %ISDN-6-CONNECT: Interface Serial0:8 is now connected to unknown unknown

Jul 28 13:03:35.315: %ISDN-6-DISCONNECT: Interface Serial0:16 disconnected from 31104xxxx18 , call lasted 315 seconds

Jul 28 13:03:35.991: The Call Setup Information is :

Call Control Block (CCB) : 0x62CB9E90

State of The Call : STATE_DEAD

TCP Sockets Used : NO

Calling Number : abc12345

Called Number : 123450031653213197

Number of Media Streams : 1

Jul 28 13:03:35.991: Media Stream 1

Negotiated Codec : g711ulaw

Negotiated Codec Bytes : 160

Negotiated Dtmf-relay : 6

Dtmf-relay Payload : 101

Source IP Address (Media): 212.xx.xx.xx

Source IP Port (Media): 0

Destn IP Address (Media): 192.168.1.21

Destn IP Port (Media): 60632

Jul 28 13:03:35.991: Orig Destn IP Address:Port (Media): 0.0.0.0:0

Jul 28 13:03:35.991:

Source IP Address (Sig ): 212.xx.xx.xx

Destn SIP Req Addr:Port : 82.xxx.xxx.125:0

Destn SIP Resp Addr:Port : 82.xxx.xxx.125:60448

Destination Name : 82.xxx.xxx.125

Jul 28 13:03:35.991:

Disconnect Cause (CC) : 21

Disconnect Cause (SIP) : 403

Please help.

6 REPLIES
Hall of Fame Super Gold

Re: Need help, with calling number

Your taslatio appears wrong, you need "voice translation-rule".

E.g.

voice translation-rule 100

rule 1 /[a-f]/ //

will strip letters in numbers.

Hall of Fame Super Gold

Re: Need help, with calling number

Correction, to strip the first set of letters present in a number, rule is correctly written as:

rule 1 /[A-F]+/ //

New Member

Re: Need help, with calling number

Well I tried that but it didnot accept the command. it accepts only "rule 1 /" and after that does not accept. and I see that I forgot to post in my post the config info:

voice translation-rule 6300

rule 1 /^.*/ /5555556300/

voice translation-rule 63001

rule 1 /^12345/ //

voice translation-profile hyphenin

translate calling 6300

translate called 63001

dial-peer voice 6300 pots

trunkgroup CARR-IN

translation-profile outgoing hyphenin

destination-pattern 12345

here is the output of your command :

as530(cfg-translation-rule)#rule 2 /[A-F]+/ //

^

% Invalid input detected at '^' marker.

as530(cfg-translation-rule)#rule 1 /[A-F]+/ //

^

% Invalid input detected at '^' marker.

as530(cfg-translation-rule)#

....

Hall of Fame Super Gold

Re: Need help, with calling number

Which IOS are you using? it works fine under 12.4(11)XJ4.

New Member

Re: Need help, with calling number

version 12.3

Hall of Fame Super Gold

Re: Need help, with calling number

Evidently it doesn't handle digits A-F so you will need to upgrade.

269
Views
0
Helpful
6
Replies
CreatePlease to create content