[OpenSIPS-Users] SIP default port routing issue

2017-03-22 Thread Satish Patel
This is little tricky question, we are developing softphone and we put
logic in phone it will try to connect 5060 if it's blocked by some
country then it will try 5061 if that is block then try 5062

Now on OpenSIPS we are listening on all 3 ports 5060, 5061 and 5062.
Now problem is here INVITE goes on correct port but when server send
200 OK mesg it will always pick first port in listen: directive, how
do i synchronize communication to specific port where INVITE comes
from?

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


Re: [OpenSIPS-Users] SIP default port routing issue

2017-03-22 Thread Răzvan Crainea

Hi, Satish!

By default, OpenSIPS uses the same interface as the request came in to 
send the reply.

Can you send a SIP trace of the call to figure out what is happening?

Best regards,

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

On 03/22/2017 12:48 AM, Satish Patel wrote:

This is little tricky question, we are developing softphone and we put
logic in phone it will try to connect 5060 if it's blocked by some
country then it will try 5061 if that is block then try 5062

Now on OpenSIPS we are listening on all 3 ports 5060, 5061 and 5062.
Now problem is here INVITE goes on correct port but when server send
200 OK mesg it will always pick first port in listen: directive, how
do i synchronize communication to specific port where INVITE comes
from?

___
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] Presence dialoginfo_set problem

2017-03-22 Thread Schneur Rosenberg
I'm trying to set up presence on OpenSIPS 2.2.2 I am successful in
registering watchers with a subscribe, I can see them in the
active_watchers table, but for some reason only some users will send a
PUBLISH, I can't figure out why some users trigger the PUBLISH and
some don't (even though they have watchers registered), what am I
missing?

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


Re: [OpenSIPS-Users] Presence dialoginfo_set problem

2017-03-22 Thread Schneur Rosenberg
Ok please ignore this issue, I just realized I had set some user do go
with a different route which did not call dialoginfo_set

On Wed, Mar 22, 2017 at 1:15 PM, Schneur Rosenberg
 wrote:
> I'm trying to set up presence on OpenSIPS 2.2.2 I am successful in
> registering watchers with a subscribe, I can see them in the
> active_watchers table, but for some reason only some users will send a
> PUBLISH, I can't figure out why some users trigger the PUBLISH and
> some don't (even though they have watchers registered), what am I
> missing?

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


[OpenSIPS-Users] Opensips crash

2017-03-22 Thread Denis via Users
Hello! Server:: OpenSIPS (2.2.2 (x86_64/linux)) Information from the core you can find here https://yadi.sk/i/Kr0nzENF3GF9VM Thank you for any help.  -- С уважением, Денис.Best regards, Denis   ___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


[OpenSIPS-Users] OpenSIPS and 256 MByte of RAM.

2017-03-22 Thread Rodrigo Pimenta Carvalho
Hi.


I was getting some problems with OpenSIPS and its performance in a hardware 
with 1 CPU and 256 MByte of RAM.

When I moved my OpenSIPS to another hardware with 2 CPUs and 516 MByte of RAM 
it became working very well !

But, I have to move back my OpenSIPS to the 'poor' hardware!


So, what configurations in OpenSIPS files should I set, to get better 
performance?


Any suggestion will be very helpful!


Best regards.




RODRIGO PIMENTA CARVALHO
Inatel Competence Center
Software
Ph: +55 35 3471 9200 RAMAL 979
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] Opensips crash

2017-03-22 Thread Răzvan Crainea

Hi, Denis!

Please recompile opensips with QM_MALLOC and DBG_MALLOC flags. This will 
provide more information about your crash.

You can use this[1] tutorial to enable QM_MALLOC.

[1] http://www.opensips.org/Documentation/TroubleShooting-OutOfMem

Best regards,

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

On 03/22/2017 02:30 PM, Denis via Users wrote:

Hello!
Server:: OpenSIPS (2.2.2 (x86_64/linux))
Information from the core you can find here 
https://yadi.sk/i/Kr0nzENF3GF9VM

Thank you for any help.
--
С уважением, Денис.
Best regards, Denis


