Re: [OpenSIPS-Users] uac_auth DB support

2024-01-08 Thread Schneur Rosenberg
Thanks Liviu, BTW it's not Sebastian. it's Schneur AKA Scott :-) On Mon, Jan 8, 2024 at 9:34 AM Liviu Chircu wrote: > > On 06.12.2023 16:18, S.Rosenberg wrote: > > > I would like to know if OpenSIPS has a way to pull the registrant info via > code without manually doing a DB query? > > Hi Sebast

Re: [OpenSIPS-Users] Memory leak

2022-01-18 Thread Schneur Rosenberg
nSIPS eBootcamp 2021 >https://opensips.org/training/OpenSIPS_eBootcamp_2021/ > > On 1/18/22 6:08 PM, Schneur Rosenberg wrote: > > Hi, it seems like it was fixed in 3.2, I will have to migrate all my > > servers, I use binary replication will it break if one server is >

Re: [OpenSIPS-Users] Setting Extensions via Rest API or Database writes

2022-01-04 Thread Schneur Rosenberg
OpenSIPS is nothing like Asterisk it's a completely different beast, regarding your question yes it can use a DB to program stuff in realtime. On Tue, Jan 4, 2022, 17:01 Nauman Sulaiman (SESSIONTALK) < nau...@sessiontalk.co.uk> wrote: > Hi, > > Just wondering if Opensips has something similar to

Re: [OpenSIPS-Users] Memory leak

2021-12-15 Thread Schneur Rosenberg
ot;+$rd ; append_hf("Contact: \r\n"); exit; } } On Fri, Dec 10, 2021 at 2:16 PM Schneur Rosenberg wrote: > > Hi Bogdan, > > I did it on a backup server, its also leaking memory but at a slower > pace, I'm attaching the logs when running kill -SIGUSR1 on

Re: [OpenSIPS-Users] Memory leak

2021-12-11 Thread Schneur Rosenberg
Here is a newer dump https://pastebin.com/2CTihBVD On Fri, Dec 10, 2021 at 2:16 PM Schneur Rosenberg wrote: > > Hi Bogdan, > > I did it on a backup server, its also leaking memory but at a slower > pace, I'm attaching the logs when running kill -SIGUSR1 on the pid > tha

Re: [OpenSIPS-Users] Memory leak

2021-12-08 Thread Schneur Rosenberg
I just noticed that process 88 runs the timer handler, perhaps this might shed light on whats going on. opensipsctl fifo ps Process:: ID=88 PID=5327 Type=Timer handler On Wed, Dec 8, 2021 at 10:55 AM Schneur Rosenberg wrote: > > Now a few hours later this is what I'm getting > D

Re: [OpenSIPS-Users] Memory leak

2021-12-08 Thread Schneur Rosenberg
d_size:: 1116720 pkmem:84-real_used_size:: 1096568 pkmem:85-real_used_size:: 1300592 pkmem:86-real_used_size:: 1699648 pkmem:87-real_used_size:: 2501096 pkmem:88-real_used_size:: 4191280 pkmem:89-real_used_size:: 882528 On Tue, Dec 7, 2021 at 7:53 PM Schneur Rosenberg wrote: > > Hi, lately I

[OpenSIPS-Users] Memory leak

2021-12-07 Thread Schneur Rosenberg
Hi, lately I'm getting these errors in my logs. ERROR:core:fm_malloc: not enough free pkg memory (1792 bytes left, need 2184), please increase the "-M" command line para meter! CRITICAL:core:hostent_cpy: pkg memory allocation failure ERROR:nathelper:nh_timer: out of pkg memory ERROR:core:fm_ma

Re: [OpenSIPS-Users] Load balancer probing_method INVITE not sending contact header

2021-11-11 Thread Schneur Rosenberg
Hi, thank you very much that fixed the error but then it's complained with a 484 Address Incomplete, I fixed the RURI too and now it's working fine. Scott On Wed, Nov 10, 2021, 21:47 Schneur Rosenberg wrote: > No, I'll try and keep you posted. > > On Wed, Nov 10,

Re: [OpenSIPS-Users] Load balancer probing_method INVITE not sending contact header

2021-11-10 Thread Schneur Rosenberg
No, I'll try and keep you posted. On Wed, Nov 10, 2021 at 9:39 PM Vasilios Tzanoudakis wrote: > > Have you tried adding the extra contact header in local_route? > > Στις Τετ, 10 Νοε 2021, 21:18 ο χρήστης Schneur Rosenberg > έγραψε: >> >> Hi, I'm using loa

[OpenSIPS-Users] Load balancer probing_method INVITE not sending contact header

2021-11-10 Thread Schneur Rosenberg
Hi, I'm using load balancer with probing_method INVITE, it worked fine for many years with my Asterisk and Freeswitch servers, I'm migrating my asterisk server from chan_sip to pjsip and now asterisk is rejecting all the probing requests with a 400 Missing Contact header, I checked the modparams fo

Re: [OpenSIPS-Users] Call-ID changing on re-registration

