LINUX.ORG.RU
решено ФорумAdmin

Не обрабатываються звонки anonymous

 ,


0

1

Коллеги с сип транка прилетают звонки в режим анонима. Обработку анонимусов я врубил .Однако астер их не видет, хотя пакеты в таком виде приходят

13:03:43.945485 IP $externail_incoming.sip > $local_server.sip: SIP, length: 1076
E..P..@.=...]XPF..a......<..INVITE sip:090067@$local_server.sip:5060 SIP/2.0
Via: SIP/2.0/UDP $externail_incoming;branch=z9hG4bKbMxp3a2b;rport
From: "8640533" <sip:640533@$externail_incoming;user=phone>;tag=320D44A1-584138EC000737A1-970F3700
To: <sip:559092295@$externail_incoming;user=phone>
CSeq: 10 INVITE
Call-ID: 48E45F18-584138EC000737BB-970F3700
Max-Forwards: 68
Accept: multipart/mixed, application/sdp
Allow: INVITE, ACK, BYE, CANCEL, PRACK, REGISTER, INFO, REFER, NOTIFY, OPTIONS, SUBSCRIBE, MESSAGE, UPDATE, PUBLISH
Allow-Events: presence, dialog, conference
Supported: 100rel,timer,replaces
Category: 10
Session-Expires: 1800;refresher=uac
Min-SE: 90
Diversion: <tel:559092295>;reason=unknown;privacy=full
User-Agent: unknown
Content-Type: application/sdp
Content-Length: 273
Contact: <sip:$externail_incoming;transport=udp>

v=0
o=- 1785 379307 IN IP4 $externail_incoming
s=-
c=IN IP4 $externail_incoming
t=0 0
m=audio 13208 RTP/AVP 8 0 18 101
a=rtpmap:8 PCMA/8000
a=rtpmap:0 PCMU/8000
a=rtpmap:18 G729/8000
a=fmtp:18 annexb=no
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15
a=sendrecv
a=ptime:30

Конфиг транков :

[COM]
type=friend
insecure=invite
context=from-trunk-sip-COM

юзера

[118]
deny=0.0.0.0/0.0.0.0
secret=xcxcxcxc
dtmfmode=rfc2833
canreinvite=no
context=from-internal
host=dynamic
trustrpid=yes
sendrpid=pai
type=friend
session-timers=accept
nat=no
port=5060
qualify=yes
qualifyfreq=60
transport=udp
avpf=no
force_avp=no
icesupport=no
encryption=no
namedcallgroup=
namedpickupgroup=
dial=SIP/118
mailbox=118@default
permit=0.0.0.0/0.0.0.0
callerid=118 <118>
callcounter=yes
faxdetect=no
cc_monitor_policy=generic

[from-internal]
type=friend
allowguest=yes
allow=alaw
allow=ulaw
context=from-sip-external
host=$externail_incoming

UPD. Firewall поправил но всеравно

14:02:25.107023 IP $local.sip > $global.sip: SIP, length: 538
E..6..@.@.h...a.]XPF....."~}SIP/2.0 401 Unauthorized
Via: SIP/2.0/UDP $global;rport=5060;received=$global_sip;branch=z9hG4bKjdKyYaWi
Call-ID: 63C19315-584146B100021D34-96FF2700
From: "555056949" <sip:056949@$global;user=phone>;tag=44AEE05F-584146B100021D26-96FF2700
To: <sip:50066@$global;user=phone>;tag=z9hG4bKjdKyYaWi
CSeq: 10 INVITE
WWW-Authenticate: Digest  realm="asterisk",nonce="1480672945/b4b4d4d8bd92df1b0db2ff4a693941c4",opaque="348e426e3f90f50c",algorithm=md5,qop="auth"
Server: FPBX-13.0.190.7(13.12.1)
Content-Length:  0


14:02:25.142995 IP $global.sip > $local.sip: SIP, length: 346
E..v.B@.=..G]XPF..a......b.GACK sip:990066@$local:5060 SIP/2.0
Via: SIP/2.0/UDP 93.88.80.70;branch=z9hG4bKjdKyYaWi;rport
From: "555056949" <sip:056949@$global;user=phone>;tag=44AEE05F-584146B100021D26-96FF2700
To: <sip:5990066@$global;user=phone>;tag=z9hG4bKjdKyYaWi
Call-ID: 63C19315-584146B100021D34-96FF2700
CSeq: 10 ACK
Content-Length: 0

★★★★★

Проблема , была в стороне провайдера и на моем узле в настройках файрвола(failban2)

pinachet ★★★★★ ()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.