Re: я слышу-меня нет
ded: madmaxi: ded: Я вижу - меня нет. Где я?
1) В проблеме NAT
2) в кодеках
3) в canreinvite=
в sip.conf
canreinvite=no
Зочем цитировать?
Делаем sip debug peer <тот пир, через который пойдёт зоединение>
Делаем звонок на туда, куда не слышно, смотрим debug, шо говорит на тему media -IP addreesses and ports?
-- Executing [981074957836090@local:1] Dial("SIP/4112-b6eeba60", "SIP/trunk-SKS2/981074957836090|50|r") in new stack
Video is at 192.168.9.1 port 12924
Audio is at 192.168.9.1 port 17884
Adding codec 0x4 (ulaw) to SDP
Adding codec 0x40000 (h261) to SDP
Adding codec 0x80000 (h263) to SDP
Adding codec 0x100000 (h263p) to SDP
Adding codec 0x200000 (h264) to SDP
Adding non-codec 0x1 (telephone-event) to SDP
Reliably Transmitting (no NAT) to 10.102.4.230:5060:
INVITE sip:981074957836090@10.102.4.230 SIP/2.0
Via: SIP/2.0/UDP 192.168.9.1:5060;branch=z9hG4bK4dc66928;rport
From: "4112" <sip:4112@192.168.9.1>;tag=as1d3aea11
To: <sip:981074957836090@10.102.4.230>
Contact: <sip:4112@192.168.9.1>
Call-ID: 2bfa8c3329ec36821f64d2a134624dfc@192.168.9.1
CSeq: 102 INVITE
User-Agent: Asterisk PBX
Max-Forwards: 70
Date: Mon, 28 Dec 2009 11:33:55 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
Content-Type: application/sdp
Content-Length: 396
v=0
o=root 1966 1966 IN IP4 192.168.9.1
s=session
c=IN IP4 192.168.9.1
b=CT:384
t=0 0
m=audio 17884 RTP/AVP 0 101
a=rtpmap:0 PCMU/8000
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-16
a=silenceSupp:off - - - -
a=ptime:20
a=sendrecv
m=video 12924 RTP/AVP 31 34 103 99
a=rtpmap:31 H261/90000
a=rtpmap:34 H263/90000
a=rtpmap:103 h263-1998/90000
a=rtpmap:99 H264/90000
a=sendrecv
---
-- Called trunk-SKS2/981074957836090
pbx-ng*CLI>
<--- SIP read from 10.102.4.230:5060 --->
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 192.168.9.1:5060;branch=z9hG4bK4dc66928;received=192.168.9.1;rport=5060
From: "4112" <sip:4112@192.168.9.1>;tag=as1d3aea11
To: <sip:981074957836090@10.102.4.230>
Call-ID: 2bfa8c3329ec36821f64d2a134624dfc@192.168.9.1
CSeq: 102 INVITE
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
Contact: <sip:981074957836090@10.102.4.230>
Content-Length: 0
<------------->
--- (11 headers 0 lines) ---
pbx-ng*CLI>
<--- SIP read from 10.102.4.230:5060 --->
SIP/2.0 183 Session Progress
Via: SIP/2.0/UDP 192.168.9.1:5060;branch=z9hG4bK4dc66928;received=192.168.9.1;rport=5060
From: "4112" <sip:4112@192.168.9.1>;tag=as1d3aea11
To: <sip:981074957836090@10.102.4.230>;tag=as3eb03f3b
Call-ID: 2bfa8c3329ec36821f64d2a134624dfc@192.168.9.1
CSeq: 102 INVITE
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
Contact: <sip:981074957836090@10.102.4.230>
Content-Type: application/sdp
Content-Length: 184
v=0
o=root 25318 25318 IN IP4 10.102.4.230
s=session
c=IN IP4 10.102.4.230
t=0 0
m=audio 16396 RTP/AVP 0
a=rtpmap:0 PCMU/8000
a=silenceSupp:off - - - -
a=ptime:20
a=sendrecv
<------------->
--- (12 headers 10 lines) ---
Found RTP audio format 0
Peer audio RTP is at port 10.102.4.230:16396
Found audio description format PCMU for ID 0
Capabilities: us - 0x3c0004 (ulaw|h261|h263|h263p|h264), peer - audio=0x4 (ulaw)/video=0x0 (nothing), combined - 0x4 (ulaw)
Non-codec capabilities (dtmf): us - 0x1 (telephone-event), peer - 0x0 (nothing), combined - 0x0 (nothing)
Peer audio RTP is at port 10.102.4.230:16396
-- SIP/trunk-SKS2-087ae8c0 is making progress passing it to SIP/4112-b6eeba60
pbx-ng*CLI>
<--- SIP read from 10.102.4.230:5060 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.9.1:5060;branch=z9hG4bK4dc66928;received=192.168.9.1;rport=5060
From: "NEO-4112" <sip:4112@192.168.9.1>;tag=as1d3aea11
To: <sip:981074957836090@10.102.4.230>;tag=as3eb03f3b
Call-ID: 2bfa8c3329ec36821f64d2a134624dfc@192.168.9.1
CSeq: 102 INVITE
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
Contact: <sip:981074957836090@10.102.4.230>
Content-Type: application/sdp
Content-Length: 184
v=0
o=root 25318 25319 IN IP4 10.102.4.230
s=session
c=IN IP4 10.102.4.230
t=0 0
m=audio 16396 RTP/AVP 0
a=rtpmap:0 PCMU/8000
a=silenceSupp:off - - - -
a=ptime:20
a=sendrecv
<------------->
--- (12 headers 10 lines) ---
Found RTP audio format 0
Peer audio RTP is at port 10.102.4.230:16396
Found audio description format PCMU for ID 0
Capabilities: us - 0x3c0004 (ulaw|h261|h263|h263p|h264), peer - audio=0x4 (ulaw)/video=0x0 (nothing), combined - 0x4 (ulaw)
Non-codec capabilities (dtmf): us - 0x1 (telephone-event), peer - 0x0 (nothing), combined - 0x0 (nothing)
Peer audio RTP is at port 10.102.4.230:16396
list_route: hop: <sip:981074957836090@10.102.4.230>
set_destination: Parsing <sip:981074957836090@10.102.4.230> for address/port to send to
set_destination: set destination to 10.102.4.230, port 5060
Transmitting (no NAT) to 10.102.4.230:5060:
ACK sip:981074957836090@10.102.4.230 SIP/2.0
Via: SIP/2.0/UDP 192.168.9.1:5060;branch=z9hG4bK7b1eeee6;rport
From: "4112" <sip:4112@192.168.9.1>;tag=as1d3aea11
To: <sip:981074957836090@10.102.4.230>;tag=as3eb03f3b
Contact: <sip:4112@192.168.9.1>
Call-ID: 2bfa8c3329ec36821f64d2a134624dfc@192.168.9.1
CSeq: 102 ACK
User-Agent: Asterisk PBX
Max-Forwards: 70
Content-Length: 0
---
-- SIP/trunk-SKS2-087ae8c0 answered SIP/4112-b6eeba60
Scheduling destruction of SIP dialog '2bfa8c3329ec36821f64d2a134624dfc@192.168.9.1' in 32000 ms (Method: INVITE)
set_destination: Parsing <sip:981074957836090@10.102.4.230> for address/port to send to
set_destination: set destination to 10.102.4.230, port 5060
Reliably Transmitting (no NAT) to 10.102.4.230:5060:
BYE sip:981074957836090@10.102.4.230 SIP/2.0
Via: SIP/2.0/UDP 192.168.9.1:5060;branch=z9hG4bK50ecc443;rport
From: "4112" <sip:4112@192.168.9.1>;tag=as1d3aea11
To: <sip:981074957836090@10.102.4.230>;tag=as3eb03f3b
Call-ID: 2bfa8c3329ec36821f64d2a134624dfc@192.168.9.1
CSeq: 103 BYE
User-Agent: Asterisk PBX
Max-Forwards: 70
Content-Length: 0
---
== Spawn extension (local, 981074957836090, 1) exited non-zero on 'SIP/4112-b6eeba60'
pbx-ng*CLI>
<--- SIP read from 10.102.4.230:5060 --->
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.9.1:5060;branch=z9hG4bK50ecc443;received=192.168.9.1;rport=5060
From: "4112" <sip:4112@192.168.9.1>;tag=as1d3aea11
To: <sip:981074957836090@10.102.4.230>;tag=as3eb03f3b
Call-ID: 2bfa8c3329ec36821f64d2a134624dfc@192.168.9.1
CSeq: 103 BYE
User-Agent: Asterisk PBX
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY
Supported: replaces
Contact: <sip:981074957836090@10.102.4.230>
Content-Length: 0
<------------->
--- (11 headers 0 lines) ---
Really destroying SIP dialog '2bfa8c3329ec36821f64d2a134624dfc@192.168.9.1' Method: INVITE
|