2021-07-07 Thread Schneur Rosenberg
I know about the expire, I just want to ignore them because I only care when new devices register, I've tried the contact issue but it didn't help, both phones came in with the same contact. On Wed, Jul 7, 2021, 11:31 Alexey Kazantsev via Users < users@lists.opensips.org> wrote: > Hello, > > mayb

[OpenSIPS-Users] Call-ID changing on re-registration

2021-07-06 Thread Schneur Rosenberg
Hi, I'm trying to run a script when a new sip device registers, I want that if 2 devices have the same user name it should run the script when each device registers first time, I added this script to my REGISTER processing if (!is_contact_registered("location",,,"$ci") && $hdr(Expires) !="0") runs

[OpenSIPS-Users] Opensips generate ring and hangup after x seconds

2021-06-09 Thread Schneur Rosenberg
Hi, I would like to have OpenSIPs generate a ring tone on a incoming call, and hang up after x seconds, I dont want to the call to ring on any device, I just want to reply to the client with a 180 and a cancel after x seconds, is it possible? S. Rosenberg _

Re: [OpenSIPS-Users] OpenSIPs & CP - Documentation (Dynamic Routing, DialPlans, CP)

2021-03-12 Thread Schneur Rosenberg
Why don't you get Bogdans book? It's called Building telephony systems with OpenSIPs second edition, it's a little old but it's a good start. On Fri, Mar 12, 2021, 08:55 Rick McGill - ₪ wrote: > Dear OpenSIPs Community, > > I'm very new to OpenSIPS and have a new fresh install and have started t

Re: [OpenSIPS-Users] Limit Call per Second

2021-01-23 Thread Schneur Rosenberg
Maybe use memcache, it's global and it won't create a bottleneck like a database query would. Scott (Schneur) On Thu, Jan 21, 2021, 05:43 Ovidiu Sas wrote: > Take a look at the ratelimit module: > https://opensips.org/docs/modules/3.1.x/ratelimit.html > > -ovidiu > > On Wed, Jan 20, 2021 at 10:

Re: [OpenSIPS-Users] Opensips.cfg on Amazon EC2 - no audio issues

2020-12-22 Thread Schneur Rosenberg
I didn't do this in a while, so I don't remember what I've done, but did you set the advertised_address= with the external IP address, and did you make sure the proper ports are open? On Wed, Dec 23, 2020, 06:19 HS wrote: > Dear all. > > We have a fairly basic setup on Opensips 3.0 on Amazon EC

[OpenSIPS-Users] Segfault in OpenSIPs 2.4.8

2020-11-17 Thread Schneur Rosenberg
Hi I just upgraded from 2.4.4 to 2.4.8 and my system crashed, first I got a couple of these messages in my log over a span of a few hours. CRITICAL:db_mysql:wrapper_single_mysql_stmt_execute: driver error (1213): Deadlock found when trying to get lock; try restarting transaction And then this ha

Re: [OpenSIPS-Users] Call MI functions from script

2020-02-27 Thread Schneur Rosenberg
I don't know if you can, but I assume you can always write a external script with xmlrpc and use the exec in a timer route to execute the script. On Tue, Feb 25, 2020, 9:40 PM Grant Bagdasarian wrote: > Hello, > > Is it possible to call MI functions from within the OpenSips script? > For instanc

Re: [OpenSIPS-Users] Freeswitch integration with Opensips

2020-01-08 Thread Schneur Rosenberg
There are a couple of ways to do it, here is the way I did it, my users register on a opensips cluster, freeswitch and asterisk have a copy of every user freeswitch and asterisk have a acl to allow outgoing calls only from opensips, opensips sends the call to freeswitch and then freeswitch uses set

Re: [OpenSIPS-Users] Opensips 3.0 cluster module help .

2019-07-24 Thread Schneur Rosenberg
*Senior Network Testing and Software Engineer* > *3CLogic , ph:07827611765* > > > On Wed, Jul 24, 2019 at 2:31 PM Schneur Rosenberg < > rosenberg11...@gmail.com> wrote: > >> You would probably need some kind of shared table that tells you where >> each user is registered

Re: [OpenSIPS-Users] Opensips 3.0 cluster module help .

2019-07-24 Thread Schneur Rosenberg
You would probably need some kind of shared table that tells you where each user is registered and then redirect the call to the proper server. If you're using multicast all servers sould be able to handle the call no matter which server accepted the registration. On Mon, Jul 22, 2019, 4:00 PM Sa

Re: [OpenSIPS-Users] Opensips stops responding

2019-07-12 Thread Schneur Rosenberg
Another update, seems like my assumption that some requests were handeld was wrong, the keepalive script had a bug and therefore didn't failover, I now believe OpenSIPs ignored all requests after the initial DB error, this seems like a bug in OpenSIPs it shouldnt just stop responding to requests b

[OpenSIPS-Users] Opensips stops responding

