[SR-Users] Planning release of v4.4.2 and other v4.x.y

2016-06-21 Thread Daniel-Constantin Mierla
Hello, I am considering to release kamailio v4.4.2 next week along with the corresponding patch releases for branches 4.3 and 4.2. It will likely be the last release in series 4.2 to mark its end of official packaging. I would also consider a new patch release in 4.1.x, if that is still used by m

Re: [SR-Users] Dispatcher - Route call to alternate server if there is delay to answered call

2016-06-21 Thread Daniel-Constantin Mierla
Hello, On 16/06/16 11:10, Amit Patkar wrote: > Hi > > I have a scenario where dispatcher is used to balance calls. > Assume there are 2 media servers M1 & M2. Call are routed using round > robin algorithm. > There is scenario where call is handed over to M1 but it is not > answered in defined tim

Re: [SR-Users] behaviour of uac_redirect module

2016-06-21 Thread Daniel-Constantin Mierla
On 17/06/16 15:12, Dirk Teurlings - Signet B.V. wrote: > Hi, > > Testing with latest stable 4.4 Kamailio at the moment, and running into > the following issue. > > I have a setup that sends a 302 to do a Moved Temporarily to another > extension. To update the Contact header accordingly, I use the

Re: [SR-Users] [KAMAILIO]: How to count three or more invalid REGISTERs from the same IP-address

2016-06-21 Thread Daniel-Constantin Mierla
On 19/06/16 20:19, Яцко Эллад Геннадьевич wrote: > Hello! > > How to detect several unsuccessful REGISTER attempts from the same IP? > > For example: a malicious user tries to look for passwords, can I detect > this in some way to black list it? As you know there are different SIP > dialogs here.

Re: [SR-Users] acc time mode 2 wrong timestamp

2016-06-21 Thread Daniel-Constantin Mierla
Hello, is the same database server used for both kamailio instances or each kamailio instance has its own kamailio server? Can you enable logging to syslog the accounting record and see if the values are likes in the database? I am trying to isolate if the issue is in code or somehow in the datab

[SR-Users] Add a user through a http request

2016-06-21 Thread Jay Li
Dear All, I wonder if Kamailio has the functionality to add a subscriber dynamically. For example, if I use event_route[xhttp:request] to expect a http get request, then based on the received request, add a user in the DB. Not sure what the best approach would be. Any suggestion is appreciated.

Re: [SR-Users] WS to WS calls - No ACK received for 200OK

