[SR-Users] SHM error after few days...

2014-05-13 Thread Krishna Kurapati
Hi, After few days of running kamailio (I am using TLS for client), suddenly I see that the connections are being dropped. When I restart kamailio, I see following errors: Stopping kamailio: [FAILED] Not starting : invalid configuration file! 0(20563) :

[SR-Users] Core file issue

2013-07-04 Thread Krishna Kurapati
Hi, I am having the problem with core file generation on ubuntu For some reason the core file is not complete even though ulimit is set to unlimited $ullmit -a core file size (blocks, -c) unlimited <- Unlimitd data seg size (kbytes, -d) unlimited scheduling priority

[SR-Users] rtimer forking error while starting Kamailio

2013-06-27 Thread Krishna Kurapati
Hi, After few crashes of the Kamailio during prcessing of the messages, Kamailio fails to start I see rtimer is failing. Here is the log 0(20082) DEBUG: [sr_module.c:892]: DEBUG: init_mod_child (0): sqlops 0(20082) DEBUG: [sr_module.c:892]: DEBUG: init_mod_child (0): app_lua 0(20082) DEBUG:

[SR-Users] After increasing to pkg memory to 64 mb it ran for a little while and crashed again in parsing via

2013-06-26 Thread Krishna Kurapati
Program terminated with signal 11, Segmentation fault. #0 qm_detach_free (qm=0x2acc4a44b010, size=64) at mem/q_malloc.c:269 269 FRAG_END(next)->prev_free=prev; Missing separate debuginfos, use: debuginfo-install glibc-2.12-1.80.el6_3.4.x86_64 keyutils-libs-1.4-4.el6.x86_64 krb5-libs-1.9-33.el6_3.2

[SR-Users] Kamailio is crashing while parsing Via header

