Пробую регистрировать Asterisk на софтсвиче РТ, tcpdump выводит:
18:44:42.278240 IP (tos 0x60, ttl 64, id 6379, offset 0, flags [none], proto UDP (17), length 443)
222.222.222.222.sip > 88.88.88.88.sip: SIP, length: 415
REGISTER sip:aa.bb.cc.rt.ru SIP/2.0
Via: SIP/2.0/UDP 222.222.222.222:5060;branch=z9hG4bK560bac6e
Max-Forwards: 70
From: <sip:+78888888888@aa.bb.cc.rt.ru>;tag=as401e7917
To: <sip:+78888888888@aa.bb.cc.rt.ru>
Call-ID: 12b3bd8f17abc78a30ff85e416b18c2e@[::1]
CSeq: 104 REGISTER
User-Agent: FPBX-13.0.195.22(11.25.3)
Expires: 120
Contact: <sip:+78888888888@222.222.222.222:5060>
Content-Length: 0
астериск не регистрируется
=======================================================================================================
Пробую регистрировать софтфон на софтсвиче РТ, tcpdump выводит:
18:31:17.8
SENDING TO: 88.88.88.88:5060
REGISTER sip:aa.bb.cc.rt.ru SIP/2.0
To: +78888888888<sip:+78888888888@aa.bb.cc.rt.ru>
From: +78888888888<sip:+78888888888@aa.bb.cc.rt.ru>;tag=4f1b172b
Via: SIP/2.0/UDP 192.168.3.111:7044;branch=z9hG4bK-d87543-992049897-1--d87543-;rport
Call-ID: 09450f54d3751c3a
CSeq: 2 REGISTER
Contact: <sip:+78888888888@192.168.3.111:7044>
Expires: 3600
Max-Forwards: 70
Allow: INVITE, ACK, CANCEL, OPTIONS, BYE, REFER, NOTIFY, MESSAGE, SUBSCRIBE, INFO
User-Agent: eyeBeam release 3006o stamp 17551
Authorization: Digest username="+78888888888",realm="aa.bb.cc.rt.ru",nonce="QWZ6lUnivAFggjXGgfWqmA==",uri="sip:aa.bb.cc.rt.ru",response="6610bd06919a0a3844ce161f8879900c",cnonce="a900d8136d1a0752",nc=00000001,qop=auth,algorithm=MD5
Content-Length: 0
18:31:17.9
RECEIVING FROM: 88.88.88.88:5060
SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.3.111:7044;branch=z9hG4bK-d87543-992049897-1--d87543-;received=192.168.3.111;rport=7044
Call-ID: 09450f54d3751c3a
From: +78888888888 <sip:+78888888888@aa.bb.cc.rt.ru>;tag=4f1b172b
To: +78888888888 <sip:+78888888888@aa.bb.cc.rt.ru>;tag=dr0eorkl
CSeq: 2 REGISTER
P-Associated-URI: <sip:+78888888888@aa.bb.cc.rt.ru>,<sip:+78888888888@ims.volga.rt.ru;user=phone>
Accept-Resource-Priority: wps.4
Contact: <sip:+78888888888@192.168.3.111:7044>;q=1;expires=3600
Content-Length: 0
18:31:17.9 Proxy slot #0 () - Successfully registered - AOR: '+78888888888<sip:+78888888888@aa.bb.cc.rt.ru>', proxy: '88.88.88.88:5060', firewall-proxy: 'F'.
18:31:20.2 Proxy slot #0 () - Reloading settings. Changed: [EEnabled]
регистрация проходит.
Вчём отличия, что я неправильно с астериска передаю, сто не нравистя софтсвичу РТ?