2016-06-21 Thread Nagorny, Dimitry
Hi Amit, Sorry but I just saw that you use WS instead of WSS like me. I can only suggest to try it like this then but I w/o warranty because I’m still learning about Kamailio and SIP: route[WITHINDLG] { if (!has_totag()) { return; }

Re: [SR-Users] WS to WS calls - No ACK received for 200OK

2016-06-21 Thread Amit Patkar
Thanks guys. Yes. I have set advertised_address parameter. I tried configuration changes suggested by Dimitry, but its now throwing following error and dropping call Jun 21 19:07:15 acstemplate /usr/sbin/kamailio[7869]: ERROR: [resolve.c:1693]: sip_hostport2su(): could not resolve hostname:

Re: [SR-Users] WS to WS calls - No ACK received for 200OK

2016-06-21 Thread Nagorny, Dimitry
Hi Amit, I had the same issue reported here last week. Here is the part how I solved it for the moment on Kamailio 4.3.5 with JsSIP: route[WITHINDLG] { if (!has_totag()) { return; } if (loose_route()) {

Re: [SR-Users] WS to WS calls - No ACK received for 200OK

2016-06-21 Thread Alexandru Covalschi
The problem may be with record_route header. Did you set *advertised_address?* 2016-06-21 12:59 GMT+03:00 Amit Patkar : > Hi > > I am using Kamailio as Websocket proxy. > > User 1 & User 2 are registered on Kamailio over WebSocket. > When User 1 calls User 2, User 2 gets ring and answers the call

Re: [SR-Users] Kamailio consult CNAM server through SIP Subscribe.

2016-06-21 Thread José Seabra
Email with attatchement. 2016-06-21 12:22 GMT+01:00 José Seabra : > Hello, > Thanks for the hint to use cherry-pick, > > After applying these two patches the issue seems to be fixed. > Please find out the attachment with kamailio logs. > > Thank you for your help. > > Regards > José > > 2016-06-2

Re: [SR-Users] Kamailio consult CNAM server through SIP Subscribe.

2016-06-21 Thread José Seabra
Hello, Thanks for the hint to use cherry-pick, After applying these two patches the issue seems to be fixed. Please find out the attachment with kamailio logs. Thank you for your help. Regards José 2016-06-21 10:41 GMT+01:00 Daniel-Constantin Mierla : > Hello, > > you should cherry-pick them w

[SR-Users] WS to WS calls - No ACK received for 200OK

2016-06-21 Thread Amit Patkar
Hi I am using Kamailio as Websocket proxy. User 1 & User 2 are registered on Kamailio over WebSocket. When User 1 calls User 2, User 2 gets ring and answers the call. 200 OK message is received by User 1 but ACK response sent by User 1 does not reach User 2. Since User 2 didn't get ACS, after

Re: [SR-Users] Kamailio consult CNAM server through SIP Subscribe.

2016-06-21 Thread Daniel-Constantin Mierla
Hello, you should cherry-pick them with git into the branch 4.4. Cheers, Daniel On 21/06/16 11:04, José Seabra wrote: > Hi Daniel, > I have applied your last two patchs on tm module but i can't compile > the module because kemi framwork. > > I'm using kamailio version 4.4. > > Compile Errors: >

Re: [SR-Users] kamailio question

2016-06-21 Thread Daniel-Constantin Mierla
Hello, someone on the mailing list here may be able to help you, but we need to know your problem, so you have to provide some details about your problem. Also, log messages or sip traffic for your problem are usually useful to help further. Cheers, Daniel On 21/06/16 10:50, Irakli Nanobashvili

Re: [SR-Users] Kamailio consult CNAM server through SIP Subscribe.

2016-06-21 Thread José Seabra
Hi Daniel, I have applied your last two patchs on tm module but i can't compile the module because kemi framwork. I'm using kamailio version 4.4. Compile Errors: t_fwd.c:61:24: error: ../../kemi.h: No such file or directory t_fwd.c: In function ‘prepare_new_uac’: t_fwd.c:157: error: ‘sr_kemi_eng

[SR-Users] kamailio question

2016-06-21 Thread Irakli Nanobashvili
dear sr_users i have a little problem about kamailio sip server and who can help me ? ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users

Re: [SR-Users] Kamailio consult CNAM server through SIP Subscribe.

2016-06-21 Thread José Seabra
Hello Daniel, I confirm that the phone receives 200 OK to the CANCEL and 487 to the INVITE. I will backport the tm module to the last two patchs, then, after make all tests I will report back to you. Regards José 2016-06-21 5:33 GMT+01:00 Daniel-Constantin Mierla : > Can you try with master b

[SR-Users] acc time mode 2 wrong timestamp

2016-06-21 Thread pars3c
Hello, i've installled the new version of kamailio 4.4.1 . in 2 different server , with acc module and these parameters: modparam("acc", "time_mode", 2) modparam("acc", "time_attr", "seconds") should be seconds.millisec On the first server in acc table , in field seconds i have values like

Re: [SR-Users] Equivalent of OpenSIP's binary interface in Kamailio

2016-06-21 Thread Gholamreza Sabery
Actually my problem is solved. I just wanted to know the equivalent in Kamailio. PS: I knew about t_replicate and dmp_usrloc module. Regards On Mon, Jun 20, 2016 at 7:35 PM, SamyGo wrote: > Hi, > What kind of design you've in mind when thinking about BIN interface ? > What are the things that