Re: [OpenSIPS-Users] OpenSIPS installation with PostgresSQL

2020-04-21 Thread Bogdan-Andrei Iancu

Hi,

and I assume you also locally compiled the postgres module, right ?

If you do in the directory with the opensips sources:

(cd modules/db_postgres ; make proper) ; make modules 
module=modules/db_postgres


could you post the output here ?

Regards,

Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
  https://www.opensips-solutions.com

On 4/20/20 7:24 PM, Nayani Nikeshala wrote:

Hello,

OpenSIPS was compiled by me and I followed the OpenSIPS Installation 
Webinar 
 tutorial. 



Thanks!

On Monday, April 20, 2020, 08:04:10 PM GMT+5:30, Bogdan-Andrei Iancu 
 wrote:



Hi,

Is OpenSIPS compiled by you or installed from packages (if yes, what 
is the repo url)?


Regards,
Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
   https://www.opensips-solutions.com

On 4/19/20 11:50 PM, Nayani Nikeshala via Users wrote:
Hello,

I'm trying to install opensips-2.4.7 with psql -8.4.20 on a Centos-6 
platform. I can connect to psql DB as below.


[root@SIPserver ~]# psql -h localhost -U opensips -d opensips
psql (8.4.20)
Type "help" for help.

opensips=>

When I try to start OpenSIP as below, it gives me the following error.

[root@SIPserver ~]# opensipsctl start

INFO: Starting OpenSIPS :

ERROR: PID file /var/run/opensips.pid does not exist -- OpenSIPS start 
failed

[root@SIPserver ~]#


/var/log/opensips.log shows the below error.

Apr 20 01:31:20 SIPserver opensips: ERROR:core:sr_load_module: could 
not open module : 
/usr/local//lib/opensips/modules/db_postgres.so: undefined symbol: 
PQconnectdbParams
Apr 20 01:31:20 SIPserver opensips: ERROR:core:load_module: failed to 
load module
Apr 20 01:31:20 SIPserver opensips: CRITICAL:core:yyerror: parse error 
in config file /usr/local//etc/opensips/opensips.cfg, line 89, column 
13-14: failed to load module db_postgres.so#012


I noted that PQconnectdbParams is available from psql-9 onwards and 
could not figure out, what does this error mean.


Could someone assist me please.

Thanks!

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



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


Re: [OpenSIPS-Users] Tls using t_relay

2020-04-21 Thread Bogdan-Andrei Iancu

Hi Tito,

Well, from OpenSIPS perceptive it is a "Connection refused", so the 
destination is rejecting the connect.


Regards,

Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
  https://www.opensips-solutions.com

On 4/20/20 11:49 PM, Tito Cumpen wrote:

Yes,

It closes the socket right after the syn+ack. I can provide the trace 
if necessary.Here is an output of the logs


Apr 20 20:41:53 sip1 /sbin/opensips[5106]: 
ERROR:proto_tls:proto_tls_send: connect failed
Apr 20 20:41:53 sip1 /sbin/opensips[5106]: ERROR:tm:msg_send: send() 
to 192.xx.xx.xxx:5081 for proto tls/3 failed
Apr 20 20:41:53 sip1 /sbin/opensips[5106]: ERROR:tm:t_forward_nonack: 
sending request failed
Apr 20 20:41:53 sip1 /sbin/opensips[5106]: 
WARNING:rabbitmq:amqp_check_status: [ID1] socket error: Connection 
reset by peer(104)
Apr 20 20:41:53 sip1 /sbin/opensips[5106]: ERROR:rabbitmq:rmq_error: 
closing channel: a socket error occurred
Apr 20 20:41:53 sip1 /sbin/opensips[5106]: ERROR:rabbitmq:rmq_error: 
closing connection: a socket error occurred

