Вот наш конфиг!
AP2620# show run
!
version 8.30R
!
hostname AP2620
!
!
no bridge spanning-tree
!
!
no ip-share enable
!
!
interface ether0.0
ip address 83.234.207.37 255.255.255.248
!
interface ether1.0
ip address 192.168.0.1 255.255.255.0
!
snmp name AP2620
snmp enable-trap dn-register 300 forcely-block
!
no arp reset
!
route 0.0.0.0 0.0.0.0 83.234.207.38
!
logging command
!
remote-log primary-server 83.234.207.35
!
dnshost nameserver 217.150.34.129
!
!
radius-server accounting telephony start-stop
radius-server accounting voip start-stop
!
!
!
! VoIP configuration.
!
!
! Controller configuration.
!
controller e1 0/0
channel-group timeslots 1-31 0
isdn protocol-emulate user
!
!
!
! Voice service voip configuration.
!
voice service voip
fax protocol t38 redundancy 0
fax rate 9600
h323 call start fast
h323 call tunnel enable
busyout monitor gatekeeper
busyout monitor sip-server
no busyout monitor callagent
busyout monitor voip-interface
!
!
! Voice port configuration.
!
! E1
voice-port 0/0 0
!
!
!
!
! Pots peer configuration.
!
dial-peer voice 0 pots
destination-pattern 000477
port 0/0 0
call-waiting
user-password **********
!
dial-peer voice 2 pots
destination-pattern 7372023
port 0/0 0
call-waiting
user-password *********
!
dial-peer voice 5 pots
destination-pattern 61...
port 0/0 0
forward-digits from 5
call-waiting
!
!
!
! Voip peer configuration.
!
dial-peer voice 1 voip
destination-pattern 1T
session target 91.201.55.38
session protocol sip
voice-class codec 1
no vad
dtmf-relay rtp-2833
translate-outgoing called-number 0
!
dial-peer voice 3 voip
destination-pattern 3T
session target sipnet.ru
session protocol sip
voice-class codec 1
no vad
dtmf-relay rtp-2833
translate-outgoing called-number 1
!
dial-peer voice 9 voip
destination-pattern 25.....
session target 62.33.191.65
voice-class codec 1
no vad
dtmf-relay rtp-2833
!
!
!
!
!
!
gatekeeper
!
!
! Gateway configuration.
!
gateway
h323-id voip.83.234.207.37
no ignore-msg-from-other-gk
!
!
! Codec classes configuration.
!
voice class codec 1
codec preference 1 g729
!
!
!
! Translation Rule configuration.
!
translation-rule 0
rule 0 1T T
!
translation-rule 1
rule 0 3T T
!
!
!
! SIP UA configuration.
!
sip-ua
!
!
! MGCP configuration.
!
mgcp
codec g711ulaw
vad
!
!
! Tones
!
и Deb.
AP2620# deb voip call
AP2620# deb rta ipc
AP2620# deb voip sip
AP2620# [232754.290] Q931[0] Tx PCC_SETUP_IND CR=(1)67 B=7 Excl CZ=0 PG=0 Cd='38
9247522531' Cg=c1 81 '61999'
1 <ISDN 32835> : SETUP_IND : mpId(000000) bChNo(7) exclusive(1) progInd
(0) cause(0) calledAddr(389247522531) callingAddr(61999) callingNumType(4) calli
ngNumPlan(1) callingPresentInd(0) callingScreenInd(1)
[232754.290] Q931[0] Rx PCC_SETUP_ACK CR=(1)67 B=7 Excl CZ=128 PG=0
2 <CEP 000007> : Call Received
3 <CEP 000007> : Call Initiated : calledNumber(389247522531) crv(32835)
total(0)
4 <Call 79> : ****************** Call Created status(InitiatedByE1)
*******************
5 <CEP 000007> : Calling number(61999)
6 <CEP 000007> : Call id(7daabf49-8c4e-7559-80c4-0002a404f772) callNum(
79)
7 <CEP 000007> : Sent RADIUS Telephony Answer START Session(49)
8 <Call 79> : Match check (MatchedAll)
9 <Call 79> : MatchAllProcess After Sorted
<0> id(3) dest(3T) prefer(0) selected(6)
10 <Call 79> : Initiate callee with dial-peer(3T) status(CalleeDeterm
inedAll) id(7daabf49-8c4e-7559-80c4-0002a404f772)
11 <NetEP 79> : InitiateOutCall: calledNum(389247522531) callingNum(61
999) target(sipnet.ru)
12 <NetEP 79> : DoCall: calledAddr(sip:89247522531@sipnet.ru) callingA
ddr(61999)
[232754.290] VM(0/0/7) set T38 mode STD
[232754.290] VM(0/0/7) Fax rate 9600
13 <NetCon 79> : Sent RADIUS VoIP Originate START Session(50)
14 <SIP 0> : No authentication information available
15 <SIP 79> : Send INVITE Request
Sending SIP PDU to ( sipnet.ru:5060 ) from 5060
INVITE sip:89247522531@sipnet.ru SIP/2.0
Via: SIP/2.0/UDP 83.234.207.37:5060;branch=z9hG4bK7d49d5c5a4101
From: <sip:61999@83.234.207.37>;tag=7d49d5c5a4
To: <sip:89247522531@sipnet.ru>
Call-ID: 7daabf49-3beb-d514-80c5-0002a404f772@83.234.207.37
CSeq: 101 INVITE
Supported: timer, replaces
Min-SE: 1800
Date: Tue, 17 Mar 2009 13:49:49 GMT
User-Agent: AddPac SIP Gateway
Contact: <sip:61999@83.234.207.37>
Accept: application/sdp
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, UPDATE, REFER, NOTIFY, INFO
Content-Type: application/sdp
Content-Length: 236
Max-Forwards: 70
v=0
o=61999 1237297789 1237297789 IN IP4 83.234.207.37
s=AddPac Gateway SDP
c=IN IP4 83.234.207.37
t=1237297789 0
m=audio 23128 RTP/AVP 18 101
a=rtpmap:18 G729/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
[232754.425] RTA(0/0/7) Rx RS_LISTEN_REQ callId=79 ssId=1 G711U
peer=0.0.0.0 mp=23128/23129 hp=0/0
[232754.425] VM(0/0/7) Modem attribute disable
[232754.425] VM(0/0/7) Modem attribute G711A
[232754.425] RTA(0/0/7) Rx PCC_BCH_CONN peerId(-1)
[232754.425] VM(0/0/7) vopp enable
[232754.425] VM(0/0/7) Fax enable
[232754.425] VM(0/0/7) play mute
Received SIP PDU from ( 212.53.40.40:5060 )
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 83.234.207.37:5060;branch=z9hG4bK7d49d5c5a4101
From: <sip:61999@83.234.207.37>;tag=7d49d5c5a4
To: <sip:89247522531@sipnet.ru>
Call-ID: 7daabf49-3beb-d514-80c5-0002a404f772@83.234.207.37
CSeq: 101 INVITE
Server: CommuniGatePro/5.2.12
Content-Length: 0
16 <SIP 79> : Receive 100 Trying
17 <SIP 79> : Transaction (101 INVITE) proceeding
Received SIP PDU from ( 212.53.40.40:5060 )
SIP/2.0 401 Authentication required
Via: SIP/2.0/UDP 83.234.207.37:5060;branch=z9hG4bK7d49d5c5a4101
From: <sip:61999@83.234.207.37>;tag=7d49d5c5a4
To: <sip:89247522531@sipnet.ru>;tag=4AF8EDD3
Call-ID: 7daabf49-3beb-d514-80c5-0002a404f772@83.234.207.37
CSeq: 101 INVITE
WWW-Authenticate: Digest realm="etc.tario.ru",nonce="4625D217898088BC1C2D",opaqu
e="opaqueData",qop="auth",algorithm=MD5
Server: CommuniGatePro/5.2.12
Content-Length: 0
18 <SIP 79> : Receive 401 Authentication required
19 <SIP 79> : Transaction (101 INVITE) completed
20 <SIP 79> : Send ACK Request
Sending SIP PDU to ( sipnet.ru:5060 ) from 5060
ACK sip:89247522531@sipnet.ru SIP/2.0
Via: SIP/2.0/UDP 83.234.207.37:5060;branch=z9hG4bK7d49d5c5a4101
From: <sip:61999@83.234.207.37>;tag=7d49d5c5a4
To: <sip:89247522531@sipnet.ru>;tag=4AF8EDD3
Call-ID: 7daabf49-3beb-d514-80c5-0002a404f772@83.234.207.37
CSeq: 101 ACK
Content-Length: 0
Max-Forwards: 70
21 <SIP 0> : Adding authentication information
22 <SIP 79> : Send INVITE Request
Sending SIP PDU to ( sipnet.ru:5060 ) from 5060
INVITE sip:89247522531@sipnet.ru SIP/2.0
Via: SIP/2.0/UDP 83.234.207.37:5060;branch=z9hG4bK7d49d5c5a4102
From: <sip:61999@83.234.207.37>;tag=7d49d5c5a4
To: <sip:89247522531@sipnet.ru>
Call-ID: 7daabf49-3beb-d514-80c5-0002a404f772@83.234.207.37
CSeq: 102 INVITE
Supported: timer, replaces
Min-SE: 1800
Date: Tue, 17 Mar 2009 13:49:50 GMT
User-Agent: AddPac SIP Gateway
Authorization: Digest username="000477", realm="etc.tario.ru", nonce="4625D21789
8088BC1C2D", opaque="opaqueData", uri="sip:89247522531@sipnet.ru", qop=auth, nc=
00000001, cnonce="f06609fb", response="40ac16964be1c8a4ef991426601fb0e4", algori
thm=MD5
Contact: <sip:61999@83.234.207.37>
Accept: application/sdp
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, UPDATE, REFER, NOTIFY, INFO
Content-Type: application/sdp
Content-Length: 240
Max-Forwards: 70
v=0
o=61999 1237297789 1237297789 IN IP4 83.234.207.37
s=AddPac Gateway SDP
c=IN IP4 83.234.207.37
t=1237297789 0
m=audio 23128 RTP/AVP 18 101
a=rtpmap:18 G729/8000/1
a=rtpmap:101 telephone-event/8000/1
a=fmtp:101 0-15
a=ptime:20
Received SIP PDU from ( 212.53.40.40:5060 )
SIP/2.0 500 account has been moved to a remote system
Via: SIP/2.0/UDP 83.234.207.37:5060;branch=z9hG4bK7d49d5c5a4102
From: <sip:61999@83.234.207.37>;tag=7d49d5c5a4
To: <sip:89247522531@sipnet.ru>;tag=D1EE1CBF
Call-ID: 7daabf49-3beb-d514-80c5-0002a404f772@83.234.207.37
CSeq: 102 INVITE
Server: CommuniGatePro/5.2.12
Content-Length: 0
23 <SIP 79> : Receive 500 account has been moved to a remote system
24 <SIP 79> : Transaction (102 INVITE) completed
25 <SIP 0> : Adding authentication information
26 <SIP 79> : Send ACK Request
Sending SIP PDU to ( sipnet.ru:5060 ) from 5060
ACK sip:89247522531@sipnet.ru SIP/2.0
Via: SIP/2.0/UDP 83.234.207.37:5060;branch=z9hG4bK7d49d5c5a4102
From: <sip:61999@83.234.207.37>;tag=7d49d5c5a4
To: <sip:89247522531@sipnet.ru>;tag=D1EE1CBF
Call-ID: 7daabf49-3beb-d514-80c5-0002a404f772@83.234.207.37
CSeq: 102 ACK
Authorization: Digest username="000477", realm="etc.tario.ru", nonce="4625D21789
8088BC1C2D", opaque="opaqueData", uri="sip:89247522531@sipnet.ru", qop=auth, nc=
00000001, cnonce="f06609fb", response="69d1e8770bb9c986dbfb4efc9b52fc1e", algori
thm=MD5
Content-Length: 0
Max-Forwards: 70
27 <SIP 79> : Check Event Relation
28 <SIP 79> : ReleaseWithNothing
[232754.860] RTA(0/0/7) Rx RS_CLOSE_REQ callId=79 ssId=1 dir=reve
[232754.860] RTA(0/0/7) close Media socket
[232754.860] RTA(0/0/7) close RTCP socket
29 <Call 79> : Terminated from(fffffffe) this(Server:CallFailure) be
fore(NULL) forced(0)
30 <CEP 000007> : DisconnectCall at Busy
31 <CEP 000007> : StopSignal
[232754.860] RTA(0/0/7) Rx AP_SVC_REQ nSvcElem=1 rawDataLen=0
DTMF_STOP
[232754.860] VM(0/0/7) play mute
32 <CEP 000007> : Disconnect (0) crv(32835)
[232754.860] RTA(0/0/7) Rx PCC_BCH_DISC peerId(0/0/0)
[232754.860] VM(0/0/7) vopp idle
[232754.860] Q931[0] Rx PCC_DISC_REQ CR=(1)67 B=7 Excl CZ=170 PG=0
33 <NetEP 79> : Call TO <sip:89247522531@sipnet.ru> terminated reason(
Server:CallFailure)
34 <NetCon 79> : Sent RADIUS VoIP STOP Session(50)
[232754.895] Q931[0] Tx PCC_DISC_CNF CR=(1)67 B=7 Excl CZ=42 PG=0 Cd='3892475225
31' Cg=c1 81 '61999'
35 <ISDN 32835> : DISC_CNF : mpId(000000) bChNo(7) exclusive(1) progInd(
0) cause(42) calledAddr(389247522531) callingAddr(61999) callingNumType(4) calli
ngNumPlan(1) callingPresentInd(0) callingScreenInd(1)
36 <CEP 000007> : Disconnected(42) at Disconnecting crv(32835)
37 <CEP 000007> : Sent RADIUS Telephony STOP Session(49)
38 <SIP 79> : Set Terminated Success for 101 INVITE
39 <SIP 79> : Set Terminated Success for 102 INVITE
|