___
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 and 256 MByte of RAM.

2017-03-22 Thread Răzvan Crainea

Hi, Rodrigo!

OpenSIPS by itself performs very well :). However, in a call, OpenSIPS 
is not all by itself: you need SIP clients, databases, DNS, and so forth 
and so on. In order to have better performance, you have to increase 
performance for each of these components. So you need to define what 
exactly is drawing OpenSIPS back: is it the processing itself, is it the 
database, is it the DNS and so on.


In order to pinpoint the components that have poor performance, OpenSIPS 
provides some thresholds that you can use to measure different stuff in 
the script, such as DNS queries[1], message processing [2] or mysql 
queries[3]. You should try to profile each of these and figure out what 
exactly is happening in your platform, to find out what exactly you 
can/should improve.


[1] http://www.opensips.org/Documentation/Script-CoreParameters-2-3#toc59
[2] http://www.opensips.org/Documentation/Script-CoreParameters-2-3#toc60
[3] http://www.opensips.org/html/docs/modules/2.3.x/db_mysql.html#id248019

Best regards,

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

On 03/22/2017 03:12 PM, Rodrigo Pimenta Carvalho wrote:


Hi.


I was getting some problems with OpenSIPS and its performance in a 
hardware with 1 CPU and 256 MByte of RAM.


When I moved my OpenSIPS to another hardware with 2 CPUs and 516 MByte 
of RAM it became working very well !


But, I have to move back my OpenSIPS to the 'poor' hardware!


So, what configurations in OpenSIPS files should I set, to get better 
performance?



Any suggestion will be very helpful!


Best regards.




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


___
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 crash

2017-03-22 Thread Denis via Users
Ok, thank you. I will try. -- С уважением, Денис.Best regards, Denis 22.03.2017, 16:21, "Răzvan Crainea" :Hi, Denis!Please recompile opensips with QM_MALLOC and DBG_MALLOC flags. This will provide more information about your crash.You can use this[1] tutorial to enable QM_MALLOC.[1] http://www.opensips.org/Documentation/TroubleShooting-OutOfMemBest regards,Răzvan Crainea
OpenSIPS Solutions
www.opensips-solutions.comOn 03/22/2017 02:30 PM, Denis via Users wrote:Hello! Server:: OpenSIPS (2.2.2 (x86_64/linux)) Information from the core you can find here https://yadi.sk/i/Kr0nzENF3GF9VM Thank you for any help.  -- С уважением, Денис.Best regards, Denis___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
,___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


Re: [OpenSIPS-Users] OpenSIPS and 256 MByte of RAM.

2017-03-22 Thread Michele Pinassi
I think that depends how many transaction you need to serve...


Just for example, i have almost 1 thousand of phones that generates
70-80 transaction per cycle and i have a AMD Opteron(tm) Processor 6128
2GHz with 2GByte of RAM, but consider that DBMS is on another machine...

Michele


On 22/03/2017 14:12, Rodrigo Pimenta Carvalho wrote:
>
> Hi.
>
>
> I was getting some problems with OpenSIPS and its performance in a
> hardware with 1 CPU and 256 MByte of RAM.
>
> When I moved my OpenSIPS to another hardware with 2 CPUs and 516 MByte
> of RAM it became working very well !
>
> But, I have to move back my OpenSIPS to the 'poor' hardware!
>
>
> So, what configurations in OpenSIPS files should I set, to get better
> performance?
>
>
> Any suggestion will be very helpful!
>
>
> Best regards.
>
>

-- 
Michele Pinassi
Responsabile Telefonia di Ateneo
Servizio Reti, Sistemi e Sicurezza Informatica - Università degli Studi di Siena
tel: 0577.(23)5000 - central...@unisi.it

Per trovare una soluzione rapida ai tuoi problemi tecnici consulta le FAQ di 
Ateneo, http://www.faq.unisi.it 



signature.asc
Description: OpenPGP digital signature
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] OpenSIPS and 256 MByte of RAM.

2017-03-22 Thread Rodrigo Pimenta Carvalho
Ok Răzvan.


Thank you very much!

I will take a look.


Best regards.


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



