Re: [SR-Users] Dialog module errors with dmq

2022-03-22 Thread Olli Attila
n we try to reach the B party. Also it would be nice to confirm this via the proposed debug logging, but with less impact generally on the server calls. Maby there is a way to just debug the dialog module itself and not the whole core ? Cheers, Olli Attila pe 11. maalisk. 2022 klo 14.48 Daniel-Constan

[SR-Users] Dialog module errors with dmq

2022-03-03 Thread Olli Attila
Hello, I have two Kamailio nodes. Couple of days of ago I enabled dmq to replicate dialogs between these two Kamailio nodes. Now that the dmq is enabled, we are seeing lot of warning and notice messages on kamailio logs related to the dialog module. Is there something I have missed when

[SR-Users] Call limiting with Kamailio

2021-11-25 Thread Olli Attila
Hello, What choices do I have to implement a feature to Kamailio which would limit calls per customer? The environment: Two kamailio nodes sitting in different sites and they are not aware of each others sessions/dialogs and thus serving customer calls independently. Configurations on the nodes

Re: [SR-Users] Call limit through shared database

2019-10-04 Thread Olli Attila
https://skalatan.de/blog/ > > Kamailio services - https://skalatan.de/services > > > > From: Olli Attila > Sent: Friday, October 4, 2019 5:54 AM > To: Henning Westerholt > Cc: Kamailio (SER) - Users Mailing List > Subject: Re: [SR-Users] Call limit through shared databa

Re: [SR-Users] Call limit through shared database

2019-10-04 Thread Olli Attila
Hello, I had the following enabled in db_mode param and now it is actually working: *1 - REALTIME* - any dialog information changes will be reflected into the database immediately. Restarting either of the kam1 or kam2 proxies "on the fly" will result in retrieving dialog profiles correctly

Re: [SR-Users] Call limit through shared database

2019-10-04 Thread Olli Attila
Hello Henning, I tried the dialog profile sharing with dmq modules and now the syncing works between the two kam nodes. Thank you! Is there a way to keep the dialog profiles persistent (load from db if kam restarts)? I was thinking a scenario where kam1 has already the call limit maxed out and

[SR-Users] Call limit through shared database

2019-09-30 Thread Olli Attila
Hello, I have 2 kam instances using one shared database and both kam servers running the same routing logic code. Kamailio servers are configured to use the same database as dialog backend. I am limiting the concurrent dialogs in the following way but it seems that kamailio is using its own

Re: [SR-Users] Kamailio next_state_dlg(): bogus event

2019-06-29 Thread Olli Attila
] Kamailio next_state_dlg(): bogus event Message-ID: Content-Type: text/plain; charset="utf-8" Hello, is the PRACK following a re-INVITE or is for the initial INVITE establishing the call? Cheers, Daniel On Fri, Jun 28, 2019 at 8:13 AM Olli Attila wrote: > Hello, > > I'm g

[SR-Users] Kamailio next_state_dlg(): bogus event

2019-06-28 Thread Olli Attila
Hello, I'm getting this error in Kamailio log every now and then. Can anyone suggest methods to debug this further for root cause? Jun 27 10:04:09 /usr/sbin/kamailio[26341]: CRITICAL: dialog [dlg_hash.c:1098]: next_state_dlg(): bogus event 5 in state 4 for dlg 0x7fceeabf8d38 [749:3185] with

Re: [SR-Users] Authenticating xhttp request

2019-06-18 Thread Olli Attila
ma 17. kesäk. 2019 klo 13.49 Daniel-Constantin Mierla (mico...@gmail.com) kirjoitti: > > Hello, > > you can use permissions module with address table for IP based access > policies. > > Cheers, > Daniel > > On 16.06.19 19:58, Olli Attila wrote: > > Hello, > &

Re: [SR-Users] Authenticating xhttp request

2019-06-17 Thread Olli Attila
; Anyhow, you can use the www_challenge()/www_authenticate() function from > auth/auth_db modules that are using the records from subscriber table > perform HTTP digest authentication. > > Cheers, > Daniel > > On 14.06.19 09:14, Olli Attila wrote: > > Hello, > > &

Re: [SR-Users] Authenticating xhttp request

2019-06-14 Thread Olli Attila
nrpc. With this design, user authentication would be more suitable. Cheers, Olli Attila pe 14. kesäk. 2019 klo 10.04 Daniel-Constantin Mierla (mico...@gmail.com) kirjoitti: > > Hello, > > do you want to authenticate with ip addresses stored in database or with > username/password? &

[SR-Users] Authenticating xhttp request

