Thanks Daniel,
Now it seems almost done.... I have 6 Grandstream phones connected and
they all have 4-6 BLFs watching each other.
(I also have Yealink/Cisco/SNOM/Polycom phones to test later - one thing
at a time.....)
The 2x GRP2604P all look great
The GXP2130 seems OK as well
The GXP2170 with side car seems OK
But, the 2x GXP1782 are not quit working yet.
A couple of the BLFs are OK but most are sending back 481 Subscription
Does Not Exist... See blow (gotta love sngrep)
--------------------------------
2021/10/01 12:31:13.024698 SITE_IP:44762 -> PUBLIC_IP:8081
SUBSCRIBE sip:301@domain.net:8081 SIP/2.0
Via: SIP/2.0/UDP PRIVATE_IP:44762;branch=z9hG4bK806864449;rport
From: <sip:305@domain.net:8081>;tag=1883014019
To: <sip:301@domain.net:8081>
Call-ID: 551473572-44762-6(a)BA.CEG.HG.GC
CSeq: 27840 SUBSCRIBE
Contact: <sip:305@PRIVATE_IP:44762>
X-Grandstream-PBX: true
Max-Forwards: 70
User-Agent: Grandstream GXP1782 1.0.1.116
Expires: 60
Supported: replaces, path, timer, eventlist
Event: dialog
Accept: application/dialog-info+xml,multipart/related,application/rlmi+xml
Accept-Encoding: zlib+base64
Allow: INVITE, ACK, OPTIONS, CANCEL, BYE, SUBSCRIBE, NOTIFY, INFO,
REFER, UPDATE, MESSAGE
Content-Length: 0
2021/10/01 12:31:13.026561 PUBLIC_IP:8081 -> SITE_IP:44762
SIP/2.0 202 OK
Via: SIP/2.0/UDP
PRIVATE_IP:44762;branch=z9hG4bK806864449;rport=44762;received=SITE_IP
From: <sip:305@domain.net:8081>;tag=1883014019
To: <sip:301@domain.net:8081>;tag=5e1ee053cf7168b9d3ee9c05740f837c-eb6836a8
Call-ID: 551473572-44762-6(a)BA.CEG.HG.GC
CSeq: 27840 SUBSCRIBE
Expires: 60
Contact: <sip:PUBLIC_IP:8081>
Server: kamailio (5.4.4 (x86_64/linux))
Content-Length: 0
2021/10/01 12:31:13.027436 PUBLIC_IP:8081 -> SITE_IP:44762
NOTIFY sip:305@PRIVATE_IP:44762 SIP/2.0
Via: SIP/2.0/UDP
PUBLIC_IP:8081;branch=z9hG4bK2ba8.555213e5000000000000000000000000.0
To: <sip:305@domain.net>;tag=1883014019
From: <sip:301@domain.net>;tag=5e1ee053cf7168b9d3ee9c05740f837c-eb6836a8
CSeq: 2 NOTIFY
Call-ID: 551473572-44762-6(a)BA.CEG.HG.GC
Content-Length: 273
User-Agent: kamailio (5.4.4 (x86_64/linux))
Max-Forwards: 70
Event: dialog
Contact: <sip:PUBLIC_IP:8081>
Subscription-State: active;expires=60
Content-Type: application/dialog-info+xml
<?xml version="1.0"?>
<dialog-info xmlns="urn:ietf:params:xml:ns:dialog-info" version="1"
state="full" entity="sip:301@domain.net">
<dialog id="615293b33c62dec073e05d9421e9f48b"
direction="recipient">
<state>terminated</state> </dialog>
</dialog-info>
2021/10/01 12:31:13.332763 SITE_IP:44762 -> PUBLIC_IP:8081
SIP/2.0 481 Subscription Does Not Exist
Via: SIP/2.0/UDP
PUBLIC_IP:8081;branch=z9hG4bK2ba8.555213e5000000000000000000000000.0
From: <sip:301@domain.net>;tag=5e1ee053cf7168b9d3ee9c05740f837c-eb6836a8
To: <sip:305@domain.net>;tag=1883014019
Call-ID: 551473572-44762-6(a)BA.CEG.HG.GC
CSeq: 2 NOTIFY
Supported: replaces, path, timer
User-Agent: Grandstream GXP1782 1.0.1.116
Allow: INVITE, ACK, OPTIONS, CANCEL, BYE, SUBSCRIBE, NOTIFY, INFO,
REFER, UPDATE, MESSAGE
Content-Length: 0
--------------------------------
Now, I am sure it's not likely the phone setup as I have a FreeSWITCH
system that these 6 phones normally talk to.
All i do is change the DNS A Record between the IP of the Kamailio
server and the FreeSWITCH server... This way I don't touch the phone
configs..
I just change the A Records and take an hour long break...
On the FreeSWITCH server, the phones do exactly as expected...
I am trying to stick the Kamailio server between the phones and FS but,
one step at a time.
So, any thoughts as to why the GXP1782 BLFs are not accepting the NOTIFY
messages?
Jerry