cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
4795
Views
5
Helpful
10
Replies

CUBE- Incoming call and translation rule

Thiago Cella
Level 1
Level 1

Hi,

 

Im trying implement translation rule, when someone from outside call 551130741111, the cube have to redirect for internal extension : 399.

 

I configured the follow parameters, but it is not working, could you help me? Tks

 

voice translation-rule 2
rule 1 /551130741111/ /399/
!
!
voice translation-profile SIP-IN
translate called 2
!

dial-peer voice 1002 voip
translation-profile incoming SIP-IN
session protocol sipv2
session target ipv4:10.255.240.111
incoming called-number .%
voice-class sip dtmf-relay force rtp-nte
voice-class sip bind control source-interface GigabitEthernet0/2
voice-class sip bind media source-interface GigabitEthernet0/2
dtmf-relay sip-info sip-kpml sip-notify rtp-nte
codec g711ulaw
!

Follow the debug ccsip messages, when i make a test:

 

 

005765: *Aug 11 01:17:09.999: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Received:
INVITE sip:551130741111@192.168.0.100 SIP/2.0
Max-Forwards: 64
Supported: 100rel
To: <sip:+55551130741111@10.255.241.68>
From: <sip:+5511976637000@10.255.241.68>;tag=3742940362-1679752367
P-Asserted-Identity: <sip:976637000@ims4.vivo.net.br>
Call-ID: 11727671-3742940362-604125931@sip.domain.com
CSeq: 1 INVITE
Allow: PUBLISH,MESSAGE,UPDATE,PRACK,SUBSCRIBE,REFER,INFO,NOTIFY,REGISTER,OPTIONS,BYE,INVITE,ACK,CANCEL
Via: SIP/2.0/UDP 10.255.241.68:5060;branch=z9hG4bK85f8394474a6584a152de5aff0a3ae2c
Contact: <sip:+5511976637000@10.255.241.68:5060>
Content-Type: application/sdp
Accept: application/sdp
P-Charging-Vector: icid-value=mgcf--20180810223921-100320901;orig-ioi=243;term-ioi=3239
P-Notification: caller-control
Content-Length: 216

v=0
o=ngn-br-spo-be-sbc1 202625063 202625063 IN IP4 10.255.241.68
s=sip call
c=IN IP4 10.255.241.76
t=0 0
m=audio 37090 RTP/AVP 8 100
a=rtpmap:100 telephone-event/8000
a=fmtp:100 0-15
a=ptime:20
a=sendrecv

005766: *Aug 11 01:17:10.007: //21954/1AB6D7868E0F/SIP/Msg/ccsipDisplayMsg:
Sent:
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 10.255.241.68:5060;branch=z9hG4bK85f8394474a6584a152de5aff0a3ae2c
From: <sip:+5511976637000@10.255.241.68>;tag=3742940362-1679752367
To: <sip:+55551130741111@10.255.241.68>
Date: Sat, 11 Aug 2018 01:17:09 GMT
Call-ID: 11727671-3742940362-604125931@sip.domain.com
CSeq: 1 INVITE
Allow-Events: telephone-event
Server: Cisco-SIPGateway/IOS-15.5.3.M
Content-Length: 0


005767: *Aug 11 01:17:10.007: //21954/1AB6D7868E0F/SIP/Msg/ccsipDisplayMsg:
Sent:
SIP/2.0 500 Internal Server Error
Via: SIP/2.0/UDP 10.255.241.68:5060;branch=z9hG4bK85f8394474a6584a152de5aff0a3ae2c
From: <sip:+5511976637000@10.255.241.68>;tag=3742940362-1679752367
To: <sip:+55551130741111@10.255.241.68>;tag=EF2D69DC-182D
Call-ID: 11727671-3742940362-604125931@sip.domain.com
CSeq: 1 INVITE
Content-Length: 0


005768: *Aug 11 01:17:10.011: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Received:
ACK sip:551130741111@192.168.0.100 SIP/2.0
Max-Forwards: 70
To: <sip:+55551130741111@10.255.241.68>;tag=EF2D69DC-182D
From: <sip:+5511976637000@10.255.241.68>;tag=3742940362-1679752367
Call-ID: 11727671-3742940362-604125931@sip.domain.com
CSeq: 1 ACK
Via: SIP/2.0/UDP 10.255.241.68:5060;branch=z9hG4bK85f8394474a6584a152de5aff0a3ae2c
Contact: <sip:+5511976637000@10.255.241.68:5060>
Content-Length: 0