[OpenSIPS-Users] [CFP] FOSDEM 2017, RTC devroom, speakers, volunteers neeeded

2016-10-24 Thread FOSDEM RTC Team

FOSDEM is one of the world's premier meetings of free software developers,
with over five thousand people attending each year.  FOSDEM 2017
takes place 4-5 February 2017 in Brussels, Belgium.  https://fosdem.org

This email contains information about:
- Real-Time communications dev-room and lounge,
- speaking opportunities,
- volunteering in the dev-room and lounge,
- related events around FOSDEM, including the XMPP summit,
- social events (the legendary FOSDEM Beer Night and Saturday night dinners
provide endless networking opportunities),
- the Planet aggregation sites for RTC blogs

Call for participation - Real Time Communications (RTC)
===

The Real-Time dev-room and Real-Time lounge is about all things involving
real-time communication, including: XMPP, SIP, WebRTC, telephony,
mobile VoIP, codecs, peer-to-peer, privacy and encryption.  The dev-room
is a successor to the previous XMPP and telephony dev-rooms.
We are looking for speakers for the dev-room and volunteers and
participants for the tables in the Real-Time lounge.

The dev-room is only on Saturday, 4 February 2017.  The lounge will
be present for both days.

To discuss the dev-room and lounge, please join the FSFE-sponsored
Free RTC mailing list: https://lists.fsfe.org/mailman/listinfo/free-rtc

To be kept aware of major developments in Free RTC, without being on the
discussion list, please join the Free-RTC Announce list:
http://lists.freertc.org/mailman/listinfo/announce

Speaking opportunities
--

Note: if you used FOSDEM Pentabarf before, please use the same account/username

Real-Time Communications dev-room: deadline 23:59 UTC on 17 November.
Please use the Pentabarf system to submit a talk proposal for the
dev-room.  On the "General" tab, please look for the "Track" option and
choose "Real-Time devroom".  https://penta.fosdem.org/submission/FOSDEM17/

Other dev-rooms and lightning talks: some speakers may find their topic is
in the scope of more than one dev-room.  It is encouraged to apply to more
than one dev-room and also consider proposing a lightning talk, but please
be kind enough to tell us if you do this by filling out the notes in the form.
You can find the full list of dev-rooms at
   https://www.fosdem.org/2017/schedule/tracks/
and apply for a lightning talk at https://fosdem.org/submit

Main track: the deadline for main track presentations is 23:59 UTC
31 October.  Leading developers in the Real-Time Communications
field are encouraged to consider submitting a presentation to
the main track at https://fosdem.org/submit

First-time speaking?


FOSDEM dev-rooms are a welcoming environment for people who have never
given a talk before.  Please feel free to contact the dev-room administrators
personally if you would like to ask any questions about it.

Submission guidelines
-

The Pentabarf system will ask for many of the essential details.  Please
remember to re-use your account from previous years if you have one.

In the "Submission notes", please tell us about:
- the purpose of your talk
- any other talk applications (dev-rooms, lightning talks, main track)
- availability constraints and special needs

You can use HTML and links in your bio, abstract and description.

If you maintain a blog, please consider providing us with the
URL of a feed with posts tagged for your RTC-related work.

We will be looking for relevance to the conference and dev-room themes,
presentations aimed at developers of free and open source software about
RTC-related topics.

Please feel free to suggest a duration between 20 minutes and 55 minutes
but note that the final decision on talk durations will be made by the
dev-room administrators.  As the two previous dev-rooms have been
combined into one, we may decide to give shorter slots than in previous
years so that more speakers can participate.

Please note FOSDEM aims to record and live-stream all talks.
The CC-BY license is used.

Volunteers needed
=

To make the dev-room and lounge run successfully, we are looking for
volunteers:

- FOSDEM provides video recording equipment and live streaming,
  volunteers are needed to assist in this
- organizing one or more restaurant bookings (dependending upon number of
  participants) for the evening of Saturday, 4 February
- participation in the Real-Time lounge
- helping attract sponsorship funds for the dev-room to pay for the
  Saturday night dinner and any other expenses
- circulating this Call for Participation to other mailing lists

See the mailing list discussion for more details about volunteering:
https://lists.fsfe.org/pipermail/free-rtc/2016-October/000285.html

Related events - XMPP and RTC summits
=

The XMPP Standards Foundation (XSF) has traditionally held a summit
in the days before FOSDEM.  There is discussion about a similar
summit taking place on 2 and 3 February 2017

[OpenSIPS-Users] problem with config file on opensips 1.10

