[OpenSIPS-Users] user location in mongodb

2018-01-31 Thread Jayesh Nambiar
Hello, I am running opensips 2.3.2 stable. I wanted to know if mongodb can be used for storing the user location information with opensips cachedb_mongodb module? Quick googling didnt give me any clarity if it is possible or not. Before doing anything, I wanted to know if this is possible with

[OpenSIPS-Users] raw mongodb query json parse error

2017-12-01 Thread Jayesh Nambiar
Hi All, I've been playing around with executing raw mongodb queries with opensips 2.3.2. Though I can run and execute queries successfully I cannot figure how to write a query that queries the objectId in mongodb directly. The raw query basically is: db.runCommand({ find: "customers", filter: {

[OpenSIPS-Users] correct usage of the remove function in registrar module

2015-11-23 Thread Jayesh Nambiar
Hi, Can someone please confirm if remove function in registrar module works as expected. If my UL SHOW shows this, what shouldbe used to remove this particular contact only form the location: ecef74d17522a634b0412c at abc.com Contact:: sip:ecef74d17522a634b0412c at

Re: [OpenSIPS-Users] remove function not working for specific contact

2015-11-20 Thread Jayesh Nambiar
ot;location", "cef74d17522a634b04...@abc.com", " sip:ecef74d17522a634b0412c@11.22.33.44:54332") I tried this but didn't work. If this is correct I'll log and check if this is exactly what I'm passing to the remove function and check whats wrong. Thanks, - Jayesh On Tue, Nov 17, 201

Re: [OpenSIPS-Users] remove function not working for specific contact

2015-11-17 Thread Jayesh Nambiar
d f. > Something like: > > save("location", "fc1"); > > [1] > http://www.opensips.org/html/docs/modules/2.1.x/registrar.html#id294034 > > Best regards, > > Răzvan Crainea > OpenSIPS Solutionswww.opensips-solutions.com > > On 11/17/2015

Re: [OpenSIPS-Users] remove function not working for specific contact

2015-11-16 Thread Jayesh Nambiar
, 2015 at 6:59 PM Jayesh Nambiar <jayesh1...@gmail.com> wrote: > Forgot to mention. I'm using version 2.1. > > Thanks, > > - Jayesh > > On Tue, Nov 10, 2015 at 6:01 PM Jayesh Nambiar <jayesh1...@gmail.com> > wrote: > >> Hello, >> I've been trying

[OpenSIPS-Users] remove function not working for specific contact

2015-11-10 Thread Jayesh Nambiar
Hello, I've been trying to delete specific contact for AOR using the remove function in the registrar module, but somehow it doesn't remove it from the location. My db_mode is 0 as I only want to store it in opensips memory. I hav the "use_domain" param as 1. On register, the contact gets stored

Re: [OpenSIPS-Users] remove function not working for specific contact

2015-11-10 Thread Jayesh Nambiar
Forgot to mention. I'm using version 2.1. Thanks, - Jayesh On Tue, Nov 10, 2015 at 6:01 PM Jayesh Nambiar <jayesh1...@gmail.com> wrote: > Hello, > I've been trying to delete specific contact for AOR using the remove > function in the registrar module, but somehow it doesn't

[OpenSIPS-Users] kiiling dialogs in a specific profile

2015-09-23 Thread Jayesh Nambiar
Hello, I'm looking for fifo command which can help kill the dialogs in a specific profile with specific value. I saw a post related to this over here http://opensips.org/pipermail/users/2014-April/028517.html Needed to know if this feature was implemented as I dont see it documented anywhere. I'm

Re: [OpenSIPS-Users] kiiling dialogs in a specific profile

2015-09-23 Thread Jayesh Nambiar
at which the OPTIONS message is sent to the callee/caller is configurable in the create_dialog("Pp") function. Currently as a default behavior I believe it goes out every 32 seconds or so. Thanks, - Jayesh On Wed, Sep 23, 2015 at 1:12 PM Jayesh Nambiar <jayesh1...@gmail.com> wrote:

[OpenSIPS-Users] Error compiling cachedb_mongodb with opensips_head

2015-06-03 Thread Jayesh Nambiar
Hi, I tried including the cachedb_mongodb with latest opensips_head and it gives out error saying fatal error: mongo.h: No such file or directory I have installed mongo C library and I see it copies all the .h files in /usr/local/include/libmongoc-1.0 and the filename is mongoc.h instead of

Re: [OpenSIPS-Users] Error compiling cachedb_mongodb with opensips_head

2015-06-03 Thread Jayesh Nambiar
://www.opensips.org/html/docs/modules/2.2.x/cachedb_mongodb.html#id249610 Liviu Chircu OpenSIPS Developerhttp://www.opensips-solutions.com On 03.06.2015 15:27, Jayesh Nambiar wrote: Hi, I tried including the cachedb_mongodb with latest opensips_head and it gives out error saying fatal error: mongo.h

[OpenSIPS-Users] redis HMGET nil value problem

2015-05-28 Thread Jayesh Nambiar
Hi, I'm using cache_raw queries to get data from redis and I have a problem with accessing nil values that gets returned from it. For eg I do the following: cache_raw_query(redis:myRedis HMGET one two three, $avp(result)); Here the value of one is abc, two is not present in redis and three is

