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

Outgoing translation rule not working on voip dial-peer

Hi, I'm having trouble with a voice translation rule  that strips the prefix 99 off the called number on an outbound voip dial-peer.

The configuration is pretty straightforward and the voice translation rule works.  It looks as if the dial-peer is ignoring the translation profile.  Below is the configuration, the rule test result and a debug ccsip output that shows that the original called number is not translated and the call fails.  I hope someone can help please.  Thanks in advance.

voice translation-rule 3333

rule 1 /^99/ //

voice translation-profile strip99

translate called 3333

dial-peer voice 1001 voip

description --- outbound to WAN

translation-profile outgoing strip99

destination-pattern 996......$

progress_ind setup enable 3

voice-class codec 1

session protocol sipv2

session target ipv4:10.0.1.1

dtmf-relay rtp-nte

no vad

voiprtr01#test voice translation-rule 3333 996148123

Matched with rule 1

Original number: 996148123      Translated number: 6148123

Original number type: none      Translated number type: none

Original number plan: none      Translated number plan: none

voiprtr01#debug ccsip calls

SIP Call statistics tracing is enabled

voiprtr01#csim start 996148123

csim: called number = 996148123, loop count = 1 ping count = 0

csim err csimDisconnected recvd DISC cid(553013)

Mar 24 19:40:08.477 UTC: //553013/FF285B8A831B/SIP/Call/sipSPICallInfo:

The Call Setup Information is:

Call Control Block (CCB) : 0x46073E70

State of The Call        : STATE_DEAD

TCP Sockets Used         : NO

Calling Number           :

Called Number            : 996148123

Source IP Address (Sig  ): 192.168.102.1

Destn SIP Req Addr:Port  : 10.0.1.1:5060

Destn SIP Resp Addr:Port : 10.0.1.1:5060

Destination Name         : 10.0.1.1

csim: loop = 1, failed = 1

csim: call attempted = 1, setup failed = 1, tone failed = 0

Mar 24 19:40:08.477 UTC: //553013/FF285B8A831B/SIP/Call/sipSPIMediaCallInfo:

Number of Media Streams: 1

Media Stream             : 1

Negotiated Codec         : No Codec

Negotiated Codec Bytes   : 0

Negotiated Dtmf-relay    : 0

Dtmf-relay Payload       : 0

Source IP Address (Media): 192.168.102.1

Source IP Port    (Media): 18936

Destn  IP Address (Media): 0.0.0.0

Destn  IP Port    (Media): 0

Orig Destn IP Address:Port (Media): 0.0.0.0:0

Mar 24 19:40:08.477 UTC: //553013/FF285B8A831B/SIP/Call/sipSPICallInfo:

Disconnect Cause (CC)    : 1

Disconnect Cause (SIP)   : 404


Everyone's tags (2)
1 ACCEPTED SOLUTION

Accepted Solutions
Hall of Fame Super Gold

Re: Outgoing translation rule not working on voip dial-peer

csim does not obey translation-profile.

A real call will.

3 REPLIES
Hall of Fame Super Gold

Re: Outgoing translation rule not working on voip dial-peer

csim does not obey translation-profile.

A real call will.

New Member

Outgoing translation rule not working on voip dial-peer

Thanks Paolo, you saved my day

Hall of Fame Super Gold

Re: Outgoing translation rule not working on voip dial-peer

Thanks for the nice rating and good luck!

2091
Views
0
Helpful
3
Replies
CreatePlease to create content