Re: [OpenSIPS-Users] Thanks for the great online event!

2020-09-15 Thread Sharad Kumar via Users
Thank you guys for hosting distributed summit this year. Kudos to Max 
for taking care of video streaming.



___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


[OpenSIPS-Users] Thanks for the great online event!

2020-09-15 Thread Maxim Sobolev
Hey folks, just wanted my gratitude to everyone who made OpenSIPS
Distributed Summit 2020 such a great event! Org team, presenters, viewers:
without any of you it won't be possible!! I look forward to seeing you all
in person eventually, but also I hope we now be able to continue doing this
more often in an online format of one form or another as well.

-Max
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


[OpenSIPS-Users] UAC_REGISTRANT module supports WSS ?

2020-09-15 Thread sagar malam
Hello ,

I want to use UAC REGISTRANT module to register with remote registrar. Does
it support it ?
https://opensips.org/html/docs/modules/2.3.x/uac_registrant.html

-- 
Thanks,

Sagar
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] Need to configure CIDR range on dr_gateways table .

2020-09-15 Thread Sasmita Panda
Hi Bogdan-Andrei ,

While adding ip:port in dr_gateways table , If I am not adding port , it's
not giving any error but it's expecting default port 5060. If the port is
different than 5060 it won't be considered as a gateway.  So when I am
comparing is_from_gw() it fails.

Is this possible to allow all ports for a single IP ?

On Wed, Jun 24, 2020, 18:17 Bogdan-Andrei Iancu  wrote:

> Hi Sasmita,
>
> No, only one IP addr or FQDN.
>
> Best regards,
>
> Bogdan-Andrei Iancu
>
> OpenSIPS Founder and Developer
>   https://www.opensips-solutions.com
>
> On 6/24/20 1:52 PM, Sasmita Panda wrote:
>
> Hi All ,
>
> In dr_gateways table in address column can I configure an IP range . like
> CIDR address . The schema says " GW/destination address as name/IP[:port]
> " .
>
>
> How I will add CIDR address ? Is this possible or not ?
>
> *Thanks & Regards*
> *Sasmita Panda*
> *Senior Network Testing and Software Engineer*
> *3CLogic , ph:07827611765*
>
> ___
> Users mailing 
> listUsers@lists.opensips.orghttp://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
>
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


[OpenSIPS-Users] Opensips on Amazon EC2

2020-09-15 Thread HS
Hi all.

First time poster here, so apologies if something is incorrect. I am trying
to setup a small production SIP server. I have read quite a bit but just
want to be sure that I have done everything correctly. I followed the
following guide:

http://www.powerpbx.org/content/opensips-v30-debian-v10-mariadb-apache-v1

I can make and receive calls, everything is working correctly. I have
deployed on Amazon EC2, thinking I need to do the following for voice calls
only:

1. Setup TURN/STUN server (or not needed any more)
2. TLS Certificates.
3. fail2ban.
4. Db replication.
5. Setup IPtables.
6. Do I need an RTP Proxy yet?

Thanks for the help.
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] Flatstore files missing some calls

2020-09-15 Thread Vic Jolin
Yes that is the order we process the flatstore file

On Thu, Aug 27, 2020, 4:55 PM Răzvan Crainea,  wrote:

> Then you should make sure that you execute the rotation in the following
> order:
>
> 1. move the file
> 2. run the rotate command
> 3. process the CDR file
>
> Best regards,
>
> Răzvan Crainea
> OpenSIPS Core Developer
> http://www.opensips-solutions.com
>
> On 8/27/20 11:21 AM, Vic Jolin wrote:
> > Yes we rotate it via cron. And each process creates a different
> > flatstore file.
> >
> > Is it relative to traffic and number of processes running?
> >
> > On Thu, Aug 27, 2020 at 4:13 PM Răzvan Crainea  > > wrote:
> >
> > Are you rotating those files or something? Perhaps you're loosing
> some
> > CDRs during the rotation process.
> > Are you dumping all CDRs in a single file, or each process has its
> > own file?
> >
> > Best regards,
> >
> > Răzvan Crainea
> > OpenSIPS Core Developer
> > http://www.opensips-solutions.com
> >
> > On 8/27/20 11:01 AM, Vic Jolin wrote:
> >  > Hi Razvan,
> >  >
> >  > CDRs are generated, but there are missing entries in cdrs,
> > meaning when
> >  > we see CDRs from our providers we see calls, but we do not see
> > them even
> >  > in the flatstore file logs
> >  >
> >  > On Thu, Aug 27, 2020 at 3:45 PM Răzvan Crainea
> > mailto:raz...@opensips.org>
> >  > >> wrote:
> >  >
> >  > Hi, Vic!
> >  >
> >  > It is not clear in your report whether there are no CDR files
> >  > generated,
> >  > or you're just missing some of them. Could you please clarify?
> >  >
> >  > Best regards,
> >  >
> >  > Răzvan Crainea
> >  > OpenSIPS Core Developer
> >  > http://www.opensips-solutions.com
> >  >
> >  > On 8/7/20 9:50 AM, Vic Jolin wrote:
> >  >  > I still need to clarify why this is happening. We are
> missing
> >  > calls in cdrs
> >  >  >
> >  >  > On Fri, Aug 7, 2020, 2:30 AM Stas Kobzar,
> > mailto:staskob...@gmail.com>
> >  > >
> >  >  > 
> >  >  >  >
> >  >  > Sorry, Vic
> >  >  > I was talking about a different module "db_text". I
> > just did
> >  > not get
> >  >  > the subject right.
> >  >  > I do not know about flatstore, sorry.
> >  >  >
> >  >  > However, you can still check your permissions for
> > "/var/log/acc".
> >  >  > Or, jist temporary use "/tmp" path to make sure this
> > is not a
> >  >  > permission problem.
> >  >  >
> >  >  > On Thu, Aug 6, 2020 at 2:14 PM Vic Jolin
> > mailto:adjo...@gmail.com>
> >  > >
> >  >  > 
> >  >  >  >
> >  >  > Staz,
> >  >  >
> >  >  > Hi thanks for the reply, I forgot I think to
> mention
> >  > about my config
> >  >  >
> >  >  > loadmodule "db_flatstore.so"
> >  >  > modparam("db_flatstore", "flush", 1)
> >  >  > modparam("db_flatstore", "suffix", ".log_SERVERIP")
> >  >  >
> >  >  > loadmodule "acc.so"
> >  >  > /* what special events should be accounted ? */
> >  >  > modparam("acc", "early_media", 1)
> >  >  > modparam("acc", "report_cancels", 1)
> >  >  > /* by default we do not adjust the direct of the
> > sequential
> >  >  > requests.
> >  >  > if you enable this parameter, be sure the
> enable
> >  >  > "append_fromtag"
> >  >  > in "rr" module */
> >  >  > modparam("acc", "detect_direction", 0)
> >  >  > modparam("acc", "extra_fields", "db:
> > callerid->callerid;
> >  >  > ani->ani; prefix->prefix; src_ip->src_ip;
> > dst_ip->dst_ip;
> >  >  > acctid->acctid; carrierid->carrierid;
> ruleid->ruleid;
> >  > lrn->lrn;
> >  >  > orig_ani->orig_ani")
> >  >  > #modparam("acc", "extra_fields", "db:
> > callerid->callerid;
> >  >  > ani->ani; prefix->prefix; src_ip->src_ip;
> > dst_ip->dst_ip;
> >  >  > acctid->acctid; carrierid->carrierid;
> > ruleid->ruleid;")
> >  >  > modparam("acc", "db_url", "flatstore:/var/log/acc")
> >  >  >
> >  >  > 

Re: [OpenSIPS-Users] Flatstore files missing some calls

2020-09-15 Thread Vic Jolin
Just another question with regards to this, how often should we move and
rotate the flatstore files?

On Thu, Aug 27, 2020 at 4:55 PM Răzvan Crainea  wrote:

> Then you should make sure that you execute the rotation in the following
> order:
>
> 1. move the file
> 2. run the rotate command
> 3. process the CDR file
>
> Best regards,
>
> Răzvan Crainea
> OpenSIPS Core Developer
> http://www.opensips-solutions.com
>
> On 8/27/20 11:21 AM, Vic Jolin wrote:
> > Yes we rotate it via cron. And each process creates a different
> > flatstore file.
> >
> > Is it relative to traffic and number of processes running?
> >
> > On Thu, Aug 27, 2020 at 4:13 PM Răzvan Crainea  > > wrote:
> >
> > Are you rotating those files or something? Perhaps you're loosing
> some
> > CDRs during the rotation process.
> > Are you dumping all CDRs in a single file, or each process has its
> > own file?
> >
> > Best regards,
> >
> > Răzvan Crainea
> > OpenSIPS Core Developer
> > http://www.opensips-solutions.com
> >
> > On 8/27/20 11:01 AM, Vic Jolin wrote:
> >  > Hi Razvan,
> >  >
> >  > CDRs are generated, but there are missing entries in cdrs,
> > meaning when
> >  > we see CDRs from our providers we see calls, but we do not see
> > them even
> >  > in the flatstore file logs
> >  >
> >  > On Thu, Aug 27, 2020 at 3:45 PM Răzvan Crainea
> > mailto:raz...@opensips.org>
> >  > >> wrote:
> >  >
> >  > Hi, Vic!
> >  >
> >  > It is not clear in your report whether there are no CDR files
> >  > generated,
> >  > or you're just missing some of them. Could you please clarify?
> >  >
> >  > Best regards,
> >  >
> >  > Răzvan Crainea
> >  > OpenSIPS Core Developer
> >  > http://www.opensips-solutions.com
> >  >
> >  > On 8/7/20 9:50 AM, Vic Jolin wrote:
> >  >  > I still need to clarify why this is happening. We are
> missing
> >  > calls in cdrs
> >  >  >
> >  >  > On Fri, Aug 7, 2020, 2:30 AM Stas Kobzar,
> > mailto:staskob...@gmail.com>
> >  > >
> >  >  > 
> >  >  >  >
> >  >  > Sorry, Vic
> >  >  > I was talking about a different module "db_text". I
> > just did
> >  > not get
> >  >  > the subject right.
> >  >  > I do not know about flatstore, sorry.
> >  >  >
> >  >  > However, you can still check your permissions for
> > "/var/log/acc".
> >  >  > Or, jist temporary use "/tmp" path to make sure this
> > is not a
> >  >  > permission problem.
> >  >  >
> >  >  > On Thu, Aug 6, 2020 at 2:14 PM Vic Jolin
> > mailto:adjo...@gmail.com>
> >  > >
> >  >  > 
> >  >  >  >
> >  >  > Staz,
> >  >  >
> >  >  > Hi thanks for the reply, I forgot I think to
> mention
> >  > about my config
> >  >  >
> >  >  > loadmodule "db_flatstore.so"
> >  >  > modparam("db_flatstore", "flush", 1)
> >  >  > modparam("db_flatstore", "suffix", ".log_SERVERIP")
> >  >  >
> >  >  > loadmodule "acc.so"
> >  >  > /* what special events should be accounted ? */
> >  >  > modparam("acc", "early_media", 1)
> >  >  > modparam("acc", "report_cancels", 1)
> >  >  > /* by default we do not adjust the direct of the
> > sequential
> >  >  > requests.
> >  >  > if you enable this parameter, be sure the
> enable
> >  >  > "append_fromtag"
> >  >  > in "rr" module */
> >  >  > modparam("acc", "detect_direction", 0)
> >  >  > modparam("acc", "extra_fields", "db:
> > callerid->callerid;
> >  >  > ani->ani; prefix->prefix; src_ip->src_ip;
> > dst_ip->dst_ip;
> >  >  > acctid->acctid; carrierid->carrierid;
> ruleid->ruleid;
> >  > lrn->lrn;
> >  >  > orig_ani->orig_ani")
> >  >  > #modparam("acc", "extra_fields", "db:
> > callerid->callerid;
> >  >  > ani->ani; prefix->prefix; src_ip->src_ip;
> > dst_ip->dst_ip;
> >  >  > acctid->acctid; carrierid->carrierid;
> > ruleid->ruleid;")
> >  >  > modparam("acc", "db_url", "flatstore:/var/log/