Re: [OpenSIPS-Users] redis HMGET nil value problem

2015-05-28 Thread Jayesh Nambiar
. Please open a GITHUB issue for this and will fix it as soon as possible. Best Regards, Vlad Paiu OpenSIPS Developerhttp://www.opensips-solutions.com On 28.05.2015 16:21, Jayesh Nambiar wrote: Hi, I'm using cache_raw queries to get data from redis and I have a problem with accessing nil

Re: [OpenSIPS-Users] default value for timerec column in dialplan table

2015-02-22 Thread Jayesh Nambiar
, Jayesh Nambiar jayesh1...@gmail.com wrote: Hi, I recently upgraded to 2.1.0 from 1.11 and my dialplans wouldn't load because of the following error: *failed to parse timerec pattern* I tried multiple values in this column after doing some reading here: http://www.kanzaki.com/docs/ical

Re: [OpenSIPS-Users] mi_open_reply_pipe: open error

2014-11-13 Thread Jayesh Nambiar
Yes, I'm running opensips as root. --- Jayesh On Thu, Nov 13, 2014 at 6:54 PM, Răzvan Crainea raz...@opensips.org wrote: Are you running opensips as user root? Răzvan Crainea OpenSIPS Solutionswww.opensips-solutions.com On 11/12/2014 11:06 AM, Jayesh Nambiar wrote: I understand

Re: [OpenSIPS-Users] mi_open_reply_pipe: open error

2014-11-12 Thread Jayesh Nambiar
. I haven't made any changes in the default opensipsctlrc file and osipsconsolerc file. Anything to be done for these files?? Thanks for any pointers, --- Jayesh On Sat, Nov 8, 2014 at 5:20 PM, Jayesh Nambiar jayesh1...@gmail.com wrote: Hi, I am currently running opensips 2.1 version. From my

[OpenSIPS-Users] mi_open_reply_pipe: open error

2014-11-08 Thread Jayesh Nambiar
Hi, I am currently running opensips 2.1 version. From my script, based on a certain event I execute exec command as follows: exec_avp(/usr/local/sbin/opensipsctl fifo t_uac_cancel $avp(caller_cid) $avp(caller_cseq), $avp(result)) But the syslog always shows error as: Nov 8 11:40:05 v146

Re: [OpenSIPS-Users] Have one registration contact per device in usrloc

2014-10-09 Thread Jayesh Nambiar
Hello, Wanted to correct the message below: I had added fc1 in the save(location) after I got this problem to avoid more than one registration. Before adding fc1, i had this problem of TCP timeout. Sorry for the wrong info. --- Jayesh On Wed, Oct 8, 2014 at 8:01 PM, Jayesh Nambiar jayesh1

Re: [OpenSIPS-Users] Have one registration contact per device in usrloc

2014-10-08 Thread Jayesh Nambiar
? Exactly the opposit of the is_other_contact() function : http://www.opensips.org/html/docs/modules/1.11.x/registrar.html#id294660 Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developerhttp://www.opensips-solutions.com On 01.10.2014 18:15, Jayesh Nambiar wrote: Hi, I am trying

[OpenSIPS-Users] Have one registration contact per device in usrloc

2014-10-01 Thread Jayesh Nambiar
Hi, I am trying to solve a problem of having one registration per AOR per device. So user 1234 can register from device A, device B and device C. But the user 1234 should not have multiple contacts from device A alone. At times when the device loses network, proxy doesn't receive de-register and

Re: [OpenSIPS-Users] calling t_uac_cancel from opensips script

2014-09-10 Thread Jayesh Nambiar
Hello, Just an update, when I ran exec_msg function with modparam(exec, async, 0), the behaviour was same as exec_avp function. Basically, opensips logs stay at forked_pid and nothing else works after that. No SIP request is processed. --- Jayesh On Tue, Sep 9, 2014 at 8:41 PM, Jayesh Nambiar

Re: [OpenSIPS-Users] calling t_uac_cancel from opensips script

2014-09-10 Thread Jayesh Nambiar
include_modules=db_mysql cachedb_redis json rest_client make prefix=/usr/local/myOpensips include_modules=db_mysql cachedb_redis json rest_client install. Is the above method no longer supported or somethig?? Thanks, --- Jayesh On Wed, Sep 10, 2014 at 1:55 PM, Jayesh Nambiar jayesh1...@gmail.com wrote

[OpenSIPS-Users] using TCP/TLS in a large scale deployment

2014-09-10 Thread Jayesh Nambiar
Hello, I am in process of designing opensips which can handle a million users, hypothetically 200,000 registrations and 500CPS capacity. I've been reading a lot and learnt that TCP design is blocking and not suitable for huge volumes. My requirement was to have TLS between endpoints and Opensips

Re: [OpenSIPS-Users] calling t_uac_cancel from opensips script