De: Users  em nome de Răzvan Crainea 

Enviado: quarta-feira, 22 de março de 2017 10:24
Para: users@lists.opensips.org
Assunto: Re: [OpenSIPS-Users] OpenSIPS and 256 MByte of RAM.

Hi, Rodrigo!

OpenSIPS by itself performs very well :). However, in a call, OpenSIPS is not 
all by itself: you need SIP clients, databases, DNS, and so forth and so on. In 
order to have better performance, you have to increase performance for each of 
these components. So you need to define what exactly is drawing OpenSIPS back: 
is it the processing itself, is it the database, is it the DNS and so on.

In order to pinpoint the components that have poor performance, OpenSIPS 
provides some thresholds that you can use to measure different stuff in the 
script, such as DNS queries[1], message processing [2] or mysql queries[3]. You 
should try to profile each of these and figure out what exactly is happening in 
your platform, to find out what exactly you can/should improve.

[1] http://www.opensips.org/Documentation/Script-CoreParameters-2-3#toc59
openSIPS | Documentation / Core Parameters - 
2.3
www.opensips.org
3. Core parameters. Global parameters that can be set in configuration file. 
Accepted values are, depending on the actual parameters strings, numbers and 
yes/ no.


[2] http://www.opensips.org/Documentation/Script-CoreParameters-2-3#toc60
openSIPS | Documentation / Core Parameters - 
2.3
www.opensips.org
3. Core parameters. Global parameters that can be set in configuration file. 
Accepted values are, depending on the actual parameters strings, numbers and 
yes/ no.


[3] http://www.opensips.org/html/docs/modules/2.3.x/db_mysql.html#id248019
mysql Module - 
opensips.org
www.opensips.org
This is a module which provides MySQL connectivity for OpenSIPS. It implements 
the DB API defined in OpenSIPS.



Best regards,

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

[http://www.opensips-solutions.com/imgs/slideshow/slide1.jpg]

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 03/22/2017 03:12 PM, Rodrigo Pimenta Carvalho wrote:

Hi.


I was getting some problems with OpenSIPS and its performance in a hardware 
with 1 CPU and 256 MByte of RAM.

When I moved my OpenSIPS to another hardware with 2 CPUs and 516 MByte of RAM 
it became working very well !

But, I have to move back my OpenSIPS to the 'poor' hardware!


So, what configurations in OpenSIPS files should I set, to get better 
performance?


Any suggestion will be very helpful!


Best regards.




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



___
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] Capturing beyond SIP or capturing with Homer 6

2017-03-22 Thread Bogdan-Andrei Iancu
OpenSIPS 2.3 features non-SIP data tracing and extended data correlation 
- new data types like transport protocol, REST client, log or MI related 
can be traced and linked/correlated together.


OpenSIPS 2.3 is the first to evolve to a non-SIP centric model (as 
tracing tool), in full alignment with Homer 6 (as capturing agent), to 
open new possibilities when comes to monitoring and troubleshooting 
large and complex SIP systems.


https://blog.opensips.org/2017/03/22/capturing-beyond-sip/

Or join us to OpenSIPS Summit 2017, May, Amsterdam , for the official 
release of OpenSIPS 2.3 and Homer 6 !!


http://www.opensips.org/events/Summit-2017Amsterdam.html

Enjoy

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

OpenSIPS Summit May 2017 Amsterdam
  http://www.opensips.org/events/Summit-2017Amsterdam.html


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


Re: [OpenSIPS-Users] OpenSIPS debug logging SIP packets it deems non-local

2017-03-22 Thread Jock McKechnie
Thank you, Răzvan, I appreciate the confirmation of my suspicions.

The whole situation is very, VERY strange. I checked iptables (and
disabled) without a change, as well as ngrep - I have SIP traces
showing it attempting to talk to that OpenSIPS box by ngrepping _from_
the same OpenSIPS box. IP and port matches. I just cannot for the life
of me figure out why either the networking stack is not handing these
packets to OpenSIPS... or OpenSIPS is ignoring them to such a point it
isn't even logging them.

It's all very mysterious, and frankly, frustrating. I'm not entirely
sure what to try next.

