Re: [OpenSIPS-Users] registrant example

2024-10-04 Thread Alberto
I feel my original question has gone completely off topic. If I can bring everyone back on the registrant module I have another thing to ask. I understand I have to do ip authentication when receiving a call from the server I register to. BUT, I register to an FQDN, so I don't have a static ip add

Re: [OpenSIPS-Users] registrant example

2024-10-01 Thread Răzvan Crainea
What docker tag are you using for the docker container? I see that you are using a preprocessor - can you send us the commands you are using to start opensips? Best regards, Răzvan On 9/28/24 6:55 PM, Stefano Pisani wrote: Hello. I have a strange problem. I'm using docker official image. It

Re: [OpenSIPS-Users] registrant example

2024-09-28 Thread Stefano Pisani
Hello. I have a strange problem. I'm using docker official image. It seems unable to load the configuration file for some reason. opensips  | Sep 28 15:44:28 [1] WARNING:core:exec_preprocessor: no output from the preprocessor! Does it print to standard output? opensips  | Sep 28 15:44:28 [1]

Re: [OpenSIPS-Users] registrant example

2024-09-27 Thread Alexey
Hi Bogdan, sure. My previous message was mostly intended to explain - what username will contain the request-uri line of the incoming INVITE, and how to catch such an invite in the script. It was not about authentication. Speaking about authentication I totally agree with your advice about Permi

Re: [OpenSIPS-Users] registrant example

2024-09-27 Thread Bogdan-Andrei Iancu
Authentication based on the content of the SIP message is weak, pron to easy attacks. Anyone can easily send you a call with "alice@1.2.3.4" :P. Without a proper auth method (like digest or IP-auth), it totally unreliable. Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer https:/

Re: [OpenSIPS-Users] registrant example

2024-09-27 Thread Alexey
Hi all, I would also like to mention the correlation between OpenSIPS configuration parameters and SIP headers in the SIP-registration process: according to the SIP protocol implementation, you are able to form the username in the Contact: header of your outgoing REGISTER-requests. In OpenSIPS yo

Re: [OpenSIPS-Users] registrant example

2024-09-26 Thread Bogdan-Andrei Iancu
Hi Alberto, There is no automatic way to do the inbound detection (via the registrar module). What you can do is to use the permissions module, with the address table as a view over the registrant table, so you do the inbound IP auth. Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Devel

Re: [OpenSIPS-Users] registrant example

2024-09-25 Thread Alberto
Thanks, So, for n1, after ip auth I can validate the contact matches one of the contacts used to register, but there's no function to do that automatically. So in the case where opensips is keeping 2 registrations up to the same server, it's up to me to validate which one was used. n2, thanks aga

Re: [OpenSIPS-Users] registrant example

2024-09-22 Thread Bogdan-Andrei Iancu
Hi, 1) The Registrant OpenSIPS should do an IP auth for the Remote SIP provider. OpenSIPS knows the server it registered with, so it should be able to do IP auth 2) there is notthing standard about loading the credentials, you can do it in any way that works for you, like having them hard co

[OpenSIPS-Users] registrant example

2024-09-21 Thread Alberto
Hi, I'm trying to put together a simple script to use uac_registrant So I have: LEFT SIP SERVERS <-[ip authentication]-> OPENSIPS <-[uac_registrant]-> REMOTE SIP PROVIDER Here's the 2 problems I still have: I have the users for the remote sip provider in the registrant table, and opensips is alre

Re: [OpenSIPS-Users] registrant.