2014-09-09 Thread Jayesh Nambiar
to execute the shell script? Best regards, Răzvan Crainea OpenSIPS Solutionswww.opensips-solutions.com On 09/09/2014 03:44 PM, Jayesh Nambiar wrote: Hello, I try to cancel a running transaction in opensips based on certain conditions. When I try this from the script: exec_avp(/usr

Re: [OpenSIPS-Users] calling t_uac_cancel from opensips script

2014-09-09 Thread Jayesh Nambiar
...@opensips.org wrote: Hi, Jayesh! No, it should not be present. It is created by opensipsctl when a command is issued. What version of OpenSIPS are you running? Best regards, Răzvan Crainea OpenSIPS Solutionswww.opensips-solutions.com On 09/09/2014 04:30 PM, Jayesh Nambiar wrote: Hi, Just

Re: [OpenSIPS-Users] calling t_uac_cancel from opensips script

2014-09-09 Thread Jayesh Nambiar
...@opensips.org wrote: Can you please update your sources? Bogdan made a fix on 24th of August that might be related to this. Best regards, Răzvan Crainea OpenSIPS Solutionswww.opensips-solutions.com On 09/09/2014 04:42 PM, Jayesh Nambiar wrote: Hello Razvan, I am running 1.11.2 extracted from

Re: [OpenSIPS-Users] calling t_uac_cancel from opensips script

2014-09-09 Thread Jayesh Nambiar
. Sep 9 10:18:00 v38 /usr/local/myOpensips/sbin/opensips[24835]: DBG:tm:mi_tm_cancel: cancelling transaction 0x7f449a0cbb00 Sep 9 10:18:00 v38 /usr/local/myOpensips/sbin/opensips[24835]: DBG:tm:build_local: using FROM=From: Jayesh Nambiar sip:1003040@198.24.63.38;tag=NPD-XIL90Z6yNzrktn

[OpenSIPS-Users] insert dialog end reason into DB

2014-08-23 Thread Jayesh Nambiar
Hello, How do you insert the $DLG_end_reason in a particular column in acc table?? I basically did set a db_extra_bye modparam as follows: modparam(acc, db_extra_bye, sip_dlg_end_reason=$avp(dlg_end_reason)) The problem is; when I do this before the loose route: if(is_method(BYE)) {

[OpenSIPS-Users] skip version table check

2014-08-22 Thread Jayesh Nambiar
Hello, Is there a way I can avoid opensips script check the version table for specific modules while starting up. My database structure is customized and doesn't use default opensips DB structure. I have to keep the version table just because opensips checks it on the startup. Thanks, W/regards,

Re: [OpenSIPS-Users] skip version table check

2014-08-22 Thread Jayesh Nambiar
it will be a warning to check the structure to see what changed. Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developerhttp://www.opensips-solutions.com On 22.08.2014 18:01, Jayesh Nambiar wrote: Hello, Is there a way I can avoid opensips script check the version table for specific

Re: [OpenSIPS-Users] send params in mi_json

2014-07-23 Thread Jayesh Nambiar
in the documentation[1], parameters should be separated using comma. [1] http://www.opensips.org/html/docs/modules/1.11.x/mi_json.html#id249590 Best regards, Razvan Crainea OpenSIPS Core Developer http://www.opensips-solutions.com On 07/22/2014 06:20 PM, Jayesh Nambiar wrote: Hello

[OpenSIPS-Users] httpd module only listening on localhost

2014-07-22 Thread Jayesh Nambiar
Hello, I am trying to load the httpd module and trying to execute some commands from a remote server towards opensips http server. But the problem is, opensips by default only listens on localhost. I tried setting the following parameter: modparam(httpd, ip, 1.2.3.4) modparam(httpd, port, 8000)

Re: [OpenSIPS-Users] httpd module only listening on localhost

2014-07-22 Thread Jayesh Nambiar
o...@voipembedded.com wrote: There are no limitations in terms of IP binding. If you run 'opensipsctl ps' you will see the httpd process listed with the listening IP and port. Regards, Ovidiu Sas On Jul 22, 2014 7:03 AM, Jayesh Nambiar jayesh1...@gmail.com wrote: Hello, I am trying

Re: [OpenSIPS-Users] httpd module only listening on localhost

2014-07-22 Thread Jayesh Nambiar
config file (wrong location perhaps). On Jul 22, 2014 9:46 AM, Jayesh Nambiar jayesh1...@gmail.com wrote: Hi Ovidiu, Thanks for the response. In opensipsctl ps following shows up for HTTPD: Process:: ID=1 PID=1932 Type=HTTPD 127.0.0.1:8080 Whereas, I have set the httpd parameter as follows

[OpenSIPS-Users] send params in mi_json

2014-07-22 Thread Jayesh Nambiar
Hello, Can somebody please help me in passing parameters in HTTP GET Request. I'm using mi_json to send commands to opensips. I wanted to end a running dialog based on certain conditions. For example, if my dialog-id is 1368:1091608310; I would normally run opensipsctl fifo dlg_end_dlg 1368

[OpenSIPS-Users] Getting core dialog info from script

2014-07-18 Thread Jayesh Nambiar
Hi All, Is it possible to get the dialog information like hash and state from the script. The idea is to store such values in a cachedb and some application can directly fetch these values and execute dlg_end_dlg kind of things towards opensips over mi_json or something similar !! Currently, the

Re: [OpenSIPS-Users] Getting core dialog info from script

2014-07-18 Thread Jayesh Nambiar
://www.opensips-solutions.com On 18.07.2014 15:47, Jayesh Nambiar wrote: Hi All, Is it possible to get the dialog information like hash and state from the script. The idea is to store such values in a cachedb and some application can directly fetch these values and execute dlg_end_dlg kind

Re: [OpenSIPS-Users] Parking a Call using b2b modules

2014-06-18 Thread Jayesh Nambiar
On 18.06.2014 08:42, Jayesh Nambiar wrote: Hi Bogdan, Thanks for the reply. But the challenge with me is that I don't want to use an additional component like a Media Server in this setup. The idea is to get away with too many components which can act like point of failures. Hence I

Re: [OpenSIPS-Users] Parking a Call using b2b modules

2014-06-18 Thread Jayesh Nambiar
/queue per user, which is not really scalable. Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developerhttp://www.opensips-solutions.com On 18.06.2014 14:02, Jayesh Nambiar wrote: Hi Bogdan, Thanks for your response. I get your idea of sending the call to an unexisting destination which

[OpenSIPS-Users] Parking a Call using b2b modules

2014-06-17 Thread Jayesh Nambiar
Hello All, I was trying to explore an option of parking a call on opensips using b2b modules with a trying or ringing response. More precisely, I was trying to do something like this: http://lists.opensips.org/pipermail/users/2010-October/014849.html As soon as the call comes in, use b2b_logic to

Re: [OpenSIPS-Users] Parking a Call using b2b modules

2014-06-17 Thread Jayesh Nambiar
into failure route (because of the canceling) - from there you can create a new branch to the newly registered user. I haven't tried, but it should work :) Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developerhttp://www.opensips-solutions.com On 17.06.2014 12:57, Jayesh Nambiar wrote: Hello

[OpenSIPS-Users] BYE routed incorrectly when applications on same host

2014-05-16 Thread Jayesh Nambiar
Hi All, I have a Freeswitch, OpenSIPS and Oversip all on the same server and different ports. Freeswitch originates a call, goes to OpenSIPS, OpenSIPS looks up into location and figures that it supposed to be routed to Oversip and routes it to Oversip and the call is connected with a WebRTC JsSip

Re: [OpenSIPS-Users] [RELEASES] Planing OpenSIPS 1.11.0 major release

2014-03-07 Thread Jayesh Nambiar
Great News !! --- Jayesh On Fri, Mar 7, 2014 at 4:09 PM, Bogdan-Andrei Iancu bog...@opensips.orgwrote: sorry, I meant 1.11 beta, not 1.10 :) Bogdan-Andrei Iancu OpenSIPS Founder and Developer http://www.opensips-solutions.com On 07.03.2014 12:34, Bogdan-Andrei Iancu wrote: Hello,

Re: [OpenSIPS-Users] Audio calls not working on 3G

2014-03-07 Thread Jayesh Nambiar
Your work firewall must be blocking packets when you test on 3G. The Wifi must be within your work network !! I hope you are using RTPProxy or MediaProxy to handle media when originated from NATed clients. If yes, you dont need STUN and TURN as of now. --- Jayesh On Fri, Mar 7, 2014 at 5:01 PM,

Re: [OpenSIPS-Users] Fwd: uac_auth() segfault

2014-02-21 Thread Jayesh Nambiar
Hi, This is how I do it on 1.11 dev version and it works absolutely as expected: modparam(uac_auth,credential,username:domain:password) modparam(uac_auth,auth_realm_avp,$avp(domain)) modparam(uac_auth,auth_username_avp,$avp(username)) modparam(uac_auth,auth_password_avp,$avp(password))

Re: [OpenSIPS-Users] Initializing SIP messages from routing

2014-02-13 Thread Jayesh Nambiar
Hi, CRBT is caller ring back tone. What you are primarily looking at is sending the INVITE to some b2bua like FreeSWITCH or Asterisk where you control both legs of the call. So when you get a ringing signal from the B-leg, you play some media file on the A-leg. --- Jayesh On Friday, February 7,

[OpenSIPS-Users] redis for db_cachedb

2013-12-03 Thread Jayesh Nambiar
Hello, Since now you can execute raw redis queries directly from Opensips, is it also possible to use redis for user_location and dialog storage like you can do with mongo?? Thanks, --- Jayesh ___ Users mailing list Users@lists.opensips.org

Re: [OpenSIPS-Users] db pasword contains @

2013-10-30 Thread Jayesh Nambiar
of the option to change the passwd. Let me make an extension to the parse to allow escaped chars via '\' . Be back with you. Thank and regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developerhttp://www.opensips-solutions.com On 10/24/2013 09:26 AM, Jayesh Nambiar wrote: Nothing works

Re: [OpenSIPS-Users] db pasword contains @

2013-10-24 Thread Jayesh Nambiar
password, if you need to keep this password then add another MySQL user and give it correct permissions and use that in your script On Oct 23, 2013 1:01 PM, Jayesh Nambiar jayesh1...@gmail.com wrote: Yes, still doesn't work. --- Jayesh On Wed, Oct 23, 2013 at 2:35 PM, Aamir aamir_...@yahoo.com

[OpenSIPS-Users] db pasword contains @

2013-10-23 Thread Jayesh Nambiar
Hello, My mysql database password contains '@' in it. How do I inititialize the db url in that case. So I want do something like: db_default_url=mysql://user:pass@pwd@mysqlhost:3306 The above line gives me error since opensips thinks the mysql host start from first @. Any suggestions on how to do

Re: [OpenSIPS-Users] db pasword contains @

2013-10-23 Thread Jayesh Nambiar
Yes, still doesn't work. --- Jayesh On Wed, Oct 23, 2013 at 2:35 PM, Aamir aamir_...@yahoo.com wrote: Have you tried with backslash/slosh. Thanks Regards, Aamir Chougule Cell: 08097989101 Skype-ID: aamir_ryu --- Sent from my BlackBerry --- -Original Message- From: Jayesh

Re: [OpenSIPS-Users] about send request to other app

2013-09-12 Thread Jayesh Nambiar
Try using the new event interface. Also rest_client is now available in the 1.10 version which can be used to pass data to any webapp. --- Jayesh On Monday, September 9, 2013, hualong@busap.com wrote: ** Hello all, I want to send request to other app in opensips.cfg , how

Re: [OpenSIPS-Users] opensips Redis problem

2013-09-09 Thread Jayesh Nambiar
Hi, Opensips currently only supports raw queries for mongo-db. For redis it wont support hget and other native commands now. They will add it in near future. --- Jayesh On Thu, Sep 5, 2013 at 12:27 PM, hualong@busap.com hualong@busap.com wrote: ** Hello everyone I have a

Re: [OpenSIPS-Users] using rest_post in onreply_route

2013-09-05 Thread Jayesh Nambiar
for this. Best regards, Liviu Chircu OpenSIPS Devhttp://www.opensips-solutions.com On 09/03/2013 05:22 PM, Jayesh Nambiar wrote: Hello, I had a requirement of calling rest_post in the reply route. Basically, I get a SIP Header in 18X response which I am supposed to pass as a parameter while I call

[OpenSIPS-Users] using rest_post in onreply_route

2013-09-03 Thread Jayesh Nambiar
Hello, I had a requirement of calling rest_post in the reply route. Basically, I get a SIP Header in 18X response which I am supposed to pass as a parameter while I call the POST request. Is there any specific reason that this cannot be called from onreply_route? Thanks, --- Jayesh

Re: [OpenSIPS-Users] executing redis commands

2013-08-13 Thread Jayesh Nambiar
Hello All, Just came across: cache_raw_query( storage_id, raw_query,result_avp) Is this used to execute native commands. So can I run native commands in redis using this function? --- Jayesh On Tue, Aug 13, 2013 at 11:09 AM, Jayesh Nambiar jayesh1...@gmail.comwrote: Hello All, Currently I

Re: [OpenSIPS-Users] executing redis commands

2013-08-13 Thread Jayesh Nambiar
. Best Regards, Vlad Paiu OpenSIPS Developerhttp://www.opensips-solutions.com On 08/13/2013 12:55 PM, Jayesh Nambiar wrote: Hello All, Just came across: cache_raw_query( storage_id, raw_query,result_avp) Is this used to execute native commands. So can I run native commands in redis using

[OpenSIPS-Users] executing redis commands

2013-08-12 Thread Jayesh Nambiar
Hello All, Currently I cannot execute redis commands directly from the script. I am limited to core commands to handle values in redis. Do we have this feature of executing redis commands directly from the script in the roadmap? This would definitely give more flexibility and efficiency to handle

Re: [OpenSIPS-Users] likely bug in mathops module

2013-08-10 Thread Jayesh Nambiar
://www.opensips-solutions.com On 08/09/2013 06:00 PM, Jayesh Nambiar wrote: Hi, I was testing the mathops module and observed the following: math_eval(2.332 / 1.039, $avp(result)); The above expression gives proper result. But: math_eval(2.332 / 0.039, $avp(result)); This results

[OpenSIPS-Users] likely bug in mathops module

2013-08-09 Thread Jayesh Nambiar
Hi, I was testing the mathops module and observed the following: math_eval(2.332 / 1.039, $avp(result)); The above expression gives proper result. But: math_eval(2.332 / 0.039, $avp(result)); This results in following error in the syslog: WARNING:mathops:convert_to_rpn: Parse expr error:

Re: [OpenSIPS-Users] how to integrate on DB call barring

2013-07-23 Thread Jayesh Nambiar
Alex, Just create a DB table with some sort of status column for each customer with destinations in it. Before processing every call use avp_db_query to query the status column corresponding to the destination and take appropriate action. Destination can be matched using country code, area code

Re: [OpenSIPS-Users] opensipsdbctl: creating Database on remote machine with defined port

2013-07-23 Thread Jayesh Nambiar
mysql://username:password@mysql_host:mysql_port/your_db On Fri, Jul 19, 2013 at 9:48 PM, Chandra Prakash chandraprak...@virtualemployee.com wrote: Hello, ** ** I’m able to create opensips db on remote machine using default port but how I can do when mysql port is defined on remote

[OpenSIPS-Users] Mediaproxy on AWS

2013-07-16 Thread Jayesh Nambiar
Hi, I think this must have been asked several times but I just need an expert advice again. I am currently running media-relays on virtual machines virtualized using KVM and it is running good with opensips. I wanted to take this on Amazon Cloud and wanted to know what would be the tradeoffs? I

Re: [OpenSIPS-Users] raise event when a registered user is unreachable

2013-03-14 Thread Jayesh Nambiar
://www.opensips-solutions.com On 03/13/2013 08:28 AM, Jayesh Nambiar wrote: Hi All, The 1.9 has an awesome event interface and I really appreciate the great work by the developers. I was looking at an option to raise an event when a registered user becomes unreachable. Say, for eg: I use keep-alive

[OpenSIPS-Users] raise event when a registered user is unreachable

2013-03-13 Thread Jayesh Nambiar
Hi All, The 1.9 has an awesome event interface and I really appreciate the great work by the developers. I was looking at an option to raise an event when a registered user becomes unreachable. Say, for eg: I use keep-alive method as OPTIONS in the nat_traversal module and if I do not get a

Re: [OpenSIPS-Users] querying float point values in opensips-1.9 gives error

2013-03-13 Thread Jayesh Nambiar
Hi Vlad, In this case I am actually calling a stored procedure inside avp_db_query() function to query data from mysql. The stored procedure goes into multiple tables and based on many conditions it gives the output. The datatypes of the the columns in question are actually all DECIMAL(8,4) in the

[OpenSIPS-Users] querying float point values in opensips-1.9 gives error

2013-03-12 Thread Jayesh Nambiar
Hi, I am testing out Opensips-1.9 currently. While I was using opensips-1.8.2, I used avp_db_query to query some values from database tables which were float point values and used those values to insert into acc table. Obviously for billing reasons. But after upgrading to 1.9 it gives error. Eg: I

Re: [OpenSIPS-Users] querying float point values in opensips-1.9 gives error

2013-03-12 Thread Jayesh Nambiar
). For more info: http://linux.die.net/man/3/strtol Starting with 1.9, there is a strict check for invalid characters and therefore the conversion fails: 1.000 and 0.0123 are not a valid integers. Regards, Ovidiu Sas On Tue, Mar 12, 2013 at 10:36 AM, Jayesh Nambiar jayesh1

