cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
521
Views
3
Helpful
3
Replies

SIP to H323 inbound call rejected

Hello,

I'm tryng to configure a SIP trunk from 3cx to a 3725 VG connected to a CUCM 4.1 with skinny phones (7940).

The incoming call is rejected with:

 

Disconnect Cause (CC) : 47
Disconnect Cause (SIP) : 503

below the full ccapi inout log and the router configuration, any help woud be apprciated.

Media Dest Addr/Port : 52.178.4.73:9938

1414879: Jun 13 14:03:38.315: //1641448/90FDE858923A/SIP/Info/sipSPIHandleInvite
Media:
Negotiated Codec : g711ulaw, bytes :160
Preferred Codec : g729r8, bytes :20
Preferred DTMF relay 1 : 3
Preferred DTMF relay 2 : 0
Negotiated DTMF relay : 0
Preferred and Negotiated NTE payloads: 101 0
Preferred and Negotiated NSE payloads: 100 100
Preferred and Negotiated Modem Relay: 0 0
Preferred and Negotiated Modem Relay GwXid: 1 0

1414880: Jun 13 14:03:38.315: //1641448/90FDE858923A/SIP/Info/sipSPIDoQoSNegotia
tion: SDP body with media description
1414881: Jun 13 14:03:38.315: //1641448/90FDE858923A/SIP/Info/sipSPICanSetFallba
ckFlag: Local Fallback is not active
1414882: Jun 13 14:03:38.315: //-1/xxxxxxxxxxxx/SIP/Media/sipSPIReserveRtpPort:
reserved port 17042 for stream 1
1414883: Jun 13 14:03:38.315: //1641448/90FDE858923A/SIP/Info/sipSPIUpdateSrcSdp
FixedPart: Reserving rtp port for stream 1, src_port=17042
1414884: Jun 13 14:03:38.315: //-1/xxxxxxxxxxxx/SIP/Info/sipSPISetMediaDirection
ForStream: Setting Media direction SENDRECV for stream 1
1414885: Jun 13 14:03:38.315: //1641448/90FDE858923A/SIP/Info/sipSPIUpdateSrcSdp
VariablePart: Setting stream 1 portnum to 17042
1414886: Jun 13 14:03:38.315: //1641448/90FDE858923A/SIP/Info/sipSPIAddBillingIn
foToCcb: sipCallId for billing records = PnmnT6f5-xlpwl2Vudx21g..
1414887: Jun 13 14:03:38.315: //1641448/90FDE858923A/SIP/Info/sipSPIAddInviteDat
aToCcbCont: Headers from INVITE added to callInfo container
1414888: Jun 13 14:03:38.315: ccDumpTdRequestDataSip:
1414889: Jun 13 14:03:38.315: reqURI=sip:2403@10.163.61.4:5060;transport=TCP
1414890: Jun 13 14:03:38.315: calling_urip=sip:2001@10.163.61.4:5060;transport=T
CP
1414891: Jun 13 14:03:38.315: url_dump_header_line_avpair:
1414892: Jun 13 14:03:38.315: num_headers = 16
1414893: Jun 13 14:03:38.315: headers[0].linep = From: "2001"<sip:2001@10.16
3.61.4:5060;transport=TCP>;tag=ccc54d1d, len = 66
1414894: Jun 13 14:03:38.315: data.attr.datap = From: "2001"<sip:2001@10.1
63.61.4:5060;transport=TCP>;tag=ccc54d1d, len = 4
1414895: Jun 13 14:03:38.319: data.value.datap = "2001"<sip:2001@10.163.61
.4:5060;transport=TCP>;tag=ccc54d1d, len = 60
1414896: Jun 13 14:03:38.319: headers[1].linep = To: <sip:2403@10.163.61.4:5
060;transport=TCP>, len = 45
1414897: Jun 13 14:03:38.319: data.attr.datap = To: <sip:2403@10.163.61.4:
5060;transport=TCP>, len = 2
1414898: Jun 13 14:03:38.319: data.value.datap = <sip:2403@10.163.61.4:506
0;transport=TCP>, len = 41
1414899: Jun 13 14:03:38.319: headers[2].linep = Via: SIP/2.0/TCP 10.0.0.4:5
060;branch=z9hG4bK-524287-1---b6adc436160b6901;rport, len = 79
1414900: Jun 13 14:03:38.319: data.attr.datap = Via: SIP/2.0/TCP 10.0.0.4:
5060;branch=z9hG4bK-524287-1---b6adc436160b6901;rport, len = 3
1414901: Jun 13 14:03:38.319: data.value.datap = SIP/2.0/TCP 10.0.0.4:5060
;branch=z9hG4bK-524287-1---b6adc436160b6901;rport, len = 74
1414902: Jun 13 14:03:38.319: headers[3].linep = Call-ID: PnmnT6f5-xlpwl2Vud
x21g.., len = 33
1414903: Jun 13 14:03:38.319: data.attr.datap = Call-ID: PnmnT6f5-xlpwl2Vu
dx21g.., len = 7
1414904: Jun 13 14:03:38.319: data.value.datap = PnmnT6f5-xlpwl2Vudx21g..,
len = 24
1414905: Jun 13 14:03:38.319: headers[4].linep = CSeq: 1 INVITE, len = 14
1414906: Jun 13 14:03:38.319: data.attr.datap = CSeq: 1 INVITE, len = 4
1414907: Jun 13 14:03:38.319: data.value.datap = 1 INVITE, len = 8
1414908: Jun 13 14:03:38.319: headers[5].linep = Contact: <sip:2001@52.178.4
.73:5060;transport=TCP>, len = 50
1414909: Jun 13 14:03:38.319: data.attr.datap = Contact: <sip:2001@52.178.
4.73:5060;transport=TCP>, len = 7
1414910: Jun 13 14:03:38.319: data.value.datap = <sip:2001@52.178.4.73:506
0;transport=TCP>, len = 41
1414911: Jun 13 14:03:38.319: headers[6].linep = Content-Length: 286, len =
19
1414912: Jun 13 14:03:38.319: data.attr.datap = Content-Length: 286, len =
14
1414913: Jun 13 14:03:38.319: data.value.datap = 286, len = 3
1414914: Jun 13 14:03:38.319: headers[7].linep = Content-Type: application/s
dp, len = 29
1414915: Jun 13 14:03:38.319: data.attr.datap = Content-Type: application/
sdp, len = 12
1414916: Jun 13 14:03:38.319: data.value.datap = application/sdp, len = 15
1414917: Jun 13 14:03:38.319: headers[8].linep = NULL, len = 0
1414918: Jun 13 14:03:38.319: data.attr.datap = , len = 0
1414919: Jun 13 14:03:38.319: data.value.datap = , len = 0
1414920: Jun 13 14:03:38.319: headers[9].linep = NULL, len = 0
1414921: Jun 13 14:03:38.319: data.attr.datap = , len = 0
1414922: Jun 13 14:03:38.319: data.value.datap = , len = 0
1414923: Jun 13 14:03:38.319: headers[10].linep = NULL, len = 0
1414924: Jun 13 14:03:38.319: data.attr.datap = , len = 0
1414925: Jun 13 14:03:38.319: data.value.datap = , len = 0
1414926: Jun 13 14:03:38.319: headers[11].linep = Max-Forwards: 70, len = 16
1414927: Jun 13 14:03:38.319: data.attr.datap = Max-Forwards: 70, len = 12
1414928: Jun 13 14:03:38.319: data.value.datap = 70, len = 2
1414929: Jun 13 14:03:38.319: headers[12].linep = Allow: INVITE, ACK, CANCEL
, OPTIONS, BYE, REGISTER, SUBSCRIBE, NOTIFY, REFER, INFO, MESSAGE, UPDATE, len =
99
1414930: Jun 13 14:03:38.319: data.attr.datap = Allow: INVITE, ACK, CANCEL
, OPTIONS, BYE, REGISTER, SUBSCRIBE, NOTIFY, REFER, INFO, MESSAGE, UPDATE, len =
5
1414931: Jun 13 14:03:38.319: data.value.datap = INVITE, ACK, CANCEL, OPTI
ONS, BYE, REGISTER, SUBSCRIBE, NOTIFY, REFER, INFO, MESSAGE, UPDATE, len = 92
1414932: Jun 13 14:03:38.319: headers[13].linep = Supported: replaces, timer
, len = 26
1414933: Jun 13 14:03:38.319: data.attr.datap = Supported: replaces, timer
, len = 9
1414934: Jun 13 14:03:38.319: data.value.datap = replaces, timer, len = 15
1414935: Jun 13 14:03:38.319: headers[14].linep = User-Agent: 3CXPhoneSystem
20.0.1.731 (731), len = 43
1414936: Jun 13 14:03:38.319: data.attr.datap = User-Agent: 3CXPhoneSystem
20.0.1.731 (731), len = 10
1414937: Jun 13 14:03:38.323: data.value.datap = 3CXPhoneSystem 20.0.1.731
(731), len = 31
1414938: Jun 13 14:03:38.323: headers[15].linep = Remote-Party-ID: "2001"<si
p:2001@81.208.86.227:5060>;party=calling, len = 66
1414939: Jun 13 14:03:38.323: data.attr.datap = Remote-Party-ID: "2001"<si
p:2001@81.208.86.227:5060>;party=calling, len = 15
1414940: Jun 13 14:03:38.323: data.value.datap = "2001"<sip:2001@81.208.86
.227:5060>;party=calling, len = 49num_bodies = 0
1414941: Jun 13 14:03:38.323: //1641448/90FDE858923A/SIP/Info/sipSPI_ipip_store_
channel_info: Store channelInfo in CallInfo
1414942: Jun 13 14:03:38.323: //-1/xxxxxxxxxxxx/SIP/Info/sipSPICreateRawMsg: No
GTD passed.
1414943: Jun 13 14:03:38.323: //1641448/90FDE858923A/SIP/Info/sipSPIContinueNewM
sgInvite: ccsip_api_call_setup_ind returned: SIP_SUCCESS
1414944: Jun 13 14:03:38.323: //1641448/90FDE858923A/SIP/Info/sipSPIUaddCcbToUAS
RespTable: ****Adding to UAS Response table.
1414945: Jun 13 14:03:38.323: //1641448/90FDE858923A/SIP/Info/sipSPIUaddCcbToTab
le: Added to table. ccb=0x65972F28 key=PnmnT6f5-xlpwl2Vudx21g..EC1A761C-BEE
1414946: Jun 13 14:03:38.323: //1641448/90FDE858923A/SIP/Info/sipSPIUaddccCallId
ToTable: Adding call id 190BE8 to table
1414947: Jun 13 14:03:38.323: //1641448/90FDE858923A/SIP/Transport/sipSPITranspo
rtSendMessage: msg=0x64219DB4, addr=52.178.4.73, port=55579, sentBy_port=5060, i
s_req=0, transport=2, switch=0, callBack=0x00000000
1414948: Jun 13 14:03:38.323: //1641448/90FDE858923A/SIP/Transport/sipSPITranspo
rtSendMessage: Proceedable for sending msg immediately
1414949: Jun 13 14:03:38.323: //1641448/90FDE858923A/SIP/Transport/sipTransportL
ogicSendMsg: switch transport is 0
1414950: Jun 13 14:03:38.323: //-1/xxxxxxxxxxxx/SIP/Transport/sipTransportPostSe
ndMessage: Posting send for msg=0x64219DB4, addr=52.178.4.73, port=55579, connId
=1 for TCP
1414951: Jun 13 14:03:38.323: //1641448/90FDE858923A/SIP/State/sipSPIChangeState
: 0x65972F28 : State change from (STATE_IDLE, SUBSTATE_NONE) to (STATE_RECD_INV
ITE, SUBSTATE_NONE)
1414952: Jun 13 14:03:38.323: //1641448/90FDE858923A/SIP/Info/sipSPIProcessConta
ctInfo: Previous Hop 52.178.4.73:5060
1414953: Jun 13 14:03:38.327: //-1/xxxxxxxxxxxx/SIP/Event/sipSPIEventInfo: Queue
d event from SIP SPI : SIPSPI_EV_CC_CALL_PROCEEDING
1414954: Jun 13 14:03:38.327: //-1/xxxxxxxxxxxx/SIP/Info/ccsip_event_handler:
1414955: Jun 13 14:03:38.327: //-1/xxxxxxxxxxxx/SIP/Info/ccsip_event_handler: sw
itch(ev.ev_id: 86)
1414956: Jun 13 14:03:38.327: //1641448/90FDE858923A/SIP/Info/ccsip_event_handle
r:
ccsip_event_handler: peer ID 1641449 chans 0x6378C018 event 86 flags 0x1002003C
0x601 data 0x6378C018
1414957: Jun 13 14:03:38.327: //1641448/90FDE858923A/SIP/Info/ccsip_event_handle
r:
ccsip_event_handler: CC_EV_H245_SET_MODE: peer ID 1641449 chans 0x6378C018 even
t 86 flags 0x1002003C 0x601 data 0x6378C018
1414958: Jun 13 14:03:38.327: //1641448/90FDE858923A/SIP/Info/ccsip_event_handle
r:
ccsip_event_handler: CC_EV_H245_SET_MODE: peer ID 1641449 chans 0x6378C018 even
t 86 flags 0x1002003C 0x601 data 0x6378C018, type = 1
1414959: Jun 13 14:03:38.327: //-1/xxxxxxxxxxxx/SIP/Info/ccsip_event_handler: CC
_R_SUCCESS_WITH_CONFIRMED
1414960: Jun 13 14:03:38.331: //-1/xxxxxxxxxxxx/SIP/Event/sipSPIEventInfo: Queue
d event from SIP SPI : SIPSPI_EV_CC_CALL_DISCONNECT
1414961: Jun 13 14:03:38.331: //1641448/90FDE858923A/SIP/Info/act_recdinvite_dis
connect: Performing disconnect
1414962: Jun 13 14:03:38.331: //1641448/90FDE858923A/SIP/Info/sipSPIValidateGtd:
No rawMsg from CCAPI
1414963: Jun 13 14:03:38.331: //1641448/90FDE858923A/SIP/Transport/sipSPITranspo
rtSendMessage: msg=0x6421BCA4, addr=52.178.4.73, port=55579, sentBy_port=5060, i
s_req=0, transport=2, switch=0, callBack=0x60F0FFF0
1414964: Jun 13 14:03:38.331: //1641448/90FDE858923A/SIP/Transport/sipSPITranspo
rtSendMessage: Proceedable for sending msg immediately
1414965: Jun 13 14:03:38.331: //1641448/90FDE858923A/SIP/Transport/sipTransportL
ogicSendMsg: switch transport is 0
1414966: Jun 13 14:03:38.331: //-1/xxxxxxxxxxxx/SIP/Transport/sipTransportPostSe
ndMessage: Posting send for msg=0x6421BCA4, addr=52.178.4.73, port=55579, connId
=1 for TCP
1414967: Jun 13 14:03:38.331: //1641448/90FDE858923A/SIP/Info/sentErrResDisconne
cting: Sent an 3456XX Error Response
1414968: Jun 13 14:03:38.331: //1641448/90FDE858923A/SIP/State/sipSPIChangeState
: 0x65972F28 : State change from (STATE_RECD_INVITE, SUBSTATE_NONE) to (STATE_D
ISCONNECTING, SUBSTATE_NONE)
1414969: Jun 13 14:03:38.331: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Sent:
SIP/2.0 100 Trying
Via: SIP/2.0/TCP 10.0.0.4:5060;branch=z9hG4bK-524287-1---b6adc436160b6901;rport;
received=52.178.4.73
From: "2001"<sip:2001@10.163.61.4:5060;transport=TCP>;tag=ccc54d1d
To: <sip:2403@10.163.61.4:5060;transport=TCP>;tag=EC1A761C-BEE
Date: Thu, 13 Jun 2024 14:03:38 GMT
Call-ID: PnmnT6f5-xlpwl2Vudx21g..
Server: Cisco-SIPGateway/IOS-12.x
CSeq: 1 INVITE
Allow-Events: telephone-event
Content-Length: 0

 