2019-07-11 Thread Schneur Rosenberg
Hi, I've had recently a few times that OpenSIPSs didnt crash but it stopped responding to certain requests, perhaps INVITES that requeired DB access, but I havent verified it becuase I always wanted to bring it back up ASAP because it seems like it did respond to my requests that my keepalived VRRP

Re: [OpenSIPS-Users] t_on_reply not catching 183

2019-06-07 Thread Schneur Rosenberg
Are you missing a fix_natted_contact somewhere? That should in most cases eliminate the need of stun. On Fri, Jun 7, 2019, 2:14 PM Mark Farmer wrote: > Never mind, it seems the issue was triggered by my soft client not using > STUN > > Fixed that bit now :) > > Mark. > > > On Fri, 7 Jun 2019 at

Re: [OpenSIPS-Users] first_hit_counter

2019-05-31 Thread Schneur Rosenberg
I assume the counter counts how many times the particular server has been sent a call, the state is to set to active, inactive or probing the particular switch, Weight is for the algorithm to decide how often to chose this switch, the higher the state the more hits it would get, the priority is to

Re: [OpenSIPS-Users] Query regarding opensips cluster module .

2019-01-16 Thread Schneur Rosenberg
It's not a cookie cutter pattern, there are different types of clustering and how they sync and how they catch up after a restart, you might also need to take care of who sends notifies for presence etc, there is also the option of anycast which is a great option if your hardware and ISP supports

Re: [OpenSIPS-Users] Opensips caching

2019-01-16 Thread Schneur Rosenberg
I believe that dynamic routing runs a SQL query every time, I don't think that can be cached, but if you do your own logic in opensips, you should be able to use cashedb_memcached On Thu, Jan 17, 2019, 9:40 AM Schneur Rosenberg In the script you have multiple caching options, cache_stor

Re: [OpenSIPS-Users] Opensips caching

2019-01-16 Thread Schneur Rosenberg
In the script you have multiple caching options, cache_store and cache_fetch from cachedb_mamcached work without external servers like cachedb_mongo that requires mongodb or other nosql modules. On Thu, Jan 17, 2019, 9:18 AM Vishal Pai Hello everyone > > what is the best way to implement the cach

Re: [OpenSIPS-Users] Happy Holidays

2018-12-24 Thread Schneur Rosenberg
Thank you and a happy holidays to the OpenSIPs team. S. Rosenberg On Mon, Dec 24, 2018, 2:01 PM Bogdan-Andrei Iancu > > In the behalf of OpenSIPS team, we wish you all Happy Holidays and an even > better 2019. > > And of course, an even better OpenSIPS release in 2019 ;) > > > > -- > Bogdan-Andr

[OpenSIPS-Users] handle_publish wrong destination

2018-12-22 Thread Schneur Rosenberg
HI, my presence was working properly and now I realized that its not working anymore for incoming calls, I dont have a external presence server, I use the pua_dialoginfo, I did a trace and I saw that for outgoing calls the system sends a PUBLISH to itself and then properly sends a NOTIFY to the sub

Re: [OpenSIPS-Users] Flush bad user data from from running opensips

2018-11-14 Thread Schneur Rosenberg
Bogdan what ever happened to the reload feature, it was discussed in the past, it can greatly improve our lives :-) On Wed, Nov 14, 2018, 7:02 PM Bogdan-Andrei Iancu That's the whole idea - if the "use_domain" is on 0, OpenSIPS will > reference the users only by username. So try "opensipsctl add

Re: [OpenSIPS-Users] ACK increased Cseq on reinvite

2018-11-09 Thread Schneur Rosenberg
Bogdan, any update? On Wed, Nov 7, 2018 at 11:59 AM Schneur Rosenberg wrote: > > For security reasons I will email it directly to you. > > thanks > On Tue, Nov 6, 2018 at 11:21 PM Bogdan-Andrei Iancu > wrote: > > > > Hi Schneur, > > > > Could you pleas

Re: [OpenSIPS-Users] ACK increased Cseq on reinvite

2018-11-07 Thread Schneur Rosenberg
om > caller and callee side too for the whole duration of the call. > > Regards, > > Bogdan-Andrei Iancu > > OpenSIPS Founder and Developer >http://www.opensips-solutions.com > OpenSIPS Bootcamp 2018 >http://opensips.org/training/OpenSIPS_Bootcamp_2018/ > &

[OpenSIPS-Users] ACK increased Cseq on reinvite

2018-11-06 Thread Schneur Rosenberg
Hi, I have this scenario, I'm sending to a carrier that requires authentication and I use uac_auth(), when I send a call to the carrier everything works fine, but when OpenSIPs sends a reinvite the carrier responds witha 200 OK, OpenSIPs replies with a ACK but it falsely increments the CSeq , caus

[OpenSIPS-Users] mi_xmlrpc_ng for ul_dump

2018-10-31 Thread Schneur Rosenberg
Hi, I was relying on the DB to get information regarding registered users , but I'm having issues with the DB so I'm trying to get it directly from opensips using mi_xmlrpc_ng, I'm using PHP with the xmlrpc_encode_request function., but the ul_dump method does not seem to have any params, when I re