Re: [OpenSIPS-Users] querying float point values in opensips-1.9 gives error

2013-03-12 Thread Jayesh Nambiar
Oh Ok. Got it. Thanks for the inputs. --- Jayesh On Wed, Mar 13, 2013 at 8:26 AM, Ovidiu Sas o...@voipembedded.com wrote: Make sure that the values are stored as strings in the table, not as float. -ovidiu On Tue, Mar 12, 2013 at 10:40 PM, Jayesh Nambiar jayesh1...@gmail.com wrote: Hi

[OpenSIPS-Users] substitute variable names within variables

2012-12-27 Thread Jayesh Nambiar
Hi, I define some values using the varset parameters of cfgutils module. modparam(cfgutils, varset, media1=1.2.3.4) modparam(cfgutils, varset, media2=4.3.2.1) modparam(cfgutils, varset, media3=5.6.7.8) I need a logic to dynamically select the the variables. Say for example: I select a value from

[OpenSIPS-Users] set_count in opensips 1.8.2

2012-11-08 Thread Jayesh Nambiar
Hi All, Just upgraded to opensips 1.8.2 and it wont start since I have used set_count function in the script. It gives an error: unknown command set_count, missing loadmodule? I have the module cfgutils loaded. Guess it is a problem in 1.8.2. --- Jayesh