1414970: Jun 13 14:03:38.335: //-1/xxxxxxxxxxxx/SIP/Info/sip_tcp_sendmsg: Socket
blocked data queued
1414971: Jun 13 14:03:38.335: //-1/xxxxxxxxxxxx/SIP/Info/sipTcpQueueSendData: Da
ta queued length: 466
1414972: Jun 13 14:03:38.343: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Sent:
SIP/2.0 503 Service Unavailable
Via: SIP/2.0/TCP 10.0.0.4:5060;branch=z9hG4bK-524287-1---b6adc436160b6901;rport;
received=52.178.4.73
From: "2001"<sip:2001@10.163.61.4:5060;transport=TCP>;tag=ccc54d1d
To: <sip:2403@10.163.61.4:5060;transport=TCP>;tag=EC1A761C-BEE
Date: Thu, 13 Jun 2024 14:03:38 GMT
Call-ID: PnmnT6f5-xlpwl2Vudx21g..
Server: Cisco-SIPGateway/IOS-12.x
CSeq: 1 INVITE
Allow-Events: telephone-event
Reason: Q.850;cause=47
Content-Length: 0

 

1414973: Jun 13 14:03:38.371: //-1/xxxxxxxxxxxx/SIP/Transport/sipTransportProces
sNWNewConnMsg: context=0x00000000
1414974: Jun 13 14:03:38.371: //-1/xxxxxxxxxxxx/SIP/Transport/sipConnectionManag
erProcessNewConnMsg: gConnTab=0x65364DD4, addr=52.178.4.73, port=55579, connid=1
, transport=tcp
1414975: Jun 13 14:03:38.371: //1641448/90FDE858923A/SIP/Info/sipSPIFindCcbUASRe
qTable: *****CCB found in UAS Request table. ccb=0x65972F28
1414976: Jun 13 14:03:38.371: //-1/xxxxxxxxxxxx/SIP/Msg/ccsipDisplayMsg:
Received:
ACK sip:2403@10.163.61.4:5060;transport=TCP SIP/2.0
Via: SIP/2.0/TCP 10.0.0.4:5060;branch=z9hG4bK-524287-1---b6adc436160b6901;rport
Max-Forwards: 70
To: <sip:2403@10.163.61.4:5060;transport=TCP>;tag=EC1A761C-BEE
From: "2001"<sip:2001@10.163.61.4:5060;transport=TCP>;tag=ccc54d1d
Call-ID: PnmnT6f5-xlpwl2Vudx21g..
CSeq: 1 ACK
Content-Length: 0

 