2016-10-24 Thread johan de clercq
Good morning, 

 

When I start opensips with the attached config file : I have the following
error 

 

Oct 24 11:28:55 [29804] ERROR:core:fix_actions: called route 4 is not
defined

Oct 24 11:28:55 [29804] ERROR:core:fix_actions: fixing failed (code=-6) at
cfg line 125

Oct 24 11:28:55 [29804] ERROR:core:main: failed to fix configuration with
err code -6

 

The problem is that I have nowhere a route 4 defined .. 

 

I do however manipulations on headers and I think I need to reroute then
through route(0)

 

  if(is_method("REFER"))

  {

#x contains the value of the Refer-To header==$rt

$var(x)=$rt;

#remove the Refer-To header

remove_hf("Refer-To");

#manipulate x : extract part before ; and add >

$var(x)=$(var(x){s.select,0,;});#{s.fill.right,>,1});

$var(x)=$var(x) + ">"; 

append_hf("Refer-To:$var(x)");

#re route through route[0]

route(0);   

  }

 

Can it be that the problem is route(0); ?   

 

 

Please find config below, do you have an idea what is happening ? Secondly,
I also  attached the b2bua scenario.  If route(0) does not work, then how do
I need to change the refer-to header before the bridge action is done ? 

 

BR, Johan. 

 

 

 



opensips_problem.cfg
Description: Binary data


  

  
server1
  
  
client1
message

  server1

  

  

  
 
   
	 
		   
		 2
		   
   
		 1
		 
   202
   Accepted
 
 
 
   
 
   
   
 client2
 
   Refer-To
 
   
 
   
 
		 
   
2 
		   
 
   

  


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


Re: [OpenSIPS-Users] Delivery Status Notification (Failure)

2016-10-24 Thread Bogdan-Andrei Iancu

Hi Johan,

The cfg is more than simple and straight - whatever initial request you 
receive -> start the b2b with this scenario.


Regards,

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

On 22.10.2016 17:45, johan de clercq wrote:

Does somebody has an example .cfg file that shows how to use the refer scenario 
described in
http://www.opensips.org/Documentation/Tutorials-B2BUA#toc15 ?

I am struggling with call transfers with REFER and opensips that loadbalances 
to multiple gateways.

  




Johan De Clercq, Managing Director
Democon bvba - Ooigemstraat 41 - 8780 Oostrozebeke

Tel +3256980990 - GSM +32478720104

  




___
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] problem with config file on opensips 1.10

2016-10-24 Thread Bogdan-Andrei Iancu

Hi Johan,

as routes have names , there is no route with "0" named (probably, 
internally, the "0" route gets id 4). Better use a new route[processing] 
to be used both from main route (roure{}) and from places where you want 
to re-route.


Regards,

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

On 24.10.2016 12:53, johan de clercq wrote:


Good morning,

When I start opensips with the attached config file : I have the 
following error


Oct 24 11:28:55 [29804] ERROR:core:fix_actions: called route 4 is not 
defined


Oct 24 11:28:55 [29804] ERROR:core:fix_actions: fixing failed 
(code=-6) at cfg line 125


Oct 24 11:28:55 [29804] ERROR:core:main: failed to fix configuration 
with err code -6


The problem is that I have nowhere a route 4 defined ….

I do however manipulations on headers and I think I need to reroute 
then through route(0)


  if(is_method("REFER"))

  {

#x contains the value of the Refer-To header==$rt

$var(x)=$rt;

#remove the Refer-To header

remove_hf("Refer-To");

#manipulate x : extract part before ; and add >

$var(x)=$(var(x){s.select,0,;});#{s.fill.right,>,1});

$var(x)=$var(x) + ">";

append_hf("Refer-To:$var(x)");

#re route through route[0]

route(0);

  }

Can it be that the problem is route(0); ?

Please find config below, do you have an idea what is happening ? 
Secondly, I also  attached the b2bua scenario.  If route(0) does not 
work, then how do I need to change the refer-to header before the 
bridge action is done ?


BR, Johan.



___
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] Delivery Status Notification (Failure)

2016-10-24 Thread johan de clercq
Thanks Bogdan, 

The problem is that I have my refer-to header with replaces: in it. 
Hence I adapted the scenario so that I could do header manipulations on this
header. 