Re: [OpenSIPS-Users] Parallel forking and per branch manipulation

2012-09-04 Thread Jayesh Nambiar
is wrong in opensips-1.7.x. Please help me out here. Thanks, --- Jayesh On Tue, Sep 4, 2012 at 12:18 AM, Jayesh Nambiar jayesh.v...@gmail.comwrote: Thanks Bogdan. Will definitely try this out. --- Jayesh On Monday, September 3, 2012, Bogdan-Andrei Iancu wrote: ** Hi Jayesh, See my

Re: [OpenSIPS-Users] Parallel forking and per branch manipulation

2012-09-03 Thread Jayesh Nambiar
Thanks Bogdan. Will definitely try this out. --- Jayesh On Monday, September 3, 2012, Bogdan-Andrei Iancu wrote: ** Hi Jayesh, See my inline comments. Regards, Bogdan-Andrei Iancu OpenSIPS Founder and Developerhttp://www.opensips-solutions.com On 08/31/2012 03:02 PM, Jayesh Nambiar

Re: [OpenSIPS-Users] Parallel forking and per branch manipulation

2012-08-31 Thread Jayesh Nambiar
blocks to execute certain logic (it could be the manipulation ) for each branch before forwarding the request. // Binan --- On Thu, 8/30/12, Jayesh Nambiar jayesh.v...@gmail.com wrote: From: Jayesh Nambiar jayesh.v...@gmail.com Subject: [OpenSIPS-Users] Parallel forking and per branch