2019-06-14 Thread Olli Attila
Hello, I have this xhttp event_route on Kamailio that I am using to signal the proxy to reload dialplans and htable when necessary: event_route[xhttp:request] { if(src_ip!=127.0.0.1) { xhttp_reply("403", "Forbidden", "text/html", "Not allowed from $si"); exit;

[SR-Users] dlg_onroute(): failed to update dialog lifetime

2019-04-16 Thread Olli Attila
dialog lifetime I see no call failures because of this but still interested what is happening here? --Olli Attila ___ Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

[SR-Users] Kamailio and exporting in-memory dialplan entries to another database

2019-03-07 Thread Olli Attila
Hello, I was wondering that is there a command / procedure available in Kamailio that would do dialplan.dump on a certain dialplan and then export/write the output to another sql database where another dialplan table is present? This would be a sort of backup procedure that I'm planning.

Re: [SR-Users] Manipulate sip header on an in-dialog negative reply

2018-12-21 Thread Olli Attila
(mico...@gmail.com) kirjoitti: > > Hello, > > in the failure route you have the request under processing, not the > response. > > You have to use an onreply_route[x] for that transaction and do there > remove_hf() > > Cheers, > Daniel > > On 20.12.18 11:57,

Re: [SR-Users] Manipulate sip header on an in-dialog negative reply

2018-12-20 Thread Olli Attila
Hello, Any ideas about this header manipulation? Cheers, Olli pe 14. jouluk. 2018 klo 12.31 Olli Attila (attio...@gmail.com) kirjoitti: > > Hello, > > We have a call case where our softswitch replies to in-dialog > re-invite with "SIP 491 Request pending". This happ

[SR-Users] Manipulate sip header on an in-dialog negative reply

2018-12-15 Thread Olli Attila
Hello, We have a call case where our softswitch replies to in-dialog re-invite with "SIP 491 Request pending". This happens when a customer sip device is trying to re-invite the session too fast even though the softswitch is still processing the earlier request. Kamailio operates between this

Re: [SR-Users] Kamailio ERROR: _reply_light(): can't generate xxx reply when a final yyy was sent out

2018-12-13 Thread Olli Attila
> Cheers, > Daniel > > On 13.12.18 09:01, Olli Attila wrote: > > Hello, > > > > Yes the log message level is the thing I was referring to with the > > handling. I didn't wrote it clearly, sorry about that. > > > > Is there any way to change this from E

Re: [SR-Users] Kamailio ERROR: _reply_light(): can't generate xxx reply when a final yyy was sent out

2018-12-13 Thread Olli Attila
and ERROR and CRITICAL messages are usually the ones that we will focus on. Cheers, Olli to 13. jouluk. 2018 klo 9.49 Daniel-Constantin Mierla (mico...@gmail.com) kirjoitti: > > Hello, > > On 13.12.18 07:22, Olli Attila wrote: > > Hello, > > > > I'm getting these

[SR-Users] Kamailio ERROR: _reply_light(): can't generate xxx reply when a final yyy was sent out

2018-12-12 Thread Olli Attila
Hello, I'm getting these error messages on kamailio log from time to time: Dec 11 19:18:30 /usr/sbin/kamailio[23913]: ERROR: tm [t_reply.c:482]: _reply_light(): can't generate 487 reply when a final 200 was sent out Dec 8 04:44:56 /usr/sbin/kamailio[14960]: ERROR: tm [t_reply.c:482]:

Re: [SR-Users] Error using newest Siremis and kamailio 5.0.3

2018-03-01 Thread Olli Attila
Hello, Ok got it working now by installing xml_rpc manually with commands: # wget http://pear.php.net/get/XML_RPC-1.5.5.tgz # pear upgrade XML_RPC-1.5.5.tgz Now the XMLRPC Commands menu is working. Thank you very much! Cheers, Olli ___ Kamailio

Re: [SR-Users] Error using newest Siremis and kamailio 5.0.3

2018-03-01 Thread Olli Attila
On 01.03.18 14:46, Olli Attila wrote: Hello, php-xml is installed: Reading package lists... Done Building dependency tree Reading state information... Done php-xml is already the newest version (1:7.0+49) Webserver gives this on error log: [Thu Mar 01 15:39:09.261279 2018] [:error] [pid 29112] PHP Fatal

Re: [SR-Users] Error using newest Siremis and kamailio 5.0.3

2018-03-01 Thread Olli Attila
: Hello, have you installed php-xml package? Also, look at error logs for web server, anything reported there? Cheers, Daniel On 01.03.18 13:42, Olli Attila wrote: Hello, I installed Siremis today from master branch alongside with Kamailio 5.0.3 and entering "XMLRPC Commands" men

[SR-Users] Error using newest Siremis and kamailio 5.0.3

2018-03-01 Thread Olli Attila
Hello, I installed Siremis today from master branch alongside with Kamailio 5.0.3 and entering "XMLRPC Commands" menu gives me this error: [2018-03-01 12:28:34 (GMT)] An exception occurred while executing this script: Error message: #256, Unable to location template file

[SR-Users] Siremis and kamailio 5.x.x

2018-02-24 Thread Olli Attila
Hello, Question about Kamailio web GUI (Siremis): I believe the Siremis updates are still a ongoing work or has there been any updates when the new Siremis update (compatible with Kamailio 5.x.x) will be released? https://www.kamailio.org/w/2017/07/siremis-ongoing-updates/ Cheers, Olli

Re: [SR-Users] Kamailio and XMLRPC commands with POST

2017-05-22 Thread Olli Attila
ttp://127.0.0.1/RPC; are getting executed and Kamailio returns 200 OK directly. Cheers, --Olli Diego Nadares kirjoitti 2017-05-22 15:06: Hi Olli, Did configure kamailio to listen on tcp:127.0.0.1? Diego El 22 may. 2017, a las 02:54, Olli Attila <olli.att...@oatel.net> escribió: Hi

Re: [SR-Users] Siremis searching from htable

2017-05-21 Thread Olli Attila
the “partofkey” pattern. --Olli Lähettäjä: sr-users [mailto:sr-users-boun...@lists.kamailio.org] Puolesta Olli Attila Lähetetty: 21. toukokuutata 2017 9:51 Vastaanottaja: Kamailio (SER) - Users Mailing List <sr-users@lists.kamailio.org> Aihe: [SR-Users] Siremis searching from htable

[SR-Users] Siremis searching from htable

2017-05-21 Thread Olli Attila
Hello, Is there any way to make partial search from all htable entries with for example: %partofkeyname%? I tried to put that on search box but I get no results. If I use the exact full name of the key in the search i get the result. The search is here: Sip admin services - > server