Apr 20 20:41:53 sip1 /sbin/opensips[5106]: should be removing pw
Apr 20 20:41:53 sip1 /sbin/opensips[5106]: new branch at 
sip:support.t...@test.org  within 
logic per branch route
Apr 20 20:41:53 sip1 /sbin/opensips[5106]: 
ERROR:core:tcp_connect_blocking_timeout: poll error: flags 28 - 4 8 16 32
Apr 20 20:41:53 sip1 /sbin/opensips[5106]: 
ERROR:core:tcp_connect_blocking_timeout: failed to retrieve SO_ERROR 
[server=127.0.0.1:443 ] (111) Connection refused
Apr 20 20:41:53 sip1 /sbin/opensips[5106]: 
ERROR:proto_tls:tls_sync_connect: tcp_blocking_connect failed
Apr 20 20:41:53 sip1 /sbin/opensips[5106]: 
ERROR:proto_tls:proto_tls_send: connect failed
Apr 20 20:41:53 sip1 /sbin/opensips[5106]: ERROR:tm:msg_send: send() 
to 127.0.0.1:443  for proto tls/3 failed
Apr 20 20:41:53 sip1 /sbin/opensips[5106]: ERROR:tm:t_forward_nonack: 
sending request failed
Apr 20 20:41:53 sip1 /sbin/opensips[5106]: 
ERROR:core:tcp_connect_blocking_timeout: poll error: flags 28 - 4 8 16 32
Apr 20 20:41:53 sip1 /sbin/opensips[5106]: 
ERROR:core:tcp_connect_blocking_timeout: failed to retrieve SO_ERROR 
[server=127.0.0.1:443 ] (111) Connection refused
Apr 20 20:41:53 sip1 /sbin/opensips[5106]: 
ERROR:proto_tls:tls_sync_connect: tcp_blocking_connect failed
Apr 20 20:41:53 sip1 /sbin/opensips[5106]: 
ERROR:proto_tls:proto_tls_send: connect failed
Apr 20 20:41:53 sip1 /sbin/opensips[5106]: ERROR:tm:msg_send: send() 
to 127.0.0.1:443  for proto tls/3 failed
Apr 20 20:41:53 sip1 /sbin/opensips[5106]: ERROR:tm:t_forward_nonack: 
sending request failed
Apr 20 20:41:53 sip1 /sbin/opensips[5106]: 
ERROR:core:tcpconn_async_connect: poll error: flags 1c
Apr 20 20:41:53 sip1 /sbin/opensips[5106]: 
ERROR:core:tcpconn_async_connect: failed to retrieve SO_ERROR 
[server=127.0.0.1:5060 ] (111) Connection refused
Apr 20 20:41:53 sip1 /sbin/opensips[5106]: ERROR:core:proto_tcp_send: 
async TCP connect failed
Apr 20 20:41:53 sip1 /sbin/opensips[5106]: ERROR:tm:msg_send: send() 
to 127.0.0.1:5060  for proto tcp/2 failed
Apr 20 20:41:53 sip1 /sbin/opensips[5106]: ERROR:tm:t_forward_nonack: 
sending request failed
Apr 20 20:41:53 sip1 /sbin/opensips[5106]: 
ERROR:core:tcpconn_async_connect: poll error: flags 1c
Apr 20 20:41:53 sip1 /sbin/opensips[5106]: 
ERROR:core:tcpconn_async_connect: failed to retrieve SO_ERROR 
[server=127.0.0.1:5060 ] (111) Connection refused
Apr 20 20:41:53 sip1 /sbin/opensips[5106]: ERROR:core:proto_tcp_send: 
async TCP connect failed
Apr 20 20:41:53 sip1 /sbin/opensips[5106]: ERROR:tm:msg_send: send() 
to 127.0.0.1:5060  for proto tcp/2 failed
Apr 20 20:41:53 sip1 /sbin/opensips[5106]: ERROR:tm:t_forward_nonack: 
sending request failed
Apr 20 20:41:53 sip1 /sbin/opensips[5106]: 
ERROR:core:tcpconn_async_connect: poll error: flags 1c
Apr 20 20:41:53 sip1 /sbin/opensips[5106]: 
ERROR:core:tcpconn_async_connect: failed to retrieve SO_ERROR 
[server=127.0.0.1:5223 ] (111) Connection refused
Apr 20 20:41:53 sip1 /sbin/opensips[5106]: ERROR:core:proto_tcp_send: 
async TCP connect failed
Apr 20 20:41:53 sip1 /sbin/opensips[5106]: ERROR:tm:msg_send: send() 
to 127.0.0.1:5223  for proto tcp/2 failed
Apr 20 20:41:53 sip1 /sbin/opensips[5106]: ERROR:tm:t_forward_nonack: 
sending request failed
Apr 20 20:41:53 sip1 /sbin/opensips[5106]: 
ERROR:core:tcpconn_async_connect: poll error: flags 1c
Apr 20 20:41:53 sip1 /sbin/opensips[5106]: 
ERROR:core:tcpconn_async_connect: failed to retrieve SO_ERROR 
[server=127.0.0.1:5223 ] (111) Connection refused


Thanks,
Tito

On Mon, Apr 20, 2020 at 7:32 AM Bogdan-Andrei Iancu 
mailto:bog...@opensips.org>> wrote:


Hi Tito,

You say OpenSIPS is sending a RESET without being any data
exchanged

Re: [OpenSIPS-Users] OpenSIPS installation with PostgresSQL

2020-04-21 Thread Nayani Nikeshala via Users
 Hi Bogdan,

I have attached the output log for the above commands. 
"make modules module=modules/db_postgres" gave me an error as in the attached 
file, so I used "make include_modules=db_postgres modules" instead. I could see 
below in the output. 