[OpenSIPS-Users] Parallel forking and per branch manipulation

2012-08-30 Thread Jayesh Nambiar
Hi All, I have a scenario to do parellel forking between the user found in location and towards a PSTN gateway. The requirement here is, I have unique manipulations to be done before routing the call which I believe can be done using branch routes, but I'm just wondering how. For eg: The branch

[OpenSIPS-Users] Using two Opensips Proxy in Redundant mode

2012-06-11 Thread Jayesh Nambiar
Hi, I am trying to setup two opensips proxies with identical configuration so that the endpoints can REGISTER on either of the proxy. Wat is the best way to handle REGISTER in such scenarios. I read a lot of posts but all explaining about a proxy P1 which relays to multiple Registrars with Path

[OpenSIPS-Users] Calling MediaProxy twice for same call results in no voice

2012-06-08 Thread Jayesh Nambiar
Hi All, I have a following scenario: 1) I have one opensips proxy(proxy1) where sip endpoints register and sends calls to. 2) The calls from proxy1 is sent to another opensips proxy(proxy2) which routes calls to PSTN carriers. 3) Both the proxy1 and proxy2 have mediaproxy module loaded and the

Re: [OpenSIPS-Users] Managing Opensipsctl for different instances on same server

2012-05-29 Thread Jayesh Nambiar
/opensips_fifo_1 /path/to/opensipsctl fifo ps In this way you specify opensipsctl to use a different FIFO than the default one. Regards, -- Ra(zvan Crainea OpenSIPS Developer http://www.opensips-solutions.com On 05/28/2012 02:09 PM, Jayesh Nambiar wrote: Hello All, I am using three

[OpenSIPS-Users] Managing Opensipsctl for different instances on same server

2012-05-28 Thread Jayesh Nambiar
Hello All, I am using three intances of Opensips on a single server using same binaries and libraries. Meaning, I have configured and intalled opensips once and I have three init files each which starts opensips looking at different configuration files viz. lcr.cfg, b2b.cfg, proxy.cfg. Although

Re: [OpenSIPS-Users] ERROR:sipcapture:hep_msg_received: unknow protocol

2012-04-07 Thread Jayesh Nambiar
Just for the information, the error is generated by the opensips that acts as a Capture Server !! The opensips instance that sends HEP messages to the capture server is fine. --- Jayesh On Fri, Apr 6, 2012 at 12:36 PM, Jayesh Nambiar jayesh.v...@gmail.comwrote: Hi, I was testing

[OpenSIPS-Users] ERROR:sipcapture:hep_msg_received: unknow protocol

2012-04-06 Thread Jayesh Nambiar
Hi, I was testing the sip_capture module in opensips 1.8 with HEP and it looks to be working fine. One instance of opensips uses the siptrace module to send the HEP captures to other instance of opensips which acts as a capture server. The capture server inserts the required information into the

Re: [OpenSIPS-Users] Call Pickup using dialoginfo or dialog modules

2012-03-07 Thread Jayesh Nambiar
; } } On Mon, Mar 5, 2012 at 12:02 PM, Jayesh Nambiar jayesh.v...@gmail.comwrote: Hello Everyone, I have been reading all the posts and examples regarding the call pickup implementation using opensips but still could not get a clear idea on how make it work in a simplified way. Basically I have