I do however manipulations on headers and I think I need to reroute then
through route(0)

  if(is_method("REFER"))
  {
#x contains the value of the Refer-To header==$rt
$var(x)=$rt;
#remove the Refer-To header
remove_hf("Refer-To");
#manipulate x : extract part before ; and add >
$var(x)=$(var(x){s.select,0,;}); 
$var(x)=$var(x) + ">"; 
append_hf("Refer-To:$var(x)");
#re route through route[0]
route(0);   
  }

Hence I have 2 states in the scenario, so that on the first pass the
scenario only puts state to 2 and then on the second pass, it should
effectively bridge. 

There is of course a however :-): opensips does not start ... 

Oct 24 11:28:55 [29804] ERROR:core:fix_actions: called route 4 is not
defined
Oct 24 11:28:55 [29804] ERROR:core:fix_actions: fixing failed (code=-6) at
cfg line 125
Oct 24 11:28:55 [29804] ERROR:core:main: failed to fix configuration with
err code -6

The problem is that I have nowhere a route 4 defined ..

Can it be that route(0) is the problem ?   If yes, how can I implement the
above described logic ?

BR, Johan. 





-Original Message-
From: Bogdan-Andrei Iancu [mailto:bog...@opensips.org] 
Sent: Monday, October 24, 2016 11:59 AM
To: OpenSIPS users mailling list ; johan de clercq

Subject: Re: [OpenSIPS-Users] Delivery Status Notification (Failure)

Hi Johan,

The cfg is more than simple and straight - whatever initial request you
receive -> start the b2b with this scenario.

Regards,

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

On 22.10.2016 17:45, johan de clercq wrote:
> Does somebody has an example .cfg file that shows how to use the refer 
> scenario described in
> http://www.opensips.org/Documentation/Tutorials-B2BUA#toc15 ?
>
> I am struggling with call transfers with REFER and opensips that
loadbalances to multiple gateways.
>
>   
>
>
>
> Johan De Clercq, Managing Director
> Democon bvba - Ooigemstraat 41 - 8780 Oostrozebeke
>
> Tel +3256980990 - GSM +32478720104
>
>   
>
>
>
> ___
> Users mailing list
> Users@lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>



opensips_problem.cfg
Description: Binary data


  

  
server1
  
  
client1
message

  server1

  

  

  
 
   
	 
		   
		 2
		   
   
		 1
		 
   202
   Accepted
 
 
 
   
 
   
   
 client2
 
   Refer-To
 
   
 
   
 
		 
   
2 
		   
 
   

  


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


Re: [OpenSIPS-Users] problem with config file on opensips 1.10

2016-10-24 Thread johan de clercq
Hello Bogdan and users, 

 

I did the following : 

 

Route[0] is now called route[processing] and 

 

Route{} is changed to 

 

Route{

   Route(processing);

}

 

So, now it starts.

 

Thanks for the help. 

 

From: Bogdan-Andrei Iancu [mailto:bog...@opensips.org] 
Sent: Monday, October 24, 2016 12:03 PM
To: OpenSIPS users mailling list ; johan de clercq

Subject: Re: [OpenSIPS-Users] problem with config file on opensips 1.10

 

Hi Johan,

as routes have names , there is no route with "0" named (probably,
internally, the "0" route gets id 4). Better use a new route[processing] to
be used both from main route (roure{}) and from places where you want to
re-route.

Regards,



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

On 24.10.2016 12:53, johan de clercq wrote:

Good morning, 

 

When I start opensips with the attached config file : I have the following
error 

 

Oct 24 11:28:55 [29804] ERROR:core:fix_actions: called route 4 is not
defined

Oct 24 11:28:55 [29804] ERROR:core:fix_actions: fixing failed (code=-6) at
cfg line 125

Oct 24 11:28:55 [29804] ERROR:core:main: failed to fix configuration with
err code -6

 

The problem is that I have nowhere a route 4 defined .. 

 

I do however manipulations on headers and I think I need to reroute then
through route(0)

 

  if(is_method("REFER"))

  {

#x contains the value of the Refer-To header==$rt

$var(x)=$rt;

#remove the Refer-To header

remove_hf("Refer-To");

#manipulate x : extract part before ; and add >

$var(x)=$(var(x){s.select,0,;});#{s.fill.right,>,1});

$var(x)=$var(x) + ">"; 

append_hf("Refer-To:$var(x)");

#re route through route[0]

route(0);   

  }

 

Can it be that the problem is route(0); ?   

 

 

Please find config below, do you have an idea what is happening ? Secondly,
I also  attached the b2bua scenario.  If route(0) does not work, then how do
I need to change the refer-to header before the bridge action is done ? 

 

BR, Johan. 

 

 

 






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

 