make[1]: Entering directory 
`/home/cscore/Downloads/opensips-2.4.7/modules/db_postgres'make[1]: Leaving 
directory `/home/cscore/Downloads/opensips-2.4.7/modules/db_postgres'make[1]: 
Entering directory 
`/home/cscore/Downloads/opensips-2.4.7/modules/db_postgres'Compiling 
dbase.cCompiling db_postgres.cCompiling pg_con.cCompiling res.cCompiling 
val.cpg_con.c: In function db_postgres_new_connection:pg_con.c:93: warning: 
implicit declaration of function PQconnectdbParamspg_con.c:93: warning: 
assignment makes pointer from integer without a castLinking 
db_postgres.somake[1]: Leaving directory 
`/home/cscore/Downloads/opensips-2.4.7/modules/db_postgres'
Is this a problem of my psql version(8.4.20), because PQconnectdbParams  is not 
available in that version. 
On Tuesday, April 21, 2020, 02:32:39 PM GMT+5:30, Bogdan-Andrei Iancu 
 wrote:  
 
  Hi,
 
 and I assume you also locally compiled the postgres module, right ?
 
 If you do in the directory with the opensips sources:
 
 (cd modules/db_postgres ; make proper) ; make modules 
module=modules/db_postgres
 
 could you post the output here ?
 
 Regards,
  Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
  https://www.opensips-solutions.com

 On 4/20/20 7:24 PM, Nayani Nikeshala wrote:
  
 
 Hello, 
  OpenSIPS was compiled by me and I followed the OpenSIPS Installation Webinar 
tutorial.  
  Thanks! 
  On Monday, April 20, 2020, 08:04:10 PM GMT+5:30, Bogdan-Andrei Iancu 
 wrote:  
  
 Hi,
 
 Is OpenSIPS compiled by you or installed from packages (if yes, what is the 
repo url)?
 
 Regards,
  Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
  https://www.opensips-solutions.com

  On 4/19/20 11:50 PM, Nayani Nikeshala via Users wrote:
  
 
  Hello,
  
  I'm trying to install  opensips-2.4.7 with psql -8.4.20 on a Centos-6 
platform. I can connect to psql DB as below. 
 [root@SIPserver ~]# psql -h localhost -U opensips -d opensips psql 
(8.4.20) Type "help" for help. 
  opensips=>  
When I try to start OpenSIP as below, it gives me the following error.  
 [root@SIPserver ~]# opensipsctl start 
  INFO: Starting OpenSIPS : 
  ERROR: PID file /var/run/opensips.pid does not exist -- OpenSIPS start failed 
[root@SIPserver ~]# 
   
   /var/log/opensips.log shows the below error. 
  
Apr 20 01:31:20 SIPserver opensips: ERROR:core:sr_load_module: could not 
open module 
:/usr/local//lib/opensips/modules/db_postgres.so:
 undefined symbol: PQconnectdbParams Apr 20 01:31:20 SIPserver opensips: 
ERROR:core:load_module: failed to load module Apr 20 01:31:20 SIPserver 
opensips: CRITICAL:core:yyerror: parse error in config file 
/usr/local//etc/opensips/opensips.cfg, line 89, column 13-14: failed to load 
module db_postgres.so#012 
   I noted that PQconnectdbParams is available from psql-9 onwards and could 
not figure out, what does this error mean.  
  Could someone assist me please.  
  Thanks!  
  ___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
 
   
 

output-log.7z
Description: Binary data
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] OpenSIPS installation with PostgresSQL

2020-04-21 Thread Bogdan-Andrei Iancu

Hi Nayani,

yeah, that is a rather old and unsupported version of postgres. I think 
you should try to use a newer version it (maybe a newer version of your 
distro).


Regards,

Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
  https://www.opensips-solutions.com

On 4/21/20 5:21 PM, Nayani Nikeshala wrote:

Hi Bogdan,

I have attached the output log for the above commands.

"make modules module=modules/db_postgres" gave me an error as in the 
attached file, so I used "make include_modules=db_postgres modules" 
instead. I could see below in the output.


make[1]: Entering directory 
`/home/cscore/Downloads/opensips-2.4.7/modules/db_postgres'
make[1]: Leaving directory 
`/home/cscore/Downloads/opensips-2.4.7/modules/db_postgres'
make[1]: Entering directory 
`/home/cscore/Downloads/opensips-2.4.7/modules/db_postgres'

Compiling dbase.c
Compiling db_postgres.c
Compiling pg_con.c
Compiling res.c
Compiling val.c
pg_con.c: In function db_postgres_new_connection:
pg_con.c:93: warning: implicit declaration of function PQconnectdbParams
pg_con.c:93: warning: assignment makes pointer from integer without a cast
Linking db_postgres.so
make[1]: Leaving directory 
`/home/cscore/Downloads/opensips-2.4.7/modules/db_postgres'


Is this a problem of my psql version(8.4.20), because 
PQconnectdbParams  is not available in that version.




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


Re: [OpenSIPS-Users] Announcing SaraPhone, SIP WebRTC Open Source business phone

2020-04-21 Thread Bogdan-Andrei Iancu

Hey Giovanni,

Wonderful news in dark times !!!

Thank you for sharing your work with the rest of the community and of 
course many thanks to Sara for being your muse ;)


I think SaraPhone will be a good replacement for the web embedded sip 
client we have with the sip.opensips.org free VoIP service - time to 
upgrade !