Re: [OpenSIPS-Users] Location table update instead of insert

2018-10-29 Thread Schneur Rosenberg
quot; should do the job. After sync'ing up, the > receiver node will avoid key conflicts by not re-doing the INSERTs when > its boots up. Later, when it switches to primary, the UPDATEs will work > just fine. > > Best regards, > > Liviu Chircu > OpenSIPS Developer > h

[OpenSIPS-Users] Location table update instead of insert

2018-10-23 Thread Schneur Rosenberg
Hi, the last few days my location table displays only a fraction of the registered users, I did some digging and I enabled query logging on MySQL and I can see that OpenSIPS is doing updates instead of inserts, and being that a update on a WHERE that does not My system is a cluster of 2 OpenSIPS s

Re: [OpenSIPS-Users] CANCEL Reason is not propagated

2018-08-16 Thread Schneur Rosenberg
Wow I never knew this feature exists, do all phones implement this feature? On Thu, Aug 16, 2018, 11:02 AM vasilevalex wrote: > Hello Răzvan, > > Thank you very much for so fast response and fix! > > I built branch 2.4 from git and now it works fine, as it should. > > CANCEL Reason is propagated

Re: [OpenSIPS-Users] location table in MySQL when using full-sharing-cluster

2018-07-05 Thread Schneur Rosenberg
Maybe I should emphasize this behavior even > further both in the docs and logs. > > Best regards, > > [1]: > http://www.opensips.org/html/docs/modules/2.4.x/usrloc.html#param_db_mode > > Liviu Chircu > OpenSIPS Developer > http://www.opensips-solutions.com > > On 05

Re: [OpenSIPS-Users] location table in MySQL when using full-sharing-cluster

2018-07-05 Thread Schneur Rosenberg
, "cluster_mode", "full-sharing") modparam("usrloc", "location_cluster", 1) modparam("usrloc", "restart_persistency", "load-from-sql") #modparam("usrloc", "restart_persistency", "sync-from-cluster") modparam("

Re: [OpenSIPS-Users] location table in MySQL when using full-sharing-cluster

2018-07-05 Thread Schneur Rosenberg
gt; > > Yes, this is possible. Unset the "working_mode_preset" and > > individually set the "cluster_mode", "restart_persistency" and > > "sql_write_mode" so you achieve this effect. > > > > Best regards, > > > &g

[OpenSIPS-Users] location table in MySQL when using full-sharing-cluster

2018-07-04 Thread Schneur Rosenberg
Hi I have the working_mode_preset parameter in the usrloc module set to full-sharing-cluster, is there anyway to have the location table written to the MySQL database too? I need to pull information from the database. Basically the database should be for informational purposes, the restart_persis

Re: [OpenSIPS-Users] OpenSIPS Crash

2018-06-08 Thread Schneur Rosenberg
A malformed sip packet should not crash OpenSIPS it should just give an error and move on On Fri, Jun 8, 2018 at 3:00 PM, Ben Newlin wrote: > Liviu, > > > > I am very impressed! I was indeed sending a malformed invite just like the > one you posted, specifically with the missing line termination

Re: [OpenSIPS-Users] libmariadbclient crashes opensips 2.4

2018-05-06 Thread Schneur Rosenberg
I opened a ticket on Github with a new BT, please see if you can take care of it, because my system crashes every few minutes https://github.com/OpenSIPS/opensips/issues/1351 thank you Scot (Schneur) On Sun, May 6, 2018 at 12:23 AM, Schneur Rosenberg wrote: > Bogdan, I downloaded the lat

Re: [OpenSIPS-Users] libmariadbclient crashes opensips 2.4

2018-05-05 Thread Schneur Rosenberg
Bogdan, I downloaded the latest copy from gihub as you suggested, but I'm still getting the same segfault. Scot On Sat, May 5, 2018 at 11:53 AM, Schneur Rosenberg wrote: > Opensips keeps on crashing with the following error > > kernel: [64912.190539] opensips[3377]: se

[OpenSIPS-Users] libmariadbclient crashes opensips 2.4