2022-08-29 Thread Alexey Kazantsev via Users
Hi Johan, sure I can   maybe you were confused because the ‘ @ ‘ symbol had been substituted in e-mail by ‘at’ word   I’ll try to post SQL insert once again, let’s have a look what will happen   INSERT INTO registrant (registrar, aor, username, password, binding_URI, expiry) VALUES (‘sip:11.11.1

Re: [OpenSIPS-Users] registrant.

2022-08-26 Thread johan
Alexey, can you please resend your previous e mail ? wkr, On 24/08/2022 18:41, johan wrote: > Is there somebody who has a db extract on how to fill in a record in > registrar ? > > > wkr, > ___ Users mailing list Users@lists.opensips.org http://lists.

Re: [OpenSIPS-Users] registrant.

2022-08-26 Thread Alexey Kazantsev via Users
Hi Johan ,   your SQL insert will look like this:   INSERT INTO registrant (registrar, aor, username, password, binding_URI, expiry) VALUES (‘sip:11.11.11.11’, ’sip:79993332...@voip-isp.com’,  ’79993332211’, ’PaSsWoRd’, ‘sip:79993332211@22.22.22.22’, 300);   where: - 11.11.11.11 is VoIP ISP IP ad

Re: [OpenSIPS-Users] registrant.

2022-08-24 Thread Bogdan-Andrei Iancu
Hi Johan, Take a look at https://www.opensips.org/Documentation/Install-DBSchema-3-2#AEN9219, it will definitely help you here. Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developer https://www.opensips-solutions.com OpenSIPS Summit 27-30 Sept 2022, Athens https://www.opensips.org

[OpenSIPS-Users] registrant.

2022-08-24 Thread johan
Is there somebody who has a db extract on how to fill in a record in registrar ? wkr, ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Re: [OpenSIPS-Users] registrant table

2016-03-16 Thread Francjos
Tkank you very much to make me understand the difference. So, given these parameters: Username: Password: yyy Authorisation username: zzz My telefon number : a Domain/registar: sip3.ovh.fr I can fill the registrtant table's columns as follows: registar_column : sip3.o

Re: [OpenSIPS-Users] registrant table

2016-03-16 Thread Aqs Younas
I think both commands do completely opposite things. The first one is used when opensips is needed to register with provider before sending call to it and later one when UA needs to register with opensips before sending calls to opensips. On 16 March 2016 at 14:44, Francjos <35...@heb.be> wrote:

Re: [OpenSIPS-Users] registrant table

2016-03-16 Thread Francjos
Okey. And i have an other questrion: I have connexion parameters provides by provider: Username: Password: yyy Authorisation username: zzz My telefon number : a Domain/registar: sip3.ovh.fr 1) when i create entry in the registrant table, may i going tu use these parameter

Re: [OpenSIPS-Users] registrant table

2016-03-15 Thread Ovidiu Sas
The registrant table is used to store SIP accounts that opensips will use to register on a remote server. The registrant table fields should be configured in the same way as a SIP user agent would be configured to register to the same remote server. Regards, Ovidiu Sas On Tue, Mar 15, 2016 at 1

[OpenSIPS-Users] registrant table

2016-03-15 Thread Francjos
Hello, I've loaded the uac_auth and the uac_registrant modules .But i dont see what is the relationship between the registrant table and my database. How can i do to create entry in the registrant table? is the entry the same as one in the database? What is the difference between an opensips user

Re: [OpenSIPS-Users] Registrant module

2011-06-29 Thread Ovidiu Sas
s > > -Original Message- > From: users-boun...@lists.opensips.org > [mailto:users-boun...@lists.opensips.org] On Behalf Of Ovidiu Sas > Sent: 29 June 2011 16:40 > To: OpenSIPS users mailling list > Subject: Re: [OpenSIPS-Users] Registrant module > > Please updat

Re: [OpenSIPS-Users] Registrant module

2011-06-29 Thread Chris Martineau
Behalf Of Ovidiu Sas Sent: 29 June 2011 16:40 To: OpenSIPS users mailling list Subject: Re: [OpenSIPS-Users] Registrant module Please update from svn (this is a recent change). There is a new uac_auth module (documentation for it it will come soon) The uac_auth module is providing the

Re: [OpenSIPS-Users] Registrant module

2011-06-29 Thread Ovidiu Sas
to:users-boun...@lists.opensips.org] On Behalf Of Ovidiu Sas > Sent: 29 June 2011 15:41 > To: OpenSIPS users mailling list > Subject: Re: [OpenSIPS-Users] Registrant module > > Do you have any logs?  It should not drop to state 6 unless you get a > rejection from server. > &g

Re: [OpenSIPS-Users] Registrant module