opensips_problem.cfg
Description: Binary data
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] Delivery Status Notification (Failure)

2016-10-24 Thread Bogdan-Andrei Iancu

Johan,

The REFER request will never get into your script as it will be absorbed 
and handled by the b2b module - actually will not see any sequential 
requests for a call that was pushed into b2b.


What kind of manipulation you want to do over the REFER-TO hdr ?

Regards,

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

On 24.10.2016 13:06, johan de clercq wrote:

Thanks Bogdan,

The problem is that I have my refer-to header with replaces: in it.
Hence I adapted the scenario so that I could do header manipulations on this
header.

I do however manipulations on headers and I think I need to reroute then
through route(0)

   if(is_method("REFER"))
   {
 #x contains the value of the Refer-To header==$rt
 $var(x)=$rt;
 #remove the Refer-To header
 remove_hf("Refer-To");
 #manipulate x : extract part before ; and add >
 $var(x)=$(var(x){s.select,0,;});
 $var(x)=$var(x) + ">";
 append_hf("Refer-To:$var(x)");
 #re route through route[0]
 route(0);
   }

Hence I have 2 states in the scenario, so that on the first pass the
scenario only puts state to 2 and then on the second pass, it should
effectively bridge.

There is of course a however :-): opensips does not start ...

Oct 24 11:28:55 [29804] ERROR:core:fix_actions: called route 4 is not
defined
Oct 24 11:28:55 [29804] ERROR:core:fix_actions: fixing failed (code=-6) at
cfg line 125
Oct 24 11:28:55 [29804] ERROR:core:main: failed to fix configuration with
err code -6

The problem is that I have nowhere a route 4 defined ..

Can it be that route(0) is the problem ?   If yes, how can I implement the
above described logic ?

BR, Johan.





-Original Message-
From: Bogdan-Andrei Iancu [mailto:bog...@opensips.org]
Sent: Monday, October 24, 2016 11:59 AM
To: OpenSIPS users mailling list ; johan de clercq

Subject: Re: [OpenSIPS-Users] Delivery Status Notification (Failure)

Hi Johan,

The cfg is more than simple and straight - whatever initial request you
receive -> start the b2b with this scenario.

Regards,

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

On 22.10.2016 17:45, johan de clercq wrote:

Does somebody has an example .cfg file that shows how to use the refer
scenario described in
http://www.opensips.org/Documentation/Tutorials-B2BUA#toc15 ?

I am struggling with call transfers with REFER and opensips that

loadbalances to multiple gateways.
   




Johan De Clercq, Managing Director
Democon bvba - Ooigemstraat 41 - 8780 Oostrozebeke

Tel +3256980990 - GSM +32478720104

   




___
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] Delivery Status Notification (Failure)

2016-10-24 Thread johan de clercq
The refer-to header looks like this: 

""

And I think that in order for the scenario to work, it should have the
following layout :



So that's the manipulation that I want to do :

Extract part before ; and add >

BR, 



-Original Message-
From: Bogdan-Andrei Iancu [mailto:bog...@opensips.org] 
Sent: Monday, October 24, 2016 12:24 PM
To: johan de clercq ; 'OpenSIPS users mailling list'

Subject: Re: [OpenSIPS-Users] Delivery Status Notification (Failure)

Johan,

The REFER request will never get into your script as it will be absorbed and
handled by the b2b module - actually will not see any sequential requests
for a call that was pushed into b2b.

What kind of manipulation you want to do over the REFER-TO hdr ?

Regards,

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

