Re: [SR-Users] digest authentication based on two password columns

2016-10-28 Thread Jayesh Nambiar
wd2...)) { > > # do the challenge > >} > > } > Cheers, > Daniel > > > On 28/10/16 13:41, Jayesh Nambiar wrote: > > Hello, > I was wondering if it is possible to do a failover in digest > authentication. For eg: I get two possible valid passw

[SR-Users] digest authentication based on two password columns

2016-10-28 Thread Jayesh Nambiar
Hello, I was wondering if it is possible to do a failover in digest authentication. For eg: I get two possible valid password values. Can I do a pv_proxy_authenticate in such a way where if authentication fails, I do a pv_proxy_autenticate again on the different value to check if that succeeds? Is

Re: [SR-Users] tls with ubuntu 16.04

2016-09-19 Thread Jayesh Nambiar
ore starting a rather long trip to > download the image for ubuntu 16.04 to spin a vm and now I don't have the > bandwidth for fetching it. > > Cheers, > Daniel > > On 01/08/16 13:32, Jayesh Nambiar wrote: > > Hi Daniel, > Just checking if you had a chance to lo

Re: [SR-Users] tls with ubuntu 16.04

2016-08-01 Thread Jayesh Nambiar
in ubuntu > 16.04, same module working fine in 15.10, as reported on the tracker: > > - https://github.com/kamailio/kamailio/issues/714 > > When I get a chance I will install a ubuntu 16.04 myself and dig more into > the libssl sources. > > Cheers, > Daniel > > On 18

Re: [SR-Users] tls with ubuntu 16.04

2016-07-18 Thread Jayesh Nambiar
Just in case, would it be possible to get ssh access to such system? > > Cheers, > Daniel > > On 18/07/16 09:29, Jayesh Nambiar wrote: > > Hi Daniel, > Any idea of why TLS would not load based on the logs pasted? > > - Jayesh > > On Fri, Jul 15, 2016 at 4:46 PM Jay

Re: [SR-Users] tls with ubuntu 16.04

2016-07-18 Thread Jayesh Nambiar
Hi Daniel, Any idea of why TLS would not load based on the logs pasted? - Jayesh On Fri, Jul 15, 2016 at 4:46 PM Jayesh Nambiar wrote: > Hi Daniel, > Here are the logs: > http://pastebin.com/tGRWr9JS > > Thanks, > > - Jayesh > > On Fri, Jul 15, 2016 at 12:29

Re: [SR-Users] tls with ubuntu 16.04

2016-07-15 Thread Jayesh Nambiar
Hi Daniel, Here are the logs: http://pastebin.com/tGRWr9JS Thanks, - Jayesh On Fri, Jul 15, 2016 at 12:29 PM Daniel-Constantin Mierla wrote: > Yes, put them on pastebin. > > Daniel > > On 15/07/16 07:53, Jayesh Nambiar wrote: > > The libssl version is as follows: > >

Re: [SR-Users] tls with ubuntu 16.04

2016-07-14 Thread Jayesh Nambiar
ssl. > > Daniel > > On 14/07/16 17:08, Jayesh Nambiar wrote: > > Hi Daniel, > It indeed disables TLS if written this way. Here are the logs when > enable_tls is written on above the loadmodule and kamailio fails to load > module: > > Jul 14 10:25:03 v38 kamailio: DEB

Re: [SR-Users] tls with ubuntu 16.04

2016-07-14 Thread Jayesh Nambiar
ually may lead to disabling tls support > overall as it is enabled after tls module is loaded. > Are you sure this really works and enabling tls before is not working? > Send the log messages with debug=3. > > Cheers, > Daniel > > > On 14/07/16 16:11, Jayesh Nambiar wrote: &

Re: [SR-Users] tls with ubuntu 16.04

2016-07-14 Thread Jayesh Nambiar
Constantin Mierla wrote: > Hello, > > don't really get what you did? Can you paste the relevant snippet of > config? > > Cheers, > Daniel > > On 14/07/16 07:40, Jayesh Nambiar wrote: > > Hello, > Just did enable_tls after loadmodule "tls.so" and

Re: [SR-Users] tls with ubuntu 16.04

2016-07-13 Thread Jayesh Nambiar
Hello, Just did enable_tls after loadmodule "tls.so" and this now works. Thanks. - Jayesh On Thu, Jul 14, 2016 at 11:06 AM Jayesh Nambiar wrote: > I did load the tls first but still get the same error. Here is the > loadmodule sequence: > > loadmodule "tls.so&

Re: [SR-Users] tls with ubuntu 16.04

2016-07-13 Thread Jayesh Nambiar
e "rtpengine.so" loadmodule "debugger.so" Anything else that I can do to debug this, kindly let me know. Thanks. - Jayesh On Thu, Jul 14, 2016 at 2:37 AM Daniel-Constantin Mierla wrote: > Hello, > > load first the tls module and then the others. > > Cheers,

Re: [SR-Users] tls with ubuntu 16.04

2016-07-13 Thread Jayesh Nambiar
s.so" loadmodule "debugger.so" -- Jayesh On Wed, Jul 13, 2016 at 10:18 PM Daniel-Constantin Mierla wrote: > Hello, > > can you provide details about: > > - order of loaded modules: > > grep "loadmodule" kamailio.cfg > - the version of libs

[SR-Users] tls with ubuntu 16.04

2016-07-13 Thread Jayesh Nambiar
Hi, Trying kamailio with Ubuntu 16.04 and I'm getting errors as follows: ERROR: tls [tls_init.c:490]: tls_pre_init(): Unable to set the memory allocation functions The error is identical to the one mentioned here: https://bugs.launchpad.net/ubuntu/+source/kamailio/+bug/1591992 Is there a soluti

Re: [SR-Users] getting the local 408 response

2016-07-12 Thread Jayesh Nambiar
Hi, I didnt cross my mind that I can use t_on_failure before t_suspend. I'll try that right away. Used to writing that before t_relay every time. Thanks, - Jayesh On Tue, Jul 12, 2016 at 4:50 PM Sebastian Damm wrote: > Hello, > > On Tue, Jul 12, 2016 at 12:55 PM, Daniel-Constantin Mierla > wr

Re: [SR-Users] getting the local 408 response

2016-07-12 Thread Jayesh Nambiar
Hello, So the question fundamentally is, if I t_suspend a transaction and kamailio sends a 408 to that leg because of the fr_timer configured, would I have access to that response? Thanks again. - Jayesh On Mon, Jul 11, 2016 at 6:26 PM Jayesh Nambiar wrote: > Hi Carsten, > Than

Re: [SR-Users] getting the local 408 response

2016-07-11 Thread Jayesh Nambiar
or 6xx reply from the proxy. > if (t_branch_timeout() || t_check_status("[5-6]..")) { > send_reply("486", "User offline"); > exit; > } > } > > Thanks, > Carsten > > 2016-07-11 14:37 GMT+02:00 Jayesh Nambiar : >

