sh ver:
Код: Выделить всё
Cisco Internetwork Operating System Software
IOS (tm) C1700 Software (C1700-SV3Y-M), Version 12.2(7b), RELEASE SOFTWARE (fc1)
Copyright (c) 1986-2002 by cisco Systems, Inc.
Compiled Tue 05-Mar-02 02:19 by pwade
Image text-base: 0x800080E0, data-base: 0x80AA706C
ROM: System Bootstrap, Version 12.0(3r)T1, RELEASE SOFTWARE (fc1)
itk-fxo uptime is 2 days, 17 hours, 50 minutes
System returned to ROM by power-on
System image file is "flash:c1700-sv3y-mz.122-7b.bin"
cisco 1750 (MPC860) processor (revision 0x801) with 24576K/8192K bytes of memory.
Processor board ID JAD06230PUB (3902846991), with hardware revision 0000
M860 processor: part number 0, mask 32
Bridging software.
X.25 software, Version 3.0.0.
1 FastEthernet/IEEE 802.3 interface(s)
2 Voice FXO interface(s)
32K bytes of non-volatile configuration memory.
8192K bytes of processor board System flash (Read/Write)
Configuration register is 0x2102
Код: Выделить всё
Slot 0:
C1750 1FE VE Mainboard Port adapter, 3 ports
Port adapter is analyzed
Port adapter insertion time unknown
EEPROM contents at hardware discovery:
Hardware Revision : 8.1
PCB Serial Number : JAD06230PUB
Part Number : 73-3743-08
Board Revision : A0
Fab Version : 04
EEPROM format version 4
EEPROM contents (hex):
0x00: 04 FF 40 00 C9 41 08 01 C1 8B 4A 41 44 30 36 32
0x10: 33 30 50 55 42 82 49 0E 9F 08 42 41 30 02 04 FF
0x20: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
0x30: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
0x40: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
0x50: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
0x60: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
0x70: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF
Packet Voice DSP Module Slot 0:
Hardware Revision : 3.2
Part Number : 73-3741-02
Board Revision : A0
Deviation Number : 0-0
Fab Version : 02
PCB Serial Number : ICP0624004D
RMA Test History : 00
RMA Number : 0-0-0-0
RMA History : 00
Processor type : 02
Number of DSP's : 1
Type of DSP : TMS320C549
EEPROM format version 4
EEPROM contents (hex):
0x00: 04 FF 40 01 5A 41 03 02 82 49 0E 9D 02 42 41 30
0x10: 80 00 00 00 00 02 02 C1 8B 49 43 50 30 36 32 34
0x20: 30 30 34 44 03 00 81 00 00 00 00 04 00 09 02 FF
WIC Slot 1:
Dual FXO Voice Interface Card
Hardware revision 1.1 Board revision J0
Serial number 0026698118 Part number 800-02495-01
Test history 0x00 RMA number 00-00-00
Connector type WAN Module
EEPROM format version 1
EEPROM contents (hex):
0x20: 01 0D 01 01 01 97 61 86 50 09 BF 01 00 00 00 00
0x30: 98 00 00 00 01 09 28 01 FF FF FF FF FF FF FF FF
Код: Выделить всё
DSP DSP DSPWARE CURR BOOT PAK TX/RX
TYPE NUM CH CODEC VERSION STATE STATE RST AI VOICEPORT TS ABORT PACK COUNT
==== === == ======== ======= ===== ======= === == ========= == ===== ============
DSP# 0: state IN SERVICE, 2 channels allocated
channel# 0: voice port 1/0, codec g711ulaw, state UP
channel# 1: voice port 1/1, codec g711ulaw, state UP
Код: Выделить всё
<--- SIP read from UDP:192.168.2.248:58702 --->
INVITE sip:5002@192.168.221.130;user=phone;phone-context=unknown SIP/2.0
Via: SIP/2.0/UDP 192.168.2.248:5060
From: "unknown" <sip:unknown@192.168.2.248>
To: <sip:5002@192.168.221.130;user=phone;phone-context=unknown>
Date: Wed, 03 Mar 1993 17:56:06 GMT
Call-ID: 31575761-171711CC-804AE15D-EEB949FC@192.168.2.248
Cisco-Guid: 827727633-387387852-2152259933-4005120508
User-Agent: Cisco VoIP Gateway/ IOS 12.x/ SIP enabled
CSeq: 101 INVITE
Max-Forwards: 6
Timestamp: 731181366
Contact: <sip:unknown@192.168.2.248:5060>
Expires: 180
Content-Type: application/sdp
Content-Length: 136
v=0
o=CiscoSystemsSIP-GW-UserAgent 467 5707 IN IP4 192.168.2.248
s=SIP Call
c=IN IP4 192.168.2.248
t=0 0
m=audio 20264 RTP/AVP 18
<------------->
--- (15 headers 6 lines) ---
<--- SIP read from UDP:192.168.2.248:58702 --->
INVITE sip:5002@192.168.221.130;user=phone;phone-context=unknown SIP/2.0
Via: SIP/2.0/UDP 192.168.2.248:5060
From: "unknown" <sip:unknown@192.168.2.248>
To: <sip:5002@192.168.221.130;user=phone;phone-context=unknown>
Date: Wed, 03 Mar 1993 17:56:07 GMT
Call-ID: 31575761-171711CC-804AE15D-EEB949FC@192.168.2.248
Cisco-Guid: 827727633-387387852-2152259933-4005120508
User-Agent: Cisco VoIP Gateway/ IOS 12.x/ SIP enabled
CSeq: 101 INVITE
Max-Forwards: 6
Timestamp: 731181367
Contact: <sip:unknown@192.168.2.248:5060>
Expires: 180
Content-Type: application/sdp
Content-Length: 136
v=0
o=CiscoSystemsSIP-GW-UserAgent 467 5707 IN IP4 192.168.2.248
s=SIP Call
c=IN IP4 192.168.2.248
t=0 0
m=audio 20264 RTP/AVP 18
<------------->
--- (15 headers 6 lines) ---
<--- SIP read from UDP:192.168.2.248:58702 --->
INVITE sip:5002@192.168.221.130;user=phone;phone-context=unknown SIP/2.0
Via: SIP/2.0/UDP 192.168.2.248:5060
From: "unknown" <sip:unknown@192.168.2.248>
To: <sip:5002@192.168.221.130;user=phone;phone-context=unknown>
Date: Wed, 03 Mar 1993 17:56:08 GMT
Call-ID: 31575761-171711CC-804AE15D-EEB949FC@192.168.2.248
Cisco-Guid: 827727633-387387852-2152259933-4005120508
User-Agent: Cisco VoIP Gateway/ IOS 12.x/ SIP enabled
CSeq: 101 INVITE
Max-Forwards: 6
Timestamp: 731181368
Contact: <sip:unknown@192.168.2.248:5060>
Expires: 180
Content-Type: application/sdp
Content-Length: 136
v=0
o=CiscoSystemsSIP-GW-UserAgent 467 5707 IN IP4 192.168.2.248
s=SIP Call
c=IN IP4 192.168.2.248
t=0 0
m=audio 20264 RTP/AVP 18
<------------->
--- (15 headers 6 lines) ---
<--- SIP read from UDP:192.168.2.248:58702 --->
INVITE sip:5002@192.168.221.130;user=phone;phone-context=unknown SIP/2.0
Via: SIP/2.0/UDP 192.168.2.248:5060
From: "unknown" <sip:unknown@192.168.2.248>
To: <sip:5002@192.168.221.130;user=phone;phone-context=unknown>
Date: Wed, 03 Mar 1993 17:56:10 GMT
Call-ID: 31575761-171711CC-804AE15D-EEB949FC@192.168.2.248
Cisco-Guid: 827727633-387387852-2152259933-4005120508
User-Agent: Cisco VoIP Gateway/ IOS 12.x/ SIP enabled
CSeq: 101 INVITE
Max-Forwards: 6
Timestamp: 731181370
Contact: <sip:unknown@192.168.2.248:5060>
Expires: 180
Content-Type: application/sdp
Content-Length: 136
v=0
o=CiscoSystemsSIP-GW-UserAgent 467 5707 IN IP4 192.168.2.248
s=SIP Call
c=IN IP4 192.168.2.248
t=0 0
m=audio 20264 RTP/AVP 18
<------------->
--- (15 headers 6 lines) ---
<--- SIP read from UDP:192.168.2.248:58702 --->
INVITE sip:5002@192.168.221.130;user=phone;phone-context=unknown SIP/2.0
Via: SIP/2.0/UDP 192.168.2.248:5060
From: "unknown" <sip:unknown@192.168.2.248>
To: <sip:5002@192.168.221.130;user=phone;phone-context=unknown>
Date: Wed, 03 Mar 1993 17:56:14 GMT
Call-ID: 31575761-171711CC-804AE15D-EEB949FC@192.168.2.248
Cisco-Guid: 827727633-387387852-2152259933-4005120508
User-Agent: Cisco VoIP Gateway/ IOS 12.x/ SIP enabled
CSeq: 101 INVITE
Max-Forwards: 6
Timestamp: 731181374
Contact: <sip:unknown@192.168.2.248:5060>
Expires: 180
Content-Type: application/sdp
Content-Length: 136
v=0
o=CiscoSystemsSIP-GW-UserAgent 467 5707 IN IP4 192.168.2.248
s=SIP Call
c=IN IP4 192.168.2.248
t=0 0
m=audio 20264 RTP/AVP 18
<------------->
--- (15 headers 6 lines) ---
<--- SIP read from UDP:192.168.2.248:58702 --->
INVITE sip:5002@192.168.221.130;user=phone;phone-context=unknown SIP/2.0
Via: SIP/2.0/UDP 192.168.2.248:5060
From: "unknown" <sip:unknown@192.168.2.248>
To: <sip:5002@192.168.221.130;user=phone;phone-context=unknown>
Date: Wed, 03 Mar 1993 17:56:22 GMT
Call-ID: 31575761-171711CC-804AE15D-EEB949FC@192.168.2.248
Cisco-Guid: 827727633-387387852-2152259933-4005120508
User-Agent: Cisco VoIP Gateway/ IOS 12.x/ SIP enabled
CSeq: 101 INVITE
Max-Forwards: 6
Timestamp: 731181382
Contact: <sip:unknown@192.168.2.248:5060>
Expires: 180
Content-Type: application/sdp
Content-Length: 136
v=0
o=CiscoSystemsSIP-GW-UserAgent 467 5707 IN IP4 192.168.2.248
s=SIP Call
c=IN IP4 192.168.2.248
t=0 0
m=audio 20264 RTP/AVP 18
<------------->
--- (15 headers 6 lines) ---
Пир настроен следующим образом:
Код: Выделить всё
[cisco-fxo]
type=peer
context=from-fxo
dtmfmode=auto
qualify=yes
host=192.168.2.248
permit=0.0.0.0/0.0.0.0
insecure=port,invite
Код: Выделить всё
call rsvp-sync
!
voice service pots
!
voice service voip
!
!
!
!
!
!
!
!
interface FastEthernet0
ip address 192.168.2.248 255.255.255.0
no ip mroute-cache
speed auto
full-duplex
no cdp enable
!
ip classless
ip route 0.0.0.0 0.0.0.0 192.168.2.1
no ip http server
ip pim bidir-enable
!
!
voice-port 1/0
connection plar 5001
dial-type pulse
!
voice-port 1/1
cptone RU
connection plar 5002
!
dial-peer voice 1 voip
destination-pattern .T
session protocol sipv2
session target ipv4:192.168.221.130:5060
dtmf-relay cisco-rtp
no vad
!
dial-peer voice 100 pots
preference 2
destination-pattern .T
port 1/0
!
dial-peer voice 200 pots
preference 1
destination-pattern .T
port 1/1
!
gateway
!
sip-ua
sip-server ipv4:192.168.221.130:5060