On 24.10.2016 13:06, johan de clercq wrote:
> Thanks Bogdan,
>
> The problem is that I have my refer-to header with replaces: in it.
> Hence I adapted the scenario so that I could do header manipulations 
> on this header.
>
> I do however manipulations on headers and I think I need to reroute 
> then through route(0)
>
>if(is_method("REFER"))
>{
>  #x contains the value of the Refer-To header==$rt
>  $var(x)=$rt;
>  #remove the Refer-To header
>  remove_hf("Refer-To");
>  #manipulate x : extract part before ; and add >
>  $var(x)=$(var(x){s.select,0,;});
>  $var(x)=$var(x) + ">";
>  append_hf("Refer-To:$var(x)");
>  #re route through route[0]
>  route(0);
>}
>
> Hence I have 2 states in the scenario, so that on the first pass the 
> scenario only puts state to 2 and then on the second pass, it should 
> effectively bridge.
>
> There is of course a however :-): opensips does not start ...
>
> Oct 24 11:28:55 [29804] ERROR:core:fix_actions: called route 4 is not 
> defined Oct 24 11:28:55 [29804] ERROR:core:fix_actions: fixing failed 
> (code=-6) at cfg line 125 Oct 24 11:28:55 [29804] ERROR:core:main: 
> failed to fix configuration with err code -6
>
> The problem is that I have nowhere a route 4 defined ..
>
> Can it be that route(0) is the problem ?   If yes, how can I implement the
> above described logic ?
>
> BR, Johan.
>
>
>
>
>
> -Original Message-
> From: Bogdan-Andrei Iancu [mailto:bog...@opensips.org]
> Sent: Monday, October 24, 2016 11:59 AM
> To: OpenSIPS users mailling list ; johan de 
> clercq 
> Subject: Re: [OpenSIPS-Users] Delivery Status Notification (Failure)
>
> Hi Johan,
>
> The cfg is more than simple and straight - whatever initial request 
> you receive -> start the b2b with this scenario.
>
> Regards,
>
> Bogdan-Andrei Iancu
> OpenSIPS Founder and Developer
> http://www.opensips-solutions.com
>
> On 22.10.2016 17:45, johan de clercq wrote:
>> Does somebody has an example .cfg file that shows how to use the 
>> refer scenario described in
>> http://www.opensips.org/Documentation/Tutorials-B2BUA#toc15 ?
>>
>> I am struggling with call transfers with REFER and opensips that
> loadbalances to multiple gateways.
>>
>>
>>
>>
>> Johan De Clercq, Managing Director
>> Democon bvba - Ooigemstraat 41 - 8780 Oostrozebeke
>>
>> Tel +3256980990 - GSM +32478720104
>>
>>
>>
>>
>>
>> ___
>> 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] Remove to-tag from 1XX provisional responses

2016-10-24 Thread Newlin, Ben
OpenSIPS has a B2B module that you could run on the existing server. There 
shouldn’t be any need for a B2B server and a proxy server; the B2B would 
replace the proxy. Unless you just can’t change the config of that server for 
some reason?


Ben Newlin

From:  on behalf of Daniel Zanutti 

Reply-To: OpenSIPS users mailling list 
Date: Friday, October 21, 2016 at 9:57 PM
To: OpenSIPS users mailling list 
Subject: Re: [OpenSIPS-Users] Remove to-tag from 1XX provisional responses

Hi Ben and Alex

Thanks for the quick response. This is exactly what I was worrying about, get 
unto some unpredictable state like A rejecting some packages.

Agree that putting a B2B in front/back of opensips would solve but it´s another 
server =(

Thanks for the advices guys!

On Fri, Oct 21, 2016 at 11:10 PM, Alex Balashov 
mailto:abalas...@evaristesys.com>> wrote:
On 10/21/2016 06:36 PM, Newlin, Ben wrote:
Not only that, but provisional responses (except 100 Trying) are
required to have a To tag [1]. So you would likely run into issues with
UAs if you start returning messages without them.

That is an astute point.


--
Alex Balashov | Principal | Evariste Systems LLC

Tel: +1-706-510-6800 (direct) / 
+1-800-250-5920 (toll-free)
Web: http://www.evaristesys.com/, http://www.csrpswitch.com/

___
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] Remove to-tag from 1XX provisional responses

2016-10-24 Thread Daniel Zanutti
Hi

Currently configuration is too way complex to implement a B2B. We tried but
we generate several branchs and lose control while using B2B.

Thanks for the advice

On Mon, Oct 24, 2016 at 11:16 AM, Newlin, Ben  wrote:

> OpenSIPS has a B2B module that you could run on the existing server. There
> shouldn’t be any need for a B2B server and a proxy server; the B2B would
> replace the proxy. Unless you just can’t change the config of that server
> for some reason?
>
>
>
>
>
> Ben Newlin
>
>
>
> *From: * on behalf of Daniel Zanutti <
> daniel.zanu...@gmail.com>
> *Reply-To: *OpenSIPS users mailling list 
> *Date: *Friday, October 21, 2016 at 9:57 PM
> *To: *OpenSIPS users mailling list 
> *Subject: *Re: [OpenSIPS-Users] Remove to-tag from 1XX provisional
> responses
>
>
>
> Hi Ben and Alex
>
>
>
> Thanks for the quick response. This is exactly what I was worrying about,
> get unto some unpredictable state like A rejecting some packages.
>
>
>
> Agree that putting a B2B in front/back of opensips would solve but it´s
> another server =(
>
>
>
> Thanks for the advices guys!
>
>
>
> On Fri, Oct 21, 2016 at 11:10 PM, Alex Balashov 
> wrote:
>
> On 10/21/2016 06:36 PM, Newlin, Ben wrote:
>
> Not only that, but provisional responses (except 100 Trying) are
> required to have a To tag [1]. So you would likely run into issues with
> UAs if you start returning messages without them.
>
>
> That is an astute point.
>
>
>
> --
> Alex Balashov | Principal | Evariste Systems LLC
>
> Tel: +1-706-510-6800 (direct) / +1-800-250-5920 (toll-free)
> Web: http://www.evaristesys.com/, http://www.csrpswitch.com/
>
> ___
> 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
>
>
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


[OpenSIPS-Users] OpenSIPS performance.

2016-10-24 Thread Ramachandran, Agalya (Contractor)
Hi Bogdan,

Am using opensips 2.2.2 version and using opensips as only proxy.
In the default script, in route[relay], I have called setdsturi(); No other 
changes with the default script.

Earlier, I have used only the default value of S_MEMORY and P_MEMORY in the 
/etc/default/opensips.
With this default values, for the end to end established call with pause of (24 
to 45 sec), I could reach only 150cps.

When I tried to increase S_MEMORY and P_MEMORY to 1024 and 64 respectively, and 
having opensips children =12, I could achieve 800 cps.
I have also re-tuned OpenSIPS log file, by adding "-/var/log/opensips.log".

When I see opensips performance with default script I see you are achieving 
9000cps.
What are the places I need to take a look to tune up still, to get more 
performance. Your expertise would help me a lot.

Am running on VM, with 8 core CPU, 16GB RAM  and processor is Intel Xeon 
E312xx(Sandy Bridge).

Regards,
Agalya



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


Re: [OpenSIPS-Users] OpenSIPS performance.

2016-10-24 Thread Liviu Chircu

Hi, Agalya!

A successful stress test should highlight a bottleneck that we are no 
longer able to easily fix. Common bottlenecks with any network server 
application will always include:


- CPU

- I/O (disk / network)

Most often, disk writes are to blame, either through stderr or syslog. 
You will definitely want a very low logging level (log_level = 1) when 
doing thousands of CPS, as even a single log line per request can lower 
the overall throughput.


Choosing the right compile flags can also help. You should print the 
output of "opensips -V", maybe improvements can be made.


To conclude, please try to understand the bottleneck first (by using 
"top", "netstat", "vmstat", etc.), then we can start working on it!


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

On 24.10.2016 17:38, Ramachandran, Agalya (Contractor) wrote:


Hi Bogdan,

Am using opensips 2.2.2 version and using opensips as only proxy.

In the default script, in route[relay], I have called setdsturi(); No 
other changes with the default script.


Earlier, I have used only the default value of S_MEMORY and P_MEMORY 
in the /etc/default/opensips.


With this default values, for the end to end established call with 
pause of (24 to 45 sec), I could reach only 150cps.


When I tried to increase *S_MEMORY and P_MEMORY to 1024 and 
64*respectively, and having opensips *children =12*, I could achieve 
800 cps.


I have also re-tuned OpenSIPS log file, by adding 
“-/var/log/opensips.log”.


When I see opensips performance with default script I see you are 
achieving 9000cps.


What are the places I need to take a look to tune up still, to get 
more performance. Your expertise would help me a lot.


Am running on VM, with 8 core CPU, 16GB RAM  and processor is Intel 
Xeon E312xx(Sandy Bridge).


Regards,
Agalya



___
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] Delivery Status Notification (Failure)

2016-10-24 Thread johan de clercq
What I can do is use multiple instances. 

Instance 1 : do header changes and rewritehostport to instance 2
Instance 2 : do b2bua scenario and route to instance 3
Instance 3 : do the actual work. 

KR, 

-Original Message-
From: johan de clercq [mailto:jo...@democon.be] 
Sent: Monday, October 24, 2016 1:56 PM
To: 'Bogdan-Andrei Iancu' ; 'OpenSIPS users mailling
list' 
Subject: RE: [OpenSIPS-Users] Delivery Status Notification (Failure)

The refer-to header looks like this: 

""

And I think that in order for the scenario to work, it should have the
following layout :



So that's the manipulation that I want to do :

Extract part before ; and add >

BR, 



-Original Message-
From: Bogdan-Andrei Iancu [mailto:bog...@opensips.org]
Sent: Monday, October 24, 2016 12:24 PM
To: johan de clercq ; 'OpenSIPS users mailling list'