[OpenSIPS-Users] Call Pickup using dialoginfo or dialog modules

2012-03-04 Thread Jayesh Nambiar
Hello Everyone, I have been reading all the posts and examples regarding the call pickup implementation using opensips but still could not get a clear idea on how make it work in a simplified way. Basically I have the following questions: 1) Does it require for the endpoint to SUBSCRIBE for the

[OpenSIPS-Users] Identify CDR accounting on dialog-timeout

2012-01-18 Thread Jayesh Nambiar
Hi, I am using CDR accounting with mysql in my script. I want a way to know if the CDR record is because of a dialog_timeout. Is there some standard way of notifying it from the script. I was thinking of something like this: I have an extra column timeout in my acc table which is inserted using

Re: [OpenSIPS-Users] Identify CDR accounting on dialog-timeout

2012-01-18 Thread Jayesh Nambiar
, Jayesh Nambiar wrote: Hi, I am using CDR accounting with mysql in my script. I want a way to know if the CDR record is because of a dialog_timeout. Is there some standard way of notifying it from the script. I was thinking of something like this: I have an extra column timeout in my

Re: [OpenSIPS-Users] Identify CDR accounting on dialog-timeout

2012-01-18 Thread Jayesh Nambiar
at 7:14 PM, Jayesh Nambiar jayesh.v...@gmail.comwrote: Hi Razvan, Thanks for your reply. Is it possible to use only the acc module of trunk version with the 1.7.1 stable version or do I have to download and configure the entire latest trunk version of opensips. I intend to use

Re: [OpenSIPS-Users] Identify CDR accounting on dialog-timeout

2012-01-18 Thread Jayesh Nambiar
can not be implemented. The accounting backend is only set at the initial invite. Regards, -- Răzvan Crainea OpenSIPS Developer On 01/18/2012 04:53 PM, Jayesh Nambiar wrote: Hi Razvan, Not a very relevant question to ask, but is it possible to disable accounting when dialog times out

