Hi all
OpenSIPS version 3.4.16
I'm testing push notification support in the mid_registrar module. I've
enabled them
modparam("mid_registrar", "pn_enable", true)
modparam("mid_registrar", "pn_providers", "fcm")
modparam("mid_registrar", "pn_ct_match_params", "pn-provider, pn-prid")
modparam("mid_registrar", "mode", 1)

modparam("usrloc", "contact_refresh_timer", true)

I'm trying to register with sipp and sending this register
2026/01/27 15:03:50.143513 192.168.11.216:5061 -> 192.168.11.201:5060
REGISTER sip:192.168.11.201 SIP/2.0
Via: SIP/2.0/UDP 192.168.11.216:5061;branch=z9hG4bK-28036-1-1
Max-Forwards: 70
From: "sipp" <sip:[email protected]>;tag=1
To: "sipp" <sip:[email protected]>
Call-ID: reg///[email protected]
CSeq: 7 REGISTER
Contact: <sip:[email protected]:5061
;pn-prid=ccjrgnp8TIWSyOtqow8xF9APA91bEqOzfAG94jeOtyffKYDdn5ez5PEHai3SwsoWyUWdC9JIWG3muLD;pn-provider=fcm;pn-param=988390046060>
Expires: 63600
Content-Length: 0
User-Agent: sipp test

ul_dump shows this.

                {
                    "AOR": "94077868",
                    "Contacts": [
                        {
                            "Contact": "sip:[email protected]:5061
;pn-prid=ccjrgnp8TIWSyOtqow8xF9APA91bEqOzfAG94jeOtyffKYDdn5ez5PEHai3SwsoWyUWdC9JIWG3muLD;pn-provider=fcm;pn-param=988390046060",
                            "ContactID": "1834794635688414048",
                            "Expires": 63520,
                            "Q": "",
                            "Callid": "reg///[email protected]",
                            "Cseq": 8,
                            "User-agent": "sipp test",
                            "Received": "sip:192.168.11.216:5061",
                            "State": "CS_NEW",
                            "Flags": 0,
                            "Cflags": "NAT_BFLAG",
                            "Socket": "udp:192.168.11.201:5060",
                            "Methods": 4294967295
                        }
                    ]
                }

As we can see Flags: 0 but should be 4.
mid_registrar_lookup returns 1 (should be 2).
OpenSIPS doesn't generate E_UL_CONTACT_REFRESH event.
Is there anything wrong with the REGISTER request?

Best regards, Andrej.
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to