I'm vaguely wondering if we have some really bizarre network assymetry
which is pushing the packets in via the wrong interface, but they have
totally different IPs (private vs public), so that doesn't even seem
possible, but I'm grasping at straws to explain what I'm seeing. I
need an exorcist!

 - Jock

On Mon, Mar 20, 2017 at 3:29 AM, Răzvan Crainea  wrote:
> Hi, Jock!
>
> If you are not seeing anything in the logs, it means that OpenSIPS doesn't
> even receive the message.
> I would first try to make a ngrep trace and see if the reply message gets on
> the machine. Next, I would double check the firewall rules of the machine,
> perhaps disabling the completely.
>
> Best regards,
>
> Răzvan Crainea
> OpenSIPS Solutions
> www.opensips-solutions.com
>
>
> On 03/15/2017 11:16 PM, Jock McKechnie wrote:
>>
>> We have an existing call flow layout that effectively runs:
>> "SBC" -> "OpenSIPS LB" -> "FreeSWITCH"
>>
>> and have recently added a middleman for completely abstract reasons so
>> it now goes:
>> "SBC" -> "OpenSIPS A" -> "OpenSIPS LB" -> "FreeSWITCH"
>>
>> And all of a sudden the LB OpenSIPS is unable to see replies from the
>> FreeSWITCH. My thinking at this time is that the LB has decided the
>> 200 OKs coming back from FreeSWITCH are not actually destined for it,
>> so it's ignoring them, as if were a stray packet on a different
>> dialogue that it's not able to understand mid-stream and dumps.
>>
>> The LB OpenSIPS is running a reasonably old version of OpenSIPS at
>> present, pending a mass corporate upgrade - 1.8.5.
>>
>> I have the 'debug' level set to '9' and I'm not seeing any hints that
>> OpenSIPS is seeing the discarded/ignored SIP packets in the log at
>> all. Is this action _not_ logged, or am I barking up the wrong tree
>> and OpenSIPS isn't even seeing this packet at all?
>>
>> Apologies for long-winded lead up to a simple question, but I wanted
>> to be thorough.
>>
>> As always, many thanks;
>>
>>   - Jock
>>
>> ___
>> 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


Re: [OpenSIPS-Users] Is there new information about "WARNING ...tm-utimer...delay in execution" nowadays ?

2017-03-22 Thread Bogdan-Andrei Iancu

Hi Rodrigo,

The issue you are reporting it is not the real problem, but a side 
effect of it. As you noticed, when opensips is under heavy load (CPU?), 
the internal timer system starts to generate warnings you see.


Now, the questions is: why is your opensips using 100% or why is it 
blocked (no processes available). Do you have any input on this ?


Regards,

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

OpenSIPS Summit May 2017 Amsterdam
  http://www.opensips.org/events/Summit-2017Amsterdam.html

On 03/20/2017 09:10 PM, Rodrigo Pimenta Carvalho wrote:



Hi.


I have seen again that behavior from OpenSIPS that generates lots of 
warnings, like below:




Jan 01 06:19:08 colibri-imx6 opensips[1785]: Jan  1 06:19:08 [1792] 
WARNING:core:utimer_ticker: utimer task  already scheduled 
for 21873780 ms (now 21873970 ms), it may overlap..
Jan 01 06:19:08 colibri-imx6 opensips[1785]: Jan  1 06:19:08 [1792] 
WARNING:core:utimer_ticker: utimer task  already scheduled 
for 21873990 ms (now 21873990 ms), it may overlap..
Jan 01 06:19:08 colibri-imx6 opensips[1785]: Jan  1 06:19:08 [1793] 
WARNING:core:handle_timer_job: utimer job  has a 19 us 
delay in execution
Jan 01 06:19:26 colibri-imx6 opensips[1785]: Jan  1 06:19:26 [1792] 
WARNING:core:utimer_ticker: utimer task  already scheduled 
for 0 ms (now 21891940 ms), it may overlap..
Jan 01 06:19:43 colibri-imx6 opensips[1785]: Jan  1 06:19:43 [1792] 
WARNING:core:utimer_ticker: utimer task  already scheduled 
for 21908780 ms (now 21909000 ms), it may overlap..
Jan 01 06:19:43 colibri-imx6 opensips[1785]: Jan  1 06:19:43 [1792] 
WARNING:core:utimer_ticker: utimer task  already scheduled 
for 21909010 ms (now 21909010 ms), it may overlap..
Jan 01 06:19:43 colibri-imx6 opensips[1785]: Jan  1 06:19:43 [1794] 
WARNING:core:handle_timer_job: utimer job  has a 22 us 
delay in execution
Jan 01 06:19:43 colibri-imx6 opensips[1785]: Jan  1 06:19:43 [1797] 
WARNING:core:handle_timer_job: timer job  has a 22 us 
delay in execution
Jan 01 06:19:43 colibri-imx6 opensips[1785]: Jan  1 06:19:43 [1795] 
WARNING:core:handle_timer_job: timer job  has a 22 us 
delay in execution
Jan 01 06:19:43 colibri-imx6 opensips[1785]: Jan  1 06:19:43 [1793] 
WARNING:core:handle_timer_job: timer job  has a 23 
us delay in execution
Jan 01 06:19:49 colibri-imx6 opensips[1785]: Jan  1 06:19:49 [1798] 
WARNING:core:handle_timer_job: utimer job  has a 37 us 
delay in execution
Jan 01 06:19:49 colibri-imx6 opensips[1785]: Jan  1 06:19:49 [1792] 
WARNING:core:utimer_ticker: utimer task  already scheduled 
for 21914930 ms (now 21915300 ms), it may overlap..
Jan 01 06:19:49 colibri-imx6 opensips[1785]: Jan  1 06:19:49 [1792] 
WARNING:core:utimer_ticker: utimer task  already scheduled 
for 21915320 ms (now 21915320 ms), it may overlap..
Jan 01 06:19:49 colibri-imx6 opensips[1785]: Jan  1 06:19:49 [1794] 
WARNING:core:handle_timer_job: utimer job  has a 3 us 
delay in execution
Jan 01 06:19:49 colibri-imx6 opensips[1785]: Jan  1 06:19:49 [1795] 
WARNING:core:handle_timer_job: utimer job  has a 3 us 
delay in execution


When it happens, I can see that OpenSIPS is using the CPU almost 100% 
of the time. And such behavior prevents others softwares in my system 
to work without problems. I see 6 process with 'OpenSIPS name and each 
one using 11% of CPU, for example. Now, the unique solution is to 
reboot the system. Otherwise, the system remains instable and OpenSIPS 
continues using the CPU much more than usual.


Is there some new information about such issue that I should to know 
nowadays?

Is my hardware under minimals requirements to run OpenSIPS?
Is my script opensips.cfg wrong?

My system has the following characteristics:

CPU clock = 996000
CPU model name= ARMv7 Processor rev 10 (v7l)
 Hardware=  Freescale i.MX6 Quad/DualLite (Device Tree)

   total   used free shared
buffers cached

Mem:251140 157208  93932 0196  26304



In my script opensips.cfg I have:
---
tcp_children=4
tcp_keepalive = 1
children=4
#fork=no
auto_aliases=no

 Transaction Module
loadmodule "tm.so"
modparam("tm", "fr_timeout", 90)
modparam("tm", "fr_inv_timeout", 120)
modparam("tm", "T1_timer", 3000)
modparam("tm", "restart_fr_on_each_reply", 0)
modparam("tm", "onreply_avp_mode", 1)

Any hint will be very helpful!

Best regards.




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


___
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] How do you get list of dialog ids that are active for load balancer id?

2017-03-22 Thread Bogdan-Andrei Iancu

Hi Robert,

The dlg_end_dlg MI function ( 
http://www.opensips.org/html/docs/modules/2.2.x/dialog.html#dlg_end_dlg 
) can be triggered via any of the MI backends.


Also, instead of looking in the "dialog" table (which has older 
information), better use the "dlg_list" MI function to get the realtime 
list of ongoing calls.


Regards,

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