Re: [OpenSIPS-Users] Identify CDR accounting on dialog-timeout

2012-01-18 Thread Jayesh Nambiar
, then the scenario you described above can not be implemented. The accounting backend is only set at the initial invite. Regards, -- Răzvan Crainea OpenSIPS Developer On 01/18/2012 04:53 PM, Jayesh Nambiar wrote: Hi Razvan, Not a very relevant question to ask, but is it possible to disable

Re: [OpenSIPS-Users] cdr accounting on opensips restart

2011-12-19 Thread Jayesh Nambiar
after opensips restarts. The result might also be pretty large. Regards, -- Răzvan Crainea OpenSIPS Developer On 12/07/2011 02:14 PM, Jayesh Nambiar wrote: Hi Razwan, I have applied the patch and made it working. Do you still only need the logs after opensips shutdown or also the logs

Re: [OpenSIPS-Users] cdr accounting on opensips restart

2011-12-07 Thread Jayesh Nambiar
, -- Răzvan Crainea OpenSIPS Developer On 12/06/2011 07:57 PM, Jayesh Nambiar wrote: Hi Razvan, I just did a fresh download from http://opensips.org/pub/opensips/latest/src/. I did apply the patch successfully and I still have the problem of CDR not being recorded after restart. Here

Re: [OpenSIPS-Users] cdr accounting on opensips restart

2011-12-07 Thread Jayesh Nambiar
, -- Răzvan Crainea OpenSIPS Developer On 12/07/2011 11:59 AM, Jayesh Nambiar wrote: Hi Razvan, I don't see the patch attached !! --- Jayesh On Wed, Dec 7, 2011 at 2:57 PM, Razvan Crainea razvancrai...@opensips.org wrote: Hi, Jayesh ! The root of the problem is the accX_flags dialog

Re: [OpenSIPS-Users] cdr accounting on opensips restart

2011-12-07 Thread Jayesh Nambiar
razvancrai...@opensips.orgwrote: Hi, Jayesh! And what is the string in the database? You can see it in the database after you kill opensips with the following command: select vars from dialog; Regards, -- Răzvan Crainea OpenSIPS Developer On 12/07/2011 12:24 PM, Jayesh Nambiar wrote

Re: [OpenSIPS-Users] cdr accounting on opensips restart

2011-12-07 Thread Jayesh Nambiar
while parsing the string got from the database, so after opensips is restarted. The patch attached should give us more information about the error. Regards, -- Răzvan Crainea OpenSIPS Developer On 12/07/2011 12:37 PM, Jayesh Nambiar wrote: This is the string what I see when I query

Re: [OpenSIPS-Users] cdr accounting on opensips restart

2011-12-07 Thread Jayesh Nambiar
Developer On 12/07/2011 02:27 PM, Jayesh Nambiar wrote: Hi Razwan, This is the pastebin of logs after shutdown: http://pastebin.com/tvmrSqwB This is the pastebin of logs after start which is huge: http://pastebin.com/C6K4Jt5y --- Jayesh ___ Users

Re: [OpenSIPS-Users] cdr accounting on opensips restart

2011-12-06 Thread Jayesh Nambiar
with an active dialog. The log should contain the following strings: Dumping var name: and var string is They should appear before OpenSIPS stops with an active dialog, so -- Răzvan Crainea OpenSIPS Developer On 12/06/2011 12:13 PM, Jayesh Nambiar wrote: Hi Razvan, The logs

Re: [OpenSIPS-Users] cdr accounting on opensips restart

2011-12-06 Thread Jayesh Nambiar
you please try this one? Thanks and regards! -- Răzvan Crainea OpenSIPS Developer On 12/06/2011 01:52 PM, Jayesh Nambiar wrote: Hi Razvan, Here are the logs with Dumping var name: Dec 6 17:24:13 dev /usr/local/sbin/opensips[1958]: DBG:dialog:dialog_update_db: inserting new dialog

[OpenSIPS-Users] cdr accounting on opensips restart

2011-12-06 Thread Jayesh Nambiar
Hi Razvan, I just did a fresh download from http://opensips.org/pub/opensips/latest/src/. I did apply the patch successfully and I still have the problem of CDR not being recorded after restart. Here is the syslog pasted after opensips was being shut down: Dec 6 20:20:13 dev

Re: [OpenSIPS-Users] cdr accounting on opensips restart

2011-12-05 Thread Jayesh Nambiar
some tests. Regards, Bogdan On 12/03/2011 02:49 PM, Jayesh Nambiar wrote: Hi Bogdan, Just writing to ask if you got a chance to check if this is a bug or some error in my config !! Thanks, --- Jayesh On Fri, Dec 2, 2011 at 11:23 AM, Jayesh Nambiar jayesh.v...@gmail.comwrote: Hi

Re: [OpenSIPS-Users] acc multileg accounting for standard columns and avp_db_query approach

2011-12-03 Thread Jayesh Nambiar
Hello, The below problem was because of an error in the configuration. Basically you have to set the missed_call flag every time before going into the failure route. It works well when configured like that !! Thanks for all the help. --- Jayesh On Fri, Dec 2, 2011 at 2:51 PM, Jayesh Nambiar

  1   2   >