Спасибо, но проблема врятли в шлюзе. Я пришлю вам call flow 3CX, и адпака, если чтото будет непонятно в адпаке, то тогда спрашивайте, но как по мне так все проходит вполне нормально. Почему станция кидает на 100 а не на 101, непойму, чтото нетак настраиваю.
11:54:26.367 [CM503008]: Call(9): Call is terminated
11:54:20.898 [CM503007]: Call(9): Device joined: sip:
[email protected]:40600;rinstance=b81508a9bfad4929
11:54:20.883 [CM503007]: Call(9): Device joined: sip:
[email protected]:5060
11:54:20.867 [CM505001]: Ext.999: Device info: Device Identified: [Man: 3CX Ltd.;Mod: Voice Mail Menu;Rev: General] Capabilities:[reinvite, replaces, able-no-sdp, recvonly] UserAgent: [3CX Voice Mail Menu] PBX contact: [sip:
[email protected]:5060]
11:54:20.867 [CM503002]: Call(9): Alerting sip:
[email protected]:40600;rinstance=b81508a9bfad4929
11:54:20.726 [CM503025]: Call(9): Calling Ext:Ext.999@[Dev:sip:
[email protected]:40600;rinstance=b81508a9bfad4929]
11:54:20.711 [CM503005]: Call(9): Forwarding: Ext:Ext.999@[Dev:sip:
[email protected]:40600;rinstance=b81508a9bfad4929]
11:54:20.711 [CM503016]: Call(9): Attempt to reach failed. Reason: Not Registered
11:54:20.711 [CM503017]: Call(9): Target is not registered: Ext:Ext.100
11:54:20.695 [CM503010]: Making route(s) to
11:54:20.695 [CM505002]: Gateway:[addpac] Device info: Device Not Identified: User Agent not matched; Capabilities:[reinvite, replaces, able-no-sdp, recvonly] UserAgent: [AddPac SIP Gateway] PBX contact: [sip:
[email protected]:5060]
11:54:20.679 [CM503001]: Call(9): Incoming call from 10002@(Ln.10002@addpac) to
11:54:20.664 [CM503012]: Inbound out-of-office hours rule (unnamed) for 10002 forwards to DN:100
Это дебаг со шлюза: во время такого звонка.
Sending SIP PDU to ( 10.17.10.188:5060 ) from 5060
INVITE sip:
[email protected] SIP/2.0
Via: SIP/2.0/UDP 10.17.10.189:5060;branch=z9hG4bK5e007e18a413
From: ;tag=5e007e18a4
To:
Call-ID: 5e248100-d13f-7e1f-8018-0002a40223f8 @10.17.10.189
CSeq: 13 INVITE
Supported: timer, replaces
Min-SE: 1800
Date: Wed, 08 Apr 1970 22:57:34 GMT
User-Agent: AddPac SIP Gateway
Contact:
Accept: application/sdp
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, UPDATE, REFER, NOTIFY, INFO
Content-Type: application/sdp
Content-Length: 291
Max-Forwards: 70
v=0
o=10002 8463454 8463454 IN IP4 10.17.10.189
s=AddPac Gateway SDP
c=IN IP4 10.17.10.189
t=0 0
m=audio 23010 RTP/AVP 8 0 4 18 101
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:4 G723/8000
a=rtpmap:18 G729/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=ptime:20
Received SIP PDU from ( 10.17.10.188:5060 )
SIP/2.0 407 Proxy Authentication Required
Via: SIP/2.0/UDP 10.17.10.189:5060;branch=z9hG4bK5e007e18a413
Proxy-Authenticate: Digest nonce="414d535c033e0bb469:564fef24f672a128e8c68f7ded872c3b",algorithm=MD5,realm="3CXPhoneSystem"
To: ;tag=580ae16c
From: ;tag=5e007e18a4
Call-ID: 5e248100-d13f-7e1f-8018-0002a40223f8 @10.17.10.189
CSeq: 13 INVITE
User-Agent: 3CXPhoneSystem 9.0.13530.0
Content-Length: 0
Sending SIP PDU to ( 10.17.10.188:5060 ) from 5060
ACK sip:
[email protected] SIP/2.0
Via: SIP/2.0/UDP 10.17.10.189:5060;branch=z9hG4bK5e007e18a413
From: ;tag=5e007e18a4
To: ;tag=580ae16c
Call-ID: 5e248100-d13f-7e1f-8018-0002a40223f8 @10.17.10.189
CSeq: 13 ACK
Content-Length: 0
Max-Forwards: 70
Sending SIP PDU to ( 10.17.10.188:5060 ) from 5060
INVITE sip:
[email protected] SIP/2.0
Via: SIP/2.0/UDP 10.17.10.189:5060;branch=z9hG4bK5e007e18a414
From: ;tag=5e007e18a4
To:
Call-ID: 5e248100-d13f-7e1f-8018-0002a40223f8 @10.17.10.189
CSeq: 14 INVITE
Supported: timer, replaces
Min-SE: 1800
Date: Wed, 08 Apr 1970 22:57:34 GMT
User-Agent: AddPac SIP Gateway
Contact:
Accept: application/sdp
Proxy-Authorization: Digest username="10002", realm="3CXPhoneSystem", nonce="414d535c033e0bb469:564fef24f672a128e8c68f7ded872c3b", uri="sip:
[email protected]", response="c18bf442d4f279703efe535a194a1e51", algorithm=MD5
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, UPDATE, REFER, NOTIFY, INFO
Content-Type: application/sdp
Content-Length: 301
Max-Forwards: 70
v=0
o=10002 8463454 8463454 IN IP4 10.17.10.189
s=AddPac Gateway SDP
c=IN IP4 10.17.10.189
t=0 0
m=audio 23010 RTP/AVP 8 0 4 18 101
a=rtpmap:8 PCMA/8000/1
a=rtpmap:0 PCMU/8000/1
a=rtpmap:4 G723/8000/1
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 ( 10.17.10.188:5060 )
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 10.17.10.189:5060;branch=z9hG4bK5e007e18a414
To:
From: ;tag=5e007e18a4
Call-ID: 5e248100-d13f-7e1f-8018-0002a40223f8 @10.17.10.189
CSeq: 14 INVITE
Content-Length: 0
Received SIP PDU from ( 10.17.10.188:5060 )
SIP/2.0 180 Ringing
Via: SIP/2.0/UDP 10.17.10.189:5060;branch=z9hG4bK5e007e18a414
Contact:
To: ;tag=b32a5821
From: ;tag=5e007e18a4
Call-ID: 5e248100-d13f-7e1f-8018-0002a40223f8 @10.17.10.189
CSeq: 14 INVITE
User-Agent: 3CXPhoneSystem 9.0.13530.0
Content-Length: 0
Received SIP PDU from ( 10.17.10.188:5060 )
SIP/2.0 200 OK
Via: SIP/2.0/UDP 10.17.10.189:5060;branch=z9hG4bK5e007e18a414
Contact:
To: ;tag=b32a5821
From: ;tag=5e007e18a4
Call-ID: 5e248100-d13f-7e1f-8018-0002a40223f8 @10.17.10.189
CSeq: 14 INVITE
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REGISTER, SUBSCRIBE, NOTIFY, REFER, INFO, MESSAGE
Content-Type: application/sdp
Supported: replaces
User-Agent: 3CXPhoneSystem 9.0.13530.0
Content-Length: 259
v=0
o=3cxPS 163745628160 541702750209 IN IP4 10.17.10.188
s=3cxPS Audio call
c=IN IP4 10.17.10.188
t=0 0
m=audio 7032 RTP/AVP 8 0 101
c=IN IP4 10.17.10.188
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.17.10.188:5060 ) from 5060
ACK sip:
[email protected] SIP/2.0
Via: SIP/2.0/UDP 10.17.10.189:5060;branch=z9hG4bK5e007e18a414
From: ;tag=5e007e18a4
To: ;tag=b32a5821
Call-ID: 5e248100-d13f-7e1f-8018-0002a40223f8 @10.17.10.189
CSeq: 14 ACK
Content-Length: 0
Max-Forwards: 70
Sending SIP PDU to ( 10.17.10.188:5060 ) from 5060
BYE sip:
[email protected] SIP/2.0
Via: SIP/2.0/UDP 10.17.10.189:5060;branch=z9hG4bK5e007e18a415
From: ;tag=5e007e18a4
To: ;tag=b32a5821
Call-ID: 5e248100-d13f-7e1f-8018-0002a40223f8 @10.17.10.189
CSeq: 15 BYE
Date: Wed, 08 Apr 1970 22:57:42 GMT
User-Agent: AddPac SIP Gateway
Contact:
Content-Length: 0
Max-Forwards: 70
Received SIP PDU from ( 10.17.10.188:5060 )
SIP/2.0 200 OK
Via: SIP/2.0/UDP 10.17.10.189:5060;branch=z9hG4bK5e007e18a415
Contact:
To: ;tag=b32a5821
From: ;tag=5e007e18a4
Call-ID: 5e248100-d13f-7e1f-8018-0002a40223f8 @10.17.10.189
CSeq: 15 BYE
User-Agent: 3CXPhoneSystem 9.0.13530.0
Content-Length: 0