2011-06-29 Thread Chris Martineau
-boun...@lists.opensips.org [mailto:users-boun...@lists.opensips.org] On Behalf Of Ovidiu Sas Sent: 29 June 2011 15:41 To: OpenSIPS users mailling list Subject: Re: [OpenSIPS-Users] Registrant module Do you have any logs? It should not drop to state 6 unless you get a rejection from server. Regards, Ovidiu Sas O

Re: [OpenSIPS-Users] Registrant module

2011-06-29 Thread Ovidiu Sas
ailto:users-boun...@lists.opensips.org] On Behalf Of Ovidiu Sas > Sent: 28 June 2011 13:15 > To: OpenSIPS users mailling list > Subject: Re: [OpenSIPS-Users] Registrant module > > For uac invite-auth you can use avps - see: > http://www.opensips.org/html/docs/modules/devel/uac.h

Re: [OpenSIPS-Users] Registrant module

2011-06-29 Thread Chris Martineau
-Original Message- From: users-boun...@lists.opensips.org [mailto:users-boun...@lists.opensips.org] On Behalf Of Ovidiu Sas Sent: 28 June 2011 13:15 To: OpenSIPS users mailling list Subject: Re: [OpenSIPS-Users] Registrant module For uac invite-auth you can use avps - see: http://www.opensips.org/html

Re: [OpenSIPS-Users] Registrant module

2011-06-28 Thread Ovidiu Sas
s.org] On Behalf Of Ovidiu Sas > Sent: 27 June 2011 16:06 > To: OpenSIPS users mailling list > Subject: Re: [OpenSIPS-Users] Registrant module > > If an account reaches state 6 (incorrect credentials) no REGISTER > requests will be generated for that account. > The credentials for

Re: [OpenSIPS-Users] Registrant module

2011-06-28 Thread Chris Martineau
: users-boun...@lists.opensips.org [mailto:users-boun...@lists.opensips.org] On Behalf Of Ovidiu Sas Sent: 27 June 2011 16:06 To: OpenSIPS users mailling list Subject: Re: [OpenSIPS-Users] Registrant module If an account reaches state 6 (incorrect credentials) no REGISTER requests will be generated for

Re: [OpenSIPS-Users] Registrant module

2011-06-27 Thread Ovidiu Sas
r without > restarting the system? > > Regards > > Chris > > -Original Message- > From: users-boun...@lists.opensips.org > [mailto:users-boun...@lists.opensips.org] On Behalf Of Ovidiu Sas > Sent: 27 June 2011 13:14 > To: OpenSIPS users mailling list > Sub

Re: [OpenSIPS-Users] Registrant module

2011-06-27 Thread Chris Martineau
Chris -Original Message- From: users-boun...@lists.opensips.org [mailto:users-boun...@lists.opensips.org] On Behalf Of Ovidiu Sas Sent: 27 June 2011 13:14 To: OpenSIPS users mailling list Subject: Re: [OpenSIPS-Users] Registrant module Have you read the README file? http://www.opensips.org

Re: [OpenSIPS-Users] Registrant module

2011-06-27 Thread Chris Martineau
Thanks... -Original Message- From: users-boun...@lists.opensips.org [mailto:users-boun...@lists.opensips.org] On Behalf Of Ovidiu Sas Sent: 27 June 2011 13:14 To: OpenSIPS users mailling list Subject: Re: [OpenSIPS-Users] Registrant module Have you read the README file? http

Re: [OpenSIPS-Users] Registrant module

2011-06-27 Thread Ovidiu Sas
Have you read the README file? http://www.opensips.org/html/docs/modules/devel/registrant.html#id248659 http://www.opensips.org/html/docs/modules/devel/registrant.html#id249123 If something is not working as documented or the documentation is incomplete, please let me know. Regards, Ovidiu Sas

[OpenSIPS-Users] Registrant module

2011-06-27 Thread Chris Martineau
Hi, What triggers the registrant module to begin registering? I have a config on a test server which seemed to trigger the registration within about 30 seconds of starting opensips. I have moved the exact same config file over to another server with a high load on it to do some load testing

Re: [OpenSIPS-Users] Registrant module invite auth

