Re: [OpenSIPS-Users] [FEATURE] Trace packets to file or syslog using OpenSIPS 3.2

2021-07-07 Thread Giovanni Maruzzelli
Feature request opened: https://github.com/OpenSIPS/opensips/issues/2565 Thanks a lot!! On Wed, Jul 7, 2021 at 1:40 PM Răzvan Crainea wrote: > I obviously didn't think of sending to pcap - mind if you open a PR? > I'll make sure it will get to 3.3! > > Best regards, > > Răzvan Crainea > Ope

Re: [OpenSIPS-Users] [FEATURE] Trace packets to file or syslog using OpenSIPS 3.2

2021-07-07 Thread Răzvan Crainea
I obviously didn't think of sending to pcap - mind if you open a PR? I'll make sure it will get to 3.3! Best regards, Răzvan Crainea OpenSIPS Core Developer http://www.opensips-solutions.com On 7/7/21 1:12 PM, Johan De Clercq wrote: I agree fully with Giovanni On Wed, Jul 7, 2021, 12:02 Giov

Re: [OpenSIPS-Users] [FEATURE] Trace packets to file or syslog using OpenSIPS 3.2

2021-07-07 Thread Johan De Clercq
I agree fully with Giovanni On Wed, Jul 7, 2021, 12:02 Giovanni Maruzzelli wrote: > On Wed, Jul 7, 2021 at 11:31 AM Răzvan Crainea > wrote: > >> Hi, All! >> >> Starting with OpenSIPS 3.2 you can have all the information captured by >> the tracer module written to a local file. Moreover, you can

Re: [OpenSIPS-Users] [FEATURE] Trace packets to file or syslog using OpenSIPS 3.2

2021-07-07 Thread Giovanni Maruzzelli
On Wed, Jul 7, 2021 at 11:31 AM Răzvan Crainea wrote: > Hi, All! > > Starting with OpenSIPS 3.2 you can have all the information captured by > the tracer module written to a local file. Moreover, you can also log > all the traced information to a syslog facility, and from there, store > it to a f

[OpenSIPS-Users] [FEATURE] Trace packets to file or syslog using OpenSIPS 3.2

2021-07-07 Thread Răzvan Crainea
Hi, All! Starting with OpenSIPS 3.2 you can have all the information captured by the tracer module written to a local file. Moreover, you can also log all the traced information to a syslog facility, and from there, store it to a file, or even send it remotely using the syslog parameters. All

Re: [OpenSIPS-Users] Call-ID changing on re-registration

2021-07-07 Thread Schneur Rosenberg
I know about the expire, I just want to ignore them because I only care when new devices register, I've tried the contact issue but it didn't help, both phones came in with the same contact. On Wed, Jul 7, 2021, 11:31 Alexey Kazantsev via Users < users@lists.opensips.org> wrote: > Hello, > > mayb

Re: [OpenSIPS-Users] Call-ID changing on re-registration

2021-07-07 Thread Alexey Kazantsev via Users
Hello,   maybe the second parameter (‘contact’) of the ‘is_contact_registered’ function [1] could be useful? And speaking about Expires: 0 — according to SIP RFC [2] it’s absolutely normal, it means tat a device disables its registration, this is done either by sending Expires: 0 SIP header, or

[OpenSIPS-Users] Header difference between "if(is_method("INVITE"))" vs "if(!is_method("INVITE"))"

2021-07-07 Thread HS
Hi all, I had setup an Opensips (3.0) instance (as Registrar) on an Amazon EC2 instance and freeswitch (media server) on another instance. I had tested it thoroughly and it seems to work great on the following code (Opensips.cfg): if (!is_method("INVITE")) { return; } # if the called number begin