OpenSIPS Summit May 2017 Amsterdam
  http://www.opensips.org/events/Summit-2017Amsterdam.html

On 03/08/2017 10:28 PM, Mundkowsky, Robert wrote:


Argh, but there is no way to call dlg_end_dlg since it is not an MI 
function?


Robert Mundkowsky

*From:*Mundkowsky, Robert
*Sent:* Wednesday, March 8, 2017 3:22 PM
*To:* 'OpenSIPS users mailling list' 
*Subject:* RE: How do you get list of dialog ids that are active for 
load balancer id?


Think I figured it out. Info is in Dialog table in database in to_uri 
column


Robert Mundkowsky

*From:*Mundkowsky, Robert
*Sent:* Wednesday, March 8, 2017 2:24 PM
*To:* 'OpenSIPS users mailling list' >
*Subject:* RE: How do you get list of dialog ids that are active for 
load balancer id?


Forgot to mention I am trying to do this from Python script using 
XMLRPC to OpenSIPS server.


Robert Mundkowsky

*From:*Mundkowsky, Robert
*Sent:* Wednesday, March 8, 2017 1:24 PM
*To:* OpenSIPS users mailling list >
*Subject:* How do you get list of dialog ids that are active for load 
balancer id?


How do you get list of dialog ids that are active for load balancer id?

For example, if I want to end a call on a specific load balancer 
gateway, I want to invoke “dlg_end_dlg(dlg_id).  But I don’t see any 
information that can help me get mapping between dlg_id  and Load 
Balancer gateway id.


Robert Mundkowsky




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] Accounting B2BUA market scenario

2017-03-22 Thread Bogdan-Andrei Iancu

Hi Andreas,

To account both the UAC and UAS type request, you should also use the 
local route - to give you access (and accounting) for the outbound call 
legs generated by the B2B.


Best regards,

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

OpenSIPS Summit May 2017 Amsterdam
  http://www.opensips.org/events/Summit-2017Amsterdam.html

On 03/07/2017 02:48 PM, Andreas Bøckmann wrote:

Hello,

I am trying to generate acc records for the marketing scenario example 
(B2BUA) and execute it as such:


opensipsctl fifo b2b_trigger_scenario marketing 
sip:+12345@external.domain1 sip:+23456@external.domain2 
sip:+23456@external.domain1


The only records I get in the database on the OpenSIPS-B2BUA is "BYE" 
records; without an initial INVITE so there is no duration etc.


How do you properly handle accounting for the B2B-module; and in my 
specific case how do I generate records on UAC generated INVITE in 
OpenSIPS?


route[b2b_request] {
   do_accounting("db");
   #do_accounting("db|log", "cdr|missed", "acc");
}

//Andy


___
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] Is there new information about "WARNING ...tm-utimer...delay in execution" nowadays ?

2017-03-22 Thread Rodrigo Pimenta Carvalho
Hi Bogdan.


Thank you for answering the questions.


In fact, today I moved my project to another hardware (2 CPUs and 516 MByte of 
RAM) and then I was able to see that OpenSIPS is working very well spending 
almost 0% of the CPUs. So there is no problem with the script opensips.cfg.


On the other hand, we have a sip client (softphone implemented by us) that even 
on this new environment it spends almost 100% of CPUs during calls. So, this 
softphone has a problem that was preventing the OpenSIPS to use the CPU in a 
normal way, as I suppose. In this case, I will focus my attention in such 
softphone for a while. Hopefully, by solving such issue, the entire system will 
run well even with 1 CPU and 256 MByte of RAM.


Best regards.


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



De: Bogdan-Andrei Iancu 
Enviado: quarta-feira, 22 de março de 2017 17:38
Para: OpenSIPS users mailling list; Rodrigo Pimenta Carvalho
Assunto: Re: [OpenSIPS-Users] Is there new information about "WARNING 
...tm-utimer...delay in execution" nowadays ?

Hi Rodrigo,

The issue you are reporting it is not the real problem, but a side effect of 
it. As you noticed, when opensips is under heavy load (CPU?), the internal 
timer system starts to generate warnings you see.