Subject: Re: [OpenSIPS-Users] Delivery Status Notification (Failure)

Johan,

The REFER request will never get into your script as it will be absorbed and
handled by the b2b module - actually will not see any sequential requests
for a call that was pushed into b2b.

What kind of manipulation you want to do over the REFER-TO hdr ?

Regards,

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

On 24.10.2016 13:06, johan de clercq wrote:
> Thanks Bogdan,
>
> The problem is that I have my refer-to header with replaces: in it.
> Hence I adapted the scenario so that I could do header manipulations 
> on this header.
>
> I do however manipulations on headers and I think I need to reroute 
> then through route(0)
>
>if(is_method("REFER"))
>{
>  #x contains the value of the Refer-To header==$rt
>  $var(x)=$rt;
>  #remove the Refer-To header
>  remove_hf("Refer-To");
>  #manipulate x : extract part before ; and add >
>  $var(x)=$(var(x){s.select,0,;});
>  $var(x)=$var(x) + ">";
>  append_hf("Refer-To:$var(x)");
>  #re route through route[0]
>  route(0);
>}
>
> Hence I have 2 states in the scenario, so that on the first pass the 
> scenario only puts state to 2 and then on the second pass, it should 
> effectively bridge.
>
> There is of course a however :-): opensips does not start ...
>
> Oct 24 11:28:55 [29804] ERROR:core:fix_actions: called route 4 is not 
> defined Oct 24 11:28:55 [29804] ERROR:core:fix_actions: fixing failed
> (code=-6) at cfg line 125 Oct 24 11:28:55 [29804] ERROR:core:main: 
> failed to fix configuration with err code -6
>
> The problem is that I have nowhere a route 4 defined ..
>
> Can it be that route(0) is the problem ?   If yes, how can I implement the
> above described logic ?
>
> BR, Johan.
>
>
>
>
>
> -Original Message-
> From: Bogdan-Andrei Iancu [mailto:bog...@opensips.org]
> Sent: Monday, October 24, 2016 11:59 AM
> To: OpenSIPS users mailling list ; johan de 
> clercq 
> Subject: Re: [OpenSIPS-Users] Delivery Status Notification (Failure)
>
> Hi Johan,
>
> The cfg is more than simple and straight - whatever initial request 
> you receive -> start the b2b with this scenario.
>
> Regards,
>
> Bogdan-Andrei Iancu
> OpenSIPS Founder and Developer
> http://www.opensips-solutions.com
>
> On 22.10.2016 17:45, johan de clercq wrote:
>> Does somebody has an example .cfg file that shows how to use the 
>> refer scenario described in
>> http://www.opensips.org/Documentation/Tutorials-B2BUA#toc15 ?
>>
>> I am struggling with call transfers with REFER and opensips that
> loadbalances to multiple gateways.
>>
>>
>>
>>
>> Johan De Clercq, Managing Director
>> Democon bvba - Ooigemstraat 41 - 8780 Oostrozebeke
>>
>> Tel +3256980990 - GSM +32478720104
>>
>>
>>
>>
>>
>> ___
>> 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] Why am I gettin error to terminate long calls and not short ones? Why it is "Ignoring callid"?

2016-10-24 Thread Rodrigo Pimenta Carvalho
Hi Răzvan.


I'm still investigating the problem.

Now I'm using the'Pp' flag to create_dialog(), as you had suggested. In this 
case I can see that OpenSIPS sends SIP OPTIONS to the 2 peers and they respond 
with SIP 500 "Unhandled by dialog usages". It is ok to a ping purpose, isn't 
it? That is, even if the response is SIP 500, OpenSIPS will know that the peer 
is online. Ok?


One thing that let me curious is the log below (that rises even using 'Pp' flag 
to create dialogs):


Jan 05 04:14:29 colibri-imx6-jfl opensips[431]: Jan  5 04:14:29 [438] 
ERROR:dialog:dlg_validate_dialog: failed to validate remote contact: 
dlg=[sip:user_A@127.0.0.1:36427;transport=TCP;ob] , 
req=[sip:user_A@192.168.0.101:57985;transport=TCP;ob]
Jan 05 04:14:29 colibri-imx6-jfl opensips[431]: In-Dialog BYE from 
192.168.0.102 (callid=ec4548a8-4207-4fc2-8ed8-81897ff62175) is not valid 
according to dialog


