Саппорт сипнета утверждает, что нарушена SIP-сигнализация на моей стороне, их сервера не получают ACK в ответ на 200-INVITE и завершают соединение.
На моем нате порты проброшены, SIP ALG выключен.
Гляньте, пожалуйста, может в конфигах что поправить?
sip.conf
| Код: |
| [general] context = public allowguest=no allowoverlap = no udpbindaddr = 0.0.0.0 tcpenable = yes tcpbindaddr = 0.0.0.0 transport = udp srvlookup = yes subscribecontext = default alwaysauthreject = yes localnet=192.168.10.0/255.255.255.0 externip=10.64.72.24 nat = yes |
users.conf
| Код: |
| [sipnet] type = peer host = sipnet.ru defaultuser = *** secret = ***** trunkname = sipnet context = from-sipnet insecure = invite fromuser = *** fromdomain = sipnet.ru disallow = all allow = alaw qualify = yes nat = force_rport,comedia dtmfmode = inband callcounter = yes |
меня больше интересует почему вы думаете что sipnet за натом ? nat = force_rport,comedia
и смотреть надо не сигнализацию а rtp поток куда идет
думаю при таких делах вообще не нужно озвучивать externip, а в сипнет добавить fromuser=ххххххххххх fromdomain=sipnet.ru nat=yes sendrpid = yes insecure=port,invite
| -vvs- @ Вт Сен 02, 2014 07:28 писал(а): |
| externip=10.64.72.24 это как? |
Еще есть провайдерский нат, помимо моего.
Если убираю externip, звук вообще пропадает и в ЛК сипнета вижу какой-то левый ip, а не свой белый.
тут он конечно не правильный но ...
есть такой провайдер Эр-Телеком. Там, когда вы находитесь в ихней сети, externip как раз и бывает из 10 сетки.
Там сделано очень хитро - ваш внешний ип адрес только для всех кто с наружи, но к ИХ серверам телефонии к которым вы регистрируетесь на внешний адрес - вы выглядите как из ИХ внутренней сети.
И при попытке прописать внешний ип как exterip нечего работать не будет.
Я на этой фиче денег заработал вагон и маленькую тележку
Причем rtp, когда звук есть в обе стороны, но через 16 сек происходит рассоединение?
Added after 18 minutes:
Дамп звонка
--- (15 headers 0 lines) ---
Scheduling destruction of SIP dialog '23e3f00221fc2afb73a15375488802d8@192.168.10.7' in 32000 ms (Method: REGISTER)
[Sep 2 00:42:00] NOTICE[3263]: chan_sip.c:23198 handle_response_register: Outbound Registration: Expiry for sipnet.ru is 119 sec (Scheduling reregistration in 104 s)
== Using SIP RTP CoS mark 5
-- Executing [6360636@gigaset:1] Dial("SIP/102-00000056", "SIP/74956360636@sipnet,,rxX") in new stack
== Using SIP RTP CoS mark 5
Audio is at 17900
Adding codec 100004 (alaw) to SDP
Reliably Transmitting (NAT) to 212.53.40.40:5060:
INVITE sip:74956360636@sipnet.ru SIP/2.0
Via: SIP/2.0/UDP 10.64.72.24:5060;branch=z9hG4bK3dc5d931;rport
Max-Forwards: 70
From: "ilya" ;tag=as610d7e5e
To:
Contact:
Call-ID: 746e336e57c85f8258b2a9023e2083dd@sipnet.ru
CSeq: 102 INVITE
User-Agent: Asterisk PBX 11.2.1
Date: Mon, 01 Sep 2014 20:42:01 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Content-Type: application/sdp
Content-Length: 175
v=0
o=root 829591675 829591675 IN IP4 10.64.72.24
s=Asterisk PBX 11.2.1
c=IN IP4 10.64.72.24
t=0 0
m=audio 17900 RTP/AVP 8
a=rtpmap:8 PCMA/8000
a=ptime:20
a=sendrecv
---
-- Called SIP/74956360636@sipnet
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 10.64.72.24:5060;branch=z9hG4bK3dc5d931;rport=5060
From: "ilya" ;tag=as610d7e5e
To:
Call-ID: 746e336e57c85f8258b2a9023e2083dd@sipnet.ru
CSeq: 102 INVITE
Server: CommuniGatePro/6.0.10i
Content-Length: 0
--- (8 headers 0 lines) ---
SIP/2.0 401 Authentication required
Via: SIP/2.0/UDP 10.64.72.24:5060;branch=z9hG4bK3dc5d931;rport=5060
From: "ilya" ;tag=as610d7e5e
To: ;tag=C071CC3A
Call-ID: 746e336e57c85f8258b2a9023e2083dd@sipnet.ru
CSeq: 102 INVITE
WWW-Authenticate: Digest realm="etc.tario.ru",nonce="28BFD19019EBBC9224F1",opaque="opaq",qop="auth",algorithm=MD5
Server: CommuniGatePro/6.0.10i
Content-Length: 0
--- (9 headers 0 lines) ---
Transmitting (NAT) to 212.53.40.40:5060:
ACK sip:74956360636@sipnet.ru SIP/2.0
Via: SIP/2.0/UDP 10.64.72.24:5060;branch=z9hG4bK3dc5d931;rport
Max-Forwards: 70
From: "ilya" ;tag=as610d7e5e
To: ;tag=C071CC3A
Contact:
Call-ID: 746e336e57c85f8258b2a9023e2083dd@sipnet.ru
CSeq: 102 ACK
User-Agent: Asterisk PBX 11.2.1
Content-Length: 0
---
Audio is at 17900
Adding codec 100004 (alaw) to SDP
Reliably Transmitting (NAT) to 212.53.40.40:5060:
INVITE sip:74956360636@sipnet.ru SIP/2.0
Via: SIP/2.0/UDP 10.64.72.24:5060;branch=z9hG4bK37a7f502;rport
Max-Forwards: 70
From: "ilya" ;tag=as610d7e5e
To:
Contact:
Call-ID: 746e336e57c85f8258b2a9023e2083dd@sipnet.ru
CSeq: 103 INVITE
User-Agent: Asterisk PBX 11.2.1
Authorization: Digest username="sipnet-login", realm="etc.tario.ru", algorithm=MD5, uri="sip:74956360636@sipnet.ru", nonce="28BFD19019EBBC9224F1", response="5c7ab05e15dfa6d3147478b49b7a5d04", opaque="opaq", qop=auth, cnonce="05fade93", nc=00000001
Date: Mon, 01 Sep 2014 20:42:01 GMT
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Content-Type: application/sdp
Content-Length: 175
v=0
o=root 829591675 829591676 IN IP4 10.64.72.24
s=Asterisk PBX 11.2.1
c=IN IP4 10.64.72.24
t=0 0
m=audio 17900 RTP/AVP 8
a=rtpmap:8 PCMA/8000
a=ptime:20
a=sendrecv
---
SIP/2.0 100 Trying
Via: SIP/2.0/UDP 10.64.72.24:5060;branch=z9hG4bK37a7f502;rport=5060
From: "ilya" ;tag=as610d7e5e
To:
Call-ID: 746e336e57c85f8258b2a9023e2083dd@sipnet.ru
CSeq: 103 INVITE
Server: CommuniGatePro/6.0.10i
Content-Length: 0
--- (8 headers 0 lines) ---
SIP/2.0 183 Call progress
Via: SIP/2.0/UDP 10.64.72.24:5060;branch=z9hG4bK37a7f502;rport=5060
Record-Route:
Record-Route:
Record-Route:
From: "ilya" ;tag=as610d7e5e
To: ;tag=0EB1FA09-379562-7B58386C_kmbdcto-EF93
Call-ID: 746e336e57c85f8258b2a9023e2083dd@sipnet.ru
CSeq: 103 INVITE
Contact:
Supported: 100rel,timer,replaces,histinfo,precondition
User-Agent: CommuniGatePro-callLeg/6.0.10i
Allow: INVITE,ACK,BYE,CANCEL,OPTIONS,INFO,MESSAGE,SUBSCRIBE,NOTIFY,PRACK,UPDATE,REFER
Content-Type: application/sdp
Content-Length: 487
v=0
o=CGPLeg379562 1075441029 537720515 IN IP4 212.53.40.76
s=-
c=IN IP4 212.53.40.76
t=0 0
m=audio 19012 RTP/AVP 8
c=IN IP4 212.53.40.76
a=rtpmap:8 PCMA/8000
a=ptime:20
a=X-cap: 1 image udptl t38
a=X-sqn:0
a=cdsc: 1 audio RTP/AVP 8
a=cdsc: 2 image udptl t38
a=cpar: a=T38FaxVersion:0
a=cpar: a=T38FaxRateManagement:transferredTCF
a=cpar: a=T38FaxMaxDatagram:160
a=cpar: a=T38FaxUdpEC:t38UDPRedundancy
a=ice-pwd:EF65D2A7796A60B9C07BD2FF
a=ice-ufrag:pf7134002
a=sqn:0
--- (15 headers 20 lines) ---
list_route: hop:
list_route: hop:
list_route: hop:
Found RTP audio format 8
Found audio description format PCMA for ID 8
Capabilities: us - (alaw), peer - audio=(alaw)/video=(nothing)/text=(nothing), combined - (alaw)
Non-codec capabilities (dtmf): us - 0x0 (nothing), peer - 0x0 (nothing), combined - 0x0 (nothing)
Peer audio RTP is at port 212.53.40.76:19012
-- SIP/sipnet-00000057 is making progress passing it to SIP/102-00000056
SIP/2.0 200 OK
Via: SIP/2.0/UDP 10.64.72.24:5060;branch=z9hG4bK37a7f502;rport=5060
Record-Route:
Record-Route:
Record-Route:
From: "ilya" ;tag=as610d7e5e
To: ;tag=0EB1FA09-379562-7B58386C_kmbdcto-EF93
Call-ID: 746e336e57c85f8258b2a9023e2083dd@sipnet.ru
CSeq: 103 INVITE
Contact:
Supported: 100rel,timer,replaces,histinfo,precondition
Session-Expires: 10800;refresher=uas
User-Agent: CommuniGatePro-callLeg/6.0.10i
Allow: INVITE,ACK,BYE,CANCEL,OPTIONS,INFO,MESSAGE,SUBSCRIBE,NOTIFY,PRACK,UPDATE,REFER
Content-Type: application/sdp
Content-Length: 487
v=0
o=CGPLeg379562 1075441029 537720516 IN IP4 212.53.40.76
s=-
c=IN IP4 212.53.40.76
t=0 0
m=audio 19012 RTP/AVP 8
c=IN IP4 212.53.40.76
a=rtpmap:8 PCMA/8000
a=ptime:20
a=X-cap: 1 image udptl t38
a=X-sqn:0
a=cdsc: 1 audio RTP/AVP 8
a=cdsc: 2 image udptl t38
a=cpar: a=T38FaxVersion:0
a=cpar: a=T38FaxRateManagement:transferredTCF
a=cpar: a=T38FaxMaxDatagram:160
a=cpar: a=T38FaxUdpEC:t38UDPRedundancy
a=ice-pwd:EF65D2A7796A60B9C07BD2FF
a=ice-ufrag:pf7134002
a=sqn:0
--- (16 headers 20 lines) ---
Found RTP audio format 8
Found audio description format PCMA for ID 8
Capabilities: us - (alaw), peer - audio=(alaw)/video=(nothing)/text=(nothing), combined - (alaw)
Non-codec capabilities (dtmf): us - 0x0 (nothing), peer - 0x0 (nothing), combined - 0x0 (nothing)
Peer audio RTP is at port 212.53.40.76:19012
list_route: hop:
list_route: hop:
list_route: hop:
set_destination: Parsing for address/port to send to
set_destination: set destination to 212.53.40.40:5060
Transmitting (NAT) to 212.53.40.40:5060:
ACK sip:signode-379562-7B58386C_kmbdcto-EF93@212.53.40.40 SIP/2.0
Via: SIP/2.0/UDP 10.64.72.24:5060;branch=z9hG4bK478bb7fa;rport
Route: ,,
Max-Forwards: 70
From: "ilya" ;tag=as610d7e5e
To: ;tag=0EB1FA09-379562-7B58386C_kmbdcto-EF93
Contact:
Call-ID: 746e336e57c85f8258b2a9023e2083dd@sipnet.ru
CSeq: 103 ACK
User-Agent: Asterisk PBX 11.2.1
Content-Length: 0
---
-- SIP/sipnet-00000057 answered SIP/102-00000056
SIP/2.0 200 OK
Via: SIP/2.0/UDP 10.64.72.24:5060;branch=z9hG4bK37a7f502;rport=5060
Record-Route:
Record-Route:
Record-Route:
From: "ilya" ;tag=as610d7e5e
To: ;tag=0EB1FA09-379562-7B58386C_kmbdcto-EF93
Call-ID: 746e336e57c85f8258b2a9023e2083dd@sipnet.ru
CSeq: 103 INVITE
Contact:
Supported: 100rel,timer,replaces,histinfo,precondition
Session-Expires: 10800;refresher=uas
User-Agent: CommuniGatePro-callLeg/6.0.10i
Allow: INVITE,ACK,BYE,CANCEL,OPTIONS,INFO,MESSAGE,SUBSCRIBE,NOTIFY,PRACK,UPDATE,REFER
Content-Type: application/sdp
Content-Length: 487
v=0
o=CGPLeg379562 1075441029 537720516 IN IP4 212.53.40.76
s=-
c=IN IP4 212.53.40.76
t=0 0
m=audio 19012 RTP/AVP 8
c=IN IP4 212.53.40.76
a=rtpmap:8 PCMA/8000
a=ptime:20
a=X-cap: 1 image udptl t38
a=X-sqn:0
a=cdsc: 1 audio RTP/AVP 8
a=cdsc: 2 image udptl t38
a=cpar: a=T38FaxVersion:0
a=cpar: a=T38FaxRateManagement:transferredTCF
a=cpar: a=T38FaxMaxDatagram:160
a=cpar: a=T38FaxUdpEC:t38UDPRedundancy
a=ice-pwd:EF65D2A7796A60B9C07BD2FF
a=ice-ufrag:pf7134002
a=sqn:0
--- (16 headers 20 lines) ---
set_destination: Parsing for address/port to send to
set_destination: set destination to 212.53.40.40:5060
Transmitting (NAT) to 212.53.40.40:5060:
ACK sip:signode-379562-7B58386C_kmbdcto-EF93@212.53.40.40 SIP/2.0
Via: SIP/2.0/UDP 10.64.72.24:5060;branch=z9hG4bK589c6214;rport
Route: ,,
Max-Forwards: 70
From: "ilya" ;tag=as610d7e5e
To: ;tag=0EB1FA09-379562-7B58386C_kmbdcto-EF93
Contact:
Call-ID: 746e336e57c85f8258b2a9023e2083dd@sipnet.ru
CSeq: 103 ACK
User-Agent: Asterisk PBX 11.2.1
Content-Length: 0
---
SIP/2.0 200 OK
Via: SIP/2.0/UDP 10.64.72.24:5060;branch=z9hG4bK37a7f502;rport=5060
Record-Route:
Record-Route:
Record-Route:
From: "ilya" ;tag=as610d7e5e
To: ;tag=0EB1FA09-379562-7B58386C_kmbdcto-EF93
Call-ID: 746e336e57c85f8258b2a9023e2083dd@sipnet.ru
CSeq: 103 INVITE
Contact:
Supported: 100rel,timer,replaces,histinfo,precondition
Session-Expires: 10800;refresher=uas
User-Agent: CommuniGatePro-callLeg/6.0.10i
Allow: INVITE,ACK,BYE,CANCEL,OPTIONS,INFO,MESSAGE,SUBSCRIBE,NOTIFY,PRACK,UPDATE,REFER
Content-Type: application/sdp
Content-Length: 487
v=0
o=CGPLeg379562 1075441029 537720516 IN IP4 212.53.40.76
s=-
c=IN IP4 212.53.40.76
t=0 0
m=audio 19012 RTP/AVP 8
c=IN IP4 212.53.40.76
a=rtpmap:8 PCMA/8000
a=ptime:20
a=X-cap: 1 image udptl t38
a=X-sqn:0
a=cdsc: 1 audio RTP/AVP 8
a=cdsc: 2 image udptl t38
a=cpar: a=T38FaxVersion:0
a=cpar: a=T38FaxRateManagement:transferredTCF
a=cpar: a=T38FaxMaxDatagram:160
a=cpar: a=T38FaxUdpEC:t38UDPRedundancy
a=ice-pwd:EF65D2A7796A60B9C07BD2FF
a=ice-ufrag:pf7134002
a=sqn:0
--- (16 headers 20 lines) ---
set_destination: Parsing for address/port to send to
set_destination: set destination to 212.53.40.40:5060
Transmitting (NAT) to 212.53.40.40:5060:
ACK sip:signode-379562-7B58386C_kmbdcto-EF93@212.53.40.40 SIP/2.0
Via: SIP/2.0/UDP 10.64.72.24:5060;branch=z9hG4bK47b6e56f;rport
Route: ,,
Max-Forwards: 70
From: "ilya" ;tag=as610d7e5e
To: ;tag=0EB1FA09-379562-7B58386C_kmbdcto-EF93
Contact:
Call-ID: 746e336e57c85f8258b2a9023e2083dd@sipnet.ru
CSeq: 103 ACK
User-Agent: Asterisk PBX 11.2.1
Content-Length: 0
---
SIP/2.0 200 OK
Via: SIP/2.0/UDP 10.64.72.24:5060;branch=z9hG4bK37a7f502;rport=5060
Record-Route:
Record-Route:
Record-Route:
From: "ilya" ;tag=as610d7e5e
To: ;tag=0EB1FA09-379562-7B58386C_kmbdcto-EF93
Call-ID: 746e336e57c85f8258b2a9023e2083dd@sipnet.ru
CSeq: 103 INVITE
Contact:
Supported: 100rel,timer,replaces,histinfo,precondition
Session-Expires: 10800;refresher=uas
User-Agent: CommuniGatePro-callLeg/6.0.10i
Allow: INVITE,ACK,BYE,CANCEL,OPTIONS,INFO,MESSAGE,SUBSCRIBE,NOTIFY,PRACK,UPDATE,REFER
Content-Type: application/sdp
Content-Length: 487
v=0
o=CGPLeg379562 1075441029 537720516 IN IP4 212.53.40.76
s=-
c=IN IP4 212.53.40.76
t=0 0
m=audio 19012 RTP/AVP 8
c=IN IP4 212.53.40.76
a=rtpmap:8 PCMA/8000
a=ptime:20
a=X-cap: 1 image udptl t38
a=X-sqn:0
a=cdsc: 1 audio RTP/AVP 8
a=cdsc: 2 image udptl t38
a=cpar: a=T38FaxVersion:0
a=cpar: a=T38FaxRateManagement:transferredTCF
a=cpar: a=T38FaxMaxDatagram:160
a=cpar: a=T38FaxUdpEC:t38UDPRedundancy
a=ice-pwd:EF65D2A7796A60B9C07BD2FF
a=ice-ufrag:pf7134002
a=sqn:0
--- (16 headers 20 lines) ---
set_destination: Parsing for address/port to send to
set_destination: set destination to 212.53.40.40:5060
Transmitting (NAT) to 212.53.40.40:5060:
ACK sip:signode-379562-7B58386C_kmbdcto-EF93@212.53.40.40 SIP/2.0
Via: SIP/2.0/UDP 10.64.72.24:5060;branch=z9hG4bK070aabb8;rport
Route: ,,
Max-Forwards: 70
From: "ilya" ;tag=as610d7e5e
To: ;tag=0EB1FA09-379562-7B58386C_kmbdcto-EF93
Contact:
Call-ID: 746e336e57c85f8258b2a9023e2083dd@sipnet.ru
CSeq: 103 ACK
User-Agent: Asterisk PBX 11.2.1
Content-Length: 0
---
SIP/2.0 200 OK
Via: SIP/2.0/UDP 10.64.72.24:5060;branch=z9hG4bK37a7f502;rport=5060
Record-Route:
Record-Route:
Record-Route:
From: "ilya" ;tag=as610d7e5e
To: ;tag=0EB1FA09-379562-7B58386C_kmbdcto-EF93
Call-ID: 746e336e57c85f8258b2a9023e2083dd@sipnet.ru
CSeq: 103 INVITE
Contact:
Supported: 100rel,timer,replaces,histinfo,precondition
Session-Expires: 10800;refresher=uas
User-Agent: CommuniGatePro-callLeg/6.0.10i
Allow: INVITE,ACK,BYE,CANCEL,OPTIONS,INFO,MESSAGE,SUBSCRIBE,NOTIFY,PRACK,UPDATE,REFER
Content-Type: application/sdp
Content-Length: 487
v=0
o=CGPLeg379562 1075441029 537720516 IN IP4 212.53.40.76
s=-
c=IN IP4 212.53.40.76
t=0 0
m=audio 19012 RTP/AVP 8
c=IN IP4 212.53.40.76
a=rtpmap:8 PCMA/8000
a=ptime:20
a=X-cap: 1 image udptl t38
a=X-sqn:0
a=cdsc: 1 audio RTP/AVP 8
a=cdsc: 2 image udptl t38
a=cpar: a=T38FaxVersion:0
a=cpar: a=T38FaxRateManagement:transferredTCF
a=cpar: a=T38FaxMaxDatagram:160
a=cpar: a=T38FaxUdpEC:t38UDPRedundancy
a=ice-pwd:EF65D2A7796A60B9C07BD2FF
a=ice-ufrag:pf7134002
a=sqn:0
--- (16 headers 20 lines) ---
set_destination: Parsing for address/port to send to
set_destination: set destination to 212.53.40.40:5060
Transmitting (NAT) to 212.53.40.40:5060:
ACK sip:signode-379562-7B58386C_kmbdcto-EF93@212.53.40.40 SIP/2.0
Via: SIP/2.0/UDP 10.64.72.24:5060;branch=z9hG4bK04cf63bd;rport
Route: ,,
Max-Forwards: 70
From: "ilya" ;tag=as610d7e5e
To: ;tag=0EB1FA09-379562-7B58386C_kmbdcto-EF93
Contact:
Call-ID: 746e336e57c85f8258b2a9023e2083dd@sipnet.ru
CSeq: 103 ACK
User-Agent: Asterisk PBX 11.2.1
Content-Length: 0
---
BYE sip:sipnet-login@10.64.72.24:5060;maddr=95.221.xx.xxx SIP/2.0
Via: SIP/2.0/UDP 212.53.40.40:5060;branch=z9hG4bK192010-kmbdcto;cgp=etc.tario.ru;rport
Max-Forwards: 70
From: ;tag=0EB1FA09-379562-7B58386C_kmbdcto-EF93
To: "ilya" ;tag=as610d7e5e
Call-ID: 746e336e57c85f8258b2a9023e2083dd@sipnet.ru
Contact:
CSeq: 1 BYE
Reason: SIP;cause=400;text="ACK timeout"
User-Agent: CommuniGatePro-callLeg/6.0.10i
Content-Length: 0
--- (11 headers 0 lines) ---
Sending to 212.53.40.40:5060 (NAT)
Scheduling destruction of SIP dialog '746e336e57c85f8258b2a9023e2083dd@sipnet.ru' in 6400 ms (Method: BYE)
SIP/2.0 200 OK
Via: SIP/2.0/UDP 212.53.40.40:5060;branch=z9hG4bK192010-kmbdcto;cgp=etc.tario.ru;received=212.53.40.40;rport=5060
From: ;tag=0EB1FA09-379562-7B58386C_kmbdcto-EF93
To: "ilya" ;tag=as610d7e5e
Call-ID: 746e336e57c85f8258b2a9023e2083dd@sipnet.ru
CSeq: 1 BYE
Server: Asterisk PBX 11.2.1
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH
Supported: replaces, timer
Content-Length: 0
== Spawn extension (gigaset, 6360636, 1) exited non-zero on 'SIP/102-00000056'
| Код: |
| interface FastEthernet4 ip address 10.64.72.24 255.255.255.0 ip access-group INPUT in ip nat outside ip inspect FW out ! no ip nat service sip udp port 5060 ip nat inside source route-map nonat interface FastEthernet4 overload ip nat inside source static udp 192.168.10.7 5060 10.64.72.24 5060 route-map nonat extendable ip route 0.0.0.0 0.0.0.0 10.64.72.1 ! ip access-list extended INPUT remark SIPNET permit ip host 212.53.40.40 any remark MULTIFON permit ip host 193.201.229.35 any |
#sh ip inspect sess
Established Sessions
Session 8A64F210 (192.168.10.7:19142)=>(212.53.40.72:27832) udp SIS_OPEN
Session 8A10AE9C (192.168.10.7:5060)=>(193.201.229.35:5060) sip SIS_OPEN
Session 871CF52C (192.168.10.7:19143)=>(212.53.40.72:27833) udp SIS_OPEN
Session 8877A03C (192.168.10.7:4569)=>(193.201.229.35:5060) sip SIS_OPEN
Session 88787C2C (192.168.10.7:14228)=>(212.53.40.72:28164) udp SIS_OPEN
Session 871CA114 (192.168.10.7:5060)=>(213.145.43.128:5060) sip SIS_OPEN
Session 871CDF9C (212.53.40.40:5060)=>(192.168.10.7:5060) sip SIS_OPEN
Half-open Sessions
Session 88785784 (192.168.10.7:4569)=>(212.53.40.40:4569) udp SIS_OPENING
Session 8877E764 (192.168.10.7:4569)=>(213.145.43.128:4569) udp SIS_OPENING
Session 8878669C (212.53.40.72:28164)=>(10.64.72.24:14228) sip-RTP-data SIS_OPENING
Session 8877D3FC (212.53.40.72:28165)=>(10.64.72.24:14229) sip-RTCP-data SIS_OPENING
Pre-generated Sessions
Pre-gen session 8A642538 193.201.229.35[1024:65535]=>10.64.72.24[5060:5060] sip
Pre-gen session 871CA33C 212.53.40.40[1024:65535]=>10.64.72.24[5060:5060] sip
Pre-gen session 871CE83C 192.168.10.7[1024:65535]=>212.53.40.40[5060:5060] sip
Pre-gen session 871D17AC 212.53.40.72[1024:65535]=>10.64.72.24[19142:19142] sip-RTP-data
Pre-gen session 871D723C 212.53.40.72[1024:65535]=>10.64.72.24[19143:19143] sip-RTCP-data
Pre-gen session 871CF97C 10.64.72.24[1024:65535]=>212.53.40.72[27832:27832] sip-RTP-data
Pre-gen session 871CFBA4 10.64.72.24[1024:65535]=>212.53.40.72[27833:27833] sip-RTCP-data
Pre-gen session 887799C4 10.64.72.24[1024:65535]=>212.53.40.72[28164:28164] sip-RTP-data
Pre-gen session 8877C70C 10.64.72.24[1024:65535]=>212.53.40.72[28165:28165] sip-RTCP-data
Pre-gen session 871CE1C4 212.53.40.72[1024:65535]=>10.64.72.24[14228:14228] sip-RTP-data
Pre-gen session 871C91FC 212.53.40.72[1024:65535]=>10.64.72.24[14229:14229] sip-RTCP-data
Pre-gen session 871C82E4 10.64.72.24[1024:65535]=>212.53.40.72[28164:28164] sip-RTP-data
Pre-gen session 871C850C 10.64.72.24[1024:65535]=>212.53.40.72[28165:28165] sip-RTCP-data
Pre-gen session 8A645058 212.53.40.72[1024:65535]=>10.64.72.24[14228:14228] sip-RTP-data
Pre-gen session 8A64A698 212.53.40.72[1024:65535]=>10.64.72.24[14229:14229] sip-RTCP-data
Pre-gen session 8A6420E8 10.64.72.24[1024:65535]=>212.53.40.72[28164:28164] sip-RTP-data
Pre-gen session 8A648418 10.64.72.24[1024:65535]=>212.53.40.72[28165:28165] sip-RTCP-data
Pre-gen session 8A07C108 212.53.40.72[1024:65535]=>10.64.72.24[14228:14228] sip-RTP-data
Pre-gen session 8A0768A0 212.53.40.72[1024:65535]=>10.64.72.24[14229:14229] sip-RTCP-data
Pre-gen session 8A06EFE0 10.64.72.24[1024:65535]=>212.53.40.72[28164:28164] sip-RTP-data
Pre-gen session 8A0732B8 10.64.72.24[1024:65535]=>212.53.40.72[28165:28165] sip-RTCP-data
Established Sessions
Session 8A64F210 (192.168.10.7:19142)=>(212.53.40.72:27832) udp SIS_OPEN
Session 8A10AE9C (192.168.10.7:5060)=>(193.201.229.35:5060) sip SIS_OPEN
Session 871CF52C (192.168.10.7:19143)=>(212.53.40.72:27833) udp SIS_OPEN
Session 8877A03C (192.168.10.7:4569)=>(193.201.229.35:5060) sip SIS_OPEN
Session 88787C2C (192.168.10.7:14228)=>(212.53.40.72:28164) udp SIS_OPEN
Session 871CA114 (192.168.10.7:5060)=>(213.145.43.128:5060) sip SIS_OPEN
Session 871CDF9C (212.53.40.40:5060)=>(192.168.10.7:5060) sip SIS_OPEN
Half-open Sessions
Session 88785784 (192.168.10.7:4569)=>(212.53.40.40:4569) udp SIS_OPENING
Session 8877E764 (192.168.10.7:4569)=>(213.145.43.128:4569) udp SIS_OPENING
Session 8878669C (212.53.40.72:28164)=>(10.64.72.24:14228) sip-RTP-data SIS_OPENING
Session 8877D3FC (212.53.40.72:28165)=>(10.64.72.24:14229) sip-RTCP-data SIS_OPENING
Pre-generated Sessions
Pre-gen session 8A642538 193.201.229.35[1024:65535]=>10.64.72.24[5060:5060] sip
Pre-gen session 871CA33C 212.53.40.40[1024:65535]=>10.64.72.24[5060:5060] sip
Pre-gen session 871CE83C 192.168.10.7[1024:65535]=>212.53.40.40[5060:5060] sip
Pre-gen session 871D17AC 212.53.40.72[1024:65535]=>10.64.72.24[19142:19142] sip-RTP-data
Pre-gen session 871D723C 212.53.40.72[1024:65535]=>10.64.72.24[19143:19143] sip-RTCP-data
Pre-gen session 871CF97C 10.64.72.24[1024:65535]=>212.53.40.72[27832:27832] sip-RTP-data
Pre-gen session 871CFBA4 10.64.72.24[1024:65535]=>212.53.40.72[27833:27833] sip-RTCP-data
Pre-gen session 887799C4 10.64.72.24[1024:65535]=>212.53.40.72[28164:28164] sip-RTP-data
Pre-gen session 8877C70C 10.64.72.24[1024:65535]=>212.53.40.72[28165:28165] sip-RTCP-data
Pre-gen session 871CE1C4 212.53.40.72[1024:65535]=>10.64.72.24[14228:14228] sip-RTP-data
Pre-gen session 871C91FC 212.53.40.72[1024:65535]=>10.64.72.24[14229:14229] sip-RTCP-data
Pre-gen session 871C82E4 10.64.72.24[1024:65535]=>212.53.40.72[28164:28164] sip-RTP-data
Pre-gen session 871C850C 10.64.72.24[1024:65535]=>212.53.40.72[28165:28165] sip-RTCP-data
Pre-gen session 8A645058 212.53.40.72[1024:65535]=>10.64.72.24[14228:14228] sip-RTP-data
Pre-gen session 8A64A698 212.53.40.72[1024:65535]=>10.64.72.24[14229:14229] sip-RTCP-data
Pre-gen session 8A6420E8 10.64.72.24[1024:65535]=>212.53.40.72[28164:28164] sip-RTP-data
Pre-gen session 8A648418 10.64.72.24[1024:65535]=>212.53.40.72[28165:28165] sip-RTCP-data
Pre-gen session 8A07C108 212.53.40.72[1024:65535]=>10.64.72.24[14228:14228] sip-RTP-data
Pre-gen session 8A0768A0 212.53.40.72[1024:65535]=>10.64.72.24[14229:14229] sip-RTCP-data
Pre-gen session 8A06EFE0 10.64.72.24[1024:65535]=>212.53.40.72[28164:28164] sip-RTP-data
Pre-gen session 8A0732B8 10.64.72.24[1024:65535]=>212.53.40.72[28165:28165] sip-RTCP-data
NAT трансляции (лишнее убрал)
| Код: |
| #sh ip nat trans | i 192.168.10.7 udp 10.64.72.24:4569 192.168.10.7:4569 193.201.229.35:5060 193.201.229.35:5060 udp 10.64.72.24:4569 192.168.10.7:4569 212.53.40.40:4569 212.53.40.40:4569 udp 10.64.72.24:5060 192.168.10.7:5060 193.201.229.35:5060 193.201.229.35:5060 udp 10.64.72.24:5060 192.168.10.7:5060 212.53.40.40:5060 212.53.40.40:5060 udp 10.64.72.24:5060 192.168.10.7:5060 --- --- |
Вам приходит BYE из-за ACK timeout...
CSeq: 1 BYE
Reason: SIP;cause=400;text="ACK timeout"
попробуйте отключить inspect и пробросить через нат не только 5060 но и порты RTP вашего сервера
sipnet, регистрация у них. тогда зачем SIP ALG в кошаке?
да и проброс портов НЕ НУЖЕН!
и не забываем у пира directmedia=no.
_________________
http://mh.otx.ru Гибкие SIP/E1 шлюзы Alvis. SIP-Модернизация LDK/TDA:VoIP, Добавь E1 к Asterisk.
UPDATE! Теперь и T.38! Скидки для форумчан!!