Now, the questions is: why is your opensips using 100% or why is it blocked (no 
processes available). Do you have any input on this ?

Regards,

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

OpenSIPS Summit May 2017 Amsterdam
  http://www.opensips.org/events/Summit-2017Amsterdam.html


[http://www.opensips.org/events/img/conference-image-2.jpg]

OpenSIPS Summit 2nd-5th May 2017, 
Amsterdam
www.opensips.org
OPENSIPS Summit 2017 "Great minds have purposes; others have wishes" Join us 
for three exciting days filled with VoIP and RTC presentations, workshops and 
design ...

[http://www.opensips-solutions.com/imgs/slideshow/slide1.jpg]

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 03/20/2017 09:10 PM, Rodrigo Pimenta Carvalho wrote:


Hi.


I have seen again that behavior from OpenSIPS that generates lots of warnings, 
like below:


Jan 01 06:19:08 colibri-imx6 opensips[1785]: Jan  1 06:19:08 [1792] 
WARNING:core:utimer_ticker: utimer task  already scheduled for 
21873780 ms (now 21873970 ms), it may overlap..
Jan 01 06:19:08 colibri-imx6 opensips[1785]: Jan  1 06:19:08 [1792] 
WARNING:core:utimer_ticker: utimer task  already scheduled for 
21873990 ms (now 21873990 ms), it may overlap..
Jan 01 06:19:08 colibri-imx6 opensips[1785]: Jan  1 06:19:08 [1793] 
WARNING:core:handle_timer_job: utimer job  has a 19 us delay in 
execution
Jan 01 06:19:26 colibri-imx6 opensips[1785]: Jan  1 06:19:26 [1792] 
WARNING:core:utimer_ticker: utimer task  already scheduled for 0 ms 
(now 21891940 ms), it may overlap..
Jan 01 06:19:43 colibri-imx6 opensips[1785]: Jan  1 06:19:43 [1792] 
WARNING:core:utimer_ticker: utimer task  already scheduled for 
21908780 ms (now 21909000 ms), it may overlap..
Jan 01 06:19:43 colibri-imx6 opensips[1785]: Jan  1 06:19:43 [1792] 
WARNING:core:utimer_ticker: utimer task  already scheduled for 
21909010 ms (now 21909010 ms), it may overlap..
Jan 01 06:19:43 colibri-imx6 opensips[1785]: Jan  1 06:19:43 [1794] 
WARNING:core:handle_timer_job: utimer job  has a 22 us delay in 
execution
Jan 01 06:19:43 colibri-imx6 opensips[1785]: Jan  1 06:19:43 [1797] 
WARNING:core:handle_timer_job: timer job  has a 22 us delay in 
execution
Jan 01 06:19:43 colibri-imx6 opensips[1785]: Jan  1 06:19:43 [1795] 
WARNING:core:handle_timer_job: timer job  has a 22 us delay in 
execution
Jan 01 06:19:43 colibri-imx6 opensips[1785]: Jan  1 06:19:43 [1793] 
WARNING:core:handle_timer_job: timer job  has a 23 us delay 
in execution
Jan 01 06:19:49 colibri-imx6 opensips[1785]: Jan  1 06:19:49 [1798] 
WARNING:core:handle_timer_job: utimer job  has a 37 us delay in 
execution
Jan 01 06:19:49 colibri-imx6 opensips[1785]: Jan  1 06:19:49 [1792] 
WARNING:core:utimer_ticker: utimer task  already scheduled for 
21914930 ms (now 21915300 ms), it may overlap..
Jan 01 06:19:49 colibri-imx6 opensips[1785]: Jan  1 06:19:49 [1792] 
WARNING:core:utimer_ticker: utimer task  already scheduled for 
21915320 ms (now 21915320 ms), it may overlap..
Jan 01 06:19:49 colibri-imx6 opensips[1785]: Jan  1 06:19:49 [1794] 
WARNING:core:handle_timer_job: utimer job  has a 3 us delay in 
execution
Jan 01 06:19:49 colibri-imx6 opensips[1785]: Jan  1 06:19:49 [1795] 
WARNING:core:handle_timer_job: utimer job  has a 30