Здравствуйте,
При тестировании работы AddPac'а 700 (Kernel version 8.41.076) с УАТС обнаружил, что AddPac не шлет информацию SDP в SIP сообщениях, в связи с этим вызовы отбиваются (по RFC без этого никуда
http://www.ietf.org/mail-archive/web/si ... 00857.html)
Подскажите, как можно исправить этот казус.
Заранее огромное спасибо!
Вот конфиг:
Код:
Building configuration...
Current configuration:
!
version 8.41.076
!
hostname xxxxx
!
username root password 7 G3f97UssW0GamO+aPz33Ig== administrator
!
!
interface Loopback0
ip address 127.0.0.1 255.0.0.0
!
interface FastEthernet0/0
ip address 10.99.203.123 255.255.255.0
full-duplex
speed auto
no qos-control
!
interface FastEthernet0/1
no ip address
speed auto
no qos-control
!
ip route 0.0.0.0 0.0.0.0 10.99.203.1
!
!
!
logging on
!
!
!
!
! VoIP configuration.
!
!
! Voice service voip configuration.
!
voice service voip
fax protocol t38 redundancy 3
fax rate 9600
h323 call start fast
h323 call tunnel enable
timeout tttl 20
counter cras 2
no local-ringback-tone
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 200
port 0/0
!
dial-peer voice 1 pots
destination-pattern 201
port 0/1
preference 1
!
!
!
! Voip peer configuration.
!
dial-peer voice 100 voip
destination-pattern T
session target sip-server
session protocol sip
voice-class codec 1
no vad
dtmf-relay rtp-2833
!
!
!
!
!
!
! Gateway configuration.
!
gateway
h323-id test
security password 12345
gkip 10.99.201.242 1719 128
ignore-msg-from-other-gk
!
!
! Codec classes configuration.
!
voice class codec 1
codec preference 1 g711alaw
codec preference 2 g711ulaw
!
!
!
! SIP UA configuration.
!
sip-ua
user-register
sip-password qwerty
sip-server 10.99.201.36
register e164
!
!
! MGCP configuration.
!
mgcp
vad
!
!
! Tones
!
!
!
!
line console
!
line vty
!
end
Вот дебаг
deb voip call
deb rta ipc
deb voip sip
Код:
Received SIP PDU from ( 10.99.201.36:5060 )
INVITE sip:200@10.99.203.123;x-sipX-nonat SIP/2.0
Record-Route: <sip:10.99.201.36:5060;lr;sipXecs-CallDest=AL%2CINT;sipXecs-rs=%2Aauth%7E.%2Afrom%7EODY0NjMwOTI2.900_ntap%2Aid%7EODk1OC0z%21126fc30922846795425b717803bd5d41>
Call-Id: 2661410022e2181080000026551a6858@10.99.201.244.0
Cseq: 1 INVITE
From: <sip:812xxxxxxx@10.99.201.244:5062>;tag=864630926
To: <sip:812yyyyyyy@mydomain.net>
Via: SIP/2.0/UDP 10.99.201.36;branch=z9hG4bK-XX-0192Yy`xneanftriMoDAol`Pig
Via: SIP/2.0/UDP 10.99.201.36;branch=z9hG4bK-XX-018eMN1Azqk4`WCk_rHdtE2S5Q~gmJfbm`9F5N07y`_QBiw2A;id=8958-3
Via: SIP/2.0/UDP 10.99.201.36;branch=z9hG4bK-XX-0188V3AVwBBQDbSZXqZ7Ui_izA~jCeCH1dyquhz6zNKxNrfkQ
Via: SIP/2.0/UDP 10.99.201.36:5090;branch=z9hG4bK179d2475cb252353cd4dacec2c3260ba353834;sipxecs-id=80415f6
Max-Forwards: 16
User-Agent: sipXecs/4.2.0 sipXecs/sipxbridge (Linux)
References: 2661410022e2181080000026551a6858@10.99.201.244;rel=chain;sipxecs-tag=request-invite-z9hg4bk-4300320-270066210-637534336-1483217493
Contact: <sip:812yyyyyyy@10.99.201.36:5090;x-sipX-nonat>
Content-Type: application/sdp
Allow: INVITE,BYE,ACK,CANCEL,REFER,OPTIONS,PRACK
Supported: replaces,100rel
Content-Length: 223
Date: Wed, 16 Jun 2010 14:38:09 GMT
Expires: 20
X-Sipx-Handled: X10.99.201.36-10.99.201.36
v=0
o=sipxbridge 1377931375063560972 1 IN IP4 10.99.201.36
s=-
c=IN IP4 10.99.201.36
t=0 0
m=audio 30502 RTP/AVP 8 0 101
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
Sending SIP PDU to ( 10.99.201.36:5060 ) from 5060
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 10.99.201.36;branch=z9hG4bK-XX-0192Yy`xneanftriMoDAol`Pig
Via: SIP/2.0/UDP 10.99.201.36;branch=z9hG4bK-XX-018eMN1Azqk4`WCk_rHdtE2S5Q~gmJfbm`9F5N07y`_QBiw2A;id=8958-3
Via: SIP/2.0/UDP 10.99.201.36;branch=z9hG4bK-XX-0188V3AVwBBQDbSZXqZ7Ui_izA~jCeCH1dyquhz6zNKxNrfkQ
Via: SIP/2.0/UDP 10.99.201.36:5090;branch=z9hG4bK179d2475cb252353cd4dacec2c3260ba353834;sipxecs-id=80415f6
From: <sip:812xxxxxxx@10.99.201.244:5062>;tag=864630926
To: <sip:812yyyyyyy@mydomain.net>
Call-ID: 2661410022e2181080000026551a6858@10.99.201.244.0
CSeq: 1 INVITE
User-Agent: AddPac SIP Gateway
Content-Length: 0
1 <Call 84> : ****** Call Created status(InitiatedByNet) ver(8.28:2006-02-06-00-00) time(1276713548) ****
2 <SIP 84> : Receive INVITE Request
3 <NetCon 84> : Found inbound voip peer by dest-pattern id(100)
4 <Call 84> : From Net - calledParty(200) callingParty(812xxxxxxx)
5 <Call 84> : MatchedPerfect
6 <Call 84> : MatchAllProcess After Sorted
<0> id(0) dest(200) prefer(0) selected(39)
7 <Call 84> : Initiate callee with dial-peer(200) status(CalleeDeterminedAll) id(00000000-0000-0000-0000-000000000000)
8 <CEP 000000> : InitiateOutCall : calledNum(), callingNum(812xxxxxxx), callerPort(ffffffff) type(FXS)
[618126.145] RTA(0/0/0) Rx CC_RING_REQ [80 22 01 08 30 36 31 36 31 38 33 39 02 0a 38 31 32 37 34 30 37 30 37 30 07 0a 38 31 32 37 34 30 37 30 37 30 ] peerId(-1)
[618126.145] VM(0/0/0) DaTime [L=8] 30 36 31 36 31 38 33 39
[618126.145] VM(0/0/0) CgNumb [L=10] 38 31 32 37 34 30 37 30 37 30
[618126.145] VM(0/0/0) CgName [L=10] 38 31 32 37 34 30 37 30 37 30
[618126.145] VM(0/0/0) Line Reverse
[618126.145] VM(0/0/0) Start ring actv
[618126.145] VM(0/0/0) SW to -72V
9 <CEP 000000> : Outbound call to CEP callId(00000000-0000-0000-0000-000000000000) callNum(84)
[618126.150] VM(0/0/0) set T38 enable
[618126.150] VM(0/0/0) set T38 mode STD
[618126.150] VM(0/0/0) Fax rate 9600
10 <SIP 84> : SetAlerting
11 <SIP 84> : Add Local Audio MediaFormat : 8
Sending SIP PDU to ( 10.99.201.36:5060 ) from 5060
SIP/2.0 180 Ringing
Via: SIP/2.0/UDP 10.99.201.36;branch=z9hG4bK-XX-0192Yy`xneanftriMoDAol`Pig
Via: SIP/2.0/UDP 10.99.201.36;branch=z9hG4bK-XX-018eMN1Azqk4`WCk_rHdtE2S5Q~gmJfbm`9F5N07y`_QBiw2A;id=8958-3
Via: SIP/2.0/UDP 10.99.201.36;branch=z9hG4bK-XX-0188V3AVwBBQDbSZXqZ7Ui_izA~jCeCH1dyquhz6zNKxNrfkQ
Via: SIP/2.0/UDP 10.99.201.36:5090;branch=z9hG4bK179d2475cb252353cd4dacec2c3260ba353834;sipxecs-id=80415f6
From: <sip:812xxxxxxx@10.99.201.244:5062>;tag=864630926
To: <sip:812yyyyyyy@mydomain.net>;tag=4c4c6b88a4
Call-ID: 2661410022e2181080000026551a6858@10.99.201.244.0
CSeq: 1 INVITE
Supported: timer, replaces, early-session
User-Agent: AddPac SIP Gateway
Contact: sip:200@10.99.203.123
RSeq: 232174
Require: 100rel
Content-Type: application/sdp
Content-Length: 236
Record-Route: <sip:10.99.201.36:5060;lr;sipXecs-CallDest=AL%2CINT;sipXecs-rs=%2Aauth%7E.%2Afrom%7EODY0NjMwOTI2.900_ntap%2Aid%7EODk1OC0z%21126fc30922846795425b717803bd5d41>
v=0
o=200 1276713548 1276713548 IN IP4 10.99.203.123
s=AddPac Gateway SDP
c=IN IP4 10.99.203.123
t=1276713548 0
m=audio 23234 RTP/AVP 8 101
a=ptime:20
a=rtpmap:8 PCMA/8000/1
a=rtpmap:101 telephone-event/8000/1
a=fmtp:101 0-15
Received SIP PDU from ( 10.99.201.36:5060 )
PRACK sip:200@10.99.203.123 SIP/2.0
Via: SIP/2.0/UDP 10.99.201.36;branch=z9hG4bK-XX-0194GV_XSJ1dBS2Ha`xMii2drw
Via: SIP/2.0/UDP 10.99.201.36:5090;branch=z9hG4bKae61110e459905c7703831391ac051f7353834;id=8958-3
Cseq: 2 PRACK
From: <sip:812xxxxxxx@10.99.201.244:5062>;tag=864630926
To: <sip:812yyyyyyy@mydomain.net>;tag=4c4c6b88a4
Call-Id: 2661410022e2181080000026551a6858@10.99.201.244.0
Date: Wed, 16 Jun 2010 14:38:09 GMT
Max-Forwards: 20
User-Agent: sipXecs/4.2.0 sipXecs/sipxbridge (Linux)
Rack: 232174 1 INVITE
Allow: INVITE,BYE,ACK,CANCEL,OPTIONS
Supported: timer
References: 2661410022e2181080000026551a6858@10.99.201.244.0;rel=chain;sipxecs-tag=response-invite-z9hg4bk179d2475cb252353cd4dacec2c3260ba353834-180
Contact: <sip:200@10.99.201.36:5090;x-sipX-nonat>
Content-Length: 0
12 <SIP 84> : Receive PRACK Request
Sending SIP PDU to ( 10.99.201.36:5060 ) from 5060
SIP/2.0 200 OK
Via: SIP/2.0/UDP 10.99.201.36;branch=z9hG4bK-XX-0194GV_XSJ1dBS2Ha`xMii2drw
Via: SIP/2.0/UDP 10.99.201.36:5090;branch=z9hG4bKae61110e459905c7703831391ac051f7353834;id=8958-3
From: <sip:812xxxxxxx@10.99.201.244:5062>;tag=864630926
To: <sip:812yyyyyyy@mydomain.net>;tag=4c4c6b88a4
Call-ID: 2661410022e2181080000026551a6858@10.99.201.244.0
CSeq: 2 PRACK
User-Agent: AddPac SIP Gateway
Content-Length: 0
[618127.145] VM(0/0/0) Gen ring idle
[618127.645] VM(0/0/0) Tx CID enable
[618127.645] VP(0/0/0) CallerId enable, std/gain 0/6
[618127.645] VP(0/0/0) open channel
[618127.645] VM(0/0/0) play mute
[618127.645] VP(0/0/0) Tx IBS signal 2/0
[618127.645] VP(0/0/0) Tx IBS dir 0
[618127.705] VM(0/0/0) Tx CID DATA [L=36] 80 22 01 08 30 36 31 36 31 38 33 39 02 0a 38 31 32 37 34 30 37 30 37 30 07 0a 38 31 32 37 34 30 37 30 37 30
[618127.705] VP(0/0/0) play CallerId
[618127.715] VP(0/0/0) GeneralEvent IBS gen end
[618128.705] VM(0/0/0) Tx CID fin
[618128.705] VP(0/0/0) stop CallerId
[618128.705] VM(0/0/0) vopp idle
[618128.705] VP(0/0/0) close channel
[618129.145] VM(0/0/0) Gen ring actv
[618130.145] VM(0/0/0) Gen ring idle
[618132.145] VM(0/0/0) Gen ring actv
[618133.145] VM(0/0/0) Gen ring idle
[618135.145] VM(0/0/0) Gen ring actv
[618136.145] VM(0/0/0) Gen ring idle
[618136.290] VM(0/0/0) vmOffHook
[618136.350] VM(0/0/0) vmTmoOffHook
[618136.350] VM(0/0/0) SW to -48V
[618136.350] VM(0/0/0) Line Forward
[618136.410] VM(0/0/0) vmTmoOffHook
[618136.410] VM(0/0/0) Rx OffHook
[618136.410] VP(0/0/0) open channel
[618136.410] VP(0/0/0) attribute Fax enable, Modem disable
[618136.410] VP(0/0/0) update Fax enable, Modem disable
[618136.410] VM(0/0/0) Tx CONNECT_CNF
13 <Call 84> : Connected from(0)
[618136.410] RTA(0/0/0) Rx AP_SVC_REQ nSvcElem=1 rawDataLen=0
VAD_CTRL 0
[618136.410] VM(0/0/0) VAD disable
[618136.410] VP(0/0/0) update VAD 0
[618136.410] VM(0/0/0) SID enable by CCC
14 <SIP 84> : SetConnected
Sending SIP PDU to ( 10.99.201.36:5060 ) from 5060
SIP/2.0 200 OK
Via: SIP/2.0/UDP 10.99.201.36;branch=z9hG4bK-XX-0192Yy`xneanftriMoDAol`Pig
Via: SIP/2.0/UDP 10.99.201.36;branch=z9hG4bK-XX-018eMN1Azqk4`WCk_rHdtE2S5Q~gmJfbm`9F5N07y`_QBiw2A;id=8958-3
Via: SIP/2.0/UDP 10.99.201.36;branch=z9hG4bK-XX-0188V3AVwBBQDbSZXqZ7Ui_izA~jCeCH1dyquhz6zNKxNrfkQ
Via: SIP/2.0/UDP 10.99.201.36:5090;branch=z9hG4bK179d2475cb252353cd4dacec2c3260ba353834;sipxecs-id=80415f6
From: <sip:812xxxxxxx@10.99.201.244:5062>;tag=864630926
To: <sip:812yyyyyyy@mydomain.net>;tag=4c4c6b88a4
Call-ID: 2661410022e2181080000026551a6858@10.99.201.244.0
CSeq: 1 INVITE
Supported: timer, replaces, early-session
User-Agent: AddPac SIP Gateway
Contact: sip:200@10.99.203.123
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, UPDATE, REFER, NOTIFY, INFO
Content-Length: 0
Record-Route: <sip:10.99.201.36:5060;lr;sipXecs-CallDest=AL%2CINT;sipXecs-rs=%2Aauth%7E.%2Afrom%7EODY0NjMwOTI2.900_ntap%2Aid%7EODk1OC0z%21126fc30922846795425b717803bd5d41>
[618136.415] RTA(0/0/0) Rx RS_LISTEN_REQ callId=84 ssId=1 G711A
peer=10.99.201.36 mp=23234/23235 hp=30502/30503
[618136.415] VM(0/0/0) vopp idle
[618136.415] VP(0/0/0) close channel
[618136.415] VM(0/0/0) start codec replace timer to G711A
[618136.415] RTA(0/0/0) Rx RS_OPEN_REQ callId=84 ssId=1 G711A
peer=10.99.201.36 mp=23234/23235 hp=30502/30503
[618136.415] VM(0/0/0) under codec replace to G711A
[618136.415] RTA(0/0/0) Rx AP_SVC_REQ nSvcElem=1 rawDataLen=0
DTMF_CTRL 1
[618136.415] VM(0/0/0) DTMF_RTP_RFC2833 enable
[618136.415] RTA(0/0/0) Rx AP_SVC_REQ nSvcElem=1 rawDataLen=0
Rtp2833_DtmfPT TxPT=0x65 RxPT=0x65
Received SIP PDU from ( 10.99.201.36:5060 )
ACK sip:200@10.99.203.123 SIP/2.0
Call-Id: 2661410022e2181080000026551a6858@10.99.201.244.0
Cseq: 1 ACK
Via: SIP/2.0/UDP 10.99.201.36;branch=z9hG4bK-XX-0197kip9`x_713IguCUeMbAaqA
Via: SIP/2.0/UDP 10.99.201.36:5090;branch=z9hG4bKfefbd0119c93561c0f48455c9e9a04a1353834;sipxecs-id=80415f6
From: <sip:812xxxxxxx@10.99.201.244:5062>;tag=864630926
To: <sip:812yyyyyyy@mydomain.net>;tag=4c4c6b88a4
Max-Forwards: 20
User-Agent: sipXecs/4.2.0 sipXecs/sipxbridge (Linux)
Content-Length: 0
Date: Wed, 16 Jun 2010 14:38:19 GMT
15 <SIP 84> : ACK received
16 <SIP 84> : Receive ACK Request
17 <SIP 84> : Set Terminated Success for 1 INVITE
[618136.475] VP(0/0/0) enable Fax, disable Modem
[618136.475] VP(0/0/0) open channel
[618136.475] VM(0/0/0) codec replaced to G711A
[618136.475] VM(0/0/0) play mute
[618136.475] VP(0/0/0) Tx IBS signal 2/0
[618136.475] VP(0/0/0) Tx IBS dir 0
Received SIP PDU from ( 10.99.201.36:5060 )
BYE sip:200@10.99.203.123 SIP/2.0
Via: SIP/2.0/UDP 10.99.201.36;branch=z9hG4bK-XX-019aFyqFBbghyyAhsaWDMYIlvA
Via: SIP/2.0/UDP 10.99.201.36:5090;branch=z9hG4bKb07f6bf4dc6264848fb0fc4d80cfb6cd353834
Cseq: 3 BYE
From: <sip:812xxxxxxx@10.99.201.244:5062>;tag=864630926
To: <sip:812yyyyyyy@mydomain.net>;tag=4c4c6b88a4
Call-Id: 2661410022e2181080000026551a6858@10.99.201.244.0
Supported: timer,replaces,early-session
Allow: INVITE,ACK,CANCEL,OPTIONS,BYE,UPDATE,REFER,NOTIFY,INFO
Date: Wed, 16 Jun 2010 14:38:19 GMT
Max-Forwards: 20
User-Agent: sipXecs/4.2.0 sipXecs/sipxbridge (Linux)
References: 2661410022e2181080000026551a6858@10.99.201.244;rel=chain;sipxecs-tag=request-bye-z9hg4bk-8694400-270066220-637534336-1483217493
Content-Length: 0
18 <SIP 84> : Receive BYE Request
Sending SIP PDU to ( 10.99.201.36:5060 ) from 5060
SIP/2.0 200 OK
Via: SIP/2.0/UDP 10.99.201.36;branch=z9hG4bK-XX-019aFyqFBbghyyAhsaWDMYIlvA
Via: SIP/2.0/UDP 10.99.201.36:5090;branch=z9hG4bKb07f6bf4dc6264848fb0fc4d80cfb6cd353834
From: <sip:812xxxxxxx@10.99.201.244:5062>;tag=864630926
To: <sip:812yyyyyyy@mydomain.net>;tag=4c4c6b88a4
Call-ID: 2661410022e2181080000026551a6858@10.99.201.244.0
CSeq: 3 BYE
User-Agent: AddPac SIP Gateway
Content-Length: 0
19 <SIP 84> : ReleaseWithNothing
[618136.480] RTA(0/0/0) Rx RS_CLOSE_REQ callId=84 ssId=1 dir=reve
[618136.480] RTA(0/0/0) Rx RS_CLOSE_REQ callId=84 ssId=1 dir=forw
[618136.480] RTA(0/0/0) close Media socket
[618136.480] RTA(0/0/0) close RTCP socket
20 <Call 84> : Terminated from(fffffffe) this(Remote:CallClear) before(NULL) forced(0) time(1276713558)
21 <CEP 000000> : DisconnectCall at Busy
22 <CEP 000000> : StopSignal
[618136.480] RTA(0/0/0) Rx AP_SVC_REQ nSvcElem=1 rawDataLen=0
DTMF_STOP
[618136.480] VM(0/0/0) play mute
[618136.480] VP(0/0/0) Tx IBS signal 2/0
[618136.480] VP(0/0/0) Tx IBS dir 0
23 <CEP 000000> : Disconnect (0)
[618136.480] RTA(0/0/0) Rx CC_DISCONN_REQ CZ=0, peerId(0/0/0)
[618136.480] VM(0/0/0) play Reorder tone
[618136.480] VP(0/0/0) Tx IBS signal 6/3
[618136.480] VP(0/0/0) Tx IBS dir 0
24 <NetEP 84> : Call FROM <812xxxxxxx> terminated reason(Remote:CallClear)
[618140.430] VM(0/0/0) vmOnHook
[618140.480] VM(0/0/0) vmTmoOnHook
[618140.530] VM(0/0/0) vmTmoOnHook
[618140.580] VM(0/0/0) vmTmoOnHook
[618140.630] VM(0/0/0) vmTmoOnHook
[618140.680] VM(0/0/0) vmTmoOnHook
[618140.730] VM(0/0/0) vmTmoOnHook
[618140.780] VM(0/0/0) vmTmoOnHook
[618140.830] VM(0/0/0) vmTmoOnHook
[618140.880] VM(0/0/0) vmTmoOnHook
[618140.930] VM(0/0/0) vmTmoOnHook
[618140.980] VM(0/0/0) vmTmoOnHook
[618141.030] VM(0/0/0) vmTmoOnHook
[618141.080] VM(0/0/0) vmTmoOnHook
[618141.130] VM(0/0/0) vmTmoOnHook
[618141.130] VM(0/0/0) Rx OnHook
[618141.130] VM(0/0/0) vopp idle
[618141.130] VP(0/0/0) close channel
[618141.130] VM(0/0/0) Tx DISCONN_CNF
25 <CEP 000000> : Disconnected(16) at Disconnecting