The problem here exists when user B sends SIP BYE to user A. B sends it to the 
contact user_A@192.168.0.101:57985. However, this contact is not known by 
OpenSIPS and then the proxy complains with such log. OpenSIPS does know just 
the contact in the location table, doesn't it?


In table location the contact of user A is "user_A@127.0.0.1:36427". But, 
during the dialog, A sends a SIP UPDATE to B. And such UPDATE has the contact 
"user_A@192.168.0.101:57985" when it arrives in B. Softphone for user B and 
OpenSIPS is running in the same hardware, as I told before, with IP = 
192.168.0.101. So, I suspect that UAC B decides to send SIP BYE to 
"user_A@192.168.0.101:57985" due to that contact found in SIP UPDATE.


It seems that UA A sends SIP UPDATE just when it and OpenSIPS is running in the 
same hardware. But I'm not sure...


Should I fix the contact in the SIP UPDATE before relaying it? Is it possible 
by means of the opensips.cfg file script to fix the contact in the SIP UPDATE?


Or should I fix the SIP BYE request when it arrives in OpenSIPS, before the 
proxy to investigate if the contact is in table location?



Any hint will be very helpful!!

Thanks a lot!

Best regards!







RODRIGO PIMENTA CARVALHO
Inatel Competence Center
Software
Ph: +55 35 3471 9200 RAMAL 979



De: users-boun...@lists.opensips.org  em nome 
de Răzvan Crainea 
Enviado: terça-feira, 18 de outubro de 2016 05:18
Para: users@lists.opensips.org
Assunto: Re: [OpenSIPS-Users] Why am I gettin error to terminate long calls and 
not short ones? Why it is "Ignoring callid"?

Hi, Rodrigo!

Most likely A closes the connection to OpenSIPS. You can check that by tracing 
the communication between A and OpenSIPS.
In order to solve that, make sure that the TCP keepalive[1] is enabled. Also, 
you can use the dialog pinging[2] feature ('Pp' flag to create_dialog()) to 
keep the dialog connections open.

[1] http://www.opensips.org/Documentation/Script-CoreParameters-2-2#toc103
[2] http://www.opensips.org/html/docs/modules/2.2.x/dialog.html#id295792

Best regards,

Răzvan Crainea
OpenSIPS Solutions
www.opensips-solutions.com

Home — OpenSIPS Solutions
www.opensips-solutions.com
OpenSIPS is a mature Open Source implementation of a SIP server. OpenSIPS is 
more than a SIP proxy/router as it includes application-level functionalities.

On 10/17/2016 11:20 PM, Rodrigo Pimenta Carvalho wrote:
Dear OpenSIPS users,


In my hardware, with IP = 192.168.0.101, I have OpenSIPS and softphone A. Thre 
is softphone B also, in another hardware.

A calls B.
B accept the call.
After t minutes...B hungs up the call.

In this moment, A enters in a wrong state, because OpenSIPS reports a problem 
and probably due to it the proxy doesn't communicate with softphone A in such 
moment. So, my softphone A considers that the call is not ended.

See what OpenSIPS reports in this moment:

Jan 05 04:14:29 colibri-imx6-jfl opensips[431]: Jan  5 04:14:29 [438] 
INFO:core:probe_max_sock_buff: using snd buffer of 320 kb
Jan 05 04:14:29 colibri-imx6-jfl opensips[431]: Jan  5 04:14:29 [438] 
INFO:core:init_sock_keepalive: TCP keepalive enabled on socket 20
Jan 05 04:14:29 colibri-imx6-jfl opensips[431]: Jan  5 04:14:29 [438] 
ERROR:core:tcpconn_async_connect: poll error: flags 1c
Jan 05 04:14:29 colibri-imx6-jfl opensips[431]: Jan  5 04:14:29 [438] 
ERROR:core:tcpconn_async_connect: failed to retrieve SO_ERROR 
[server=192.168.0.101:57985] (111) Connection refused
Jan 05 04:14:29 colibri-imx6-jfl opensips[431]: Jan  5 04:14:29 [438] 
ERROR:core:proto_tcp_send: async TCP connect failed
Jan 05 04:14:29 colibri-imx6-jfl opensips[431]: Jan  5 04:14:29 [438] 
ERROR:tm:msg_send: send() for proto 2 failed
Jan 05 04:14:29 colibri-imx6-jfl opensips[431]: Jan  5 04:14:29 [438] 
ERROR:tm:t_forward_nonack: sending request failed


If t is just few minutes, let's say 2 minutes, there is no any issue.

However, if t is bigger, let's say 4 minutes, his issue is present.


What is happening here? Can someone