Откуда: TOMSK
Сообщений: 48
|
Звук передается только в одну сторону
Вот log sjphone одного и второго клиента
1
_____________________________________________________________
12:46:13 SIP.Network DEBUG
2008-06-05 05:46:13.781 UDP 217.29.80.62:5060->LOCAL
INVITE sip:200@192.168.1.2 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.102:5060;branch=z9hG4bK5e88c687;rport
From: "unknown" <sip:108@192.168.1.102>;tag=as1056bc9e
To: <sip:200@192.168.1.2>
Contact: <sip:108@192.168.1.102>
Call-ID: 2fcd6db935fe10e05a005c3b23f9de33@192.168.1.102
CSeq: 102 INVITE
User-Agent: Asterisk PBX
Max-Forwards: 70
Date: Thu, 05 Jun 2008 12:50:07 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
Content-Type: application/sdp
Content-Length: 309
v=0
o=root 4201 4201 IN IP4 192.168.1.102
s=session
c=IN IP4 192.168.1.102
t=0 0
m=audio 15178 RTP/AVP 0 97 8 101
a=rtpmap:0 PCMU/8000
a=rtpmap:97 iLBC/8000
a=fmtp:97 mode=30
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=silenceSupp:off - - - -
a=ptime:20
a=sendrecv
12:46:13 SIP.Network DEBUG
2008-06-05 05:46:13.781 UDP LOCAL->217.29.80.62:5060
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 192.168.1.102:5060;branch=z9hG4bK5e88c687;rport=5060;received=217.29.80.62
From: "unknown" <sip:108@192.168.1.102>;tag=as1056bc9e
To: "unknown" <sip:200@192.168.1.2>;tag=32341063eb4
Call-ID: 2fcd6db935fe10e05a005c3b23f9de33@192.168.1.102
CSeq: 102 INVITE
Content-Length: 0
Server: SJphone/1.65.377a (SJ Labs)
12:46:16 SIP.Network DEBUG
2008-06-05 05:46:16.718 UDP LOCAL->217.29.80.62:5060
SIP/2.0 180 Ringing
Via: SIP/2.0/UDP 192.168.1.102:5060;branch=z9hG4bK5e88c687;rport=5060;received=217.29.80.62
From: "unknown" <sip:108@192.168.1.102>;tag=as1056bc9e
To: "unknown" <sip:200@192.168.1.2>;tag=32341063eb4
Contact: <sip:200@192.168.1.2>
Call-ID: 2fcd6db935fe10e05a005c3b23f9de33@192.168.1.102
CSeq: 102 INVITE
Content-Length: 0
Server: SJphone/1.65.377a (SJ Labs)
12:46:18 SIPCall DEBUG SIP Call 648 (sip:108@192.168.1.102): Accept
12:46:19 SIPCall INFO SDP Processor dump:
SDP Header:
Processor: "-", ID = 17
Connection: 192.168.1.2
Session:3421633573
Version:3421633573
Open Internet mode: no
Media slot #0: [audio] -- [normal]
Remote:
RTP: 192.168.1.102 : 15178
RTCP: 192.168.1.102 : 15179
Capability: PCMU
RFC2833: enabled [pt:101]
Remote sdp:
m=audio 15178 RTP/AVP 0 97 8 101
a=rtpmap:0 PCMU/8000
a=rtpmap:97 iLBC/8000
a=fmtp:97 mode=30
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=silenceSupp:off - - - -
a=ptime:20
a=sendrecv
12:46:19 SIPCall INFO Multimedia Session dump:
Multimedia Session dump:
Session ID: 17
IP address: 0.0.0.0:0
2 channels created:
RTP Audio Inbound channel dump:
Status: started
Capability: undefined
Local RTP = 0.0.0.0 : 49162
Local RTCP = 0.0.0.0 : 49163
Remote RTP = 192.168.1.102 : 15178
Remote RTCP = 192.168.1.102 : 15179
RTP Audio Outbound channel dump:
Status: started
Capability: Microsoft CCITT G.711 u-Law CODEC ( Payload Type = 0 )
Local RTP = 0.0.0.0 : 49162
Local RTCP = 0.0.0.0 : 49163
Remote RTP = 192.168.1.102 : 15178
Remote RTCP = 192.168.1.102 : 15179
RFC2833 Enabled ( Payload Type = 101 )
_______________________________________________
а вот второго
______________________________
12:47:34 SIPCall DEBUG SIP Call 9573: Initiate to sip:200@192.168.1.102:5060
12:47:34 SIP.Network DEBUG
2008-06-05 05:47:34.296 UDP LOCAL->192.168.1.102:5060
INVITE sip:200@192.168.1.102:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.53;branch=z9hG4bKc0a801350000256a48477df6000004750000095f
From: "unknown" <sip:108@192.168.1.102:5060>;tag=4ab8f9745a0
To: <sip:200@192.168.1.102:5060>
Contact: <sip:108@192.168.1.53>
Call-ID: 96B52E63D069461286AF2D7175F52F310xc0a80135
CSeq: 1 INVITE
Max-Forwards: 70
User-Agent: SJphone/1.65.377a (SJ Labs)
Content-Length: 365
Content-Type: application/sdp
Supported: replaces,norefersub,timer
v=0
o=- 3421633654 3421633654 IN IP4 192.168.1.53
s=SJphone
c=IN IP4 192.168.1.53
t=0 0
m=audio 49172 RTP/AVP 3 97 98 8 0 101
c=IN IP4 192.168.1.53
a=rtpmap:3 GSM/8000
a=rtpmap:97 iLBC/8000
a=rtpmap:98 iLBC/8000
a=fmtp:98 mode=20
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=setup:active
a=sendrecv
12:47:34 SIP.Network DEBUG
2008-06-05 05:47:34.421 UDP 192.168.1.102:5060->LOCAL
SIP/2.0 407 Proxy Authentication Required
Via: SIP/2.0/UDP 192.168.1.53;branch=z9hG4bKc0a801350000256a48477df6000004750000095f;received=192.168.1.53
From: "unknown" <sip:108@192.168.1.102:5060>;tag=4ab8f9745a0
To: <sip:200@192.168.1.102:5060>;tag=as52575a39
Call-ID: 96B52E63D069461286AF2D7175F52F310xc0a80135
CSeq: 1 INVITE
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
Proxy-Authenticate: Digest algorithm=MD5, realm="asterisk", nonce="7cba3568"
Content-Length: 0
12:47:34 SIP.Network DEBUG
2008-06-05 05:47:34.437 UDP LOCAL->192.168.1.102:5060
ACK sip:200@192.168.1.102:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.53;branch=z9hG4bKc0a801350000256a48477df6000004750000095f
From: "unknown" <sip:108@192.168.1.102:5060>;tag=4ab8f9745a0
To: <sip:200@192.168.1.102:5060>;tag=as52575a39
Call-ID: 96B52E63D069461286AF2D7175F52F310xc0a80135
CSeq: 1 ACK
Max-Forwards: 70
User-Agent: SJphone/1.65.377a (SJ Labs)
Content-Length: 0
12:47:34 SIP.Network DEBUG
2008-06-05 05:47:34.437 UDP LOCAL->192.168.1.102:5060
INVITE sip:200@192.168.1.102:5060 SIP/2.0
Via: SIP/2.0/UDP 192.168.1.53;branch=z9hG4bKc0a801350000256b48477df6000065b500000961
From: "unknown" <sip:108@192.168.1.102:5060>;tag=4ab8f9745a0
To: <sip:200@192.168.1.102:5060>
Contact: <sip:108@192.168.1.53>
Call-ID: 96B52E63D069461286AF2D7175F52F310xc0a80135
CSeq: 2 INVITE
Max-Forwards: 70
User-Agent: SJphone/1.65.377a (SJ Labs)
Content-Length: 365
Content-Type: application/sdp
Supported: replaces,norefersub,timer
Proxy-Authorization: Digest username="108",realm="asterisk",nonce="7cba3568",uri="sip:200@192.168.1.102:5060",response="53da69ce85c589c6e66e11e0614c254a",algorithm=MD5
v=0
o=- 3421633654 3421633654 IN IP4 192.168.1.53
s=SJphone
c=IN IP4 192.168.1.53
t=0 0
m=audio 49172 RTP/AVP 3 97 98 8 0 101
c=IN IP4 192.168.1.53
a=rtpmap:3 GSM/8000
a=rtpmap:97 iLBC/8000
a=rtpmap:98 iLBC/8000
a=fmtp:98 mode=20
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=setup:active
a=sendrecv
12:47:34 SIP.Network DEBUG
2008-06-05 05:47:34.468 UDP 192.168.1.102:5060->LOCAL
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 192.168.1.53;branch=z9hG4bKc0a801350000256b48477df6000065b500000961;received=192.168.1.53
From: "unknown" <sip:108@192.168.1.102:5060>;tag=4ab8f9745a0
To: <sip:200@192.168.1.102:5060>
Call-ID: 96B52E63D069461286AF2D7175F52F310xc0a80135
CSeq: 2 INVITE
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
Contact: <sip:200@192.168.1.102>
Content-Length: 0
12:47:37 SIP.Network DEBUG
2008-06-05 05:47:37.468 UDP 192.168.1.102:5060->LOCAL
SIP/2.0 180 Ringing
Via: SIP/2.0/UDP 192.168.1.53;branch=z9hG4bKc0a801350000256b48477df6000065b500000961;received=192.168.1.53
From: "unknown" <sip:108@192.168.1.102:5060>;tag=4ab8f9745a0
To: <sip:200@192.168.1.102:5060>;tag=as2af7b28b
Call-ID: 96B52E63D069461286AF2D7175F52F310xc0a80135
CSeq: 2 INVITE
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
Contact: <sip:200@192.168.1.102>
Content-Length: 0
12:47:40 SIP.Network DEBUG
2008-06-05 05:47:40.421 UDP 192.168.1.102:5060->LOCAL
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.1.53;branch=z9hG4bKc0a801350000256b48477df6000065b500000961;received=192.168.1.53
From: "unknown" <sip:108@192.168.1.102:5060>;tag=4ab8f9745a0
To: <sip:200@192.168.1.102:5060>;tag=as2af7b28b
Call-ID: 96B52E63D069461286AF2D7175F52F310xc0a80135
CSeq: 2 INVITE
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
Contact: <sip:200@192.168.1.102>
Content-Type: application/sdp
Content-Length: 309
v=0
o=root 4201 4201 IN IP4 192.168.1.102
s=session
c=IN IP4 192.168.1.102
t=0 0
m=audio 15138 RTP/AVP 0 97 8 101
a=rtpmap:0 PCMU/8000
a=rtpmap:97 iLBC/8000
a=fmtp:97 mode=30
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=silenceSupp:off - - - -
a=ptime:20
a=sendrecv
12:47:40 SIPSession INFO Session Timer supported but not used in this session
12:47:40 SIPCall INFO SDP Processor dump:
SDP Header:
Processor: "-", ID = 28
Connection: 192.168.1.53
Session:3421633654
Version:3421633654
Open Internet mode: no
Media slot #0: [audio] -- [normal]
Remote:
RTP: 192.168.1.102 : 15138
RTCP: 192.168.1.102 : 15139
Capability: PCMU
RFC2833: enabled [pt:101]
Remote sdp:
m=audio 15138 RTP/AVP 0 97 8 101
a=rtpmap:0 PCMU/8000
a=rtpmap:97 iLBC/8000
a=fmtp:97 mode=30
a=rtpmap:8 PCMA/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=silenceSupp:off - - - -
a=ptime:20
a=sendrecv
12:47:40 SIPCall INFO Multimedia Session dump:
Multimedia Session dump:
Session ID: 28
IP address: 0.0.0.0:0
2 channels created:
RTP Audio Inbound channel dump:
Status: started
Capability: undefined
Local RTP = 0.0.0.0 : 49172
Local RTCP = 0.0.0.0 : 49173
Remote RTP = 192.168.1.102 : 15138
Remote RTCP = 192.168.1.102 : 15139
RTP Audio Outbound channel dump:
Status: started
Capability: Microsoft CCITT G.711 u-Law CODEC ( Payload Type = 0 )
Local RTP = 0.0.0.0 : 49172
Local RTCP = 0.0.0.0 : 49173
Remote RTP = 192.168.1.102 : 15138
Remote RTCP = 192.168.1.102 : 15139
RFC2833 Enabled ( Payload Type = 101 )
_____________________________________________________
в rtp.conf прописанно 15000 -15200 открыта порты, откуда берутся 49162
-49180 - где они прописываются , я понял что по default берется диапозон
49152-65535, где более конкретно прописатья и этот диапозон в каком конф файле ?
Если прописать в NAT следующий порт, я буду видеть через NAt кто у меня в сети ?
5003 UDP ----- Neighborhood service
Где мне искать ошибку в NAT или в конфиге Asterisk?
|