У вас не та прошивка
вот такое должно быть, посмотрите sh ver:
checksum is 0x186f0dfa
Качал от сюда
http://www.addpac.com/webhard/emag/2010 ... -firmware/
Проверил:
Код:
Copyright (c) 1999-2008 AddPac Technology Co., Ltd.
AP700 uptime is 0 days 00:00:17
AP700 current time is Thu Feb 25 20:59:17 2010
System image file is "flash:/ap700_g2_v8_41_084.bin"
AP700_G2 System software Revision 8.41.084
Released at Fri Feb 5 16:56:34 2010
Program is 3054984 bytes, checksum is 0x186f0dfa
32BIT RISC Processor With 125MHz Clock
32 Mbytes System Memory.
512 Kbytes System Boot Flash Memory
4 Mbytes System Flash Memory
Real-Time Clock Device with EEPROM
1 RS232 Serial Console Interface
2 Ethernet/IEEE 802.3 Interface (100BaseTX)
Maximum number of mbufs is 1536, 767 mbuf is free.
System CPU utilize is 3 percent.
Heap Memory is 32768 kbytes, 29033 kbyes is used, free is 3735 kbytes.
AP700#
AP700#
AP700#
AP700# sh ru
Building configuration...
Current configuration:
!
version 8.41.084
!
hostname AP700
!
username root password router administrator
!
!
interface Loopback0
ip address 127.0.0.1 255.0.0.0
!
!
interface FastEthernet0/1
ip address 10.28.28.1 255.255.255.0
ip nat inside
speed auto
no qos-control
!
interface FastEthernet0/0:1
no ip address
!
!
access-list 10 permit 10.28.28.0 0.0.0.255
!
!
!
! VoIP configuration.
!
!
! Voice service voip configuration.
!
protocol sip
dtmf-relay out-of-band
voice service voip
fax protocol t38 redundancy 0
fax rate 9600
h323 call start fast
h323 call tunnel enable
timeout tidt 10
busyout monitor gatekeeper
busyout monitor sip-server
no busyout monitor callagent
busyout monitor voip-interface
!
!
! Voice port configuration.
!
! FXS
voice-port 0/0
caller-id enable
!
!
! FXS
voice-port 0/1
caller-id enable
!
!
! FXS
voice-port 0/2
caller-id enable
!
!
! FXS
voice-port 0/3
caller-id enable
!
!
!
!
! Pots peer configuration.
!
dial-peer voice 0 pots
destination-pattern 300T
port 0/0
!
!
!
! Voip peer configuration.
!
dial-peer voice 100 voip
destination-pattern 1..F
session target ip 10.28.28.218
session protocol sip
no vad
dtmf-relay info
!
!
!
!
!
!
! Gateway configuration.
!
gateway
h323-id voip.р
no ignore-msg-from-other-gk
!
!
! Translation Rule configuration.
!
!
! SIP UA configuration.
!
sip-ua
no fault-tolerance
!
!
! MGCP configuration.
!
mgcp
vad
!
!
! Tones
!
!
!
voip-interface ip FastEthernet0/1
!
line console
!
line vty
!
end
AP700#
AP700#
AP700#
AP700#
AP700# deb voip sip
AP700# deb rta ipc
AP700# deb voip call
AP700# term m
AP700#
AP700#
AP700#
AP700#
Received SIP PDU from ( 10.28.28.218:5060 )
INVITE sip:300123456789123456899@10.28.28.1 SIP/2.0
Via: SIP/2.0/UDP 10.28.28.218:5060;branch=z9hG4bK234b6b69a4103
From: <sip:155@10.28.28.218>;tag=234b6b69a4
To: <sip:300123456789123456899@10.28.28.1>
Call-ID: 2390864b-2e22-6b66-8069-0002a40563ec@10.28.28.218
CSeq: 103 INVITE
Supported: replaces, timer, 100rel, early-session
Min-SE: 1800
Date: Thu, 25 Feb 2010 14:58:43 GMT
Session-Expires: 1800
User-Agent: AddPac SIP Gateway
Contact: <sip:155@10.28.28.218>
Accept: application/sdp
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, UPDATE, PRACK, REFER, NOTIFY, INFO
Allow-Events: talk, hold, conference
Content-Type: application/sdp
Content-Length: 304
Max-Forwards: 70
v=0
o=155 1267109923 1267109923 IN IP4 10.28.28.218
s=AddPac Gateway SDP
c=IN IP4 10.28.28.218
t=1267109923 0
m=audio 23124 RTP/AVP 4 18 0 8 101
a=ptime:30
a=rtpmap:4 G723/8000
a=rtpmap:18 G729/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
Sending SIP PDU to ( 10.28.28.218:5060 ) from 5060
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 10.28.28.218:5060;branch=z9hG4bK234b6b69a4103
From: <sip:155@10.28.28.218>;tag=234b6b69a4
To: <sip:300123456789123456899@10.28.28.1>
Call-ID: 2390864b-2e22-6b66-8069-0002a40563ec@10.28.28.218
CSeq: 103 INVITE
User-Agent: AddPac SIP Gateway
Content-Length: 0
1 <Call 1> : ****** Call Created status(InitiatedByNet) ver(8.28:2006-02-06-00-00) time(1267131602) ****
2 <SIP 1> : Receive INVITE Request
3 <NetCon 1> : Found inbound voip peer by dest-pattern id(100)
4 <Call 1> : From Net - calledParty(300123456789123456899) callingParty(155)
5 <Call 1> : MatchedAll
6 <Call 1> : MatchAllProcess After Sorted
<0> id(0) dest(300T) prefer(0) selected(0)
7 <Call 1> : Initiate callee with dial-peer(300T) status(CalleeDeterminedAll) id(00000000-0000-0000-0000-000000000000)
8 <CEP 000000> : InitiateOutCall : calledNum(123456789123456899), callingNum(155), callerPort(ffffffff) type(FXS)
[71.870] RTA(0/0/0) Rx CC_RING_REQ [80 28 01 08 30 32 32 35 32 31 30 30 02 03 31 35 35 07 03 31 35 35 d0 12 31 32 33 34 35 36 37 38 39 31 32 33 34 35 36 38 39 39 ] peerId(-1)
[71.870] VM(0/0/0) DaTime [L=8] 30 32 32 35 32 31 30 30
[71.870] VM(0/0/0) CgNumb [L=3] 31 35 35
[71.870] VM(0/0/0) CgName [L=3] 31 35 35
[71.870] VM(0/0/0) FwNumb [L=18] 31 32 33 34 35 36 37 38 39 31 32 33 34 35 36 38 39 39
[71.870] VM(0/0/0) Line Reverse
[71.870] VM(0/0/0) Start ring actv
[71.870] VM(0/0/0) SW to -72V
9 <CEP 000000> : Outbound call to CEP callId(00000000-0000-0000-0000-000000000000) callNum(1)
[71.870] VM(0/0/0) set T38 enable by CCC
[71.870] VM(0/0/0) set T38 mode STD
[71.870] VM(0/0/0) Fax rate 9600
10 <SIP 1> : SetAlerting
11 <SIP 1> : Add Local Audio MediaFormat : 4
Sending SIP PDU to ( 10.28.28.218:5060 ) from 5060
SIP/2.0 180 Ringing
Via: SIP/2.0/UDP 10.28.28.218:5060;branch=z9hG4bK234b6b69a4103
From: <sip:155@10.28.28.218>;tag=234b6b69a4
To: <sip:300123456789123456899@10.28.28.1>;tag=d24bf100a4
Call-ID: 2390864b-2e22-6b66-8069-0002a40563ec@10.28.28.218
CSeq: 103 INVITE
Supported: timer, replaces, early-session
User-Agent: AddPac SIP Gateway
Contact: sip:300123456789123456899@10.28.28.1
RSeq: 209193
Require: 100rel
Content-Type: application/sdp
Content-Length: 190
v=0
o=300123456789123456899 1267131602 1267131602 IN IP4 10.28.28.1
s=AddPac Gateway SDP
c=IN IP4 10.28.28.1
t=1267131602 0
m=audio 23002 RTP/AVP 4
a=ptime:30
a=rtpmap:4 G723/8000/1
Received SIP PDU from ( 10.28.28.218:5060 )
PRACK sip:300123456789123456899@10.28.28.1 SIP/2.0
Via: SIP/2.0/UDP 10.28.28.218:5060;branch=z9hG4bK234b6b69a4104
From: <sip:155@10.28.28.218>;tag=234b6b69a4
To: <sip:300123456789123456899@10.28.28.1>;tag=d24bf100a4
Call-ID: 2390864b-2e22-6b66-8069-0002a40563ec@10.28.28.218
CSeq: 104 PRACK
Date: Thu, 25 Feb 2010 14:58:44 GMT
User-Agent: AddPac SIP Gateway
RAck: 209193 103 INVITE
Contact: <sip:155@10.28.28.218>
Content-Length: 0
Max-Forwards: 70
12 <SIP 1> : Receive PRACK Request
Sending SIP PDU to ( 10.28.28.218:5060 ) from 5060
SIP/2.0 200 OK
Via: SIP/2.0/UDP 10.28.28.218:5060;branch=z9hG4bK234b6b69a4104
From: <sip:155@10.28.28.218>;tag=234b6b69a4
To: <sip:300123456789123456899@10.28.28.1>;tag=d24bf100a4
Call-ID: 2390864b-2e22-6b66-8069-0002a40563ec@10.28.28.218
CSeq: 104 PRACK
User-Agent: AddPac SIP Gateway
Content-Length: 0
[72.470] VM(0/0/0) vmOffHook
[72.530] VM(0/0/0) vmTmoOffHook
[72.530] VM(0/0/0) SW to -48V
[72.530] VM(0/0/0) Line Forward
[72.590] VM(0/0/0) vmTmoOffHook
[72.590] VM(0/0/0) Rx OffHook
[72.590] VP(0/0/0) open channel
[73.580] VM(0/0/0) play digit '1'
[73.580] VP(0/0/0) Tx IBS signal 1/1
[73.580] VP(0/0/0) Tx IBS dir 0
[73.730] VM(0/0/0) play DTMF stop
[73.730] VP(0/0/0) Tx IBS stop
[73.830] VM(0/0/0) play digit '2'
[73.830] VP(0/0/0) Tx IBS signal 1/2
[73.830] VP(0/0/0) Tx IBS dir 0
[73.980] VM(0/0/0) play DTMF stop
[73.980] VP(0/0/0) Tx IBS stop
[74.080] VM(0/0/0) play digit '3'
[74.080] VP(0/0/0) Tx IBS signal 1/3
[74.080] VP(0/0/0) Tx IBS dir 0
[74.230] VM(0/0/0) play DTMF stop
[74.230] VP(0/0/0) Tx IBS stop
[74.330] VM(0/0/0) play digit '4'
[74.330] VP(0/0/0) Tx IBS signal 1/4
[74.330] VP(0/0/0) Tx IBS dir 0
[74.480] VM(0/0/0) play DTMF stop
[74.480] VP(0/0/0) Tx IBS stop
[74.580] VM(0/0/0) play digit '5'
[74.580] VP(0/0/0) Tx IBS signal 1/5
[74.580] VP(0/0/0) Tx IBS dir 0
[74.730] VM(0/0/0) play DTMF stop
[74.730] VP(0/0/0) Tx IBS stop
[74.830] VM(0/0/0) play digit '6'
[74.830] VP(0/0/0) Tx IBS signal 1/6
[74.830] VP(0/0/0) Tx IBS dir 0
[74.980] VM(0/0/0) play DTMF stop
[74.980] VP(0/0/0) Tx IBS stop
[75.080] VM(0/0/0) play digit '7'
[75.080] VP(0/0/0) Tx IBS signal 1/7
[75.080] VP(0/0/0) Tx IBS dir 0
[75.230] VM(0/0/0) play DTMF stop
[75.230] VP(0/0/0) Tx IBS stop
[75.330] VM(0/0/0) play digit '8'
[75.330] VP(0/0/0) Tx IBS signal 1/8
[75.330] VP(0/0/0) Tx IBS dir 0
[75.480] VM(0/0/0) play DTMF stop
[75.480] VP(0/0/0) Tx IBS stop
[75.580] VM(0/0/0) play digit '9'
[75.580] VP(0/0/0) Tx IBS signal 1/9
[75.580] VP(0/0/0) Tx IBS dir 0
[75.730] VM(0/0/0) play DTMF stop
[75.730] VP(0/0/0) Tx IBS stop
[75.830] VM(0/0/0) play digit '1'
[75.830] VP(0/0/0) Tx IBS signal 1/1
[75.830] VP(0/0/0) Tx IBS dir 0
[75.980] VM(0/0/0) play DTMF stop
[75.980] VP(0/0/0) Tx IBS stop
[76.080] VM(0/0/0) play digit '2'
[76.080] VP(0/0/0) Tx IBS signal 1/2
[76.080] VP(0/0/0) Tx IBS dir 0
[76.230] VM(0/0/0) play DTMF stop
[76.230] VP(0/0/0) Tx IBS stop
[76.330] VM(0/0/0) play digit '3'
[76.330] VP(0/0/0) Tx IBS signal 1/3
[76.330] VP(0/0/0) Tx IBS dir 0
[76.480] VM(0/0/0) play DTMF stop
[76.480] VP(0/0/0) Tx IBS stop
[76.580] VM(0/0/0) play digit '4'
[76.580] VP(0/0/0) Tx IBS signal 1/4
[76.580] VP(0/0/0) Tx IBS dir 0
[76.730] VM(0/0/0) play DTMF stop
[76.730] VP(0/0/0) Tx IBS stop
[76.830] VM(0/0/0) play digit '5'
[76.830] VP(0/0/0) Tx IBS signal 1/5
[76.830] VP(0/0/0) Tx IBS dir 0
[76.980] VM(0/0/0) play DTMF stop
[76.980] VP(0/0/0) Tx IBS stop
[77.080] VM(0/0/0) play digit '6'
[77.080] VP(0/0/0) Tx IBS signal 1/6
[77.080] VP(0/0/0) Tx IBS dir 0
[77.230] VM(0/0/0) play DTMF stop
[77.230] VP(0/0/0) Tx IBS stop
[77.330] VM(0/0/0) play digit '8'
[77.330] VP(0/0/0) Tx IBS signal 1/8
[77.330] VP(0/0/0) Tx IBS dir 0
[77.480] VM(0/0/0) play DTMF stop
[77.480] VP(0/0/0) Tx IBS stop
[77.580] VM(0/0/0) play digit '9'
[77.580] VP(0/0/0) Tx IBS signal 1/9
[77.580] VP(0/0/0) Tx IBS dir 0
[77.730] VM(0/0/0) play DTMF stop
[77.730] VP(0/0/0) Tx IBS stop
[77.830] VM(0/0/0) play digit '9'
[77.830] VP(0/0/0) Tx IBS signal 1/9
[77.830] VP(0/0/0) Tx IBS dir 0
[77.980] VM(0/0/0) play DTMF stop
[77.980] VP(0/0/0) Tx IBS stop
[78.080] VP(0/0/0) attribute Fax enable, Modem disable
[78.080] VP(0/0/0) update Fax enable, Modem disable
[78.080] VM(0/0/0) Tx CONNECT_CNF
13 <Call 1> : Connected from(0)
[78.080] RTA(0/0/0) Rx AP_SVC_REQ nSvcElem=1 rawDataLen=0
VAD_CTRL 0
[78.080] VM(0/0/0) VAD disable
[78.080] VP(0/0/0) update VAD 0
[78.080] VM(0/0/0) SID enable by CCC
14 <SIP 1> : SetConnected
Sending SIP PDU to ( 10.28.28.218:5060 ) from 5060
SIP/2.0 200 OK
Via: SIP/2.0/UDP 10.28.28.218:5060;branch=z9hG4bK234b6b69a4103
From: <sip:155@10.28.28.218>;tag=234b6b69a4
To: <sip:300123456789123456899@10.28.28.1>;tag=d24bf100a4
Call-ID: 2390864b-2e22-6b66-8069-0002a40563ec@10.28.28.218
CSeq: 103 INVITE
Supported: timer, replaces, early-session
Session-Expires: 1800;refresher=uac
User-Agent: AddPac SIP Gateway
Contact: sip:300123456789123456899@10.28.28.1
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, UPDATE, REFER, NOTIFY, INFO
Require: timer
Content-Length: 0
[78.085] RTA(0/0/0) Rx RS_LISTEN_REQ callId=1 ssId=1 G7236
peer=10.28.28.218 mp=23002/23003 hp=23124/23125
[78.085] VM(0/0/0) vopp idle
[78.085] VP(0/0/0) close channel
[78.085] VM(0/0/0) start codec replace timer to G7236
[78.085] RTA(0/0/0) Rx RS_OPEN_REQ callId=1 ssId=1 G7236
peer=10.28.28.218 mp=23002/23003 hp=23124/23125
[78.085] VM(0/0/0) under codec replace to G7236
[78.085] RTA(0/0/0) Rx AP_SVC_REQ nSvcElem=1 rawDataLen=0
DTMF_CTRL 1
[78.085] VM(0/0/0) DTMF_Signal enable
Received SIP PDU from ( 10.28.28.218:5060 )
ACK sip:300123456789123456899@10.28.28.1 SIP/2.0
Via: SIP/2.0/UDP 10.28.28.218:5060;branch=z9hG4bK234b6b69a4103
From: <sip:155@10.28.28.218>;tag=234b6b69a4
To: <sip:300123456789123456899@10.28.28.1>;tag=d24bf100a4
Call-ID: 2390864b-2e22-6b66-8069-0002a40563ec@10.28.28.218
CSeq: 103 ACK
Content-Length: 0
Max-Forwards: 70
15 <SIP 1> : ACK received
16 <SIP 1> : Receive ACK Request
17 <SIP 1> : Set Terminated Success for 103 INVITE
[78.145] VP(0/0/0) enable Fax, disable Modem
[78.145] VP(0/0/0) open channel
[78.145] VM(0/0/0) codec replaced to G7236
[78.145] VM(0/0/0) play mute
[78.145] VP(0/0/0) Tx IBS signal 2/0
[78.145] VP(0/0/0) Tx IBS dir 0
[78.220] VP(0/0/0) GeneralEvent IBS gen end
[82.550] VM(0/0/0) vmOnHook
[82.600] VM(0/0/0) vmTmoOnHook
[82.650] VM(0/0/0) vmTmoOnHook
[82.700] VM(0/0/0) vmTmoOnHook
[82.750] VM(0/0/0) vmTmoOnHook
[82.800] VM(0/0/0) vmTmoOnHook
[82.850] VM(0/0/0) vmTmoOnHook
[82.900] VM(0/0/0) vmTmoOnHook
[82.950] VM(0/0/0) vmTmoOnHook
[83.000] VM(0/0/0) vmTmoOnHook
[83.050] VM(0/0/0) vmTmoOnHook
[83.100] VM(0/0/0) vmTmoOnHook
[83.150] VM(0/0/0) vmTmoOnHook
[83.200] VM(0/0/0) vmTmoOnHook
[83.250] VM(0/0/0) vmTmoOnHook
[83.250] VM(0/0/0) Rx OnHook
[83.250] VM(0/0/0) vopp idle
[83.250] VP(0/0/0) close channel
[83.250] VM(0/0/0) Tx DISCONN_CNF
18 <CEP 000000> : Disconnected(16) at Busy
19 <Call 1> : Terminated from(0) this(Local:CallClear) before(NULL) forced(0) time(1267131613)
20 <SIP 1> : ReleaseWithBYE
21 <SIP 1> : Send BYE Request
Sending SIP PDU to ( 10.28.28.218:5060 ) from 5060
BYE sip:155@10.28.28.218 SIP/2.0
Via: SIP/2.0/UDP 10.28.28.1:5060;branch=z9hG4bKd24bf100a41
From: <sip:300123456789123456899@10.28.28.1>;tag=d24bf100a4
To: <sip:155@10.28.28.218>;tag=234b6b69a4
Call-ID: 2390864b-2e22-6b66-8069-0002a40563ec@10.28.28.218
CSeq: 1 BYE
Date: Thu, 25 Feb 2010 21:00:13 GMT
User-Agent: AddPac SIP Gateway
Contact: <sip:300123456789123456899@10.28.28.1>
Content-Length: 0
Max-Forwards: 70
[83.255] RTA(0/0/0) Rx RS_CLOSE_REQ callId=1 ssId=1 dir=all
[83.255] RTA(0/0/0) close Media socket
[83.255] RTA(0/0/0) close RTCP socket
22 <NetEP 1> : Call FROM <155> terminated reason(Local:CallClear)
23 <CEP 000000> : DisconnectCall at Idle
Received SIP PDU from ( 10.28.28.218:5060 )
SIP/2.0 200 OK
Via: SIP/2.0/UDP 10.28.28.1:5060;branch=z9hG4bKd24bf100a41
From: <sip:300123456789123456899@10.28.28.1>;tag=d24bf100a4
To: <sip:155@10.28.28.218>;tag=234b6b69a4
Call-ID: 2390864b-2e22-6b66-8069-0002a40563ec@10.28.28.218
CSeq: 1 BYE
User-Agent: AddPac SIP Gateway
Content-Length: 0
Работает