Re: [OpenSIPS-Users] Push Notification - lookup not returning 2

2021-07-29 Thread Liviu Chircu
On 29.07.2021 19:07, John Quick wrote: modparam("mid_registrar", "pn_skip_pn_interval", 6) So all looks good except for this condition [1] which returns false, otherwise the lookup() result would immediately be 2.  Now, that condition will only return false if the contact had registered

Re: [OpenSIPS-Users] Push Notification - lookup not returning 2

2021-07-29 Thread John Quick
Liviu, Mid-registrar mode = 1 Here are all the modparam entries: loadmodule "mid_registrar.so" modparam("mid_registrar", "mode", 1) modparam("mid_registrar", "contact_id_insertion", "ct-username") modparam("mid_registrar", "outgoing_expires", 1800) modparam("mid_registrar", "min_expires", 60)

Re: [OpenSIPS-Users] opensips_port_change

2021-07-29 Thread Kevin Wormington
Hi Murat, Assuming you are using 3.x.x version you would set it in opensips.cfg as follows: socket=udp:192.168.0.1:5080 socket=tcp:192.168.0.1:5080 Obviously you would replace the 192.168.0.1 with your IP and the 5080 with your desired port. Hope this helps, Kevin > On Jun 2, 2021, at 8:43

Re: [OpenSIPS-Users] opensips_port_change

2021-07-29 Thread Ben Newlin
https://www.opensips.org/Documentation/Script-CoreParameters-3-2#toc67 Ben Newlin From: Users on behalf of murat bal Date: Thursday, July 29, 2021 at 11:53 AM To: users@lists.opensips.org Subject: [OpenSIPS-Users] opensips_port_change hello, can the port of opensips server 5060 be changed? I

Re: [OpenSIPS-Users] Opensips CP Permissions "RELOAD on SERVER" produces error

2021-07-29 Thread Kevin Wormington
I would start with double checking that the permissions module is actually loaded on the server. That is the most common reason to get a reload error. Kevin > On Jul 20, 2021, at 11:26 AM, Jeff Wilkie wrote: > > Opensips 3.1.2 > CP 8.3.1 > Debian 10 > > When adding permissions, I hit "Reload

[OpenSIPS-Users] Fwd:Re: opensips3.1.3

2021-07-29 Thread 1014341495 via Users
On 26.07.2021 11:09, 章文渊 wrote: I use it like in opensips 3.1.3 $(avp(271)[0])=$avp(55)  the log of opensips3.1.3 says: ERROR:core:pv_set_avp:Failed to replace avp. ERROR:core:do_assign:setting PV failed. How to solve it? ths u. Hi, Please sign up here and re-post:

[OpenSIPS-Users] Opensips CP Permissions "RELOAD on SERVER" produces error

2021-07-29 Thread Jeff Wilkie
Opensips 3.1.2 CP 8.3.1 Debian 10 When adding permissions, I hit "Reload on Server" but I get the following error: Sending to json:127.0.0.1:/mi : MI command failed with code -32601 (Method not found) I​ I don't get this error on any other page but this one when attempting to "Reload on

[OpenSIPS-Users] OpenSIPs as Load Balancer and Mid-Register only.

2021-07-29 Thread Hitesh Prajapati via Users
Hi Team, I want to use opensips as a Mid-register to reduce the register request and multiple PBX behind the opensips for register and call load balancing. If anyone can provide the steps to do that configuration that would be great. Thanks in advance. Hitesh Prajapati -- *STL - Sterlite

[OpenSIPS-Users] PRACK not using correct dispatcher endpoint Socket IP

2021-07-29 Thread Monideth Pen
Hi, opensips 2.4.x I have a specific fail scenario when a call has failed over from a non-responsive dispatcher endpoint to another healthy endpoint. The INVITE is relayed correctly to the healthy endpoint, but the PRACK being relayed back to a 183 from the endpoint is not using the

[OpenSIPS-Users] Bug found

2021-07-29 Thread Saint Michael
My carrier rejected me for interconnection with this message "Invalid Content-Length, other from the size of the actual body In reINVITE from customer did not present Header Content-Length: 231 customer replace Content-Length: 231 on his opensips to X-: 231 Content-Length must be present in

[OpenSIPS-Users] opensips_port_change

2021-07-29 Thread murat bal
hello, can the port of opensips server 5060 be changed? I tried with opensips.cfg, it didn't work. Can you help me? Thanks. Murat ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Re: [OpenSIPS-Users] Push Notification - lookup not returning 2

2021-07-29 Thread Liviu Chircu
Hi John, On 28.07.2021 19:35, John Quick wrote: Using version 3.1.3. OpenSIPS is acting as a mid-registrar proxy. Which mid-registrar mode are you using? (0, 1 or 2) One thought I had: Should mid_registrar_lookup() always return 2 for a device that has Flags = 4? If your SIP user only has a