Re: [OpenSIPS-Users] mid registrar

2018-06-07 Thread Alexey K . via Users
Hi,

isn't it what you need?

Flag 'm' of mid_registrar_save function - save the contacts only in memory 
cache without no DB operation;

Otherwise, without using it, they are seved in DB.

http://www.opensips.org/html/docs/modules/2.4.x/mid_registrar.html#func_mid_registrar_save


---
BR, Alexey
http://alexeyka.zantsev.com/
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


[OpenSIPS-Users] mid registrar

2018-06-07 Thread volga629

Hello Everyone,
Is possible configure mid registrar with database persistency ?



volga629


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


[OpenSIPS-Users] OpenSIPS Crash

2018-06-07 Thread Ben Newlin
Hi,

While running a new test scenario I encountered an OpenSIPS crash.

version: opensips 2.3.3 (x86_64/linux)
flags: STATS: On, DISABLE_NAGLE, USE_MCAST, SHM_MMAP, PKG_MALLOC, F_MALLOC, 
FAST_LOCK-ADAPTIVE_WAIT
ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, 
MAX_URI_SIZE 1024, BUF_SIZE 65535
poll method support: poll, epoll_lt, epoll_et, sigio_rt, select.
git revision: a0bed9d
main.c compiled on 21:08:28 May 16 2018 with gcc 4.8.5

Logs: https://pastebin.com/3vL3rbG4
BT: https://pastebin.com/tTp32ASC

Let me know if anything else is needed.

Thanks,
Ben Newlin

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


[OpenSIPS-Users] NATHELPER vs NAT_TRAVERSAL

2018-06-07 Thread Alexey K . via Users
Hi list,

I wonder what's the difference in NATHELPER and NAT_TRAVERSAL modules.

They seem to do the same work and have similar functions and tests.


---
BR, Alexey
http://alexeyka.zantsev.com/  
___
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users


Re: [OpenSIPS-Users] Round Robin alg and drouting

2018-06-07 Thread Bogdan-Andrei Iancu

Hi Abdoul,

The dynamic routing does not provide any RoundRobin - inside a rule, 
there are 2 ways of using the destination :

1) as they are, in the same order as listed
2) re-order based on weights

The 2) may give you random distribution of calls over the GWs, but not 
RR. Have you tried in setting weights ?


Regards,

Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
  http://www.opensips-solutions.com
OpenSIPS Summit 2018
  http://www.opensips.org/events/Summit-2018Amsterdam

On 06/05/2018 05:16 PM, Abdoul Osséni wrote:

Hello list,

Since a few days, I am looking for a solution to my problem without 
success.


Any help will be appreciated.

My question is how implemented round robin algo with drouting?

For each prefix in dr_rule table, I try to make:

 1. first call -> gw1
 2. next call -> gw2
 3. after call  -> gw1
 4. next call -> gw2

Regards

Abdoul OSSENI
Ingénieur DevOps chez Néo-Soft
Co-Fondateur de ON SERVICES
Tél : +33 601 135 167


___
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] cluster presence

2018-06-07 Thread Bogdan-Andrei Iancu

Hi Slava,

What is the presence clustering configuration you have here ? also, what 
is the DB setup in regards to the cluster ?


Also, did you start getting those errors only after enabling the 
clustering support? have you run an opensips individual presence node to 
see if you still get them ?


Regards,

Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
  http://www.opensips-solutions.com
OpenSIPS Summit 2018
  http://www.opensips.org/events/Summit-2018Amsterdam

On 06/06/2018 05:20 PM, volga...@networklab.ca wrote:

Hello Everyone,
I am trying put togher 3 nodes ( 2 active 1 backup) presence cluster 
and log filled with messages regard cleanup timer.

Any help thank you.

opensips-2.4.1.b044f11ee-16.fc27.x86_64


Jun  6 09:15:12 sbc01 /usr/sbin/opensips[4584]: 
WARNING:core:timer_ticker: timer task  already 
scheduled for 5201330 ms (now 5653910 ms), it may overlap..
Jun  6 09:15:13 sbc01 /usr/sbin/opensips[4584]: 
WARNING:core:timer_ticker: timer task  already 
scheduled for 5201330 ms (now 5654900 ms), it may overlap..



Slava.


___
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] Payload location

2018-06-07 Thread Alain Bieuzent
Hi,

 

I’m using opensips 1.11.11 and since severals day i have a lot of error like:

 

Jun  7 11:06:08 ded-lb-in-master opensips[29450]: 
ERROR:core:set_sdp_payload_attr: Invalid payload location

Jun  7 11:06:08 ded-lb-in-master opensips[29452]: 
ERROR:core:set_sdp_payload_attr: Invalid payload location

Jun  7 11:06:11 ded-lb-in-master opensips[29449]: 
ERROR:core:set_sdp_payload_attr: Invalid payload location

Jun  7 11:06:12 ded-lb-in-master opensips[29449]: 
ERROR:core:set_sdp_payload_attr: Invalid payload location

 

I changed the log level to 4 but there is no more trace.

 

Where can find more information about this error?

 

Thanks

 

Alain

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