Re: [OpenSIPS-Users] Segfault in mid_register module upon attempted save of OK

2017-10-25 Thread Liviu Chircu

Hi Jim,

Thank you for the nice report - just pushed a fix [1] for it on "master" 
and "2.3"!


Best regards,

[1]: https://github.com/OpenSIPS/opensips/commit/fc5762694201eb

Liviu Chircu
OpenSIPS Developer
http://www.opensips-solutions.com

On 24.10.2017 22:42, Jim DeVito wrote:

Hi All,

Getting into he mid_register module so I could very well be doing 
something wrong. Please take a look at the below pasted info.


https://pastebin.com/BeLktVpL

Seems like it is crashing while parsing the OK back from the primary 
registrar. For now I am using the scripting right out of your tutorial


Please let me know if you notice something I am doing wrong or need 
more info.


Opensips 2.3.2 built from source. (same as yum)

Thanks!!

if (is_method("REGISTER")) {
                mid_registrar_save("location");
                switch ($retcode) {
                        case 1:
                                xlog("forwarding REGISTER to main 
registrar ($$ci=$ci)\n");
                                $ru = "sip:sip-core01.n2net.net:5060 
";

                                t_relay();
                                break;
                        case 2:
                                xlog("absorbing REGISTER! ($$ci=$ci)\n");
                                break;
                        default:
                                xlog("failed to save registration! 
($$ci=$ci)\n");

        }


-
Jim DeVito


___
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] Segfault in mid_register module upon attempted save of OK

2017-10-25 Thread Jim DeVito
Hi Liviu,

Confirmed fixed. Thanks for the good / quick work!

On Wed, Oct 25, 2017 at 8:49 AM, Liviu Chircu  wrote:

> Hi Jim,
>
> Thank you for the nice report - just pushed a fix [1] for it on "master"
> and "2.3"!
>
> Best regards,
>
> [1]: https://github.com/OpenSIPS/opensips/commit/fc5762694201eb
>
> Liviu Chircu
> OpenSIPS Developerhttp://www.opensips-solutions.com
>
> On 24.10.2017 22:42, Jim DeVito wrote:
>
> Hi All,
>
> Getting into he mid_register module so I could very well be doing
> something wrong. Please take a look at the below pasted info.
>
> https://pastebin.com/BeLktVpL
>
> Seems like it is crashing while parsing the OK back from the primary
> registrar. For now I am using the scripting right out of your tutorial
>
> Please let me know if you notice something I am doing wrong or need more
> info.
>
> Opensips 2.3.2 built from source. (same as yum)
>
> Thanks!!
>
> if (is_method("REGISTER")) {
> mid_registrar_save("location");
> switch ($retcode) {
> case 1:
> xlog("forwarding REGISTER to main
> registrar ($$ci=$ci)\n");
> $ru = "sip:sip-core01.n2net.net:5060";
> t_relay();
> break;
> case 2:
> xlog("absorbing REGISTER! ($$ci=$ci)\n");
> break;
> default:
> xlog("failed to save registration!
> ($$ci=$ci)\n");
> }
>
>
> -
> Jim DeVito
>
>
> ___
> 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
>
>


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


[OpenSIPS-Users] [Blog] Running OpenSIPS in the Cloud

2017-10-25 Thread Bogdan-Andrei Iancu
Cloud computing is a more and more viable option for running and 
providing SIP services. The question is how compatible are the SIP 
services with the Cloud environment ? So let’s have a look at this 
compatibility from the most sensitive (for SIP protocol) perspective – 
the IP network topology...


https://blog.opensips.org/2017/10/25/running-opensips-in-the-cloud/

Enjoy,

--
Bogdan-Andrei Iancu
  OpenSIPS Founder and Developer
  http://www.opensips-solutions.com


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


[OpenSIPS-Users] presence with b2bua

2017-10-25 Thread Aqs Younas
Greeting list,

I suspect b2bua feature is just for invite dialog, can it also be used for
presence?

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


Re: [OpenSIPS-Users] [OpenSIPS-Devel] [Blog] Running OpenSIPS in the Cloud

2017-10-25 Thread Mundkowsky, Robert
Nice info. There might be some more complex AWS setups people might want to 
use, but I really do not know from a telephony architecture if they are viable 
or useful:

- AWS Nat gateway (basically a NAT for a subnet of AWS instances rather than 
1-to-1 NAT instances)
- Use of AWS ELB: AWS can assign multiple IPs to a AWS ELB per explicit request 
to AWS to allow for scaling the ELB (hence you might have multiple external IPs 
mapping to your private IP).
- I vaguely remember there are some settings for low latency subnet, maybe 
called "placement groups"
- I vaguely remember some AMIs are better for low latency (I think AWS makes 
some)
- Might want to use larger instances to reduce change of instance being shared 
or directly request dedicated instances or dedicated hosts


Robert Mundkowsky

-Original Message-
From: Devel [mailto:devel-boun...@lists.opensips.org] On Behalf Of 
Bogdan-Andrei Iancu
Sent: Wednesday, October 25, 2017 12:09 PM
To: users@lists.opensips.org; developensips ; 
n...@lists.opensips.org
Subject: [OpenSIPS-Devel] [Blog] Running OpenSIPS in the Cloud

Cloud computing is a more and more viable option for running and providing SIP 
services. The question is how compatible are the SIP services with the Cloud 
environment ? So let’s have a look at this compatibility from the most 
sensitive (for SIP protocol) perspective – the IP network topology...

https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fblog.opensips.org%2F2017%2F10%2F25%2Frunning-opensips-in-the-cloud%2F&data=02%7C01%7Crmundkowsky%40ets.org%7Ca66deb49abc54e8cdabd08d51bc2cfff%7C0ba6e9b760b34fae92f37e6ddd9e9b65%7C0%7C0%7C636445445883234322&sdata=M3OoLvj%2FDMa3EObuSCJE%2Bc6dXKTu9uPF0z6o3emZ7iw%3D&reserved=0

Enjoy,

--
Bogdan-Andrei Iancu
   OpenSIPS Founder and Developer
   
https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.opensips-solutions.com&data=02%7C01%7Crmundkowsky%40ets.org%7Ca66deb49abc54e8cdabd08d51bc2cfff%7C0ba6e9b760b34fae92f37e6ddd9e9b65%7C0%7C0%7C636445445883234322&sdata=vCNnjcu7looYZrRLLX7z%2Bx%2FMVp9YAYIa9WiUDnMlGTo%3D&reserved=0


___
Devel mailing list
de...@lists.opensips.org
https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.opensips.org%2Fcgi-bin%2Fmailman%2Flistinfo%2Fdevel&data=02%7C01%7Crmundkowsky%40ets.org%7Ca66deb49abc54e8cdabd08d51bc2cfff%7C0ba6e9b760b34fae92f37e6ddd9e9b65%7C0%7C0%7C636445445883234322&sdata=ejreMLqLRE39GWjs6qrZP6krj9y4T0PFyYUkLa6nUc0%3D&reserved=0



This e-mail and any files transmitted with it may contain privileged or 
confidential information. It is solely for use by the individual for whom it is 
intended, even if addressed incorrectly. If you received this e-mail in error, 
please notify the sender; do not disclose, copy, distribute, or take any action 
in reliance on the contents of this information; and delete it from your 
system. Any other use of this e-mail is prohibited.


Thank you for your compliance.


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


Re: [OpenSIPS-Users] [OpenSIPS-Devel] [Blog] Running OpenSIPS in the Cloud

2017-10-25 Thread Jim DeVito
Good info Bogdan / Robert.

I would also be interested to learn of anybody running OpenSIPS in a docker
like container service to allows for horizontal automatic scaling.

Thanks!!

Jim D.

On Wed, Oct 25, 2017 at 1:47 PM, Mundkowsky, Robert 
wrote:

> Nice info. There might be some more complex AWS setups people might want
> to use, but I really do not know from a telephony architecture if they are
> viable or useful:
>
> - AWS Nat gateway (basically a NAT for a subnet of AWS instances rather
> than 1-to-1 NAT instances)
> - Use of AWS ELB: AWS can assign multiple IPs to a AWS ELB per explicit
> request to AWS to allow for scaling the ELB (hence you might have multiple
> external IPs mapping to your private IP).
> - I vaguely remember there are some settings for low latency subnet, maybe
> called "placement groups"
> - I vaguely remember some AMIs are better for low latency (I think AWS
> makes some)
> - Might want to use larger instances to reduce change of instance being
> shared or directly request dedicated instances or dedicated hosts
>
>
> Robert Mundkowsky
>
> -Original Message-
> From: Devel [mailto:devel-boun...@lists.opensips.org] On Behalf Of
> Bogdan-Andrei Iancu
> Sent: Wednesday, October 25, 2017 12:09 PM
> To: users@lists.opensips.org; developensips ;
> n...@lists.opensips.org
> Subject: [OpenSIPS-Devel] [Blog] Running OpenSIPS in the Cloud
>
> Cloud computing is a more and more viable option for running and providing
> SIP services. The question is how compatible are the SIP services with the
> Cloud environment ? So let’s have a look at this compatibility from the
> most sensitive (for SIP protocol) perspective – the IP network
> topology...
>
> https://na01.safelinks.protection.outlook.com/?url=
> https%3A%2F%2Fblog.opensips.org%2F2017%2F10%2F25%
> 2Frunning-opensips-in-the-cloud%2F&data=02%7C01%7Crmundkowsky%40ets.org%
> 7Ca66deb49abc54e8cdabd08d51bc2cfff%7C0ba6e9b760b34fae92f37e6ddd9e
> 9b65%7C0%7C0%7C636445445883234322&sdata=M3OoLvj%2FDMa3EObuSCJE%
> 2Bc6dXKTu9uPF0z6o3emZ7iw%3D&reserved=0
>
> Enjoy,
>
> --
> Bogdan-Andrei Iancu
>OpenSIPS Founder and Developer
>https://na01.safelinks.protection.outlook.com/?url=
> http%3A%2F%2Fwww.opensips-solutions.com&data=02%7C01%
> 7Crmundkowsky%40ets.org%7Ca66deb49abc54e8cdabd08d51bc2cfff%
> 7C0ba6e9b760b34fae92f37e6ddd9e9b65%7C0%7C0%7C636445445883234322&sdata=
> vCNnjcu7looYZrRLLX7z%2Bx%2FMVp9YAYIa9WiUDnMlGTo%3D&reserved=0
>
>
> ___
> Devel mailing list
> de...@lists.opensips.org
> https://na01.safelinks.protection.outlook.com/?url=
> http%3A%2F%2Flists.opensips.org%2Fcgi-bin%2Fmailman%
> 2Flistinfo%2Fdevel&data=02%7C01%7Crmundkowsky%40ets.org%
> 7Ca66deb49abc54e8cdabd08d51bc2cfff%7C0ba6e9b760b34fae92f37e6ddd9e
> 9b65%7C0%7C0%7C636445445883234322&sdata=ejreMLqLRE39GWjs6qrZP6krj9y4T0
> PFyYUkLa6nUc0%3D&reserved=0
>
> 
>
> This e-mail and any files transmitted with it may contain privileged or
> confidential information. It is solely for use by the individual for whom
> it is intended, even if addressed incorrectly. If you received this e-mail
> in error, please notify the sender; do not disclose, copy, distribute, or
> take any action in reliance on the contents of this information; and delete
> it from your system. Any other use of this e-mail is prohibited.
>
>
> Thank you for your compliance.
>
> 
> ___
> 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] [OpenSIPS-Devel] [Blog] Running OpenSIPS in the Cloud

2017-10-25 Thread Ben Newlin
We have run OpenSIPS both in Docker containers and in AWS. Scaling can be 
tricky when dealing with external carriers as many require you to provide the 
exact IP addresses that will be used beforehand so the scaling is limited to 
the IPs that were provided.

A note on AWS ELBs is that they only work for TCP traffic. They will not do UDP.

Ben Newlin

From: Users  on behalf of Jim DeVito 

Reply-To: OpenSIPS users mailling list 
Date: Wednesday, October 25, 2017 at 1:54 PM
To: OpenSIPS users mailling list 
Subject: Re: [OpenSIPS-Users] [OpenSIPS-Devel] [Blog] Running OpenSIPS in the 
Cloud

Good info Bogdan / Robert.

I would also be interested to learn of anybody running OpenSIPS in a docker 
like container service to allows for horizontal automatic scaling.

Thanks!!

Jim D.

On Wed, Oct 25, 2017 at 1:47 PM, Mundkowsky, Robert 
mailto:rmundkow...@ets.org>> wrote:
Nice info. There might be some more complex AWS setups people might want to 
use, but I really do not know from a telephony architecture if they are viable 
or useful:

- AWS Nat gateway (basically a NAT for a subnet of AWS instances rather than 
1-to-1 NAT instances)
- Use of AWS ELB: AWS can assign multiple IPs to a AWS ELB per explicit request 
to AWS to allow for scaling the ELB (hence you might have multiple external IPs 
mapping to your private IP).
- I vaguely remember there are some settings for low latency subnet, maybe 
called "placement groups"
- I vaguely remember some AMIs are better for low latency (I think AWS makes 
some)
- Might want to use larger instances to reduce change of instance being shared 
or directly request dedicated instances or dedicated hosts


Robert Mundkowsky

-Original Message-
From: Devel 
[mailto:devel-boun...@lists.opensips.org]
 On Behalf Of Bogdan-Andrei Iancu
Sent: Wednesday, October 25, 2017 12:09 PM
To: users@lists.opensips.org; developensips 
mailto:de...@lists.opensips.org>>; 
n...@lists.opensips.org
Subject: [OpenSIPS-Devel] [Blog] Running OpenSIPS in the Cloud

Cloud computing is a more and more viable option for running and providing SIP 
services. The question is how compatible are the SIP services with the Cloud 
environment ? So let’s have a look at this compatibility from the most 
sensitive (for SIP protocol) perspective – the IP network topology...

https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fblog.opensips.org%2F2017%2F10%2F25%2Frunning-opensips-in-the-cloud%2F&data=02%7C01%7Crmundkowsky%40ets.org%7Ca66deb49abc54e8cdabd08d51bc2cfff%7C0ba6e9b760b34fae92f37e6ddd9e9b65%7C0%7C0%7C636445445883234322&sdata=M3OoLvj%2FDMa3EObuSCJE%2Bc6dXKTu9uPF0z6o3emZ7iw%3D&reserved=0

Enjoy,

--
Bogdan-Andrei Iancu
   OpenSIPS Founder and Developer
   
https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.opensips-solutions.com&data=02%7C01%7Crmundkowsky%40ets.org%7Ca66deb49abc54e8cdabd08d51bc2cfff%7C0ba6e9b760b34fae92f37e6ddd9e9b65%7C0%7C0%7C636445445883234322&sdata=vCNnjcu7looYZrRLLX7z%2Bx%2FMVp9YAYIa9WiUDnMlGTo%3D&reserved=0


___
Devel mailing list
de...@lists.opensips.org
https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Flists.opensips.org%2Fcgi-bin%2Fmailman%2Flistinfo%2Fdevel&data=02%7C01%7Crmundkowsky%40ets.org%7Ca66deb49abc54e8cdabd08d51bc2cfff%7C0ba6e9b760b34fae92f37e6ddd9e9b65%7C0%7C0%7C636445445883234322&sdata=ejreMLqLRE39GWjs6qrZP6krj9y4T0PFyYUkLa6nUc0%3D&reserved=0



This e-mail and any files transmitted with it may contain privileged or 
confidential information. It is solely for use by the individual for whom it is 
intended, even if addressed incorrectly. If you received this e-mail in error, 
please notify the sender; do not disclose, copy, distribute, or take any action 
in reliance on the contents of this information; and delete it from your 
system. Any other use of this e-mail is

[OpenSIPS-Users] Directory instalation

2017-10-25 Thread Social Boh

Hello,

I think there is a problem with OpenSIPs compilation on version 2.3

From

make menuconfig -> Conigure Compile Options -> Configure Install Prefix

If I select /usr o anythink else, always the instalation is done on 
/usr/local


any hint?

Regards

--
---
I'm SoCIaL, MayBe


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


[OpenSIPS-Users] Directory instalation

2017-10-25 Thread Social Boh

Hello,

I don't know where is the problem but on OpenSIPs 2.2 if I select / the 
installation go to /sbin /lib64/opensips/modules... if i select /usr the 
installation go to /usr/sbin /usr/sbin /lib64/opensips/modules


In 2.3 appear like random. I select /usr and the installation go to 
/usr/local,


Any hint?

Regards

--
---
I'm SoCIaL, MayBe


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