[SR-Users] getting the local 408 response

2016-07-11 Thread Jayesh Nambiar
Hi, I'm looking to catch the local 408 response generated by kamailio after the fr_timer strikes in. I was assuming to get it in the sl:local-request, but I dont see it in my log messages. I can catch responses like a 200 for register or a 487 for a message who's transaction is not yet created. Any

Re: [SR-Users] dispatcher module not fetching attrs col from DB

2016-07-05 Thread Jayesh Nambiar
ou run kamailio 4.4, the version value has to be 4. > > The module works also with older table versions/structures, but it doesn't > select the new columns. > > Cheers, > Daniel > > On 05/07/16 16:34, Jayesh Nambiar wrote: > > Version is 3. > > - Jayesh >

Re: [SR-Users] dispatcher module not fetching attrs col from DB

2016-07-05 Thread Jayesh Nambiar
Version is 3. - Jayesh On Tue, Jul 5, 2016 at 7:19 PM Daniel-Constantin Mierla wrote: > Hello, > > what is the table_version in version table for dispatcher? > > select * from version > > Cheers, > Daniel > > On 05/07/16 14:51, Jayesh Nambiar wrote: > > Hi

[SR-Users] dispatcher module not fetching attrs col from DB

2016-07-05 Thread Jayesh Nambiar
Hi, I'm trying to use the dispatcher module with algo 9 for weighted distribution. I have a column attrs in the dispatcher table with value in the format "weight=90" for my destination addresses. But somehow the ds_list command always shows attrs as blank. I checked that kamailio doesn't fetch the