Best regards and stay safe,

Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
  https://www.opensips-solutions.com

On 4/16/20 6:36 PM, Giovanni Maruzzelli wrote:

My fellow VoIPers,

I am pleased to announce the early availability of:

SaraPhone
--

SaraPhone is a bare bone SIP WebRTC voice phone, complete with most 
features real companies want to use in real world: HotDesking, Redial, 
BLFs, MWI, DND, PhoneBook, Hold, Transfer, Mute, Attended Transfer, 
Notifications, running on all Browsers both on Desktop and SmartPhone.


SaraPhone is fully integrated with FusionPBX, the full-featured domain 
based multi-tenant PBX and voice switch for FreeSwitch.


Based on SIP.js, SaraPhone works with all WebRTC compliant SIP 
proxies, gateways, and servers (Asterisk, OpenSIPS, Kamailio, etc).


Initial author is Giovanni Maruzzelli, and SaraPhone gets its name 
from Giovanni's wife, Sara Hosseini.


In addition to providing all of the usual DeskPhone functionality, 
SaraPhone got:


  * Desktop Notification for Incoming Calls
  * Live MWI update
  * Real Time BLFs status update
  * BLF click to call
  * Caller Name and Number Display
  * Call Error Cause Display
  * AutoAnswer
  * Network Disconnect Reload
  * Show and Set Caller-ID (incoming-outbound)


You an find it in GitHub ( https://github.com/gmaruzz/saraphone ).

Anyone interested can play with it :).

Have fun,
giovanni



--
Sincerely,

Giovanni Maruzzelli
OpenTelecom.IT
cell: +39 347 266 56 18


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


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


Re: [OpenSIPS-Users] Join us for SIP Chronicles Live #1, featuring Giovanni Maruzzelli

2020-04-21 Thread Bogdan-Andrei Iancu

Hi Maxim,

Great idea, let's keep the communities connected and up to date - after 
all this is what we do - we do communication systems :)


Giovanni, I will be there !

BTW, is this an interactive session, in the way that questions can be asked?

Best regards,

Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
  https://www.opensips-solutions.com

On 4/20/20 9:59 PM, Maxim Sobolev wrote:


Dear Real-Time Friends and Colleagues!

As many of you we have been totally devastated that we will have no 
chance to see you in the next few months to come. :-/ Some people in 
the community believe it might be years. I don’t necessarily agree 
with that opinion myself.



Over the course of the last few years our team had a great time 
extending live coverage for some of those events that have been 
affected, got some experience and equipment. Instead of just waiting 
for the virus to clear, we decided to organize a series of bi-weekly 
live casts with some of the speakers that we have hoped to see at 
those events presenting their latest developments live and then 
answering questions from the audience.



