Не работают входящие 403 Forbidden
Добавлено: 26 мар 2020, 14:52
				
				Добрый день.
Aster 11 стыкуем с мегафоном без регистрации peer to peer.
Исходящие все ОК.
Входящие получаю 403 Forbidden.
Aster стоит за NAT
Настройки пира
При входящем получаю вот это
Перегуглил все подобные темы что то никак не осилю что ему собаке не нравиться.
			Aster 11 стыкуем с мегафоном без регистрации peer to peer.
Исходящие все ОК.
Входящие получаю 403 Forbidden.
Aster стоит за NAT
Настройки пира
Код: Выделить всё
[79372292434]
dtmfmode=inband
type=peer
disallow=all
allow=ulaw
allow=alaw
host=multifon.ru
fromdomain=multifon.ru
fromhost=multifon.ru
port=5070
nat=force_rport,comedia
context=incoming
insecure=invite,port
qualify=30000
defaultuser=79372292434
fromuser=79372292434- <--- SIP read from UDP:192.168.254.6:42076 --->
 INVITE sip:79372292434@external ip:5060;user=phone SIP/2.0
 Via: SIP/2.0/UDP 193.201.229.35:5070;branch=z9hG4bKhrk88g1038krghh6j-3.1
 Content-Length: 300
 Max-Forwards: 65
 Request-Disposition: no-fork
 Supported: 100rel
 Content-Type: application/sdp
 MIME-version: 1.0
 Content-Disposition: session;handling=required
 From: <sip:78452753364@multifon.ru>;tag=SDsofca01-6EC13246313536416B0ED24D
 To: sip:79372292434@multifon.ru:5060
 P-Asserted-Identity: sip:78452753364@multifon.ru:5060
 Allow: ACK,BYE,CANCEL,INFO,INVITE,NOTIFY,OPTIONS,PRACK
 Expires: 240
 Call-ID: SDsofca01-b1cfad6c22dec679e4bead802ae55cb0-v300g00050
 CSeq: 1 INVITE
 Contact: <sip:78452753364@193.201.229.35:5070;transport=udp>
 X-eMotion-Transaction-Id: SDsofca01-b1cfad6c22dec679e4bead802ae55cb0-v300g00050
 
 v=0
 o=- 0 0 IN IP4 193.201.229.19
 s=-
 c=IN IP4 193.201.229.19
 t=0 0
 m=audio 29746 RTP/AVP 8 0 3 9 18 101
 a=rtpmap:8 PCMA/8000
 a=rtpmap:0 PCMU/8000
 a=rtpmap:3 GSM/8000
 a=rtpmap:9 G722/8000
 a=rtpmap:18 G729/8000
 a=rtpmap:101 telephone-event/8000
 a=fmtp:101 0-15
 a=maxptime:20
 a=ptime:20
 <------------->
 --- (18 headers 15 lines) ---
 Sending to 192.168.254.6:42076 (NAT)
 Sending to 192.168.254.6:42076 (NAT)
 Using INVITE request as basis request - SDsofca01-b1cfad6c22dec679e4bead802ae55cb0-v300g00050
 No matching peer for '78452753364' from '192.168.254.6:42076'
 [Mar 26 15:31:39] NOTICE[1906][C-000111c7]: chan_sip.c:25557 handle_request_invite: Failed to authenticate device <sip:78452753364@multifon.ru>;tag=SDsofca01-6EC13246313536416B0ED24D
 
 <--- Reliably Transmitting (NAT) to 192.168.254.6:42076 --->
 SIP/2.0 403 Forbidden
 Via: SIP/2.0/UDP 193.201.229.35:5070;branch=z9hG4bKhrk88g1038krghh6j-3.1;received=192.168.254.6;rport=42076
 From: <sip:78452753364@multifon.ru>;tag=SDsofca01-6EC13246313536416B0ED24D
 To: sip:79372292434@multifon.ru:5060;tag=as64723cff
 Call-ID: SDsofca01-b1cfad6c22dec679e4bead802ae55cb0-v300g00050
 CSeq: 1 INVITE
 Server: Asterisk PBX 11.13.1~dfsg-2+deb8u2
 Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, SUBSCRIBE, NOTIFY, INFO, PUBLISH, MESSAGE
 Supported: replaces, timer
 Content-Length: 0
 
 
 <------------>
 Scheduling destruction of SIP dialog 'SDsofca01-b1cfad6c22dec679e4bead802ae55cb0-v300g00050' in 32000 ms (Method: INVITE)
 
 <--- SIP read from UDP:192.168.254.6:42076 --->
 ACK sip:79372292434@external ip:5060;user=phone SIP/2.0
 Via: SIP/2.0/UDP 193.201.229.35:5070;branch=z9hG4bKhrk88g1038krghh6j-3.1
 CSeq: 1 ACK
 Max-Forwards: 65
 From: <sip:78452753364@multifon.ru>;tag=SDsofca01-6EC13246313536416B0ED24D
 To: <sip:79372292434@multifon.ru:5060>;tag=as64723cff
 Call-ID: SDsofca01-b1cfad6c22dec679e4bead802ae55cb0-v300g00050
 Content-Length: 0
Перегуглил все подобные темы что то никак не осилю что ему собаке не нравиться.
