Cucm , Cube via Sip and Sip Trunk to ISP , Outgoing calls not working

Hi
We have issue with the outgoing calls to sip trunk
Below is the config and the debugs
It will be great if you give your thoughts since we have stuck here
My thoughts are:
i see that for unknown reason the called number is going with 4 digits instead of 8 digits
i dont see any sip message comming from ISP
Maybe the call not going there ? to isp trunk? From the trace the call hit the correct dialpeer 888 but i see 4 digits as a called number , but i dodnt understant the reason to translated in 4 digits the called number.Not apply a translation rule for that
confused!!!
Calling Numbner:22324086
Called Number: 23823690
CUCM:192.168.1.241 and 242
CUBE:192.168.1.10
voice service voip
ip address trusted list
  ipv4 0.0.0.0 0.0.0.0
dtmf-interworking rtp-nte
allow-connections h323 to h323
allow-connections h323 to sip
allow-connections sip to h323
allow-connections sip to sip
supplementary-service h450.12
no supplementary-service h225-notify cid-update
no supplementary-service sip moved-temporarily
no supplementary-service sip refer
fax protocol none
no fax-relay sg3-to-g3
h323
sip
  registrar server
  localhost dns:bbtb.cyta.com.cy
  outbound-proxy dns:sbg.bbtb.cyta.com.cy
  no update-callerid
  early-offer forced
voice class codec 2
codec preference 1 g711alaw
codec preference 2 g711ulaw
codec preference 3 g729br8
codec preference 4 g729r8
voice translation-rule 1
rule 1 /.*\(....\)/ /\1/
voice translation-rule 3
rule 1 /^9/ //
voice translation-rule 4
rule 1 /\+/ /900/
rule 2 /^\(9\)\(.......$\)/ /99\2/
rule 3 /^\(2\)\(.......$\)/ /92\2/
rule 4 /^0/ /90/
rule 5 /^1/ /9001/
rule 6 /^3/ /9003/
rule 7 /^4/ /9004/
rule 8 /^5/ /9005/
rule 9 /^6/ /9006/
rule 10 /^7/ /9007/
rule 11 /^8/ /9008/
rule 12 /^9/ /9009/
rule 13 /^2/ /9002/
voice translation-rule 5
rule 1 // /2232/
rule 2 /^9/ //
voice translation-profile SIP_Incoming
translate calling 4
translate called 1
voice translation-profile SIP_Outgoing
translate calling 5
translate called 3
interface FastEthernet0/0
ip address 192.168.1.10 255.255.255.0
duplex auto
speed auto
interface FastEthernet0/1
description **SIP TRUNK WITH CYTA**
ip address 10.249.13.130 255.255.255.252
duplex auto
speed auto
interface FastEthernet0/0
ip address 192.168.1.10 255.255.255.0
duplex auto
speed auto
interface FastEthernet0/1
description **SIP TRUNK WITH CYTA**
ip address 10.249.13.130 255.255.255.252
duplex auto
speed auto
dial-peer voice 889 voip
description **SIP Trunk to CUCM**
destination-pattern 4086
session protocol sipv2
session target ipv4:192.168.1.242:5060
voice-class codec 2 
voice-class sip dtmf-relay force rtp-nte
no voice-class sip outbound-proxy  
voice-class sip bind control source-interface FastEthernet0/0
voice-class sip bind media source-interface FastEthernet0/0
dtmf-relay sip-notify
no vad
dial-peer voice 890 voip
description **SIP Trunk to CUCM2**
destination-pattern 4086
session protocol sipv2
session target ipv4:192.168.1.241:5060
voice-class codec 2 
voice-class sip dtmf-relay force rtp-nte
no voice-class sip outbound-proxy  
voice-class sip bind control source-interface FastEthernet0/0
voice-class sip bind media source-interface FastEthernet0/0
dtmf-relay sip-notify
no vad
dial-peer voice 888 voip
description **SIP Trunk to CYTA OUTGOING**
translation-profile incoming SIP_Incoming
translation-profile outgoing SIP_Outgoing
destination-pattern 9T
session protocol sipv2
session target sip-server
incoming called-number .
voice-class codec 2 
voice-class sip dtmf-relay force rtp-nte
dtmf-relay rtp-nte
no vad
voice service voip
ip address trusted list
  ipv4 0.0.0.0 0.0.0.0