2011-06-20 Thread Chris Martineau
10:13 To: users@lists.opensips.org Subject: Re: [OpenSIPS-Users] Registrant module invite auth Hi Chris, You will only need to call rtpproxy_offer() for the authenticated INVITE and register the onreply route that calls rtpproxy_answer() only for these INVITEs. Regards, Razvan Crainea OpenSIPS

Re: [OpenSIPS-Users] Registrant module invite auth

2011-06-20 Thread Razvan Crainea
Crainea Sent: 20 June 2011 08:39 To: users@lists.opensips.org Subject: Re: [OpenSIPS-Users] Registrant module invite auth Hi Chris, Please make sure that on your reply route "x" you call rtpproxy_answer() method. Regards, Razvan Crainea OpenSIPS Developer On 17.06.2011 20:18, Chris

Re: [OpenSIPS-Users] Registrant module invite auth

2011-06-20 Thread Chris Martineau
...@lists.opensips.org] On Behalf Of Razvan Crainea Sent: 20 June 2011 08:39 To: users@lists.opensips.org Subject: Re: [OpenSIPS-Users] Registrant module invite auth Hi Chris, Please make sure that on your reply route "x" you call rtpproxy_answer() method. Regards, Razvan Crainea OpenSIPS Deve

Re: [OpenSIPS-Users] Registrant module invite auth

2011-06-20 Thread Razvan Crainea
Sent: 17 June 2011 14:42 To: OpenSIPS users mailling list Subject: Re: [OpenSIPS-Users] Registrant module invite auth The credential params must have the realm, not the domain. If the realm is the same as your domain than you should be fine. The script looks ok, make sure that you are going throu

Re: [OpenSIPS-Users] Registrant module invite auth

2011-06-17 Thread Chris Martineau
rom: users-boun...@lists.opensips.org [mailto:users-boun...@lists.opensips.org] On Behalf Of Ovidiu Sas Sent: 17 June 2011 14:42 To: OpenSIPS users mailling list Subject: Re: [OpenSIPS-Users] Registrant module invite auth The credential params must have the realm, not the domain. If the realm is t

Re: [OpenSIPS-Users] Registrant module invite auth

2011-06-17 Thread Chris Martineau
ehalf Of Ovidiu Sas Sent: 17 June 2011 14:42 To: OpenSIPS users mailling list Subject: Re: [OpenSIPS-Users] Registrant module invite auth The credential params must have the realm, not the domain. If the realm is the same as your domain than you should be fine. The script looks ok, make sure tha

Re: [OpenSIPS-Users] Registrant module invite auth

2011-06-17 Thread Ovidiu Sas
cess correct? > > Many thanks > > > Regards > > Chris > > -Original Message- > From: users-boun...@lists.opensips.org > [mailto:users-boun...@lists.opensips.org] On Behalf Of Ovidiu Sas > Sent: 16 June 2011 17:45 > To: OpenSIPS users mailling list >

Re: [OpenSIPS-Users] Registrant module invite auth

2011-06-17 Thread Chris Martineau
ensips.org] On Behalf Of Ovidiu Sas Sent: 16 June 2011 17:45 To: OpenSIPS users mailling list Subject: Re: [OpenSIPS-Users] Registrant module invite auth Use the uac module to authenticate INVITEs: http://www.opensips.org/html/docs/modules/devel/uac.html#id292889 Because the CSeq will be the same, t

Re: [OpenSIPS-Users] Registrant module invite auth

2011-06-16 Thread Ovidiu Sas
Use the uac module to authenticate INVITEs: http://www.opensips.org/html/docs/modules/devel/uac.html#id292889 Because the CSeq will be the same, the end point may or may not like it. Your mileage may vary. Regards, Ovidiu Sas On Thu, Jun 16, 2011 at 12:37 PM, Chris Martineau wrote: > Hi, > > R

[OpenSIPS-Users] Registrant module invite auth

2011-06-16 Thread Chris Martineau
Hi, Registrant module working however the destination is also requiring authentication on invites is this possible? Regards Chris -Original Message- From: users-boun...@lists.opensips.org [mailto:users-boun...@lists.opensips.org] On Behalf Of Chris Martineau Sent: 16 June 2011 14:56 T