So without further ado, let me introduce our first guest Giovanni 
Maruzzelli, who is going to introduce his newest project SaraPhone 
(https://github.com/gmaruzz/saraphone).



Join us this Saturday, April 25th 4:30pm UTC and get a chance to ask 
Giovanni a question about his project live:



https://youtu.be/mF9elIcVGE8


Or if you miss that opportunity, you can always watch the recording 
later on Sippy Labs channel on YouTube and email Giovanni your 
question at mailto:gmar...@gmail.com>>.



SaraPhone is a bare bone SIP WebRTC phone, complete with most features 
real companies want to use in real world: HotDesking, Redial, BLFs, 
MWI, DND, PhoneBook, Hold, Transfer, Mute, Attended Transfer, 
Notifications, running on all Browsers both on Desktop and SmartPhone.


SaraPhone is fully integrated with FusionPBX, the full-featured domain 
based multi-tenant PBX and voice switch for FreeSwitch.


Based on SIP.js, SaraPhone works with all WebRTC compliant SIP 
proxies, gateways, and servers (Asterisk, OpenSIPS, Kamailio, Janus, etc).


Initial author is Giovanni Maruzzelli, and SaraPhone gets its name 
from Giovanni's wife, Sara Hosseini.


In addition to providing all of the usual DeskPhone functionality, 
SaraPhone got:


 *

Desktop Notification for Incoming Calls

 *

Live MWI update

 *

Real Time BLFs status update

 *

BLF click to call

 *

Caller Name and Number Display

 *

Call Error Cause Display

 *

AutoAnswer

 *

Network Disconnect Reload

 *

Show and Set Caller-ID (incoming-outbound)

Stay healthy, optimistic and productive! Also share, like and 
subscribe. See you soon!!!



Regards,


Max


___
Users mailing list
Users@lists.opensips.org
http://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] [Blog] Call Center – an easier integration with OpenSIPS 3.1

2020-04-21 Thread Bogdan-Andrei Iancu


Flexible wrap-up time? Call dissuading? Pre-call agent announcements? 
Events on agents activity ?


Starting with version 3.1, the Call Center got several improvements to 
make easier the integration of the module with different external tools 
for the agent side, to overall improve the agent capabilities and 
experience in an OpenSIPS based solution.


https://blog.opensips.org/2020/04/21/call-center-an-easier-integration-with-opensips-3-1/

Enjoy,

--
Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
  https://www.opensips-solutions.com


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


Re: [OpenSIPS-Users] OpenSIPS installation with PostgresSQL

2020-04-21 Thread Nayani Nikeshala via Users
 Hi Bogdan,
I removed psql 8.4 and installed psql 9.6. 
[root@SIPserver opensips-2.4.7]# yum list installed | grep 
postgrepostgresql96.i686        9.6.17-1PGDG.rhel6postgresql96-devel.i686  
9.6.17-1PGDG.rhel6postgresql96-libs.i686   
9.6.17-1PGDG.rhel6postgresql96-server.i686 9.6.17-1PGDG.rhel6[root@SIPserver 
opensips-2.4.7]#

When I compile, I get below error. (Below is a part of the error)
make[1]: Entering directory 
`/home/cscore/Downloads/opensips-2.4.7/modules/db_postgres'Compiling 
dbase.cCompiling pg_con.cCompiling res.cCompiling val.cIn file included from 
pg_con.c:23:pg_con.h:39:22: error: libpq-fe.h: No such file or directoryIn file 
included from pg_con.c:23:pg_con.h:54: error: expected specifier-qualifier-list 
before ‘PGconn’pg_con.c: In function ‘db_postgres_new_connection’:pg_con.c:93: 
error: ‘struct pg_con’ has no member named ‘con’pg_con.c:93: warning: implicit 
declaration of function ‘PQconnectdbParams’
libpq-fe.h & pg_config are in the below paths.  

[root@SIPserver opensips-2.4.7]# ls -lrt 
/usr/pgsql-9.6/include/libpq-fe.h-rw-r--r--. 1 root root 21900 Feb 12 02:52 
/usr/pgsql-9.6/include/libpq-fe.h[root@SIPserver opensips-2.4.7]#
[root@SIPserver opensips-2.4.7]# ls -lrt 
/usr/pgsql-9.6/bin/pg_config-rwxr-xr-x. 1 root root 24544 Feb 12 02:52 
/usr/pgsql-9.6/bin/pg_config
Could you assist me with above error. 


On Tuesday, April 21, 2020, 08:57:13 PM GMT+5:30, Bogdan-Andrei Iancu 
 wrote:  
 
  Hi Nayani,
 
 yeah, that is a rather old and unsupported version of postgres. I think you 
should try to use a newer version it (maybe a newer version of your distro).
 
 Regards,
 Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
  https://www.opensips-solutions.com

 On 4/21/20 5:21 PM, Nayani Nikeshala wrote:
  
 
Hi Bogdan,
  
  I have attached the output log for the above commands.  
  "make modules module=modules/db_postgres" gave me an error as in the attached 
file, so I used "make include_modules=db_postgres modules" instead. I could see 
below in the output. 
  
make[1]: Entering directory 
`/home/cscore/Downloads/opensips-2.4.7/modules/db_postgres' make[1]: Leaving 
directory `/home/cscore/Downloads/opensips-2.4.7/modules/db_postgres' make[1]: 
Entering directory `/home/cscore/Downloads/opensips-2.4.7/modules/db_postgres' 
Compiling dbase.c Compiling db_postgres.c Compiling pg_con.c Compiling res.c 
Compiling val.c pg_con.c: In function db_postgres_new_connection: pg_con.c:93: 
warning: implicit declaration of function PQconnectdbParams pg_con.c:93: 
warning: assignment makes pointer from integer without a cast Linking 
db_postgres.so make[1]: Leaving directory 
`/home/cscore/Downloads/opensips-2.4.7/modules/db_postgres'  
  Is this a problem of my psql version(8.4.20), because PQconnectdbParams  is 
not available in that version.   
 
   ___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] Join us for SIP Chronicles Live #1, featuring Giovanni Maruzzelli

2020-04-21 Thread Maxim Sobolev
Thanks Bogdan, I am glad that you liked the idea! Yes, very good question.
We will have a slot (or few) where questions from the audience can be
answered interactively. Originally we were planning to take questions over
YouTube chat, but maybe it would be also cool if Giovanni can deploy his
cool phone so people can actually call in and ask? At which point we could
also publish a SIP URI for anyone to  ring in directly as well and drill
speaker on his answers.

Eventually I hope to feel brave enough to deploy Jitsi Meet, but probably
not until this whole ordeal is over unless I get some more help from a
community, which is also an option. :)

-Max

On Tue, Apr 21, 2020 at 9:00 AM Bogdan-Andrei Iancu 
wrote:

> Hi Maxim,
>
> Great idea, let's keep the communities connected and up to date - after
> all this is what we do - we do communication systems :)
>
> Giovanni, I will be there !
>
> BTW, is this an interactive session, in the way that questions can be
> asked?
>
> Best regards,
>
> Bogdan-Andrei Iancu
>
> OpenSIPS Founder and Developer
>   https://www.opensips-solutions.com
>
> On 4/20/20 9:59 PM, Maxim Sobolev wrote:
>
> Dear Real-Time Friends and Colleagues!
>
> As many of you we have been totally devastated that we will have no chance
> to see you in the next few months to come. :-/ Some people in the community
> believe it might be years. I don’t necessarily agree with that opinion
> myself.
>
> Over the course of the last few years our team had a great time extending
> live coverage for some of those events that have been affected, got some
> experience and equipment. Instead of just waiting for the virus to clear,
> we decided to organize a series of bi-weekly live casts with some of the
> speakers that we have hoped to see at those events presenting their latest
> developments live and then answering questions from the audience.
>
> So without further ado, let me introduce our first guest Giovanni
> Maruzzelli, who is going to introduce his newest project SaraPhone (
> https://github.com/gmaruzz/saraphone).
>
> Join us this Saturday, April 25th 4:30pm UTC and get a chance to ask
> Giovanni a question about his project live:
>
> https://youtu.be/mF9elIcVGE8
>
> Or if you miss that opportunity, you can always watch the recording later
> on Sippy Labs channel on YouTube and email Giovanni your question at <
> gmar...@gmail.com>.
>
> SaraPhone is a bare bone SIP WebRTC phone, complete with most features
> real companies want to use in real world: HotDesking, Redial, BLFs, MWI,
> DND, PhoneBook, Hold, Transfer, Mute, Attended Transfer, Notifications,
> running on all Browsers both on Desktop and SmartPhone.
>
> SaraPhone is fully integrated with FusionPBX, the full-featured domain
> based multi-tenant PBX and voice switch for FreeSwitch.
>
> Based on SIP.js, SaraPhone works with all WebRTC compliant SIP proxies,
> gateways, and servers (Asterisk, OpenSIPS, Kamailio, Janus, etc).
>
> Initial author is Giovanni Maruzzelli, and SaraPhone gets its name from
> Giovanni's wife, Sara Hosseini.
>
> In addition to providing all of the usual DeskPhone functionality,
> SaraPhone got:
>
>-
>
>Desktop Notification for Incoming Calls
>-
>
>Live MWI update
>-
>
>Real Time BLFs status update
>-
>
>BLF click to call
>-
>
>Caller Name and Number Display
>-
>
>Call Error Cause Display
>-
>
>AutoAnswer
>-
>
>Network Disconnect Reload
>-
>
>Show and Set Caller-ID (incoming-outbound)
>
> Stay healthy, optimistic and productive! Also share, like and subscribe.
> See you soon!!!
>
> Regards,
>
> Max
>
> ___
> Users mailing 
> listUsers@lists.opensips.orghttp://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
>

-- 
Maksym Sobolyev
Sippy Software, Inc.
Internet Telephony (VoIP) Experts
Tel (Canada): +1-778-783-0474
Tel (Toll-Free): +1-855-747-7779
Fax: +1-866-857-6942
Web: http://www.sippysoft.com
MSN: sa...@sippysoft.com
Skype: SippySoft
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] Tls using t_relay

2020-04-21 Thread Tito Cumpen
Bogdan,

I found out that there was a timer flag for tcp connections that may have
been causing an issue
tcp_connect_timeout=3
Once I removed this line the tls connection was made fine but now I am
seeing opensips send an error message to the client

SIP/2.0 500 Server error occurred (1/SL)
client---opensips---SIP AS
even though the SIP AS sent a 180 response


Here are the errors from the log

Apr 21 23:12:46 sip1 /sbin/opensips[11376]:
ERROR:core:tcp_connect_blocking_timeout: poll error: flags 28 - 4 8 16 32
Apr 21 23:12:46 sip1 /sbin/opensips[11376]:
ERROR:core:tcp_connect_blocking_timeout: failed to retrieve SO_ERROR
[server=127.0.0.1:443] (111) Connection refused
Apr 21 23:12:46 sip1 /sbin/opensips[11376]:
ERROR:proto_tls:tls_sync_connect: tcp_blocking_connect failed
Apr 21 23:12:46 sip1 /sbin/opensips[11376]: ERROR:proto_tls:proto_tls_send:
connect failed
Apr 21 23:12:46 sip1 /sbin/opensips[11376]: ERROR:tm:msg_send: send() to
127.0.0.1:443 for proto tls/3 failed
Apr 21 23:12:46 sip1 /sbin/opensips[11376]: ERROR:tm:t_forward_nonack:
sending request failed
Apr 21 23:12:46 sip1 /sbin/opensips[11376]:
ERROR:core:tcp_connect_blocking_timeout: poll error: flags 28 - 4 8 16 32
Apr 21 23:12:46 sip1 /sbin/opensips[11376]:
ERROR:core:tcp_connect_blocking_timeout: failed to retrieve SO_ERROR
[server=127.0.0.1:443] (111) Connection refused
Apr 21 23:12:46 sip1 /sbin/opensips[11376]:
ERROR:proto_tls:tls_sync_connect: tcp_blocking_connect failed
Apr 21 23:12:46 sip1 /sbin/opensips[11376]: ERROR:proto_tls:proto_tls_send:
connect failed
Apr 21 23:12:46 sip1 /sbin/opensips[11376]: ERROR:tm:msg_send: send() to
127.0.0.1:443 for proto tls/3 failed
Apr 21 23:12:46 sip1 /sbin/opensips[11376]: ERROR:tm:t_forward_nonack:
sending request failed
Apr 21 23:12:46 sip1 /sbin/opensips[11376]:
ERROR:core:tcpconn_async_connect: poll error: flags 1c
Apr 21 23:12:46 sip1 /sbin/opensips[11376]:
ERROR:core:tcpconn_async_connect: failed to retrieve SO_ERROR [server=
127.0.0.1:5060] (111) Connection refused
Apr 21 23:12:46 sip1 /sbin/opensips[11376]: ERROR:core:proto_tcp_send:
async TCP connect failed
Apr 21 23:12:46 sip1 /sbin/opensips[11376]: ERROR:tm:msg_send: send() to
127.0.0.1:5060 for proto tcp/2 failed
Apr 21 23:12:46 sip1 /sbin/opensips[11376]: ERROR:tm:t_forward_nonack:
sending request failed
Apr 21 23:12:46 sip1 /sbin/opensips[11376]:
ERROR:core:tcpconn_async_connect: poll error: flags 1c
Apr 21 23:12:46 sip1 /sbin/opensips[11376]:
ERROR:core:tcpconn_async_connect: failed to retrieve SO_ERROR [server=
127.0.0.1:5060] (111) Connection refused
Apr 21 23:12:46 sip1 /sbin/opensips[11376]: ERROR:core:proto_tcp_send:
async TCP connect failed
Apr 21 23:12:46 sip1 /sbin/opensips[11376]: ERROR:tm:msg_send: send() to
127.0.0.1:5060 for proto tcp/2 failed
Apr 21 23:12:46 sip1 /sbin/opensips[11376]: ERROR:tm:t_forward_nonack:
sending request failed
Apr 21 23:12:46 sip1 /sbin/opensips[11376]:
ERROR:core:tcpconn_async_connect: poll error: flags 1c
Apr 21 23:12:46 sip1 /sbin/opensips[11376]:
ERROR:core:tcpconn_async_connect: failed to retrieve SO_ERROR [server=
127.0.0.1:5223] (111) Connection refused
Apr 21 23:12:46 sip1 /sbin/opensips[11376]: ERROR:core:proto_tcp_send:
async TCP connect failed
Apr 21 23:12:46 sip1 /sbin/opensips[11376]: ERROR:tm:msg_send: send() to
127.0.0.1:5223 for proto tcp/2 failed
Apr 21 23:12:46 sip1 /sbin/opensips[11376]: ERROR:tm:t_forward_nonack:
sending request failed
Apr 21 23:12:46 sip1 /sbin/opensips[11376]:
ERROR:core:tcpconn_async_connect: poll error: flags 1c
Apr 21 23:12:46 sip1 /sbin/opensips[11376]:
ERROR:core:tcpconn_async_connect: failed to retrieve SO_ERROR [server=
127.0.0.1:5223] (111) Connection refused
Apr 21 23:12:46 sip1 /sbin/opensips[11376]: ERROR:core:proto_tcp_send:
async TCP connect failed
Apr 21 23:12:46 sip1 /sbin/opensips[11376]: ERROR:tm:msg_send: send() to
127.0.0.1:5223 for proto tcp/2 failed

On Tue, Apr 21, 2020 at 11:26 AM Tito Cumpen  wrote:

> Hey Bogdan,
>
> Here is the capture I took from using t_relay("tls:domain:port")
>
> As you can see the client side (opensips) does not proceed with allowing
> the socket to open.
>
> Thanks,
> Tito
>
> On Tue, Apr 21, 2020 at 2:18 AM Bogdan-Andrei Iancu 
> wrote:
>
>> Hi Tito,
>>
>> Well, from OpenSIPS perceptive it is a "Connection refused", so the
>> destination is rejecting the connect.
>>
>> Regards,
>>
>> Bogdan-Andrei Iancu
>>
>> OpenSIPS Founder and Developer
>>   https://www.opensips-solutions.com
>>
>> On 4/20/20 11:49 PM, Tito Cumpen wrote:
>>
>> Yes,
>>
>> It closes the socket right after the syn+ack. I can provide the trace if
>> necessary.Here is an output of the logs
>>
>> Apr 20 20:41:53 sip1 /sbin/opensips[5106]:
>> ERROR:proto_tls:proto_tls_send: connect failed
>> Apr 20 20:41:53 sip1 /sbin/opensips[5106]: ERROR:tm:msg_send: send() to
>> 192.xx.xx.xxx:5081 for proto tls/3 failed
>> Apr 20 20:41:53 sip1 /sbin/opensips[5106]: ERROR:tm:t_forward_nonack:
>> sending request failed
>> Apr 20 20:41:53 sip1 /sbin/opensips[5106]:

Re: [OpenSIPS-Users] Join us for SIP Chronicles Live #1, featuring Giovanni Maruzzelli

2020-04-21 Thread Adrian Georgescu
You can try out SylkServer / sip2sip.info 

Adrian

> On 21 Apr 2020, at 17:48, Maxim Sobolev  wrote:
> 
> Thanks Bogdan, I am glad that you liked the idea! Yes, very good question. We 
> will have a slot (or few) where questions from the audience can be answered 
> interactively. Originally we were planning to take questions over YouTube 
> chat, but maybe it would be also cool if Giovanni can deploy his cool phone 
> so people can actually call in and ask? At which point we could also publish 
> a SIP URI for anyone to  ring in directly as well and drill speaker on his 
> answers.
> 
> Eventually I hope to feel brave enough to deploy Jitsi Meet, but probably not 
> until this whole ordeal is over unless I get some more help from a community, 
> which is also an option. :)
> 
> -Max
> 
> On Tue, Apr 21, 2020 at 9:00 AM Bogdan-Andrei Iancu  > wrote:
> Hi Maxim,
> 
> Great idea, let's keep the communities connected and up to date - after all 
> this is what we do - we do communication systems :)
> 
> Giovanni, I will be there !
> 
> BTW, is this an interactive session, in the way that questions can be asked?
> 
> Best regards,
> Bogdan-Andrei Iancu
> 
> OpenSIPS Founder and Developer
>   https://www.opensips-solutions.com 
> 
> On 4/20/20 9:59 PM, Maxim Sobolev wrote:
>> Dear Real-Time Friends and Colleagues!
>> 
>> As many of you we have been totally devastated that we will have no chance 
>> to see you in the next few months to come. :-/ Some people in the community 
>> believe it might be years. I don’t necessarily agree with that opinion 
>> myself.
>> 
>> Over the course of the last few years our team had a great time extending 
>> live coverage for some of those events that have been affected, got some 
>> experience and equipment. Instead of just waiting for the virus to clear, we 
>> decided to organize a series of bi-weekly live casts with some of the 
>> speakers that we have hoped to see at those events presenting their latest 
>> developments live and then answering questions from the audience. 
>> 
>> So without further ado, let me introduce our first guest Giovanni 
>> Maruzzelli, who is going to introduce his newest project SaraPhone 
>> (https://github.com/gmaruzz/saraphone 
>> ). 
>> 
>> Join us this Saturday, April 25th 4:30pm UTC and get a chance to ask 
>> Giovanni a question about his project live:
>> 
>> https://youtu.be/mF9elIcVGE8 
>> 
>> Or if you miss that opportunity, you can always watch the recording later on 
>> Sippy Labs channel on YouTube and email Giovanni your question at 
>> mailto:gmar...@gmail.com>>.
>> 
>> SaraPhone is a bare bone SIP WebRTC phone, complete with most features real 
>> companies want to use in real world: HotDesking, Redial, BLFs, MWI, DND, 
>> PhoneBook, Hold, Transfer, Mute, Attended Transfer, Notifications, running 
>> on all Browsers both on Desktop and SmartPhone.
>> 
>> SaraPhone is fully integrated with FusionPBX, the full-featured domain based 
>> multi-tenant PBX and voice switch for FreeSwitch.
>> 
>> Based on SIP.js, SaraPhone works with all WebRTC compliant SIP proxies, 
>> gateways, and servers (Asterisk, OpenSIPS, Kamailio, Janus, etc).
>> 
>> Initial author is Giovanni Maruzzelli, and SaraPhone gets its name from 
>> Giovanni's wife, Sara Hosseini.
>> 
>> In addition to providing all of the usual DeskPhone functionality, SaraPhone 
>> got:
>> 
>> Desktop Notification for Incoming Calls
>> Live MWI update
>> Real Time BLFs status update
>> BLF click to call
>> Caller Name and Number Display
>> Call Error Cause Display
>> AutoAnswer
>> Network Disconnect Reload
>> Show and Set Caller-ID (incoming-outbound)
>> 
>> Stay healthy, optimistic and productive! Also share, like and subscribe. See 
>> you soon!!!
>> 
>> Regards,
>> 
>> Max
>> 
>> 
>> ___
>> Users mailing list
>> Users@lists.opensips.org 
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users 
>> 
> 
> 
> 
> -- 
> Maksym Sobolyev
> Sippy Software, Inc.
> Internet Telephony (VoIP) Experts
> Tel (Canada): +1-778-783-0474
> Tel (Toll-Free): +1-855-747-7779
> Fax: +1-866-857-6942
> Web: http://www.sippysoft.com 
> MSN: sa...@sippysoft.com 
> Skype: SippySoft
> ___
> Users mailing list
> Users@lists.opensips.org 
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users 
> 
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users