2018-05-05 Thread Schneur Rosenberg
Opensips keeps on crashing with the following error kernel: [64912.190539] opensips[3377]: segfault at 4 ip 7fdb8054f2ae sp 7ffc78fd45f0 error 4 in libmariadbclient.so.18.0.0[7fdb80524000+37c000] Below is a bt from the dump file [New LWP 3377] [Thread debugging using libthread_db enabled

Re: [OpenSIPS-Users] MySQL Insert Statement

2018-04-29 Thread Schneur Rosenberg
Look at the avp_db_query function. On Mon, Apr 30, 2018, 2:27 AM Alexander Perkins < alexanderhenryperk...@gmail.com> wrote: > Hi. I've been trying to figure out how to insert a statement into MySQL > from the opensips.cfg file and I am having a hard time. Basically, I am > checking the userbla

[OpenSIPS-Users] sip_trace causes retransmissions

2018-03-26 Thread Schneur Rosenberg
es me believe its a memory leak. How can I check whats causing it, would a "opensipsctl fifo get_statistics all" reveal if it is, I don't know how to read it. Scot (Schneur) Rosenberg ___ Users mailing list Users@lists.opensips.org http://li

Re: [OpenSIPS-Users] Port changes

2018-02-14 Thread Schneur Rosenberg
he fix on the 200 OK and to get a routable URI there. > > Regards, > > Bogdan-Andrei Iancu > > OpenSIPS Founder and Developer > http://www.opensips-solutions.com > OpenSIPS Summit 2018 > http://www.opensips.org/events/Summit-2018Amsterdam > > On 02/13/2018 12:16 PM,

Re: [OpenSIPS-Users] Port changes

2018-02-13 Thread Schneur Rosenberg
ttp://www.opensips.org/events/Summit-2018Amsterdam > > > On 02/12/2018 05:05 PM, Schneur Rosenberg wrote: >> >> I have this interesting scenario, caller sends call to our OpenSIPS >> who actsd as a loadbalancer which sends the call to a gateway for >> termination and t

Re: [OpenSIPS-Users] Database search inside opensips

2018-02-12 Thread Schneur Rosenberg
You can use avp_db_query http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail"; target="_blank">https://ipmcdn.avast.com/images/icons/icon-envelope-tick-green-avg-v1.png"; alt="" width="46" height="29" style="width: 46px; h

[OpenSIPS-Users] Port changes

2018-02-12 Thread Schneur Rosenberg
I have this interesting scenario, caller sends call to our OpenSIPS who actsd as a loadbalancer which sends the call to a gateway for termination and the gateway sets Session-Expires: 1800;refresher=uas, the caller sends call the call through port 1090 and the rport in the Via shows rport=1090 and

[OpenSIPS-Users] explode function

2017-06-02 Thread Schneur Rosenberg
Hi, I'm trying to store a list of gateways in memcache, due to NoSQL nature I can't store a avp with multiple values, so I used the avp with the [*] which gave me a comma delimited list which I can store, now I want to create a array of all the values similar to explode() in php. The closest thing

Re: [OpenSIPS-Users] List of load_balancer group

2017-05-29 Thread Schneur Rosenberg
vanni Maruzzelli wrote: > Hello Schneur, > > you may also use http://www.opensips.org/html/docs/modules/2.2.x/avpops.html > for querying the db, then cache the result with sql cacher, or do the query > and put the result in an avp if not already there. > > -giovanni > > &g

[OpenSIPS-Users] List of load_balancer group

2017-05-29 Thread Schneur Rosenberg
Is there anyway to get in the script a list of destinations in the load_balancer group? I can get it directly from the DB but I want to avoid querying the DB, I want to use it to parallel fork certain calls to all servers in the load balancer group. I couldn't find anything in the load balancer do

Re: [OpenSIPS-Users] Ghost calls 1001

2017-04-21 Thread Schneur Rosenberg
.@lists.opensips.org] *On Behalf Of *Schneur > Rosenberg > *Sent:* Friday, April 21, 2017 11:00 AM > *To:* OpenSIPS users mailling list > *Subject:* Re: [OpenSIPS-Users] Ghost calls 1001 > > > > User agent variable is stored in $ua do a if and drop() > > > >

Re: [OpenSIPS-Users] Ghost calls 1001

2017-04-21 Thread Schneur Rosenberg
e process you just > described? > > On April 20, 2017 11:15:54 PM Schneur Rosenberg > wrote: > >> In addition to iptables/fail2ban you should inspect the useragent that >> the packets come from, most of them will come from sip vicious or friendly >> scanner etc, you

Re: [OpenSIPS-Users] Ghost calls 1001

2017-04-20 Thread Schneur Rosenberg
In addition to iptables/fail2ban you should inspect the useragent that the packets come from, most of them will come from sip vicious or friendly scanner etc, you can block them with iptables and/or with drop() in opensips, this will stop the scanner right away because he won't get any replies so h

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

[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

[OpenSIPS-Users] Siptrace crash

2017-03-19 Thread Schneur Rosenberg
Would this help? I dont have a memory dump Mar 17 19:27:01 sip10 kernel: [115810.179291] opensips[1297]: segfault at 18 ip 7f3e0ddf1592 sp 7ffeda1c2fe0 error 4 in siptrace.so[7f3e0dde5000+22000] Mar 17 19:27:01 sip10 /sbin/opensips[1601]: CRITICAL:core:receive_fd: EOF on 33 __

Re: [OpenSIPS-Users] Opensips backup

2017-02-08 Thread Schneur Rosenberg
Only if they are sharing a floating IP, if it's in a different network it won't work properly On Feb 9, 2017 08:45, "Denis via Users" wrote: > Sorry, but one more time. > If both instance: muster and slave are in active mode (i.e. running), will > slave properly handle dialogs (for example when

[OpenSIPS-Users] ACK for invite with wrong Cseq

2017-01-31 Thread Schneur Rosenberg
Hi, I'm using OpenSIPS 2.2.2 and I'm using create_dialog with the "Pp" options, most calls run fine, but I have got complaints about calls getting disconnected after about 30 seconds, I ran a trace and I realized that OpenSIPS sent a INVITE with CSeq 601, the called party picked up after approx 34

Re: [OpenSIPS-Users] Binary replication errors

2017-01-15 Thread Schneur Rosenberg
h has been replaced with listen=bin, it also tells you to use bin_children which was phased out as, see the following link. https://www.opensips.org/Documentation/Interface-Binary-2-2 S. Rosenberg On Sat, Jan 14, 2017 at 10:59 PM, Schneur Rosenberg wrote: > > Hi, I tried to implement binary

[OpenSIPS-Users] Binary replication errors

2017-01-14 Thread Schneur Rosenberg
Hi, I tried to implement binary replication with OpenSIPS ver 2.2.2 and it floods my logs with the following errors on both servers Jan 14 21:12:20 sips /sbin/opensips[4484]: WARNING:dialog:receive_dlg_binary_packet: Invalid dialog binary packet command: 4 (from XXX.XXX.XXX.XXX:45107) Jan 14 21:12

Re: [OpenSIPS-Users] OpenSIPS crashes on sip_capture()

2016-12-29 Thread Schneur Rosenberg
I just added modparam("sipcapture", "hep_capture_on", 1) and its not crashing anymore but now my syslog gets flooded with the following error WARNING:sipcapture:w_sip_capture: not a hep message! On Thu, Dec 29, 2016 at 3:34 PM, Schneur Rosenberg wrote: > I'm trying

[OpenSIPS-Users] OpenSIPS crashes on sip_capture()

2016-12-29 Thread Schneur Rosenberg
I'm trying to use Homer on OpenSIPS 2.2 and when I call sip_capture() the system crashes without creating a dump and this is what I find in my syslog file Dec 29 08:28:52 sip /sbin/opensips[15524]: CRITICAL:sipcapture:ip_addr2a: unknown address family 825112372 Dec 29 08:28:52 sip /sbin/opensips[1

Re: [OpenSIPS-Users] Major performance issues question

2016-12-21 Thread Schneur Rosenberg
u sure there isn't any intensive I/O going on? For example, maybe > you are pushing lots of gateway pings. You could run "iostat 1" to assess > this. > > Regards, > > Liviu Chircu > OpenSIPS Developerhttp://www.opensips-solutions.com > > On 21.12.2016 18:58

Re: [OpenSIPS-Users] Major performance issues question

2016-12-21 Thread Schneur Rosenberg
:07.58 opensips 6750 opensips 20 0 335400 19696 17740 S 57.3 0.1 9:09.70 opensips 6762 opensips 20 0 335388 19604 17652 S 57.3 0.1 12:50.60 opensips On Wed, Dec 21, 2016 at 6:58 PM, Schneur Rosenberg wrote: > procs ---memory-- ---swap-- -io -sys

Re: [OpenSIPS-Users] Major performance issues question

2016-12-21 Thread Schneur Rosenberg
eloperhttp://www.opensips-solutions.com > > On 21.12.2016 18:17, Schneur Rosenberg wrote: > > Hi, I'm running a instance of OpenSIPS (just signalling no RTP on this > machine) on a DigitalOcean VM, it was running fine for a while and it does > not process lots of CPS (4-5 max) and

Re: [OpenSIPS-Users] Major performance issues question

2016-12-21 Thread Schneur Rosenberg
0 0 0 2022 728 11 76 12 0 0 7 0 0 9966620 296728 523916400 0 0 2015 802 14 74 12 0 0 5 0 0 9966652 296728 523916400 072 2275 1049 14 81 5 0 0 On Wed, Dec 21, 2016 at 6:17 PM, Schneur Rosenberg wrote: > Hi, I'm running a

[OpenSIPS-Users] Major performance issues question

2016-12-21 Thread Schneur Rosenberg
Hi, I'm running a instance of OpenSIPS (just signalling no RTP on this machine) on a DigitalOcean VM, it was running fine for a while and it does not process lots of CPS (4-5 max) and today I was getting complaints of dropped calls, I checked the logs and I saw lots of WARNING:core:utimer_ticker:

Re: [OpenSIPS-Users] is_ip_registered in invite

2016-12-12 Thread Schneur Rosenberg
2.2.x/registrar. > html#id294953 > > Best regards, > > Răzvan Crainea > OpenSIPS Solutionswww.opensips-solutions.com > > On 12/04/2016 01:20 PM, Schneur Rosenberg wrote: > > Hi, I would like to check during the initial invite if the request comes > from a IP that is registered (I don&

[OpenSIPS-Users] is_ip_registered in invite

2016-12-04 Thread Schneur Rosenberg
Hi, I would like to check during the initial invite if the request comes from a IP that is registered (I don't care about the user credentials at this time), I use it to know if the invite is from a registered user or if it is from a unauthenticated source (DID's or hacking attempt) I can't use i

Re: [OpenSIPS-Users] Pickup group help

2016-11-10 Thread Schneur Rosenberg
nt to all > the parties of the group (simultaneous ringing) and first to answer will > pick up the call ? if so , this is parallel forking. > > Best regards, > > Bogdan-Andrei Iancu > OpenSIPS Founder and Developerhttp://www.opensips-solutions.com > > On 08.11.2016 16:

[OpenSIPS-Users] Pickup group help

2016-11-08 Thread Schneur Rosenberg
Can someone please guide me how I should build pickup groups feature in OpenSIPS? thank you S. Rosenberg ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Re: [OpenSIPS-Users] Asterisk Unrecognized sip header

2016-03-31 Thread Schneur Rosenberg
Travis just replace the public IP with a different public IP, just make sure that all the references to the public IP are the same, or just replace it with the word publicIP etc On Mar 31, 2016 10:57 PM, "Travis Manson-Drake" wrote: > Alex, > > Thank you again for all your help! > > I apologize o

Re: [OpenSIPS-Users] Adding user accounts without using opensipsctl command line or OpenSIPS Control Panel

2016-03-07 Thread Schneur Rosenberg
You can directly enter users in the db if using db mode. On Mar 7, 2016 12:41 PM, "Adrian Newell" wrote: > Is there any way to add user accounts into OpenSIPS without using the > opensipsctl command line (opensipsctl add *userName* *password)* or the > OpenSIPS Control Panel ? > > > > I was hopi

Re: [OpenSIPS-Users] Best way to load data into local cache

2016-02-19 Thread Schneur Rosenberg
Why don't u use avp_db_query on demand and cache the info so u don't need to run this particular query again? On Feb 19, 2016 4:47 PM, "John Quick" wrote: > Using version 2.1.1 of OpenSIPS > I want to load several hundred records into local cache memory on startup. > I've tried avp_db_query to re

Re: [OpenSIPS-Users] [BOOK] Building Telephony Systems with OpenSIPS - 2.1 version

2016-02-15 Thread Schneur Rosenberg
enSIPS Founder and Developerhttp://www.opensips-solutions.com > > On 09.02.2016 13:20, Schneur Rosenberg wrote: > > Chapter 1, page 11 (page 36 of the eBook) on the bottom of the page there > is a initial invite of userA calling userB, and the contact is of userB, it > should be user

Re: [OpenSIPS-Users] Pike Module Question

2016-02-09 Thread Schneur Rosenberg
Also if caching you will need to refresh it pretty often because customers IP might change, or wait for the is_ip_registered() is available in a stable version On Tue, Feb 9, 2016 at 3:46 PM, Schneur Rosenberg wrote: > > If you have no other choice you can always use avp_dp_query to che

Re: [OpenSIPS-Users] Pike Module Question

2016-02-09 Thread Schneur Rosenberg
If you have no other choice you can always use avp_dp_query to check the contact and received fields in the location table, if you're afraid from too many mysql requests you can cache it with memcache etc On Feb 9, 2016 1:02 PM, "Bogdan-Andrei Iancu" wrote: > Hi Brian, > > Only the development ve

Re: [OpenSIPS-Users] [BOOK] Building Telephony Systems with OpenSIPS - 2.1 version

2016-02-09 Thread Schneur Rosenberg
and the context of that mistake, > so I can double check it ? > > Thanks & Regards, > > Bogdan-Andrei Iancu > OpenSIPS Founder and Developerhttp://www.opensips-solutions.com > > On 07.02.2016 14:53, Schneur Rosenberg wrote: > > I bought the book and I think I found

Re: [OpenSIPS-Users] [BOOK] Building Telephony Systems with OpenSIPS - 2.1 version

2016-02-07 Thread Schneur Rosenberg
I bought the book and I think I found the first mistake, in the initial invite packet on page 11, the contact header is of the destination and not of the origination UAC On Feb 4, 2016 3:37 PM, "Bogdan-Andrei Iancu" wrote: > Hello all, > > Flavio Goncalves and I are happy to announce the publishi

Re: [OpenSIPS-Users] ACK not forwarding

2016-02-04 Thread Schneur Rosenberg
Alax you're correct, but not all sip device manufacturers really know the sip rfc etc, soft phones and phone manufacturers are better, but in my case its a SIP door bell, when there is only one sip server as is the case with most of these units that they are connected to a small business PBX like F

Re: [OpenSIPS-Users] ACK not forwarding

2016-02-02 Thread Schneur Rosenberg
| Principal | Evariste Systems LLC > 303 Perimeter Center North, Suite 300 > Atlanta, GA 30346 > United States > > Tel: +1-800-250-5920 (toll-free) / +1-678-954-0671 (direct) > Web: http://www.evaristesys.com/, http://www.csrpswitch.com/ > > Sent from my BlackBerry. > Original

[OpenSIPS-Users] ACK not forwarding

2016-02-02 Thread Schneur Rosenberg
My ACK coming from this device does not get forwarded to its designated destination, I see that the RURI is to my OpenSIPS server even though the contact has been rewritten in the OK, is that the reason the OpenSIPS thinks its for himself? if yes how can I workaround the issue, perhaps with dialog

Re: [OpenSIPS-Users] opensips regster issue

2016-01-25 Thread Schneur Rosenberg
I'm having similar issue for some ACK messages, but I was wondering how come OpenSIPS does not check the domain table to know that this is a known domain and it should check upon those addresses? On Mon, Jan 25, 2016 at 1:18 PM, Bogdan-Andrei Iancu wrote: > Hi Michael, > > Actually there is simp

Re: [OpenSIPS-Users] Unable to handle fax calls through Opensips

2015-12-14 Thread Schneur Rosenberg
I had similar issue and it was related to the t38 reinvite was routed wrong, post a sip trace. On Dec 15, 2015 9:00 AM, "Siju Nair" wrote: > Hi Team, > I have a query related to Opensips. So far i have configured opensips for > load balancing. Calls are working fine but am unable to send Fax call

Re: [OpenSIPS-Users] Managing Concurrent Calls

2015-09-04 Thread Schneur Rosenberg
gdan-Andrei Iancu" wrote: > Hi Schneur, > > Do you originally load the limit from the subscriber table ? > > Best regards, > > Bogdan-Andrei Iancu > OpenSIPS Founder and Developerhttp://www.opensips-solutions.com > > On 04.09.2015 12:36, Schneur Rosenberg wrote:

Re: [OpenSIPS-Users] Managing Concurrent Calls

2015-09-04 Thread Schneur Rosenberg
I limit mine on account and I used memcache to store the limits because its not something that changes on a constant basis, so it only does a db query maximum once a hour per device. On Sep 4, 2015 4:52 AM, "Bogdan-Andrei Iancu" wrote: > Hi Terrance, > > That check is not expensive as it is done

Re: [OpenSIPS-Users] OpenSIPS vs Asterisk as SIP server

2015-07-26 Thread Schneur Rosenberg
One disadvantage is performance for example if you have too many registrations on Asterisk the system will just crash. On Jul 26, 2015 1:34 PM, "Nabeel" wrote: > Perhaps a better way to word my question: what are advantages of using > OpenSIPS over Asterisk for a basic SIP service? > On 25 Jul 20

Re: [OpenSIPS-Users] changing $rU number

2015-07-23 Thread Schneur Rosenberg
te: > > Thank you. > > But what can I use for do it? > > > > *From:* users-boun...@lists.opensips.org [ > mailto:users-boun...@lists.opensips.org ] > *On Behalf Of *Schneur Rosenberg > *Sent:* Thursday, July 23, 2015 10:40 AM > *To:* OpenSIPS users mailling list >

Re: [OpenSIPS-Users] changing $rU number

2015-07-23 Thread Schneur Rosenberg
http://www.opensips.org/html/docs/modules/1.10.x/regex.html On Thu, Jul 23, 2015 at 10:49 AM, dpa wrote: > Thank you. > > But what can I use for do it? > > > > *From:* users-boun...@lists.opensips.org [mailto: > users-boun...@lists.opensips.org] *On Behalf Of *S

Re: [OpenSIPS-Users] changing $rU number

2015-07-23 Thread Schneur Rosenberg
$rU is read/write so you can use regexp and just rewrite the variable On Thu, Jul 23, 2015 at 10:33 AM, dpa wrote: > Hello! > > > > Opensips 1.10. > > > > I am using DROUTING module from making routing. > > But some SIP UA sends to Opensips tel. number with some unnecessary > characters, such a

[OpenSIPS-Users] Problem with placing call on hold

2015-03-10 Thread Schneur Rosenberg
I have a OpenSIPS server that acts as a load balancing server for a couple of asterisk servers, and lately I'm having a issue with asterisk responding with a 488 Not acceptable here for hold requests when it comes to port 5060 on the Opensips server, but if I send it to another port it works fine,

Re: [OpenSIPS-Users] Call transfer problem

2015-03-10 Thread Schneur Rosenberg
Sorry I meant to place call on hold, not transfer On Mon, Mar 9, 2015 at 8:40 PM, Schneur Rosenberg wrote: > I have a OpenSIPS server that acts as a load balancing server for a couple > of asterisk servers, and lately I'm having a issue with asterisk responding > with a 488 Not a

[OpenSIPS-Users] Call transfer problem

2015-03-09 Thread Schneur Rosenberg
I have a OpenSIPS server that acts as a load balancing server for a couple of asterisk servers, and lately I'm having a issue with asterisk responding with a 488 Not acceptable here for transfer requests when it comes to port 5060 on the Opensips server, but if I send it to another port it works fi

Re: [OpenSIPS-Users] Binary replication

2015-02-18 Thread Schneur Rosenberg
ttp://www.opensips-solutions.com > > On 18.02.2015 19:20, Schneur Rosenberg wrote: > > Here is the error, I see it checking the ip address against the listening > ip address, and of course it does not match, if I add the other ip address > as a listening address opensips wont sta

  1   2   3   >