dtmf-interworking rtp-nte
allow-connections h323 to h323
allow-connections h323 to sip
allow-connections sip to h323
allow-connections sip to sip
supplementary-service h450.12
no supplementary-service h225-notify cid-update
no supplementary-service sip moved-temporarily
no supplementary-service sip refer
fax protocol none
no fax-relay sg3-to-g3
h323
sip
  registrar server
  localhost dns:bbtb.cyta.com.cy
  outbound-proxy dns:sbg.bbtb.cyta.com.cy
  no update-callerid
  early-offer forced
voice class codec 2
codec preference 1 g711alaw
codec preference 2 g711ulaw
codec preference 3 g729br8
codec preference 4 g729r8
voice translation-rule 1
rule 1 /.*\(....\)/ /\1/
voice translation-rule 3
rule 1 /^9/ //
voice translation-rule 4
rule 1 /\+/ /900/
rule 2 /^\(9\)\(.......$\)/ /99\2/
rule 3 /^\(2\)\(.......$\)/ /92\2/
rule 4 /^0/ /90/
rule 5 /^1/ /9001/
rule 6 /^3/ /9003/
rule 7 /^4/ /9004/
rule 8 /^5/ /9005/
rule 9 /^6/ /9006/
rule 10 /^7/ /9007/
rule 11 /^8/ /9008/
rule 12 /^9/ /9009/
rule 13 /^2/ /9002/
voice translation-rule 5
rule 1 // /2232/
rule 2 /^9/ //
voice translation-profile SIP_Incoming
translate calling 4
translate called 1
voice translation-profile SIP_Outgoing
translate calling 5
translate called 3
dial-peer voice 889 voip
description **SIP Trunk to CUCM**
destination-pattern 4086
session protocol sipv2
session target ipv4:192.168.1.242:5060
voice-class codec 2 
voice-class sip dtmf-relay force rtp-nte
no voice-class sip outbound-proxy  
voice-class sip bind control source-interface FastEthernet0/0
voice-class sip bind media source-interface FastEthernet0/0
dtmf-relay sip-notify
no vad
dial-peer voice 890 voip
description **SIP Trunk to CUCM2**
destination-pattern 4086
session protocol sipv2
session target ipv4:192.168.1.241:5060
voice-class codec 2 
voice-class sip dtmf-relay force rtp-nte
no voice-class sip outbound-proxy  
voice-class sip bind control source-interface FastEthernet0/0
voice-class sip bind media source-interface FastEthernet0/0
dtmf-relay sip-notify
no vad
dial-peer voice 888 voip
description **SIP Trunk to CYTA OUTGOING**
translation-profile incoming SIP_Incoming
translation-profile outgoing SIP_Outgoing
destination-pattern 9T
session protocol sipv2
session target sip-server
incoming called-number .
voice-class codec 2 
voice-class sip dtmf-relay force rtp-nte
dtmf-relay rtp-nte
no vad

