
роутер 2651 - 192.168.0.3
роутер 3845 - 192.168.0.6
Xlite IP Phone - 192.168.0.49 номер 557, снаружи 4557
Cisco IP Communicator - 192.168.0.49 номер 555, снаружи 4555
настроил на 3845 CallManager Express, подключил Cisco IP Communicator. Звонки по всем направлениям работают.
Настроил на ней же SIP. Xlite регистрируется и может звонить по всему номерному плану компании, на телефоны CME и в город. Проблема в том, что не работают входящие звонки с телефонов подключенных на верхней PBX (номерной план 2..). Не проходит также
Код: Выделить всё
2651#csim start 4557
Входящие на SIP Xlite с IP Communicator через CME работают.
Код: Выделить всё
3845#sh ver
Cisco IOS Software, 3800 Software (C3845-IPVOICE-M), Version 12.4(7a), RELEASE SOFTWARE (fc3)
Technical Support: http://www.cisco.com/techsupport
Copyright (c) 1986-2006 by Cisco Systems, Inc.
Compiled Tue 25-Apr-06 02:54 by ssearch
ROM: System Bootstrap, Version 12.3(11r)T2, RELEASE SOFTWARE (fc1)
ROM: Cisco IOS Software, 3800 Software (C3845-IPBASE-M), Version 12.4(3b), RELEASE SOFTWARE (fc3)
s8-vcgw-new uptime is 2 years, 26 weeks, 6 days, 4 hours, 30 minutes
System returned to ROM by power-on
System restarted at 21:56:08 MSD Sat Aug 23 2008
System image file is "flash:c3845-ipvoice-mz.124-7a.bin"
Cisco 3845 (revision 1.0) with 225280K/36864K bytes of memory.
Processor board ID FCZ10017068
2 Gigabit Ethernet interfaces
124 Serial interfaces
4 Channelized E1/PRI ports
DRAM configuration is 64 bits wide with parity enabled.
479K bytes of NVRAM.
62720K bytes of ATA System CompactFlash (Read/Write)
Configuration register is 0x2102
Код: Выделить всё
version 12.4
!
card type e1 0 0
card type e1 0 1
!
isdn switch-type primary-net5
voice-card 0
dspfarm
!
!
voice service pots
!
voice service voip
allow-connections h323 to h323
allow-connections h323 to sip
allow-connections sip to sip
redirect ip2ip
h323
sip
registrar server expires max 3600 min 3600
redirect contact order best-match
!
!
!
voice class codec 1
codec preference 1 g711alaw
codec preference 2 g729br8
!
!
voice register pool 1
id network 192.168.0.0 mask 255.255.255.0
voice-class codec 1
!
voice translation-rule 4500
rule 1 /^\(4\)\(5..\)/ /\2/
!
!
voice translation-profile CCME
translate calling 4500
!
voice translation-profile met
translate called 380
!
!
username user privilege 15 secret 5 .............................
!
!
controller E1 0/0/0
clock source line primary
pri-group timeslots 1-31
!
controller E1 0/0/1
pri-group timeslots 1-31
!
controller E1 0/1/0
pri-group timeslots 1-31
!
controller E1 0/1/1
framing NO-CRC4
pri-group timeslots 1-31
!
translation-rule 4000
Rule 0 ^0 40
Rule 1 ^1 41
Rule 2 ^2 42
Rule 3 ^3 43
Rule 4 ^4 44
Rule 5 ^5 45
Rule 6 ^6 46
Rule 7 ^7 47
Rule 8 ^8 48
Rule 9 ^9 49
!
!
interface GigabitEthernet0/0
ip address 192.168.0.6 255.255.255.0
duplex full
speed 1000
media-type rj45
negotiation auto
!
interface GigabitEthernet0/1
...........
!
interface Serial0/0/0:15
no ip address
encapsulation hdlc
isdn switch-type primary-net5
isdn overlap-receiving T302 2000
isdn incoming-voice voice
isdn T309-enable
isdn outgoing display-ie
no cdp enable
!
interface Serial0/0/1:15
no ip address
encapsulation hdlc
isdn switch-type primary-net5
isdn overlap-receiving T302 2000
isdn incoming-voice voice
isdn T309-enable
isdn outgoing display-ie
no cdp enable
!
interface Serial0/1/0:15
no ip address
encapsulation hdlc
isdn switch-type primary-net5
isdn overlap-receiving
isdn incoming-voice voice
isdn T309-enable
isdn outgoing display-ie
no cdp enable
!
interface Serial0/1/1:15
no ip address
encapsulation hdlc
isdn switch-type primary-net5
isdn overlap-receiving
isdn incoming-voice voice
isdn T309-enable
isdn outgoing display-ie
no cdp enable
!
! маршруты в локальные сети..
ip route ...........
!
!
control-plane
!
voice-port 0/0/0:15
cptone RU
!
voice-port 0/1/0:15
cptone RU
!
voice-port 0/0/1:15
cptone RU
!
voice-port 0/1/1:15
cptone RU
!
dial-peer cor custom
!
dial-peer voice 9100 voip
tone ringback alert-no-PI
destination-pattern 91..
translate-outgoing calling 4000
session target ipv4:192.168.0.3
fax rate 14400
fax protocol t38 ls-redundancy 0 hs-redundancy 0 fallback cisco
!
dial-peer voice 2 pots
destination-pattern 2..
no digit-strip
direct-inward-dial
port 0/0/0:15
forward-digits all
!
dial-peer voice 4200 pots
destination-pattern 42..
no digit-strip
direct-inward-dial
port 0/0/0:15
forward-digits 3
!
dial-peer voice 9200 voip
tone ringback alert-no-PI
destination-pattern 92..
translate-outgoing calling 4000
session target ipv4:192.168.0.3
fax rate 14400
fax protocol t38 ls-redundancy 0 hs-redundancy 0 fallback cisco
!
telephony-service
max-ephones 20
max-dn 10
ip source-address 192.168.0.6 port 2000
timeouts ringing 60
system message CME IP Phone
user-locale RU
time-format 24
date-format dd-mm-yy
create cnf-files version-stamp 7960 Feb 22 2011 16:20:21
max-conferences 12 gain -6
web admin system name user secret 5 ...........
dn-webedit
time-webedit
transfer-system full-consult
transfer-pattern 9...
transfer-pattern 4...
directory entry 1 9228 name User 1
!
ephone-dn 1
number 555
description User 1
name User 1
!
ephone 1
mac-address 001C.C489.B128
speed-dial 1 9228
button 1:1
Код: Выделить всё
Mar 1 16:15:14.636 MSK: //777502/000000000000/SIP/State/sipSPIChangeState: 0x65ABF47C : State change from (STATE_NONE, SUBSTATE_NONE) to (STATE_IDLE, SUBSTATE_NONE)
Mar 1 16:15:14.636 MSK: //777502/000000000000/SIP/Info/ccsip_call_setup_request:
This a IPIP call: Chan 0, codec 16 channel 17846, ip A051C03:17846 params 0x66261130 caps 0x0
Mar 1 16:15:14.636 MSK: //-1/xxxxxxxxxxxx/SIP/Event/sipSPIEventInfo: Queued event from SIP SPI : SIPSPI_EV_CC_CALL_SETUP
Mar 1 16:15:14.636 MSK: //777502/C790B706B2AF/SIP/Info/sipSPIUaddccCallIdToTable: Adding call id BDD1E to table
Mar 1 16:15:14.636 MSK: //777502/C790B706B2AF/SIP/Info/act_idle_continue_call_setup:
Mar 1 16:15:14.636 MSK: //777502/C790B706B2AF/SIP/Info/sipSPIGetCallConfig: preferred_codec set[0] type :No Codec bytes: 0
Mar 1 16:15:14.636 MSK: //777502/C790B706B2AF/SIP/Info/sipSPICanSetFallbackFlag: Local Fallback is not active
Mar 1 16:15:14.636 MSK: //777502/C790B706B2AF/SIP/Info/sipSPIGetCallConfig: Using Voice Class Codec, tag = 1
Mar 1 16:15:14.636 MSK: //777502/C790B706B2AF/SIP/Info/sipSPI_ipip_copy_channelInfo_to_sdp:
callid 777502, channels 0x6618F31C caps 0x0
Mar 1 16:15:14.636 MSK: //777502/C790B706B2AF/SIP/Info/sipSPI_ipip_copy_channelInfo_to_sdp:
pref dtmf 0
Mar 1 16:15:14.636 MSK: //777502/C790B706B2AF/SIP/Info/ccsip_set_cc_cause_for_spi_err: Categorized cause:65, category:278
Mar 1 16:15:14.636 MSK: //777502/C790B706B2AF/SIP/Error/sipSPI_ipip_copy_channelInfo_to_sdp:
filter mis-match, failing call
Mar 1 16:15:14.636 MSK: //777502/C790B706B2AF/SIP/Info/sipSPIInitiateDisconnect: Initiate call disconnect(65) for outgoing call
Mar 1 16:15:14.636 MSK: //777502/C790B706B2AF/SIP/State/sipSPIChangeState: 0x65ABF47C : State change from (STATE_IDLE, SUBSTATE_NONE) to (STATE_DISCONNECTING, SUBSTATE_NONE)
Mar 1 16:15:14.636 MSK: //-1/xxxxxxxxxxxx/SIP/Info/ccsip_set_release_source_for_peer: ownCallId[777502], src[6]
Mar 1 16:15:14.636 MSK: //777502/C790B706B2AF/SIP/Info/sipSPIValidateGtd: Signal Forward disabled
Mar 1 16:15:14.636 MSK: //777502/C790B706B2AF/SIP/Info/sipSPIRscmsmAvail: Value returned by check is = 0
Mar 1 16:15:14.636 MSK: //777502/C790B706B2AF/SIP/Info/sipSPIUaddCcbToUACTable: ****Adding to UAC table.
Mar 1 16:15:14.636 MSK: //777502/C790B706B2AF/SIP/Info/sipSPIUaddCcbToTable: Added to table. ccb=0x65ABF47C key=C790B706-433C11E0-B2B0C7B9-97DEAED1@192.168.0.6
Mar 1 16:15:14.636 MSK: //777502/C790B706B2AF/SIP/Info/sipSPIUsetBillingProfile: sipCallId for billing records = C790B706-433C11E0-B2B0C7B9-97DEAED1@192.168.0.6
Mar 1 16:15:14.636 MSK: //777502/C790B706B2AF/SIP/Media/sipSPISetMediaSrcAddr: Media src addr for stream 1 = 192.168.0.6
Mar 1 16:15:14.636 MSK: //-1/xxxxxxxxxxxx/SIP/Media/sipSPIReserveRtpPort: reserved port 17738 for stream 1
Mar 1 16:15:14.636 MSK: //777502/C790B706B2AF/SIP/Error/sipSPIAddSDPMediaPayload: Call Origination Failed: None of the selected codec from CLI is supported by SIP
Mar 1 16:15:14.636 MSK: //777502/C790B706B2AF/SIP/Error/sipSPIOutgoingCallSDP: Error with codec types on media line
Mar 1 16:15:14.636 MSK: //777502/C790B706B2AF/SIP/Error/sipSPICreateOutboundSDP: Error in creating an SDP for the outbound call - Check for supported codecs
Mar 1 16:15:14.636 MSK: //777502/C790B706B2AF/SIP/State/sipSPIChangeState: 0x65ABF47C : State change from (STATE_DISCONNECTING, SUBSTATE_NONE) to (STATE_DISCONNECTING, SUBSTATE_NONE)
Mar 1 16:15:14.636 MSK: //777502/C790B706B2AF/SIP/Info/ccsip_set_cc_cause_for_spi_err: Categorized cause:47, category:181
Mar 1 16:15:14.636 MSK: //777502/C790B706B2AF/SIP/Info/sipSPIInitiateDisconnect: Initiate call disconnect(47) for outgoing call
Mar 1 16:15:14.636 MSK: //777502/C790B706B2AF/SIP/State/sipSPIChangeState: 0x65ABF47C : State change from (STATE_DISCONNECTING, SUBSTATE_NONE) to (STATE_DISCONNECTING, SUBSTATE_NONE)
Mar 1 16:15:14.636 MSK: //-1/xxxxxxxxxxxx/SIP/Transport/sipSPIUpdateResponseInfo: Dialog Transaction Address 192.168.0.49,Port 4134, Transport 1, SentBy Port 4134
Mar 1 16:15:14.636 MSK: //-1/xxxxxxxxxxxx/SIP/Info/sipSPISetDateHeader: Converting TimeZone MSK to SIP default timezone = GMT Invalid params for o= owner line, build failed.
Mar 1 16:15:14.636 MSK: //-1/xxxxxxxxxxxx/SIP/Error/sipsdp_write_to_buf: sdp_build rc=SDP_INVALID_PARAMETER
Mar 1 16:15:14.636 MSK: //777502/C790B706B2AF/SIP/State/sipSPIChangeState: 0x65ABF47C : State change from (STATE_DISCONNECTING, SUBSTATE_NONE) to (STATE_DISCONNECTING, SUBSTATE_NONE)
Mar 1 16:15:14.636 MSK: //777502/C790B706B2AF/SIP/Info/ccsip_set_cc_cause_for_spi_err: Categorized cause:47, category:181
Mar 1 16:15:14.636 MSK: //777502/C790B706B2AF/SIP/Info/sipSPIInitiateDisconnect: Initiate call disconnect(47) for outgoing call
Mar 1 16:15:14.636 MSK: //777502/C790B706B2AF/SIP/State/sipSPIChangeState: 0x65ABF47C : State change from (STATE_DISCONNECTING, SUBSTATE_NONE) to (STATE_DISCONNECTING, SUBSTATE_NONE)
Mar 1 16:15:14.640 MSK: //-1/xxxxxxxxxxxx/SIP/Event/sipSPIEventInfo: Queued event from SIP SPI : SIPSPI_EV_CC_CALL_DISCONNECT
Mar 1 16:15:14.640 MSK: //777502/C790B706B2AF/SIP/Info/sipSPIIcpifUpdate: CallState: 2 Playout: 0 DiscTime:-655391140 ConnTime 0
Mar 1 16:15:14.640 MSK: //777502/C790B706B2AF/SIP/State/sipSPIChangeState: 0x65ABF47C : State change from (STATE_DISCONNECTING, SUBSTATE_NONE) to (STATE_DEAD, SUBSTATE_NONE)
Mar 1 16:15:14.640 MSK: //777502/C790B706B2AF/SIP/Call/sipSPICallInfo:
The Call Setup Information is:
Call Control Block (CCB) : 0x65ABF47C
State of The Call : STATE_DEAD
TCP Sockets Used : NO
Calling Number :
Called Number : 557
Source IP Address (Sig ): 192.168.0.6
Destn SIP Req Addr:Port : 192.168.0.49:4134
Destn SIP Resp Addr:Port : 192.168.0.49:4134
Destination Name : 192.168.0.49
Mar 1 16:15:14.640 MSK: //777502/C790B706B2AF/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.0.6
Source IP Port (Media): 17738
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 1 16:15:14.640 MSK: //777502/C790B706B2AF/SIP/Call/sipSPICallInfo:
Disconnect Cause (CC) : 47
Disconnect Cause (SIP) : 200
Mar 1 16:15:14.640 MSK: //777502/C790B706B2AF/SIP/Info/sipSPIUdeleteccCallIdFromTable: Removing call id BDD1E
Mar 1 16:15:14.640 MSK: //777502/C790B706B2AF/SIP/Info/sipSPIUdeleteCcbFromUACTable: ****Deleting from UAC table.
Mar 1 16:15:14.640 MSK: //777502/C790B706B2AF/SIP/Info/sipSPIUdeleteCcbFromTable: Deleting from table. ccb=0x65ABF47C key=C790B706-433C11E0-B2B0C7B9-97DEAED1@192.168.0.6
Mar 1 16:15:14.640 MSK: //777502/C790B706B2AF/SIP/Info/sipSPIFlushEventBufferQueue: There are 0 events on the internal queue that are going to be free'd
Mar 1 16:15:14.640 MSK: //777502/C790B706B2AF/SIP/Info/sipSPIUfreeOneCCB: Freeing ccb 65ABF47C