1414977: Jun 13 14:03:38.371: //-1/xxxxxxxxxxxx/SIP/Transport/sipSPIUpdateRespon
seInfo: Subsq Transaction Address 52.178.4.73,Port 55579, Transport 2, SentBy Po
rt 5060
1414978: Jun 13 14:03:38.375: //-1/xxxxxxxxxxxx/SIP/Info/sipSPISetDateHeader: Co
nverting TimeZone CEST to SIP default timezone = GMT
1414979: Jun 13 14:03:38.375: //-1/xxxxxxxxxxxx/SIP/Transport/sipSPIUpdateRespon
seInfo: Subsq Transaction Address 52.178.4.73,Port 55579, Transport 2, SentBy Po
rt 5060
1414980: Jun 13 14:03:38.375: //1641448/90FDE858923A/SIP/Info/sipSPIIcpifUpdate:
CallState: 2 Playout: 0 DiscTime:-1321871197 ConnTime 0
1414981: Jun 13 14:03:38.375: //1641448/90FDE858923A/SIP/State/sipSPIChangeState
: 0x65972F28 : State change from (STATE_DISCONNECTING, SUBSTATE_NONE) to (STATE
_DEAD, SUBSTATE_NONE)
1414982: Jun 13 14:03:38.375: //1641448/90FDE858923A/SIP/Call/sipSPICallInfo:
The Call Setup Information is:
Call Control Block (CCB) : 0x65972F28
State of The Call : STATE_DEAD
TCP Sockets Used : YES
Calling Number : 2001
Called Number : 2403
Source IP Address (Sig 10.163.61.4
Destn SIP Req Addr:Port : 52.178.4.73:5060
Destn SIP Resp Addr:Port : 52.178.4.73:55579
Destination Name : 52.178.4.73

1414983: Jun 13 14:03:38.375: //1641448/90FDE858923A/SIP/Call/sipSPIMediaCallInf
o:
Number of Media Streams: 1
Media Stream : 1
Negotiated Codec : g711ulaw
Negotiated Codec Bytes : 160
Negotiated Dtmf-relay : 0
Dtmf-relay Payload : 0
Source IP Address (Media): 10.163.61.4
Source IP Port (Media): 17042
Destn IP Address (Media): 52.178.4.73
Destn IP Port (Media): 9938
Orig Destn IP Address:Port (Media): 0.0.0.0:0

1414984: Jun 13 14:03:38.375: //1641448/90FDE858923A/SIP/Call/sipSPICallInfo:
Disconnect Cause (CC) : 47
Disconnect Cause (SIP) : 503

 

ROUTER CONFIG:

Current configuration : 15000 bytes
!
! No configuration change since last restart
!
version 12.3
service timestamps debug datetime msec
service timestamps log datetime msec
service password-encryption
service sequence-numbers
!
hostname VG_MILANO
!
boot-start-marker
boot-end-marker
!
card type e1 1 1
logging buffered 1000000 debugging
no logging console
no logging cns-events
enable password 7 1311121E0E0D14
!
clock timezone GMT 2
clock summer-time CEST recurring last Sun Mar 2:00 last Sun Oct 3:00
network-clock-participate slot 1
network-clock-participate slot 2
no network-clock-participate aim 0
network-clock-select 1 E1 1/0
no aaa new-model
ip subnet-zero
ip cef
!
!
no ip dhcp conflict logging
ip dhcp excluded-address 10.163.61.1 10.163.61.30
ip dhcp excluded-address 10.163.59.1 10.163.59.30
ip dhcp ping packets 0
!
ip dhcp pool Milano_Binda
network 10.163.61.0 255.255.255.0
option 150 ip 10.163.61.10 10.163.61.20
default-router 10.163.61.1
lease 30
!
ip dhcp pool Milano_Binda_10.163.59.X
network 10.163.59.0 255.255.255.0
option 150 ip 10.163.61.10
default-router 10.163.59.1
lease 30
!
!
no ip domain lookup
no ftp-server write-enable
isdn switch-type primary-net5
voice-card 1
dspfarm
dsp services dspfarm
!
voice-card 2
dspfarm
dsp services dspfarm
!
!
!
trunk group prova
!
!
voice call send-alert
voice call disc-pi-off
voice call convert-discpi-to-prog
voice call carrier capacity active
voice rtp send-recv
!
voice service voip
allow-connections h323 to h323
h323
!
!
!voice service voip
allow-connections h323 to h323
allow-connections h323 to sip
allow-connections sip to h323
allow-connections sip to sip
supplementary-service h450.12
redirect ip2ip
signaling forward none
h323
sip
min-se 600
header-passing
registrar server

!
voice class codec 1
codec preference 1 g729r8
codec preference 2 g711ulaw
!
!
!
voice class h323 2
h225 timeout tcp establish 2
!
!
!
!
!
!
voice translation-rule 5
rule 1 /^1/ /01/ type national national plan isdn isdn
rule 2 /^2/ /02/ type national national plan isdn isdn
rule 3 /^3/ /03/ type national national plan isdn isdn
rule 4 /^4/ /04/ type national national plan isdn isdn
rule 5 /^5/ /05/ type national national plan isdn isdn
rule 6 /^6/ /06/ type national national plan isdn isdn
rule 7 /^7/ /07/ type national national plan isdn isdn
rule 8 /^8/ /08/ type national national plan isdn isdn
rule 9 /^9/ /09/ type national national plan isdn isdn
!
voice translation-rule 6
rule 1 reject /^.*/
!
!
voice translation-profile call_block
translate calling 6
!
voice translation-profile nazionali
translate calling 5
!
!
archive
log config
logging enable
notify syslog
path tftp://10.160.5.50/$h-$t
write-memory
!
!
controller E1 1/0
pri-group timeslots 1-31
!
controller E1 1/1
pri-group timeslots 1-31
!
controller E1 2/0
pri-group timeslots 1-31
!
class-map match-any AutoQoS-VoIP-RTP-Trust
match ip dscp ef
class-map match-any AutoQoS-VoIP-Control-Trust
match ip dscp cs3
match ip dscp af31
!
policy-map AutoQoS-Policy-Trust
class AutoQoS-VoIP-RTP-Trust
priority percent 70
class AutoQoS-VoIP-Control-Trust
bandwidth percent 5
class class-default
fair-queue
!
!
translation-rule 1
Rule 1 2818393 44
!
!
translation-rule 2
Rule 1 2818391 4001
!
!
translation-rule 3
Rule 1 281838 2
!
!
translation-rule 4
Rule 1 2818381 2275
!
!
translation-rule 5
Rule 1 281838432 0695055562
!
!
translation-rule 6
Rule 1 281838268 2216
!
!
!
!
interface FastEthernet0/0
ip address 10.163.59.4 255.255.255.0 secondary
ip address 10.163.61.4 255.255.255.0
ip nbar protocol-discovery
service-policy output policy-voip
speed 100
full-duplex
auto qos voip trust
h323-gateway voip interface
h323-gateway voip bind srcaddr 10.163.61.4
!
interface FastEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
interface Serial1/0:15
no ip address
isdn switch-type primary-net5
isdn overlap-receiving
isdn incoming-voice voice
isdn send-alerting
isdn sending-complete
no cdp enable
!
interface Serial1/1:15
no ip address
isdn switch-type primary-net5
isdn overlap-receiving
isdn incoming-voice voice
isdn send-alerting
isdn sending-complete
no cdp enable
!
interface Serial2/0:15
no ip address
isdn switch-type primary-net5
isdn overlap-receiving
isdn incoming-voice voice
isdn send-alerting
isdn sending-complete
no cdp enable
!
ip classless
ip route 0.0.0.0 0.0.0.0 10.163.61.1
!
no ip http server
!
logging trap notifications
logging facility local4
logging 10.160.0.128
snmp-server community TNS RO
snmp-server location MilanoVoltaCED
snmp-server enable traps snmp authentication linkdown linkup coldstart warmstart
snmp-server enable traps tty
!
!
!
control-plane
!
rmon event 33333 log trap AutoQoS description "AutoQoS SNMP traps for Voice Drop
s" owner AutoQoS
rmon alarm 33333 cbQosCMDropBitRate.1059.1061 30 absolute rising-threshold 1 333
33 falling-threshold 0 owner AutoQoS
!
!
voice-port 1/0:15
translation-profile incoming nazionali
no vad
cptone IT
timeouts interdigit 2
bearer-cap Speech
!
voice-port 1/1:15
translation-profile incoming nazionali
no vad
cptone IT
timeouts interdigit 2
bearer-cap Speech
!
voice-port 2/0:15
translation-profile incoming nazionali
no vad
cptone IT
timeouts interdigit 2
bearer-cap Speech
!
!
sccp local FastEthernet0/0
sccp ccm 10.163.59.10 identifier 1 version 4.0
sccp ip precedence 3
sccp
!
sccp ccm group 1
bind interface FastEthernet0/0
associate ccm 1 priority 1
associate profile 1 register XCODER
!
dspfarm profile 1 transcode
codec g711ulaw
codec g711alaw
codec g729ar8
codec g729abr8
codec gsmfr
codec g729r8
maximum sessions 3
associate application SCCP
!
!
dial-peer voice 3 voip
destination-pattern 2818393..
translate-outgoing called 1
voice-class codec 1
voice-class h323 2
session target ipv4:10.163.61.10
dtmf-relay h245-alphanumeric
!
dial-peer voice 4 voip
destination-pattern 2818391
translate-outgoing called 2
voice-class codec 1
voice-class h323 2
session target ipv4:10.163.61.10
dtmf-relay h245-alphanumeric
!
dial-peer voice 5 voip
preference 2
destination-pattern 2818393..
translate-outgoing called 1
voice-class codec 1
voice-class h323 2
session target ipv4:10.163.59.10
dtmf-relay h245-alphanumeric
!
dial-peer voice 6 voip
preference 2
destination-pattern 2818391
translate-outgoing called 2
voice-class codec 1
voice-class h323 2
session target ipv4:10.163.59.10
dtmf-relay h245-alphanumeric
!
dial-peer voice 1 pots
destination-pattern 7T
direct-inward-dial
port 2/0:15
!
dial-peer voice 2 pots
incoming called-number 281839T
direct-inward-dial
port 2/0:15
!
dial-peer voice 7 pots
incoming called-number 2818391
direct-inward-dial
port 2/0:15
!
dial-peer voice 10 pots
destination-pattern 0T
progress_ind alert enable 8
direct-inward-dial
port 1/0:15
!
dial-peer voice 11 pots
destination-pattern 0T
progress_ind alert enable 8
direct-inward-dial
port 1/1:15
!
dial-peer voice 12 pots
incoming called-number 2818381
direct-inward-dial
port 1/0:15
!
dial-peer voice 13 pots
incoming called-number 2818381
direct-inward-dial
port 1/1:15
!
dial-peer voice 14 pots
incoming called-number .
direct-inward-dial
port 1/0:15
!
dial-peer voice 15 pots
incoming called-number .
direct-inward-dial
port 1/1:15
!
dial-peer voice 16 voip
destination-pattern 281838...
progress_ind progress enable 8
progress_ind connect enable 8
progress_ind disconnect enable 8
translate-outgoing called 3
voice-class codec 1
voice-class h323 2
session target ipv4:10.163.61.10
dtmf-relay h245-alphanumeric
!
dial-peer voice 17 voip
preference 2
destination-pattern 281838...
progress_ind progress enable 8
progress_ind connect enable 8
progress_ind disconnect enable 8
translate-outgoing called 3
voice-class codec 1
voice-class h323 2
session target ipv4:10.163.59.10
dtmf-relay h245-alphanumeric
!
dial-peer voice 18 voip
destination-pattern 2818381
translate-outgoing called 4
voice-class codec 1
voice-class h323 2
session target ipv4:10.163.61.10
dtmf-relay h245-alphanumeric
!
dial-peer voice 19 voip
preference 2
destination-pattern 2818381
translate-outgoing called 4
voice-class codec 1
voice-class h323 2
session target ipv4:10.163.59.10
dtmf-relay h245-alphanumeric
!
dial-peer voice 235 voip
destination-pattern 281838235
translate-outgoing called 3
session target ipv4:10.163.61.5
codec g711alaw
fax rate disable
no vad
!
dial-peer voice 268 voip
description FAX2IP FROM PSTN BTC MILANO
huntstop
preference 1
max-conn 1
destination-pattern 281838268
progress_ind disconnect enable 8
translate-outgoing called 6
session target ipv4:10.163.61.16:1721
dtmf-relay h245-alphanumeric
codec g711alaw
fax-relay ecm disable
fax rate 14400 bytes 40
fax protocol t38 ls-redundancy 2 hs-redundancy 2 fallback cisco
no vad
!
dial-peer voice 216 voip
description FAX2IP FROM PSTN BTC MILANO
huntstop
preference 1
max-conn 1
destination-pattern 281838216
progress_ind disconnect enable 8
translate-outgoing called 3
session target ipv4:10.163.61.16:1721
dtmf-relay h245-alphanumeric
codec g711alaw
fax-relay ecm disable
fax rate 14400 bytes 40
fax protocol t38 ls-redundancy 2 hs-redundancy 2 fallback cisco
no vad
!
dial-peer voice 294 voip
destination-pattern 281838207
translate-outgoing called 3
session target ipv4:10.163.61.5
codec g711alaw
fax rate disable
no vad
!
dial-peer voice 213 voip
destination-pattern 281838213
translate-outgoing called 3
session target ipv4:10.163.61.5
codec g711alaw
fax rate disable
no vad
!
dial-peer voice 287 voip
destination-pattern 281838287
translate-outgoing called 3
session target ipv4:10.163.61.5
codec g711alaw
fax rate disable
no vad
!
dial-peer voice 701 voip
destination-pattern 281838701
translate-outgoing called 3
session target ipv4:10.163.61.5
codec g711alaw
fax rate disable
no vad
!
dial-peer voice 298 voip
destination-pattern 281838298
translate-outgoing called 3
session target ipv4:10.163.61.5
codec g711alaw
fax rate disable
fax protocol pass-through g711alaw
no vad
!
dial-peer voice 816 voip
destination-pattern 281838816
translate-outgoing called 3
session target ipv4:10.163.61.5
codec g711alaw
fax rate disable
no vad
!
dial-peer voice 828 voip
destination-pattern 281838828
translate-outgoing called 3
session target ipv4:10.163.61.5
codec g711alaw
no vad
!
dial-peer voice 830 voip
destination-pattern 281838830
translate-outgoing called 3
session target ipv4:10.163.61.5
codec g711alaw
fax rate disable
no vad
!
dial-peer voice 253 voip
huntstop
preference 1
max-conn 1
destination-pattern 281838253
progress_ind disconnect enable 8
translate-outgoing called 3
session target ipv4:10.163.61.16:1721
dtmf-relay h245-alphanumeric
codec g711alaw
fax-relay ecm disable
fax rate 14400 bytes 40
fax protocol t38 ls-redundancy 2 hs-redundancy 2 fallback cisco
no vad
!
dial-peer voice 831 voip
destination-pattern 281838831
translate-outgoing called 3
session target ipv4:10.163.61.5
codec g711alaw
fax rate disable
no vad
!
dial-peer voice 8 voip
preference 3
destination-pattern 2818393..
translate-outgoing called 1
voice-class codec 1
voice-class h323 2
session target ipv4:10.163.61.20
dtmf-relay h245-alphanumeric
!
dial-peer voice 9 voip
preference 3
destination-pattern 2818391
translate-outgoing called 2
voice-class codec 1
voice-class h323 2
session target ipv4:10.163.61.20
dtmf-relay h245-alphanumeric
!
dial-peer voice 20 voip
preference 3
destination-pattern 281838...
translate-outgoing called 3
voice-class codec 1
voice-class h323 2
session target ipv4:10.163.61.20
dtmf-relay h245-alphanumeric
!
dial-peer voice 21 voip
preference 3
destination-pattern 2818381
translate-outgoing called 4
voice-class codec 1
voice-class h323 2
session target ipv4:10.163.61.20
dtmf-relay h245-alphanumeric
!
dial-peer voice 832 voip
huntstop
preference 1
max-conn 1
destination-pattern 281838832
progress_ind disconnect enable 8
translate-outgoing called 3
session target ipv4:10.163.61.16:1721
dtmf-relay h245-alphanumeric
codec g711alaw
fax-relay ecm disable
fax rate 14400 bytes 40
fax protocol t38 ls-redundancy 2 hs-redundancy 2 fallback cisco
no vad
!
dial-peer voice 833 voip
description FAX2IP FROM PSTN
huntstop
preference 1
max-conn 1
destination-pattern 281838833
progress_ind disconnect enable 8
translate-outgoing called 3
session target ipv4:10.163.61.16:1721
dtmf-relay h245-alphanumeric
codec g711alaw
fax-relay ecm disable
fax rate 14400 bytes 40
fax protocol t38 ls-redundancy 2 hs-redundancy 2 fallback cisco
no vad
!
dial-peer voice 9833 voip
description FAX2IP to PSTN
answer-address 2833
dtmf-relay h245-alphanumeric
codec g711alaw
fax rate 14400
fax protocol t38 ls-redundancy 0 hs-redundancy 0 fallback cisco
no vad
!
dial-peer voice 400 voip
huntstop
preference 1
max-conn 1
destination-pattern 281839300
progress_ind disconnect enable 8
translate-outgoing called 1
session target ipv4:10.163.61.16:1721
dtmf-relay h245-alphanumeric
codec g711alaw
fax-relay ecm disable
fax rate 14400 bytes 40
fax protocol t38 ls-redundancy 2 hs-redundancy 2 fallback cisco
no vad
!
dial-peer voice 358 voip
huntstop
preference 1
max-conn 1
destination-pattern 281838358
progress_ind disconnect enable 8
translate-outgoing called 3
session target ipv4:10.163.61.16:1721
dtmf-relay h245-alphanumeric
codec g711alaw
fax-relay ecm disable
fax rate 14400 bytes 40
fax protocol t38 ls-redundancy 2 hs-redundancy 2 fallback cisco
no vad
!
dial-peer voice 676 voip
huntstop
preference 1
max-conn 1
destination-pattern 281838676
progress_ind disconnect enable 8
translate-outgoing called 3
session target ipv4:10.163.61.16:1721
dtmf-relay h245-alphanumeric
codec g711alaw
fax-relay ecm disable
fax rate 14400 bytes 40
fax protocol t38 ls-redundancy 2 hs-redundancy 2 fallback cisco
no vad
!
dial-peer voice 432 voip
huntstop
preference 1
max-conn 1
destination-pattern 281838432
progress_ind disconnect enable 8
translate-outgoing called 3
session target ipv4:10.163.61.16:1721
dtmf-relay h245-alphanumeric
codec g711alaw
fax-relay ecm disable
fax rate 14400
fax protocol t38 ls-redundancy 2 hs-redundancy 2 fallback cisco
no vad
!
dial-peer voice 22 voip
destination-pattern 2818395..
voice-class codec 1
voice-class h323 2
session target ipv4:10.163.61.22
dtmf-relay h245-alphanumeric
no vad
!
dial-peer voice 270 pots
call-block translation-profile incoming call_block
call-block disconnect-cause incoming call-reject
incoming called-number 281838270
direct-inward-dial
!
dial-peer voice 1000 voip
description = From 3CX =
destination-pattern 2...
voice-class codec 1
voice-class h323 2
session target ipv4:10.163.59.10
incoming called-number .T
dtmf-relay h245-alphanumeric
no vad
!
call-manager-fallback
max-conferences 8
!
banner motd ^C
.______
______________ | \/\_________
\ /___ \| / ________/
\/ \/ \ / ____ \
/ | \ \ / | \
\ ____/\____|\ /\________/iCT
\/+ \/
You have entered a secure system,
authorized access ONLY !

^C
!
line con 0
line aux 0
password 7 13061E010803
login
modem Dialin
modem autoconfigure discovery
terminal-type mon
speed 19200
line vty 0 4
password 7 06120A2D494F19
login
length 0
!
ntp clock-period 17180736
ntp server 10.160.0.28
!
end

 

 

 

3 Replies 3

b.winter
VIP
VIP

Why on earth are you using such an old GW and CUCM 4.1? Are you even aware, how old CUCM 4 is?
I hope you don't really expect any help, using such an old equipment...

But to your config: Where are your SIP dial-peers?

And pleeeeease: Don't post the config or debugs directly into the message body, that's just bad habit. Long posts make the whole thread so unreadable, if you do it 2 or 3 times.
Save the output in a txt-File and upload the file.

Hi,

I totally agree with you about those aged equipments, but the customer still wants to use them.. Sorry for the long post , it was my first; the dial peer thata manages the calls from 3cx to cucm is this:

dial-peer voice 1000 voip
description = From 3CX =
destination-pattern 2...
voice-class codec 1
voice-class h323 2
session target ipv4:10.163.59.10
incoming called-number .T
dtmf-relay h245-alphanumeric
no vad

If I add sessionprotocol sipv2 , I get a cause 3, 404 error..

I attach the log and the configuration..thanks in advance

A 503 with a cause code of 47 is almost always a codec non-negotiation issue. I see that your voice class codec 1 lists G728 and G711ulaw, but a bunch of your voip dial-peers are G711alaw. Without knowing which dial-peer is pointing to what system (descriptions are a good thing!) it's harder to know which dial-peers are in play.

It might be worthwhile to add G711alaw to your codec preference list to see if that fixes your issue. You may have to play with the preference order between ulaw and alaw in making sure that all of your calls work.

Maren