Hi Aok
I change the default value for IPVMS from g711ulaw to g711alaw but the results remained the same
Also i have  restarted the IPVMS
SIP-GW#
SIP-GW#
*Mar  5 14:19:57.854: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Received:
INVITE sip:[email protected]:5060;transport=tcp SIP/2.0
Via: SIP/2.0/TCP 192.168.1.241:5060;branch=z9hG4bK79816bbd4196
From: ;tag=38874~3aaec7ea-69ca-40db-8e65-34e9ff7aa74d-80213498
To: ;tag=125E62C-1354
Date: Tue, 05 Mar 2013 13:52:31 GMT
Call-ID: [email protected]
Supported: timer,resource-priority,replaces
Min-SE:  1800
User-Agent: Cisco-CUCM9.0
Allow: INVITE, OPTIONS, INFO, BYE, CANCEL, ACK, PRACK, UPDATE, REFER, SUBSCRIBE, NOTIFY
CSeq: 102 INVITE
Max-Forwards: 70
Expires: 180
Allow-Events: presence
Supported: X-cisco-srtp-fallback
Supported: Geolocation
Session-Expires:  1800;refresher=uac
P-Asserted-Identity:
Remote-Party-ID: ;party=calling;screen=yes;privacy=off
Contact:
Content-Type: application/sdp
Content-Length: 244
v=0
o=CiscoSystemsCCM-SIP 38874 2 IN IP4 192.168.1.241
s=SIP Call
c=IN IP4 0.0.0.0
b=TIAS:64000
b=AS:64
t=0 0
m=audio 24784 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=ptime:20
a=inactive
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
*Mar  5 14:19:57.878: //717/DC740C800000/SIP/Msg/ccsipDisplayMsg:
Sent:
INVITE sip:[email protected]:5060;transport=udp SIP/2.0
Via: SIP/2.0/UDP 10.249.13.130:5060;branch=z9hG4bK355253C
From: [email protected]>;tag=125E594-5C7
To: [email protected]>;tag=h7g4Esbg_945723725-1362491526714
Date: Tue, 05 Mar 2013 14:19:57 GMT
Call-ID: [email protected]
Route:
Supported: 100rel,timer,resource-priority,replaces,sdp-anat
Min-SE:  1800
Cisco-Guid: 3698592896-0000065536-0000000107-4043417792
User-Agent: Cisco-SIPGateway/IOS-12.x
Allow: INVITE, OPTIONS, BYE, CANCEL, ACK, PRACK, UPDATE, REFER, SUBSCRIBE, NOTIFY, INFO, REGISTER
CSeq: 102 INVITE
Max-Forwards: 70
Timestamp: 1362493197
Contact:
Expires: 60
Allow-Events: telephone-event
Content-Type: application/sdp
Content-Length: 262
v=0
o=CiscoSystemsSIP-GW-UserAgent 6506 3807 IN IP4 10.249.13.130
s=SIP Call
c=IN IP4 10.249.13.130
t=0 0
m=audio 19234 RTP/AVP 8 101
c=IN IP4 10.249.13.130
a=inactive
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
*Mar  5 14:19:57.878: //716/DC740C800000/SIP/Msg/ccsipDisplayMsg:
Sent:
SIP/2.0 100 Trying
Via: SIP/2.0/TCP 192.168.1.241:5060;branch=z9hG4bK79816bbd4196
From: ;tag=38874~3aaec7ea-69ca-40db-8e65-34e9ff7aa74d-80213498
To: ;tag=125E62C-1354
Date: Tue, 05 Mar 2013 14:19:57 GMT
Call-ID: [email protected]
CSeq: 102 INVITE
Allow-Events: telephone-event
Server: Cisco-SIPGateway/IOS-12.x
Content-Length: 0
*Mar  5 14:19:57.926: //717/DC740C800000/SIP/Msg/ccsipDisplayMsg:
Received:
SIP/2.0 200 OK
Via: SIP/2.0/UDP 10.249.13.130:5060;branch=z9hG4bK355253C
To: [email protected]>;tag=h7g4Esbg_945723725-1362491526714
From: [email protected]>;tag=125E594-5C7
Call-ID: [email protected]
CSeq: 102 INVITE
Contact:
Require: timer
Session-Expires: 1800;refresher=uac
Content-Type: application/sdp
Content-Length: 213
Allow: ACK, BYE, CANCEL, INVITE, OPTIONS, PRACK, REFER, NOTIFY, UPDATE, INFO
Accept: application/media_control+xml
Accept: application/sdp
Accept: application/x-broadworks-call-center+xml
v=0
o=BroadWorks 96335268 2 IN IP4 10.224.42.164
s=-
c=IN IP4 10.224.42.72
t=0 0
m=audio 54932 RTP/AVP 8 101
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
a=inactive
*Mar  5 14:19:57.942: //716/DC740C800000/SIP/Msg/ccsipDisplayMsg:
Sent:
SIP/2.0 200 OK
Via: SIP/2.0/TCP 192.168.1.241:5060;branch=z9hG4bK79816bbd4196
From: ;tag=38874~3aaec7ea-69ca-40db-8e65-34e9ff7aa74d-80213498
To: ;tag=125E62C-1354
Date: Tue, 05 Mar 2013 14:19:57 GMT
Call-ID: [email protected]
CSeq: 102 INVITE
Allow: INVITE, OPTIONS, BYE, CANCEL, ACK, PRACK, UPDATE, REFER, SUBSCRIBE, NOTIFY, INFO, REGISTER
Allow-Events: telephone-event
Contact:
Supported: replaces
Supported: sdp-anat
Server: Cisco-SIPGateway/IOS-12.x
Session-Expires:  1800;refresher=uac
Require: timer
Supported: timer
Content-Type: application/sdp
Content-Length: 259
v=0
o=CiscoSystemsSIP-GW-UserAgent 9410 5774 IN IP4 192.168.1.10
s=SIP Call
c=IN IP4 192.168.1.10
t=0 0
m=audio 19314 RTP/AVP 8 101
c=IN IP4 192.168.1.10
a=inactive
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
*Mar  5 14:19:57.946: //717/DC740C800000/SIP/Msg/ccsipDisplayMsg:
Sent:
ACK sip:[email protected]:5060;transport=udp SIP/2.0
Via: SIP/2.0/UDP 10.249.13.130:5060;branch=z9hG4bK3562A4
From: [email protected]>;tag=125E594-5C7
To: [email protected]>;tag=h7g4Esbg_945723725-1362491526714
Date: Tue, 05 Mar 2013 14:19:57 GMT
Call-ID: [email protected]
Route:
Max-Forwards: 70
CSeq: 102 ACK
Allow-Events: telephone-event
Content-Length: 0
*Mar  5 14:19:57.946: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Received:
ACK sip:[email protected]:5060;transport=tcp SIP/2.0
Via: SIP/2.0/TCP 192.168.1.241:5060;branch=z9hG4bK798246ab3597
From: ;tag=38874~3aaec7ea-69ca-40db-8e65-34e9ff7aa74d-80213498
To: ;tag=125E62C-1354
Date: Tue, 05 Mar 2013 13:52:31 GMT
Call-ID: [email protected]
Max-Forwards: 70
CSeq: 102 ACK
Allow-Events: presence
Content-Length: 0
*Mar  5 14:19:58.146: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Received:
INVITE sip:[email protected]:5060;transport=tcp SIP/2.0
Via: SIP/2.0/TCP 192.168.1.241:5060;branch=z9hG4bK7983739137ab
From: ;tag=38874~3aaec7ea-69ca-40db-8e65-34e9ff7aa74d-80213498
To: ;tag=125E62C-1354
Date: Tue, 05 Mar 2013 13:52:31 GMT
Call-ID: [email protected]
Supported: timer,resource-priority,replaces
Min-SE:  1800
User-Agent: Cisco-CUCM9.0
Allow: INVITE, OPTIONS, INFO, BYE, CANCEL, ACK, PRACK, UPDATE, REFER, SUBSCRIBE, NOTIFY
CSeq: 103 INVITE
Max-Forwards: 70
Expires: 180
Allow-Events: presence
Supported: X-cisco-srtp-fallback
Supported: Geolocation
Session-Expires:  1800;refresher=uac
P-Asserted-Identity:
Remote-Party-ID: ;party=calling;screen=yes;privacy=off
Contact:
Content-Length: 0
*Mar  5 14:19:58.158: //717/DC740C800000/SIP/Msg/ccsipDisplayMsg:
Sent:
INVITE sip:[email protected]:5060;transport=udp SIP/2.0
Via: SIP/2.0/UDP 10.249.13.130:5060;branch=z9hG4bK3571933
From: [email protected]>;tag=125E594-5C7
To: [email protected]>;tag=h7g4Esbg_945723725-1362491526714
Date: Tue, 05 Mar 2013 14:19:58 GMT
Call-ID: [email protected]
Route:
Supported: timer,resource-priority,replaces,sdp-anat
Min-SE:  1800
Cisco-Guid: 3698592896-0000065536-0000000107-4043417792
User-Agent: Cisco-SIPGateway/IOS-12.x
Allow: INVITE, OPTIONS, BYE, CANCEL, ACK, PRACK, UPDATE, REFER, SUBSCRIBE, NOTIFY, INFO, REGISTER
CSeq: 103 INVITE
Max-Forwards: 70
Timestamp: 1362493198
Contact:
Expires: 60
Allow-Events: telephone-event
Content-Length: 0
*Mar  5 14:19:58.158: //716/DC740C800000/SIP/Msg/ccsipDisplayMsg:
Sent:
SIP/2.0 100 Trying
Via: SIP/2.0/TCP 192.168.1.241:5060;branch=z9hG4bK7983739137ab
From: ;tag=38874~3aaec7ea-69ca-40db-8e65-34e9ff7aa74d-80213498
To: ;tag=125E62C-1354
Date: Tue, 05 Mar 2013 14:19:58 GMT
Call-ID: [email protected]
CSeq: 103 INVITE
Allow-Events: telephone-event
Server: Cisco-SIPGateway/IOS-12.x
Content-Length: 0
*Mar  5 14:19:58.218: //717/DC740C800000/SIP/Msg/ccsipDisplayMsg:
Received:
SIP/2.0 200 OK
Via: SIP/2.0/UDP 10.249.13.130:5060;branch=z9hG4bK3571933
To: [email protected]>;tag=h7g4Esbg_945723725-1362491526714
From: [email protected]>;tag=125E594-5C7
Call-ID: [email protected]
CSeq: 103 INVITE
Contact:
Require: timer
Session-Expires: 1800;refresher=uac
Content-Type: application/sdp
Content-Length: 216
Allow: ACK, BYE, CANCEL, INVITE, OPTIONS, PRACK, REFER, NOTIFY, UPDATE, INFO
Accept: application/media_control+xml
Accept: application/sdp
Accept: application/x-broadworks-call-center+xml
v=0
o=BroadWorks 96335268 3 IN IP4 10.224.42.164
s=-
c=IN IP4 10.224.42.72
t=0 0
m=audio 54932 RTP/AVP 8 18 96 99
a=rtpmap:96 AMR/8000
a=rtpmap:99 telephone-event/8000
a=fmtp:99 0-15
a=ptime:20
a=sendrecv
*Mar  5 14:19:58.234: //716/DC740C800000/SIP/Msg/ccsipDisplayMsg:
Sent:
SIP/2.0 200 OK
Via: SIP/2.0/TCP 192.168.1.241:5060;branch=z9hG4bK7983739137ab
From: ;tag=38874~3aaec7ea-69ca-40db-8e65-34e9ff7aa74d-80213498
To: ;tag=125E62C-1354
Date: Tue, 05 Mar 2013 14:19:58 GMT
Call-ID: [email protected]
CSeq: 103 INVITE
Allow: INVITE, OPTIONS, BYE, CANCEL, ACK, PRACK, UPDATE, REFER, SUBSCRIBE, NOTIFY, INFO, REGISTER
Allow-Events: telephone-event
Contact:
Supported: replaces
Supported: sdp-anat
Server: Cisco-SIPGateway/IOS-12.x
Session-Expires:  1800;refresher=uac
Require: timer
Supported: timer
Content-Type: application/sdp
Content-Length: 283
v=0
o=CiscoSystemsSIP-GW-UserAgent 9410 5775 IN IP4 192.168.1.10
s=SIP Call
c=IN IP4 192.168.1.10
t=0 0
m=audio 19314 RTP/AVP 8 18 101
c=IN IP4 192.168.1.10
a=rtpmap:8 PCMA/8000
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=yes
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
*Mar  5 14:19:58.242: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Received:
ACK sip:[email protected]:5060;transport=tcp SIP/2.0
Via: SIP/2.0/TCP 192.168.1.241:5060;branch=z9hG4bK7985648033f2
From: ;tag=38874~3aaec7ea-69ca-40db-8e65-34e9ff7aa74d-80213498
To: ;tag=125E62C-1354
Date: Tue, 05 Mar 2013 13:52:31 GMT
Call-ID: [email protected]
Max-Forwards: 70
CSeq: 103 ACK
Allow-Events: presence
Content-Type: application/sdp
Content-Length: 192
v=0
o=CiscoSystemsCCM-SIP 38874 3 IN IP4 192.168.1.241
s=SIP Call
c=IN IP4 192.168.1.241
t=0 0
m=audio 4000 RTP/AVP 8
a=X-cisco-media:umoh
a=rtpmap:8 PCMA/8000
a=ptime:20
a=sendonly
*Mar  5 14:19:58.262: //717/DC740C800000/SIP/Msg/ccsipDisplayMsg:
Sent:
ACK sip:[email protected]:5060;transport=udp SIP/2.0
Via: SIP/2.0/UDP 10.249.13.130:5060;branch=z9hG4bK358582
From: [email protected]>;tag=125E594-5C7
To: [email protected]>;tag=h7g4Esbg_945723725-1362491526714
Date: Tue, 05 Mar 2013 14:19:58 GMT
Call-ID: [email protected]
Route:
Max-Forwards: 70
CSeq: 103 ACK
Allow-Events: telephone-event
Content-Type: application/sdp
Content-Length: 259
v=0
o=CiscoSystemsSIP-GW-UserAgent 6506 3808 IN IP4 10.249.13.130
s=SIP Call
c=IN IP4 10.249.13.130
t=0 0
m=audio 19234 RTP/AVP 8 99
c=IN IP4 10.249.13.130
a=sendonly
a=rtpmap:8 PCMA/8000
a=rtpmap:99 telephone-event/8000
a=fmtp:99 0-15
a=ptime:20
SIP-GW#
SIP-GW#sh voip rtp connections
VoIP RTP active connections :
No. CallId     dstCallId  LocalRTP RmtRTP     LocalIP                                RemoteIP
1     716        717        19314    4000     192.168.1.10                           192.168.1.241
2     717        716        19234    54932    10.249.13.130                          10.224.42.72
Found 2 active RTP connections

Similar Messages

Maybe you are looking for

  • IChat doesn't work properly after upgrading to 10.7.2

    It just doesn't connect to my gmail chat account. No error message or anything. It just sits there with that " ~ " symbol near where it says "offline". What to do? Trying to connect / disconnect doesn't do anything.

  • How do I copy photos from photostream to camera roll in IOS 5,

    How do I copy photos (folders) from photo stream into my camera roll in IOS 5

  • ATI RADEON X1900 XT GRAPHICS UPG KIT

    Hi all, I was wondering if the Mac Pro ATI RADEON X1900 XT GRAPHICS UPG KIT compatible with the G5. I ordered two of these cards one for my office computer and home studio computer. But i also have a G5 i use.

  • VOIP lab

    I am new in VOIP. i don't have much idea about voip. In my university i have cisco equipments. Can anyone send me a simple voip lab. Like; with 2 IP phone, 2 cisco switches and 2 router... thats i have.. waiting for any gud like or information where

  • Error message:CJ619

    Hi, Iam trying to upload excel file using particular transaction with delibrately made mistake in one of the WBS element to generate error so,this is the error in Development: No. of project sections does not agree with project mask "-XX.XXX.XXXX.XXX