[SR-Users] kazoo database not bound error

2016-04-20 Thread Jayesh Nambiar
Hello, Using kazoo only to connect to amqp gives an error if the db_url is not specified. If db_url is specified it tries to do presence related stuff even if not intended. The solution was to use: modparam("kazoo", "pua_mode", 0) which I found here: http://lists.sip-router.org/pipermail/sr-users/2

Re: [SR-Users] having a count of lost response for dialog keep alives

2015-12-10 Thread Jayesh Nambiar
Thanks Daniel. Have opened an issue related to this. I cannot label though !! https://github.com/kamailio/kamailio/issues/438 Please label it as a Feature Request. Thanks. - Jayesh On Thu, Dec 10, 2015 at 1:44 PM Daniel-Constantin Mierla wrote: > Hello, > > On 10/12/15 08:25, Jayes

[SR-Users] having a count of lost response for dialog keep alives

2015-12-09 Thread Jayesh Nambiar
Hi, I'm using dlg_set_property(ka-src) and dlg_set_property(ka-dst) to keep alive my clients. In case of a network change the client does a Re-Invite with the new contact address and kamailio does keep-alives to the new address properly as the fix reported here: https://github.com/kamailio/kamailio

[SR-Users] crash on using http_query when response is 200

2015-12-07 Thread Jayesh Nambiar
Hi, I'm using http_query to send a post request on a https URL. The weird part is it crashes with segmentation fault when the response from the server is 200. If the response was a 500, it works and continues processing. Here's the function: http_query("https://notify.abcd.com/onnet/call";, "$avp(d

Re: [SR-Users] using APP_LUA for complex arithmetic operations

2015-12-01 Thread Jayesh Nambiar
, 2015 at 7:23 PM Jayesh Nambiar wrote: > Hi, > I understand that kamailio does not allow float-point values in variables > and I think kamailio is not a great place to do complex arithemtic > operations and so I thought of using app_lua for the same. > So can I pass the control

[SR-Users] using APP_LUA for complex arithmetic operations

2015-12-01 Thread Jayesh Nambiar
Hi, I understand that kamailio does not allow float-point values in variables and I think kamailio is not a great place to do complex arithemtic operations and so I thought of using app_lua for the same. So can I pass the control to app_lua and come back to config script with some values? For eg. c

Re: [SR-Users] crash on using the $expires variable

2015-11-27 Thread Jayesh Nambiar
; than on mailing list, especially after a period of traveling. > > Cheers, > Daniel > > > On 27/11/15 14:31, Jayesh Nambiar wrote: > > So someone planning to patch it? Just asking? > > Thanks, > > - Jayesh > > On Thu, Nov 26, 2015 at 6:48 PM Sergey Okhap

Re: [SR-Users] crash on using the $expires variable

2015-11-27 Thread Jayesh Nambiar
So someone planning to patch it? Just asking? Thanks, - Jayesh On Thu, Nov 26, 2015 at 6:48 PM Sergey Okhapkin wrote: > Confirmed, I'm getting crash too. > > On Thursday 26 November 2015 13:05:57 Jayesh Nambiar wrote: > > Hi, > > I am trying to extract out the expir

[SR-Users] crash on using the $expires variable

2015-11-26 Thread Jayesh Nambiar
Hi, I am trying to extract out the expires value from the incoming REGISTER request. It might be present in the Contact header or as a separate Expires header and hence I planned to use the $expires(max) PV to get this. But kamailio just crashes as soon as I use the variable. Here's when it crashes

Re: [SR-Users] evapi tcp parsing??

2015-10-13 Thread Jayesh Nambiar
pointing to the issue. I pushed a > patch last night, hopefully fixes it. Try with latest master branch and let > me know the results. > > Cheers, > Daniel > > On 29/09/15 14:15, Jayesh Nambiar wrote: > > Hi Daniel, > Taking a second look at the NGREP Trace I think I

Re: [SR-Users] evapi tcp parsing??

2015-09-29 Thread Jayesh Nambiar
0@198.24.63.39"},146:{"event":"REGISTER","tindex":"10720","tlabel":"930036340","PhoneNumber":"11157","DeviceId":"abcd1234abcd1234","CallId":"10939-15480@198.24.63.39"},146:{&qu

Re: [SR-Users] evapi tcp parsing??

2015-09-29 Thread Jayesh Nambiar
cd1234","CallId":" 10943-15480@198.24.63.39"},] (151) (88) *Logs for messages after the discarded message:* DEBUG: evapi [evapi_dispatch.c:492]: evapi_recv_notify(): received [0x7f43da3e6aa0] [146:{"event":"REGISTER","tindex":"25286&qu

Re: [SR-Users] evapi tcp parsing??

2015-09-28 Thread Jayesh Nambiar
you printed by evapi module, even > not they are not processed (but discarded)? > > Cheers, > Daniel > > > On 25/09/15 13:55, Jayesh Nambiar wrote: > > Hi Daniel, > I think this is not solved completely after you applied the patch and my > testing shows that there ar

Re: [SR-Users] evapi tcp parsing??

2015-09-25 Thread Jayesh Nambiar
Jayesh Nambiar wrote: > Hello Daniel, > Just checking if you got what you were looking for. Do let me know if you > need more info on the same. > > Thanks, > > - Jayesh > > On Tue, Sep 22, 2015 at 8:23 PM Jayesh Nambiar > wrote: > >> Hi, >> Here&#

Re: [SR-Users] evapi tcp parsing??

2015-09-23 Thread Jayesh Nambiar
Hello Daniel, Just checking if you got what you were looking for. Do let me know if you need more info on the same. Thanks, - Jayesh On Tue, Sep 22, 2015 at 8:23 PM Jayesh Nambiar wrote: > Hi, > Here's the NGREP trace where > {"event":"REGISTER","tindex

Re: [SR-Users] evapi tcp parsing??

2015-09-23 Thread Jayesh Nambiar
viceId":"abcd1234abcd1234","CallId":" 11547-19872@198.24.63.39 "},146:{"event":"REGISTER","tindex":"48204","tlabel":"315887672","PhoneNumber":"42014","DeviceId":"abcd1234abcd123

Re: [SR-Users] evapi tcp parsing??

2015-09-22 Thread Jayesh Nambiar
Also forgot to mention, this starts happening at around 1200cps. And using SIPp I accelerate from 500cps to 1200cps very quick. So it might be related to concurrency is what I'm assuming. Thanks. - Jayesh On Tue, Sep 22, 2015 at 12:40 PM Jayesh Nambiar wrote: > Hi, > Took time to ge

Re: [SR-Users] evapi tcp parsing??

2015-09-22 Thread Jayesh Nambiar
mitted any event for the messages in the first chunk. Hoping this to be helpful !! Thanks. - Jayesh On Mon, Sep 21, 2015 at 4:37 PM Daniel-Constantin Mierla wrote: > Hello, > > I pushed another commit to add more debug messages to see if the event > route is supposed to be executed

Re: [SR-Users] evapi tcp parsing??

2015-09-21 Thread Jayesh Nambiar
G: evapi [evapi_dispatch.c:488]: evapi_recv_notify(): received [0x7f132568e850] [147:{"event":"REGISTER","tindex":"22127","tlabel":"1896682192","PhoneNumber":"73168","DeviceId":"abcd1234abcd1234",&

Re: [SR-Users] evapi tcp parsing??

2015-09-18 Thread Jayesh Nambiar
ich is: evapi_recv_client(): {0} [1.2.3.4:48873] - received [145:{"event":"REGISTER","tindex":"55567","tlabel":"627458699","PhoneNumber":"20711","DeviceId":"abcd1234abcd1234","CallId":"

Re: [SR-Users] evapi tcp parsing??

2015-09-18 Thread Jayesh Nambiar
ases. > > Cheers, > Daniel > > On 14/09/15 23:00, Jayesh Nambiar wrote: > > Hello Daniel, > After further testing with evapi module, I figured that when Netstrings > are used, an event route is invoked individually for each message even if > if multiple netstring messages a

Re: [SR-Users] evapi tcp parsing??

2015-09-15 Thread Jayesh Nambiar
solve these minor issues. Thanks, - Jayesh On Tue, Sep 15, 2015 at 2:30 AM, Jayesh Nambiar wrote: > Hello Daniel, > After further testing with evapi module, I figured that when Netstrings > are used, an event route is invoked individually for each message even if > if multiple netst

Re: [SR-Users] evapi tcp parsing??

2015-09-14 Thread Jayesh Nambiar
on this. Thanks; - Jayesh On Thu, Sep 10, 2015 at 4:01 PM, Jayesh Nambiar wrote: > Hi Daniel, > Thanks for the quick response. So if I do not use Netstrings, does > Kamailio allow me to create a custom logic in the script. For eg. if I > decide to use newline as a delimiter, can I keep bu

Re: [SR-Users] evapi tcp parsing??

2015-09-10 Thread Jayesh Nambiar
that was read at once from the tcp connection. > > Cheers, > Daniel > > > On 09/09/15 22:01, Jayesh Nambiar wrote: > > Hello, > I'm exploring the evapi module for my kamailio to interface with an > external node.js app for third party stuff like AAA, billing engine

[SR-Users] evapi tcp parsing??

2015-09-09 Thread Jayesh Nambiar
Hello, I'm exploring the evapi module for my kamailio to interface with an external node.js app for third party stuff like AAA, billing engine tasks, notifications and so on. I followed and took some ideas from the rtjson and evapi tutorial found here( http://kb.asipto.com/kamailio:k43-async-sip-ro

Re: [SR-Users] cnxcc module insufficient credit

2013-07-29 Thread Jayesh Nambiar
Hey Carlos, I would test and get back. --- Jayesh On Jul 29, 2013 7:27 PM, "Carlos Ruiz Díaz" wrote: > Hi Jayesh, > > I just applied the changes and updated the documentation. Please give it a > try. > > Regards, > Carlos > > > On Wed, Jul 17, 2013 at 11

[SR-Users] get CDR fields in DB

2013-07-22 Thread Jayesh Nambiar
Hello All, Is there no straight forward way of getting the ACC module CDR values into the DB. I mean logging the start_time, end_time and duration in DB directly using some pseudo variables from the config script !! I think, if a dialog is maintained, all the values related to that dialog is anywa

Re: [SR-Users] floating point operations in kamailio

2013-07-22 Thread Jayesh Nambiar
wrote: > Hello, > > > On 7/17/13 3:00 PM, Jayesh Nambiar wrote: > >> Is there a plan to support floating point arithmetic operations in >> kamailio in the near future. >> > it might happen, although is not a high priority here (and don't know > about other

Re: [SR-Users] Get duration in cnxcc:call-shutdown event

2013-07-20 Thread Jayesh Nambiar
on in the event route block in cases when the call is forced to > end. > > You can calculate the duration using: > > * $var(duration) = $TS - $dlg(start_ts);* > * > * > Regards, > Carlos > > > > > > On Sat, Jul 20, 2013 at 2:07 AM, Jayesh Nambiar wr

[SR-Users] Get duration in cnxcc:call-shutdown event

2013-07-19 Thread Jayesh Nambiar
Hello, Is there a straight forward way of getting the duration of the call in cnxcc-call-shutdown event. The $DLG_lifetime returns NULL as the dialog does not exist. I dont get the value of $DLG_lifetime even in dialog:end event when the call ends through cnxcc module. Even the cdr flag of acc modu

Re: [SR-Users] cnxcc module insufficient credit

2013-07-17 Thread Jayesh Nambiar
Thank you Carlos. --- Jayesh On Wed, Jul 17, 2013 at 11:19 PM, Carlos Ruiz Díaz < carlos.ruizd...@gmail.com> wrote: > Ok. Right now I'm short in time but this weekend I'm gonna schedule myself > this. > > I'll let you know. > > Carlos. > > >

Re: [SR-Users] cnxcc module insufficient credit

2013-07-17 Thread Jayesh Nambiar
king enough credit. Have you > tried that? > > Regards, > Carlos. > > > On Wed, Jul 17, 2013 at 10:57 AM, Jayesh Nambiar wrote: > >> Hi All, >> I was testing out the cnxcc module and it works well for prepaid credit >> handling. One problem that I saw with

[SR-Users] cnxcc module insufficient credit

2013-07-17 Thread Jayesh Nambiar
Hi All, I was testing out the cnxcc module and it works well for prepaid credit handling. One problem that I saw with the module is that if the credit is insufficient it still allows the call to pass and then disconnect within a second. Is it possible that if the credit is insufficient for the call

[SR-Users] floating point operations in kamailio

2013-07-17 Thread Jayesh Nambiar
Is there a plan to support floating point arithmetic operations in kamailio in the near future. I am looking at something similar to mathops module in opensips. Thanks, --- Jayesh ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing li

Re: [SR-Users] Error with ACK from SIPML5

2013-06-23 Thread Jayesh Nambiar
I did do debug=3 and saw the logs but couldn't figure out much. Here is the log for the appropriate ACK received on websocket port. I've highlighted a few lines I felt might be problematic: DEBUG: [tcp_read.c:1146]: ws_process_msg(): WebSocket Message: [[>>>#012<81>þ#003ø´¶#037<8a>õõTªÇßo°<85><84

Re: [SR-Users] Error with ACK from SIPML5

2013-06-22 Thread Jayesh Nambiar
more or less taken from https://gist.github.com/jesusprubio/4066845 --- Jayesh On Wed, Jun 19, 2013 at 2:14 PM, Jayesh Nambiar wrote: > Hi Daniel, > I checked using the kamcmd command and I see the webrtc connection active. > The ACK comes from the webrtc client but somehow kamailio is

Re: [SR-Users] Error with ACK from SIPML5

2013-06-19 Thread Jayesh Nambiar
Also the connection between Kamailio and Freeswitch is UDP. I am not able to use the websocket module just because of this small problem caused in signaling. Any help is really appreciated. Could it be related to the nathelper module? Thanks, --- Jayesh On Tue, Jun 18, 2013 at 2:17 PM, Daniel-Con

[SR-Users] Error with ACK from SIPML5

2013-06-14 Thread Jayesh Nambiar
Hello All, I have a setup which is SIPML5 -> Kamailio(Websocket) -> Freeswitch. All I am trying to do is initiate a call from SIPML5 and Play a Music file from freeswitch. This works, but the call hangs up after 30 seconds due to ACK timeout from from the SIPML5. What I can see is the SIPML5 from

[SR-Users] Kamailio Postgres error - unknown field type: 2

2013-06-03 Thread Jayesh Nambiar
Hi, I am using Kamailio with Postgres and I get this error while using the load_credentials parameter in the auth_db module. Basically I am loading a column whose datatype is BIGINT or int8 in postgres. Kamailio shows up with this error in syslog when authorization is done: NOTICE: [db_ut.c:485]: