[OpenSIPS-Devel] how to get user that login in opsnSIPS ?
Dear All, When User use sip client login in to openSIPS server. The location table will create a record to save the user login information. But the frequency of updated table is very slow (about once / one minute). (Q1)How to make the location table updated information of login in immediately ? (Q2)I am trying to use command opensipsctl online to query user login information immediately. but when over 5 user login at the same time, the command seems to be crash. Does the command opensipsctr online have any restrictions on use? (Q3) could the command opensipsctl online limit the range of query online users ? example : opensipsctl online 1 to 1000 == that to query only 1000 online user. ※table schema : CREATE TABLE `location` ( `id` int(10) unsigned NOT NULL auto_increment, `username` char(64) NOT NULL default '', `domain` char(64) default NULL, `contact` char(255) NOT NULL default '', `received` char(128) default NULL, `path` char(128) default NULL, `expires` datetime NOT NULL default '2020-05-28 21:32:15', `q` float(10,2) NOT NULL default '1.00', `callid` char(255) NOT NULL default 'Default-Call-ID', `cseq` int(11) NOT NULL default '13', `last_modified` datetime NOT NULL default '1900-01-01 00:00:01', `flags` int(11) NOT NULL default '0', `cflags` int(11) NOT NULL default '0', `user_agent` char(255) NOT NULL default '', `socket` char(64) default NULL, `methods` int(11) default NULL, PRIMARY KEY (`id`), KEY `account_contact_idx` (`username`,`domain`,`contact`) ) ENGINE=MyISAM AUTO_INCREMENT=76612 DEFAULT CHARSET=latin1 Thanks!! Best regards, YITA. ___ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
[OpenSIPS-Devel] Re : Install document of openSIPS + openXCAP
Hi, On 09/04/2010 04:20 AM, Yita Wu wrote: * Hello, ** ** I find /opt/xcap/openxcap-1.2.1/opensips/opensips.cfg in xcap source ** folder. ** So you mean I just copy this configure file to my openSIPS server ** replace original opensips.cfg, ** Then openSIPS + openXCAP will working with each other ?! ** * No, that is an *example* configuration. You need to dive into it and see how to configure OpenSIPS presence together with OpenXCAP in your particular scenario, as there is no one fits all solution. Regards, -- Saúl Ibarra Corretgé AG Projects Hello, (1)Could you give me an available opensips.cfg for OpenSIPS presence together with OpenXCAP ? I can't find any document and resource about it. Or would you tell me where can find the answer ? PS: I am using openSIPS v1.4.5 and v1.6.3 to testing to build OpenSIPS presence together with OpenXCAP. (2)I use X-lite 4.0 Beta 2 version soft client to test IM / Presence with OpenSIPS v1.4.5 is OK! But use it to test with OpenSIPS v1.6.3 is not fully OK. The OpenSIPS v1.6.3's presence module seems to not work, and use soft client(A party) to add B party to buddy list , the B party can't receive notify request. Thanks~ Best regards, YITA. ___ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
[OpenSIPS-Devel] Install document of openSIPS + openXCAP
Hello, I find /opt/xcap/openxcap-1.2.1/opensips/opensips.cfg in xcap source folder. So you mean I just copy this configure file to my openSIPS server replace original opensips.cfg, Then openSIPS + openXCAP will working with each other ?! If I use XCAP's opensips.cfg, Could the openSIPS still process sip call routing ? I think maybe I need add some code into opensips.cfg ... list part of opensips.cfg ... # -- rr params -- # add value to ;lr param to make some broken UAs happy modparam(rr, enable_full_lr, 1) modparam(mi_datagram, socket_name, /var/run/opensips/socket) modparam(mi_datagram, unix_socket_user, opensips) modparam(mi_datagram, unix_socket_group, opensips) modparam(mi_fifo, fifo_name, /var/run/opensips/fifo) modparam(mi_fifo, fifo_user, opensips) modparam(mi_fifo, fifo_group, opensips) # -- presence params -- modparam(presence, db_url, mysql:// opensips:passw...@192.168.11.126/opensips) modparam(presence, server_address, sip:prese...@192.168.11.126sip%3aprese...@192.168.11.126 ) modparam(presence, fallback2db, 1) modparam(presence, clean_period, 30) # -- xcap params -- modparam(presence_xml, db_url, mysql:// opensips:passw...@192.168.11.126/opensips) modparam(presence_xml, force_active, 0) modparam(presence_xml, pidf_manipulation, 1) modparam(presence_xml, integrated_xcap_server, 1) # -- rls params -- modparam(rls, db_url, mysql:// opensips:opensip...@192.168.11.126/opensips) modparam(rls, server_address, sip:r...@192.168.11.126sip%3a...@192.168.11.126 ) modparam(rls, to_presence_code, 5) modparam(rls, integrated_xcap_server, 1) # - setting module-specific parameters --- # -- rr params -- # add value to ;lr param to make some broken UAs happy modparam(rr, enable_full_lr, 1) modparam(mi_datagram, socket_name, /var/run/opensips/socket) modparam(mi_datagram, unix_socket_user, opensips) modparam(mi_datagram, unix_socket_group, opensips) modparam(mi_fifo, fifo_name, /var/run/opensips/fifo) modparam(mi_fifo, fifo_user, opensips) modparam(mi_fifo, fifo_group, opensips) # -- presence params -- modparam(presence, db_url, mysql:// opensips:passw...@192.168.11.126/opensips) modparam(presence, server_address, sip:prese...@192.168.11.126sip%3aprese...@192.168.11.126 ) modparam(presence, fallback2db, 1) modparam(presence, clean_period, 30) # -- xcap params -- modparam(presence_xml, db_url, mysql:// opensips:passw...@192.168.11.126/opensips) modparam(presence_xml, force_active, 0) modparam(presence_xml, pidf_manipulation, 1) modparam(presence_xml, integrated_xcap_server, 1) # -- rls params -- modparam(rls, db_url, mysql:// opensips:opensip...@192.168.11.126/opensips) modparam(rls, server_address, sip:r...@192.168.11.126sip%3a...@192.168.11.126 ) modparam(rls, to_presence_code, 5) modparam(rls, integrated_xcap_server, 1) # - request routing logic --- Best regards, YITA. ___ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/devel
[OpenSIPS-Devel] Install document of openSIPS + openXCAP
Is there any document of (about) install openXCAP with openSIPS v1.6.3 ? if I already install openSIPS 1.6.3 and openXCAP successfully , how to setting openSIPS or setting openXCAP then let they work together (use openXCAP to save contact list and user picture)? Thanks!! Best regards, YITA. ___ Devel mailing list Devel@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/devel