2013-06-26 Thread Krishna Kurapati
Once I increased package memory the crash went away. 4(21729) DEBUG: [parser/msg_parser.c:623]: SIP Request: 4(21729) DEBUG: [parser/msg_parser.c:625]: method: 4(21729) DEBUG: [parser/msg_parser.c:627]: uri: 4(21729) DEBUG: [parser/msg_parser.c:629]: version: 0(21722) ALERT: [main

[SR-Users] Kamailio Crashing with excessive Via headers

2013-06-25 Thread Krishna Kurapati
In 4.x, Following message is crashing the Kamailio. MESSAGE sip:50.62.12.174:15060;transport=udp SIP/2.0..Via: SIP/2.0/UDP 50.62.72.174:15060;branch=z9hG4bK.defaafa4.0..Via: SIP/2.0/UDP 50.62.72.174:15060;branch=z9hG4bK.cefaafa4.0.. Via: SIP/2.0/UDP 50.62.12.174:15060;branch=z9hG4bK.

[SR-Users] Kamailio 3.3.x is crashing frequently...

2013-05-14 Thread Krishna Kurapati
Hi, When the Server is running it is crashing occasionally. (gdb) bac #0 0x0043359e in ?? () #1 0x in ?? () (gdb) file /usr/local/sbin/kamailio Reading symbols from /usr/local/sbin/kamailio...done. (gdb) bac #0 free_lump_list (lump_list=) at data_lump.c:504 #1 del_nons

[SR-Users] Max TCP connections

2013-04-15 Thread Krishna Kurapati
Hi, Has anyone tested max TCP connections that a Kamailio node can handle? I have an i7, 8GB server. I am trying to set max to 64K now. I want to set it to 256K connections. Would that work? Thnx Krish Kura ___ SIP Express Router (SER) and Kamailio (Op

[SR-Users] How to tie Registration with Client TCP connection

2013-04-04 Thread Krishna Kurapati
Hi, With TCP, there is no way Server can establish a TCP connection through client's Firewall/NAT. So, when Client connection is disconnected from the server due to Network issues, the Registration should be removed. I tried to handle this with a Event Route in tcp_read.c. However, There is not a

[SR-Users] CentOS 6 crash

2013-03-19 Thread Krishna Kurapati
Daniel, Thanks for the help. YES after disabling TLS for Kamailio, it is working fine. Is there a solution to have both TLS for Kamailio and SSL for LUA? Thanks Krish Kura ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-

[SR-Users] Kamailio 4.0 crashing in LUA on CentOS 6 - What could be wrong?

2013-03-18 Thread Krishna Kurapati
36(8606) DEBUG: [db.c:327]: connection 0x7fd474542320 found in pool 36(8606) DEBUG: [sr_module.c:892]: DEBUG: init_mod_child (32): sqlops 9(8567) DEBUG: app_lua [app_lua_sr.c:51]: someone probing from lua 36(8606) DEBUG: [sr_module.c:674]: find_export_record: found in module db_mysql [/usr/loc

[SR-Users] Runaway TCP Log

2013-03-18 Thread Krishna Kurapati
Hi, My Log filled to 20G overnight with these Mar 18 09:59:44 sipprod /usr/local/sbin/kamailio[26157]: ERROR: [tcp_main.c:4049]: WARNING: handle_new_connect: error while accepting connection(24): Too many open files Mar 18 09:59:44 sipprod /usr/local/sbin/kamailio[26157]: ERROR: [tcp_main.c:40

[SR-Users] Warning - What does this mean?

2013-02-15 Thread Krishna Kurapati
I am seeing this error lately. /usr/local/sbin/kamailio[28559]: WARNING: tm [t_lookup.c:1543]: WARNING: script writer didn't release transaction What does this mean? Krish Kura ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list

[SR-Users] Registration and TCP connection

2013-02-14 Thread Krishna Kurapati
Hi, When client connects to server over TCP/TLS and REGISTERs two things that can happen. 1. Client can disconnect the connection when the App is killed abruptly and the client did not get a chance to send unregiter. 2. CRLF KA did not arrive due to network failures in the middle. Is there a wa

[SR-Users] How to detect there are no matching subscriber for uri

2013-02-10 Thread Krishna Kurapati
Hi, When we receive an request, we do " lookup("location") call to find if the uri is there or not. There are two scenarios: 1. The aor is in the subscriber table but not in usrloc table 2. The aor is not in subscriber table I would like to respond differently to the sender in each of these c

[SR-Users] Pseudo variable to get instance in the contact....

2013-01-21 Thread Krishna Kurapati
Hi, I added in my local branch "$ct.inst" pseudo variable to retrieve instance. Since instance could be an important attribute to make routing decisions, having quick access to it in the message may be useful. Anyone else need this functionality? Krish Kura __

[SR-Users] Pseudo variable to access SIP instance in contact

2013-01-19 Thread Krishna Kurapati
Hi, Is there a way to directly access the SIP instance present in message from the script? Thanks Krish Kura ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/m

[SR-Users] raw_query is crashing....

2013-01-07 Thread Krishna Kurapati
Hi, Since there is no way to limit the result set to 1, I tried to use raw_query inside msilo module. Everytime it executes, it is crashing. The same query if I run in mysql shell, it is returning successfully. Here is the code That I added: query_len = snprintf(query, 2048, "SELECT * FROM %.*s

[SR-Users] How to use LIMIT 1 in db_query api

2012-12-08 Thread Krishna Kurapati
Hi, I need a way to limit the results to just one row. The only way I know I could do is to call db_query followed by fetch_result of 1 row. However this is not optimal as all the rows are fetched to dynamic memory with db_query. Is there an alternative approach? Thanks Krish Kura _

Re: [SR-Users] One active registration per sip instance.

2012-11-26 Thread Krishna Kurapati
am("registrar", "max_contacts", 5) On Mon, Nov 26, 2012 at 7:35 AM, Daniel-Constantin Mierla wrote: > Hello, > > what are the parameters of registrar and usrloc modules in your config? > > Cheers, > Daniel > > > On 11/26/12 2:17 PM, Kr

[SR-Users] One active registration per sip instance.

2012-11-26 Thread Krishna Kurapati
Hi, I have 3.x Kamailio with GRUU support. I see SIP Instance in the contact. However, I see a problem. When I kill the SIP client on a device and restart, it sends registration on a different port. The server instead of updating the contact in user location table, is creating a new contact for th

[SR-Users] Kamailio as SMTP server

2012-11-15 Thread Krishna Kurapati
Hi, Can Kamailio act as SMTP server to receive emails and forward those to SIP users as MESSAGEs? It would be nice if postfix or some other rich SMTP server could function as module of kamailio using all the services provided by kamailio scripting. Krish Kura

Re: [SR-Users] collecting stats per subscriber

2012-09-14 Thread Krishna Kurapati
Thanks Daniel for quick response. Can we access these using XMLRPC interface remotely? Appreciate if you could share the command to dump htable. Thanks On Fri, Sep 14, 2012 at 3:04 AM, Daniel-Constantin Mierla wrote: > Hello, > > > On 9/13/12 10:44 PM, Krishna Kurapati wro

[SR-Users] collecting stats per subscriber

2012-09-13 Thread Krishna Kurapati
Hi, Is there a module that can be used to collect number of MESSAGEs sent or received by a subscriber; number of registrations by a subscriber? These will be per subscriber as oppose to statistics collected for entire system. Thanks Krish Kura ___ SIP

[SR-Users] siptrace and homer

2012-09-11 Thread Krishna Kurapati
Hi, We have been using homer for some time. The logging is stopping once the disk is full, which make sense. However, it would nice if either kamailio or homer has an option to auto-truncate the siptrace database tables once they grow large. Is there such a feature? Regards. Krishn Kura

Re: [SR-Users] Sending NOTIFY using t_uac_dlg over xmlrpc

2012-05-04 Thread Krishna Kurapati
it should work with notify as > well -- iirc, kamctl had some ping command that used NOTIFY. > > Do you get any error in the log messages? > > Cheers, > Daniel > > > On 4/27/12 11:48 PM, Krishna Kurapati wrote: > > Hi, > > I was able to send MESSAGE using xmlrpc

[SR-Users] Routing based on gruu

2012-05-03 Thread Krishna Kurapati
Hi, I am trying to use GRUU for routing MESSAGEs. For example if I want to route to specific instance of the registered user, what do I need to send in the MESSAGE? If I know pub-gruu of the instance, where do I insert it so that kamailio can correctly process it and send it to the right instance?

[SR-Users] Sending NOTIFY using t_uac_dlg over xmlrpc

2012-04-27 Thread Krishna Kurapati
Hi, I was able to send MESSAGE using xmlrpc (mi and t_uac_dlg) I got the 200 OK response to the message. However, when I try to send NOTIFY, I receive HTTP response but with empty methodResponse. Is NOTIFY not suppored by t_uac_dlg? Thanks Krish Kura POST /RPC2 HTTP/1.0 User-Agent: ruby-sip-cli

Re: [SR-Users] xhttp and xmlrpc

2012-04-24 Thread Krishna Kurapati
ri_match parameters, they are in both modules: > > http://kamailio.org/docs/modules/stable/modules/xhttp.html#id2531902 > > In this way, you can get one route executed for some urls and the other > for different. > > Cheers, > Daniel > > > On 4/23/12 6:00 PM, Krishna

[SR-Users] xhttp and xmlrpc

2012-04-23 Thread Krishna Kurapati
Hi, I have two routes event_route[xhttp:request] { } route[XMLRPC]{ } Both are using HTTP as transport. When I tried to send a XMLRPC POST command, the event_route is getting triggered. Do I need to handle the XMLRPC inside the event_route? Since I am using XMLRPC for Click2Dial kind of featu

Re: [SR-Users] t_relay is failing after 45 seconds...

2012-04-04 Thread Krishna Kurapati
in Mierla wrote: > Hello, > > > On 3/30/12 2:27 PM, Krishna Kurapati wrote: > >> Hi, >> >> I have >> >> # Time in seconds after a TCP connection will be closed if it is not >> available for writing in this interval >> tcp_send_timeout=2

Re: [SR-Users] Failed to open TLS connection from the client...

2012-04-01 Thread Krishna Kurapati
: [tcp_main.c:4003]: ERROR: send2child: send_fd failed for 0x7f3334f85820 (flags 0x4018), fd 18 10(24471) DEBUG: tls [tls_server.c:601]: Closing SSL connection (nil) send2child is not finding a tcp receiver. I restarted the server. It should find some child... On Sun, Apr 1, 2012 at 9:53 AM, Krishna Kurapati

[SR-Users] Failed to open TLS connection from the client...

2012-04-01 Thread Krishna Kurapati
I restarted Kamailio after a while and I see this issue... Not sure what triggered this. It was working fine before. Krish Kura Apr 1 07:41:02 (none) /usr/sbin/kamailio[24074]: INFO: tls [tls_domain.c:235]: TLSs<10.1.0.4:5061>: verify_certificate=1 Apr 1 07:41:02 (none) /usr/sbin/kamailio[2407

[SR-Users] t_relay is failing after 45 seconds...

2012-03-30 Thread Krishna Kurapati
Hi, I have # Time in seconds after a TCP connection will be closed if it is not available for writing in this interval tcp_send_timeout=2 And I am using save("location", "0x04")) to save only one contact per user. However, when I tried to relay message to a user, sometimes it is taking over 4

Re: [SR-Users] siptrace error...

2012-03-29 Thread Krishna Kurapati
the port? can you print the entire > string, with proto and ip to see if there are spaces/invalid characters > (print it between special chars, like [])? > > The line is inside the mirroring traffic via hep protocol, is what you > want to get, right? > > Cheers, > Daniel > >

Re: [SR-Users] TCP memory failures...

2012-03-28 Thread Krishna Kurapati
ine parameter, by default is 32MB > which is quite low for stress testing. > > Cheers, > Daniel > > > On 3/26/12 3:57 PM, Krishna Kurapati wrote: > > I keep getting these... I am using master branch... > > Mar 26 06:46:34 siptest /usr/sbin/kamailio[5062]: ERROR: > [

Re: [SR-Users] siptrace error...

2012-03-28 Thread Krishna Kurapati
ce.c does > not match. If you changed the sources, paste here the lines in siptrace.c > around 1705, 10 before and 10 after. > > Cheers, > Daniel > > > On 3/26/12 3:23 PM, Krishna Kurapati wrote: > > Hi, > > I keep getting this error in the sip_trace module: &g

[SR-Users] TCP memory failures...

2012-03-26 Thread Krishna Kurapati
I keep getting these... I am using master branch... Mar 26 06:46:34 siptest /usr/sbin/kamailio[5062]: ERROR: [tcp_main.c:1063]: ERROR: tcpconn_new: mem. allocation failure Mar 26 06:46:34 siptest /usr/sbin/kamailio[5062]: ERROR: [tcp_main.c:4135]: ERROR: handle_new_connect: tcpconn_new failed, c

[SR-Users] siptrace error...

2012-03-26 Thread Krishna Kurapati
Hi, I keep getting this error in the sip_trace module: Mar 26 06:19:26 siptest /usr/sbin/kamailio[4279]: ERROR: siptrace [siptrace.c:1705]: there is not a valid number port 5060?/?? Krish Kura ___ SIP Express Router (SER) and Kamailio (OpenSER) - sr-us

Re: [SR-Users] 2 rollover contacts per user

2012-03-26 Thread Krishna Kurapati
Will do. On Mon, Mar 26, 2012 at 2:57 AM, Daniel-Constantin Mierla wrote: > Hello, > > > On 3/24/12 2:35 PM, Krishna Kurapati wrote: > > Thanks Daniel for the suggestions. To make the script manageable, I am > thinking of implementing last option. > Have another fl

Re: [SR-Users] 2 rollover contacts per user

2012-03-24 Thread Krishna Kurapati
contact is removed and the new contact is added. This can apply to any number of max_contacts... This way everything else remains the same. Krish Kura On Sat, Mar 24, 2012 at 3:48 AM, Daniel-Constantin Mierla wrote: > Hello, > > > On 3/23/12 3:21 PM, Krishna Kurapati wrote: > >&

[SR-Users] 2 rollover contacts per user

2012-03-23 Thread Krishna Kurapati
Hi, Is there a way to set up maximum of 2 active roll over contacts per user? Currently when I setup max contacts param as 2, The third one is responding with 503 error for 3rd Register. How can we remove one of the contacts and replace it with the new one. I need it when the device is switching

Re: [SR-Users] Relaying message to Recent contact list...

2012-03-22 Thread Krishna Kurapati
- check > the readmeas, but I am not sure the first result is the most recent, you > would have to test it or check the sources. > > The last coming in my mind right now would be to program it in config via > reg_fetch_contacts() and $ulc(...). > > Cheers, > Daniel > >

[SR-Users] Relaying message to Recent contact list...

2012-03-22 Thread Krishna Kurapati
Hi, I am trying to relay the message to the Registered user. However, I would like to relay only to a recent contact. In case, there are multiple contact, I do not want to relay to older contacts. I am using t_relay() which is currently forking the request to all contacts. Any other way to accom

Re: [SR-Users] message offline store questions...

2012-03-19 Thread Krishna Kurapati
on how to get the first message using the db_api? Thanks Krish Kura On Mon, Mar 19, 2012 at 3:35 AM, Daniel-Constantin Mierla wrote: > Hello, > > > On 3/15/12 2:58 PM, Krishna Kurapati wrote: > >> Hi, >> >> I am using msilo module to store offline message.

[SR-Users] message offline store questions...

2012-03-15 Thread Krishna Kurapati
Hi, I am using msilo module to store offline message. I am sending back "202 pending" when the message is stored (m_store) However, when I message delivered (m_dump), how do I inform the sender that the message is successfully delivered? Also, how do I handle if the sender if offline when I try to

Re: [SR-Users] Compilation errors...

2012-03-13 Thread Krishna Kurapati
Thanks for the guidance. I excluded the module. I will migrate to using xmlrpc module. On Tue, Mar 13, 2012 at 3:23 AM, Daniel-Constantin Mierla wrote: > Hello, > > > On 3/12/12 10:55 PM, Krishna Kurapati wrote: > > Hi, > > git cloned main branch and tried to compile i

[SR-Users] Compilation errors...

2012-03-12 Thread Krishna Kurapati
Hi, git cloned main branch and tried to compile it on Cent OS 6. The mi_xmlrpc module is failing to compile make Makefile:46: You are using an unsupported libxmlrpc-c3 version (1.16.24), compile at your own risk! Makefile:46: You are using an unsupported libxmlrpc-c3 version (1.16.24), compile

[SR-Users] Kamailio and MySQL/Galera Replication...

2012-03-10 Thread Krishna Kurapati
Hi, I am trying to setup Kamailio in an Active-Active configuration behind a TCP load balancer. On the database side, looking at MySQL cluster as independent node set vs. Kamailio/MySQL server with Galera synchronous replication. The first configuration requires 3 or 5 servers. 2 for Kamailio and

Re: [SR-Users] Backing up htable to SQL table ...

2012-03-09 Thread Krishna Kurapati
ires column is > saved in database, nothing else. If I misunderstood something, let me know, > if not and all works fine for you with the commit, then the patch can be > backported to 3.2. > > Ramona > > On 3/8/12 10:38 PM, Krishna Kurapati wrote: > > Thanks Daniel for t

Re: [SR-Users] Backing up htable to SQL table ...

2012-03-08 Thread Krishna Kurapati
t;skipping expired entry"); it = it->next; continue; + } } If this is the right fix for the bug, can someone commit this to the main? Thanks Krishna Kura On Wed, Mar 7, 2012 at 9:48 PM, Kri

Re: [SR-Users] Backing up htable to SQL table ...

2012-03-07 Thread Krishna Kurapati
Any help on how to backup the htable content to database table? Thanks On Tue, Mar 6, 2012 at 5:28 PM, Krishna Kurapati wrote: > I did little more digging into htable source code. It looks like syncing > to database is happening when the module is being > destroyed. > > To

[SR-Users] Improving Kamailo configuration parser ...

2012-03-06 Thread Krishna Kurapati
I used if ($var(x) != null) { ... } in one of the routes, and tried to run Kamailio server. The server exited with an error. I did not know why. Once I changed it to if ($var(x) != $null) {} the error went away. I missed $ infront null. I think it is hard to trace such problems once a large chun

Re: [SR-Users] Backing up htable to SQL table ...

2012-03-06 Thread Krishna Kurapati
happen? Thanks Krish Kura On Tue, Mar 6, 2012 at 8:38 AM, Krishna Kurapati wrote: > Hi, > > This is my first time attempt using htable module. > How can I back up the htable content in the database incase the server > restarts. I saw a htable in the MySQL database. > My ob

Re: [SR-Users] msilo is failing to in db connection...

2012-03-06 Thread Krishna Kurapati
Thanks for the advice. Krish On Tue, Mar 6, 2012 at 10:35 AM, Henning Westerholt wrote: > On Tuesday 06 March 2012, Krishna Kurapati wrote: > > It finally worked. I reconstructed the config file step by step with the > > same modparam() and it worked. Still not sure what r

[SR-Users] Backing up htable to SQL table ...

2012-03-06 Thread Krishna Kurapati
Hi, This is my first time attempt using htable module. How can I back up the htable content in the database incase the server restarts. I saw a htable in the MySQL database. My observation has been that htable module is not automatically backing up to database even though I added modparams to poin

Re: [SR-Users] msilo is failing to in db connection...

2012-03-06 Thread Krishna Kurapati
file? Is it possible to create smaller modular config files and link them to create the system? Or a better tool to identify errors in the config file? Best, Krish Kura On Sat, Mar 3, 2012 at 11:16 AM, Krishna Kurapati wrote: > Further investigation into the issue revealed that the db_conn in

Re: [SR-Users] msilo is failing to in db connection...

2012-03-03 Thread Krishna Kurapati
urn -1; } if(db_con) msilo_dbf.close(db_con); db_con = NULL; #endif Is the module not suppose to connect to database in the module init? Thanks On Sat, Mar 3, 2012 at 10:13 AM, Krishna Kurapati wrote: > Hi, > > Thanks for the response. I looked at the DBURL and

Re: [SR-Users] msilo is failing to in db connection...

2012-03-03 Thread Krishna Kurapati
2 at 5:14 AM, Daniel-Constantin Mierla wrote: > Hello, > > the error says the username, password or IP address are invalid to connect > to mysql -- access denied. There does not seem like being other connections > using same db_url, check for typos in db_url parameter. > >

[SR-Users] msilo is failing to in db connection...

2012-03-02 Thread Krishna Kurapati
Hi all, I am trying to use msilo module from modules_k. Unfortunately it if failing during DB initialization. Other modules are initializing fine. I am using Kamailio 3.2.2. Not sure why the connection is not found. I tried to increase the MAX mysql connections to 250. I see the same error after

[SR-Users] iOS push notification using Kamailio

2012-03-01 Thread Krishna Kurapati
Hi, I have been looking at the usrloc module's source code to see how the uuid that is sent in +sip.instance parameter in the Contact header. Apparently, the module ensures that only one contact per uuid exists. However the uuid is not stored in the database. The reason I need the uuid in the dat

[SR-Users] Kamailio with Private IP - ACK for 200 OK problem

2012-01-26 Thread Krishna Kurapati
Hi, I am having trouble with setting Record Route when Kamailio is behind a Load balancer. The Load balancer acts as a static NAT where the public IP of the load balancer is mapped to private IP of the Kamailio. This is creating issues with ACK for 200 OK since Kamailio is stuffing the 200 OK wi

Re: [SR-Users] using xhttp_rpc to send MESSAGE to SIP user from web server

2011-12-19 Thread Krishna Kurapati
Daniel, Thanks for the clarification. Since mi_xmlrpc is equivalent to mi_fifo, I could use this module to send MESSAGE and INVITE from a remote server. Krish Kura On Mon, Dec 19, 2011 at 6:27 AM, Daniel-Constantin Mierla wrote: > Hello, > > On 12/17/11 6:08 PM, Ovidiu Sas wrote: > >> It is ra

[SR-Users] using xhttp_rpc to send MESSAGE to SIP user from web server

2011-12-17 Thread Krishna Kurapati
Dear list members, I have seen examples of using mi_fifo and mi_xmlrpc modules to send a MESSAGE or INVITE from a webserver. Since I am using xhttp to control presence policies from webserver, I would like to use xhttp_rpc module to send MESSAGE and INVITE from webserver. Are there any examples

[SR-Users] MSRP Relay with Kamailio

2011-12-13 Thread Krishna Kurapati
Dear List members, I would like to use MSRP as part of SIP communication for session based IM, and file transfer. Is there an MSRP relay software that works well with Kamailio? Appreciate any help. Thanks Krish Kura ___ SIP Express Router (SER) and Ka

[SR-Users] Broadcasting message to users...

2011-11-20 Thread Krishna Kurapati
Hi, During planned down time of Kamailio, I would like to send a Notice to all the users currently registered on the system. It would be nice if it appears in their Chat windows. I am thinking if I could loop through user_location table and send MESSAGE to individual user. What's the best way to

[SR-Users] cleaning up contacts...

2011-10-16 Thread Krishna Kurapati
Hi, I am seeing several Contacts for same AOR in userlocation when I do "kamctl ul show". I suspect, it's a result of UA crashing after registering and then registering with different contact after restart. Since the UA crashed, it could not send Register with expire=0 to remove the previous conta

[SR-Users] Removing Contact from location table when TCP connection from UA is dropped...

2011-10-05 Thread Krishna Kurapati
Hi, When UA connects with the Proxy over TCP, the contact is mostly bound to the firewall's binding IP and port for that connection. When the connection is dropped, the contact in Kamailio is no longer valid even though there is time left to expire the contact. Is there some way to link TCP conne

Re: [SR-Users] Cflag is not getting updated.

2011-10-02 Thread Krishna Kurapati
and send the packet to the client on the same socket that the client has connected to server with. Any suggestions on how to do this? Thanks Krish Kura On Sat, Oct 1, 2011 at 6:21 PM, Krishna Kurapati wrote: > Hi, > > I am hitting bit of a wall here. > > - I am setting bfla

Re: [SR-Users] Cflag is not getting updated.

2011-10-02 Thread Krishna Kurapati
contact. This is erasing the Cflags recorded before. Krish Kura On Sat, Oct 1, 2011 at 6:21 PM, Krishna Kurapati wrote: > Hi, > > I am hitting bit of a wall here. > > - I am setting bflags for NAT, and SIPPING before save("location") > however, > when I do "kamctl

Re: [SR-Users] Cflag is not getting updated.

2011-10-02 Thread Krishna Kurapati
compiled on 04:45:31 Oct 2 2011 with gcc 4.4.3 On Sat, Oct 1, 2011 at 6:21 PM, Krishna Kurapati wrote: > Hi, > > I am hitting bit of a wall here. > > - I am setting bflags for NAT, and SIPPING before save("location") > however, > when I do "kamctl ul show&

[SR-Users] Cflag is not getting updated.

2011-10-01 Thread Krishna Kurapati
Hi, I am hitting bit of a wall here. - I am setting bflags for NAT, and SIPPING before save("location") however, when I do "kamctl ul show", the Cflag is 0. I also checked see if the bflags are set or not in the register routine - they are being set. What am I missing? snippets of the config

Re: [SR-Users] Making iPhone SIP client work with Kamailio

2011-09-30 Thread Krishna Kurapati
strar", "received_avp", "$avp(RECEIVED)") modparam("usrloc", "nat_bflag", FLB_NATB) However, I do not see INFO messages from server to client in ngrep Am I missing something else to configure here? Thanks Krish Kura On Fri, Sep 30, 2011 at 2:52 AM

Re: [SR-Users] Cleaning up presence info when user is deleted

2011-09-30 Thread Krishna Kurapati
ts belonging > to them in xcap. At the moment this is a manual process and not tied into > the kamctl command. > > Regards, > > Peter > > > On Tue, 2011-09-27 at 13:49 -0500, Krishna Kurapati wrote: > > Hi, > > > > When a user is removed using "k

Re: [SR-Users] Making iPhone SIP client work with Kamailio

2011-09-29 Thread Krishna Kurapati
> > Hi, > > The iPhone client, when it goes into background, can only respond to > incoming messages. > That makes the Registration expire when there is no communication from the > server before > the expire time. I could make the Registration not expire at all. Not sure > it's the only option. > >

[SR-Users] Cleaning up presence info when user is deleted

2011-09-27 Thread Krishna Kurapati
Hi, When a user is removed using "kamctl rm", is there way way to clean up presence information in the database (xcap, presentity, watcher and active watcher tables) and in the cache? Is there a event that gets fired when the user is removed from subscriber table which I could handle in config fi

Re: [SR-Users] I am getting this error in the log When REGISTER message is received from jitsi

2011-09-23 Thread Krishna Kurapati
antin Mierla wrote: > Hello, > > > On 9/23/11 12:15 AM, Krishna Kurapati wrote: > > Daniel, > > Just got back... > > Here is the Log at Level 4 > > Sep 22 15:07:09 siptest /usr/sbin/kamailio[17031]: ALERT:

Re: [SR-Users] XCAP over SIP

2011-09-22 Thread Krishna Kurapati
> Hello, > > > On 9/22/11 9:14 PM, Krishna Kurapati wrote: > > Hi, > > The document http://kb.asipto.com/kamailio:presence:k31-made-simple > > describes that XCAP can be sent over SIP instead of over HTTP. I tried to > do > however, the server is unable

Re: [SR-Users] I am getting this error in the log When REGISTER message is received from jitsi

2011-09-22 Thread Krishna Kurapati
Daniel, Just got back... Here is the Log at Level 4 Sep 22 15:07:09 siptest /usr/sbin/kamailio[17031]: ALERT:

[SR-Users] XCAP over SIP

2011-09-22 Thread Krishna Kurapati
Hi, The document http://kb.asipto.com/kamailio:presence:k31-made-simple describes that XCAP can be sent over SIP instead of over HTTP. I tried to do however, the server is unable to update presence rules. I was using PUBLISH method. I was using content-type = text... Has anyone used SIP to send

[SR-Users] I am getting this error in the log When REGISTER message is received from jitsi

2011-09-22 Thread Krishna Kurapati
Sep 22 09:49:53 siptest /usr/sbin/kamailio[3160]: ERROR: registrar [common.c:75]: failed to parse Address of Record Sep 22 09:49:53 siptest /usr/sbin/kamailio[3160]: ERROR: registrar [save.c:822]: failed to extract Address Of Record Is there a problem when AoR contains "_" for example is AoR kri