[OpenSIPS-Users] [OpenSIPS-Devel] New MediaProxy release 2.4.0 with support for ICE negotiation
Adrian Georgescu writes: mediaproxy (2.4.0) unstable; urgency=low * Added ICE negotiation capability and assert itself as a TURN relay candidate in the SDP, for a complete description and usage information see http://mediaproxy-ng.org/wiki/ICE * Fix race in which an already called event tried to be cancelled * Prevent other acounting backends to be affected by a failure in one of them adrian, the list does not include anything about python-application 1.2.2 compatibility. does it work with that version or still require old version? -- juha ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
[OpenSIPS-Users] [OpenSIPS-Devel] New MediaProxy release 2.4.0 with support for ICE negotiation
Juha Heinanen writes: adrian, the list does not include anything about python-application 1.2.2 compatibility. does it work with that version or still require old version? -- juha sorry about the mixup. the problem was with openxcap, not mediaproxy. -- juha ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
[OpenSIPS-Users] RES: ERROR: Error opening OpenSIPS's FIFO /tmp/opensips_fifo
Add the following parameter modparam(mi_fifo, fifo_mode,0666) Just in case, check your opensipsctlrc file. This file controls where opensipsctl finds the FIFO. Flavio E. Goncalves -Mensagem original- De: users-boun...@lists.opensips.org [mailto:users-boun...@lists.opensips.org] Em nome de Alejandro Recarey Enviada em: Monday, March 01, 2010 4:43 PM Para: users@lists.opensips.org Assunto: [OpenSIPS-Users] ERROR: Error opening OpenSIPS's FIFO /tmp/opensips_fifo Hello everybody, I have just made a fresh install of OpenSIPS 1.6.1 using the http://debian.leurent.eu/ mirror. I am using debian lenny 5.0. I have read all of the tutorials and I believe I have a working configuration. OpenSIPS is running and my cfg file is loaded without problems. However, whenever y try to run the command opensipsctl ul show, or opensipsctl monitor I get the following error ERROR: Error opening OpenSIPS's FIFO /tmp/opensips_fifo Yes, I have the line modparam(mi_fifo, fifo_name, /tmp/opensips_fifo) uncommented and the mi_fifo module is also uncommented. The file /usr/lib/opensips/modules/mi_fifo.so exists. What am I doing wrong?? I am attaching my opensips.cfg file contents. Regards, Alex # # $Id: opensips.cfg 6046 2009-08-30 17:13:08Z bogdan_iancu $ # # OpenSIPS basic configuration script # by Anca Vamanu a...@voice-system.ro # # Please refer to the Core CookBook at: # http://www.opensips.org/index.php?n=Resources.DocsCookbooks # for a explanation of possible statements, functions and parameters. # ### Global Parameters # debug=3 log_stderror=no log_facility=LOG_LOCAL0 fork=yes children=4 /* uncomment the following lines to enable debugging */ #debug=6 #fork=no #log_stderror=yes /* uncomment the next line to disable TCP (default on) */ #disable_tcp=yes /* uncomment the next line to enable the auto temporary blacklisting of not available destinations (default disabled) */ #disable_dns_blacklist=no /* uncomment the next line to enable IPv6 lookup after IPv4 dns lookup failures (default disabled) */ #dns_try_ipv6=yes /* uncomment the next line to disable the auto discovery of local aliases based on revers DNS on IPs (default on) */ #auto_aliases=no /* uncomment the following lines to enable TLS support (default off) */ #disable_tls = no #listen = tls:your_IP:5061 #tls_verify_server = 1 #tls_verify_client = 1 #tls_require_client_certificate = 0 #tls_method = TLSv1 #tls_certificate = /etc/opensips/tls/user/user-cert.pem #tls_private_key = /etc/opensips/tls/user/user-privkey.pem #tls_ca_list = /etc/opensips/tls/user/user-calist.pem port=5060 /* uncomment and configure the following line if you want opensips to bind on a specific interface/port/proto (default bind on all available) */ #listen=udp:192.168.1.2:5060 ### Modules Section #set module path mpath=/usr/lib/opensips/modules/ /* uncomment next line for MySQL DB support */ loadmodule db_mysql.so loadmodule signaling.so loadmodule sl.so loadmodule tm.so loadmodule rr.so loadmodule maxfwd.so loadmodule usrloc.so loadmodule registrar.so loadmodule textops.so loadmodule mi_fifo.so loadmodule uri.so loadmodule xlog.so loadmodule acc.so /* uncomment next lines for MySQL based authentication support NOTE: a DB (like db_mysql) module must be also loaded */ loadmodule auth.so loadmodule auth_db.so /* uncomment next line for aliases support NOTE: a DB (like db_mysql) module must be also loaded */ #loadmodule alias_db.so /* uncomment next line for multi-domain support NOTE: a DB (like db_mysql) module must be also loaded NOTE: be sure and enable multi-domain support in all used modules (see multi-module params section ) */ #loadmodule domain.so /* uncomment the next two lines for presence server support NOTE: a DB (like db_mysql) module must be also loaded */ #loadmodule presence.so #loadmodule presence_xml.so # - setting module-specific parameters --- # - mi_fifo params - modparam(mi_fifo, fifo_name, /tmp/opensips_fifo) # - rr params - # add value to ;lr param to cope with most of the UAs modparam(rr, enable_full_lr, 1) # do not append from tag to the RR (no need for this script) modparam(rr, append_fromtag, 0) # - registrar params - /* uncomment the next line not to allow more than 10 contacts per AOR */ #modparam(registrar, max_contacts, 10) # - usrloc params - #modparam(usrloc, db_mode, 0) /* uncomment the following lines if you want to enable DB persistency for location entries */ modparam(usrloc, db_mode, 2) modparam(usrloc, db_url, mysql://opensips:opensip...@localhost/opensips) # - uri params - modparam(uri, use_uri_table, 0) # - acc params - /* what sepcial events should be accounted ? */ modparam(acc, early_media, 1) modparam(acc, report_ack, 1) modparam(acc, report_cancels, 1) /* by default ww do not adjust the direct of the sequential requests. if you enable this parameter,
Re: [OpenSIPS-Users] [RFC] What repo to use for 2.0 ?
My vote to this informal poll is to move forward with git. Cheers, Mario Stocco Advantia VoIP Systems ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] Error starting opensips after upgrade
Zahid, I added the to_uri column with arbitrary values and that enables OpenSIPS to start. Please let me know if specific field values should be used. Thanks,Steve -Original Message- From: users-boun...@lists.opensips.org [mailto:users-boun...@lists.opensips.org] On Behalf Of Zahid Mehmood Sent: Tuesday, March 02, 2010 2:25 PM To: OpenSIPS users mailling list Subject: Re: [OpenSIPS-Users] Error starting opensips after upgrade Steve, alter db table pua to add a new column to_uri. That should do it. I don't think it is documented yet. -- Zahid On Mar 2, 2010, at 1:19 PM, Steven C. Blair wrote: After upgrading to the svn head release I get the following error when starting opensips with my previously working config file. I don't see any mention of a database table update being required as part of update. Could someone explain this error? Thanks,Steve INFO: Starting OpenSIPS : ERROR: PID file /var/run/opensips.pid does not exist -- OpenSIPS start failed Mar 2 13:13:10 ps1-dev /usr/local/sbin/opensips[19042]: INFO:options:mod_init: initializing... Mar 2 13:13:10 ps1-dev /usr/local/sbin/opensips[19042]: INFO:registrar:mod_init: initializing... Mar 2 13:13:10 ps1-dev /usr/local/sbin/opensips[19042]: NOTICE:signaling:mod_init: initializing module ... Mar 2 13:13:10 ps1-dev /usr/local/sbin/opensips[19042]: ERROR:db_mysql:db_mysql_submit_query: driver error: Unknown column 'to_uri' in 'field list' Mar 2 13:13:10 ps1-dev /usr/local/sbin/opensips[19042]: ERROR:core:db_do_query: error while submitting query Mar 2 13:13:10 ps1-dev /usr/local/sbin/opensips[19042]: ERROR:pua:db_restore: while querying table Mar 2 13:13:10 ps1-dev /usr/local/sbin/opensips[19042]: ERROR:pua:mod_init: while restoring hash_table Mar 2 13:13:10 ps1-dev /usr/local/sbin/opensips[19042]: ERROR:core:init_mod: failed to initialize module pua Mar 2 13:13:10 ps1-dev /usr/local/sbin/opensips[19042]: ERROR:core:main: error while initializing modules Mar 2 13:13:10 ps1-dev /usr/local/sbin/opensips[19042]: NOTICE:presence:destroy: destroy module ... ATT1..txt ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
[OpenSIPS-Users] Access to statistics variables from within script
Hi, I can update and reset stats variable from within a script. But can I access it's value from the script itself? Pawel, smime.p7s Description: S/MIME cryptographic signature ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] Presence BLF with linksys SPA
You need to create a dialog for calls between users involved in dialog presence *and* you will also need mark the dialogs that will generate PUBLISH: dialoginfo_set(). See: http://www.opensips.org/html/docs/modules/1.6.x/pua_dialoginfo.html#id228322 Regards, Ovidiu Sas On Tue, Mar 2, 2010 at 1:04 PM, vallimamod abdullah vallimamod.abdul...@imtelecom.fr wrote: Hello list, I am trying to implement presence with opensips 1.6.0-notls and linksys spa942 firmware 6.1.5(a). On the phone side, I have configured an idle line with blf (fnc=blf;sub=2...@$proxy;nme=2036) On server side, I am using the presence_dialoginfo.so and pua_dialoginfo.so modules as described on the tutorial (http://www.opensips.org/Resources/DocsPapPa.) When the phone starts, it sends SUBSCRIBE (Event: dialog) to the server and receives NOTIFY from it. But there is no PUBLISH so the light remain blinking orange. The relevant parts of sip traces and opensips config are attached (extension 4590 is monitoring extension 2036). Any hint for where I should look ? Thank you ! Regards, - vma . ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] Access to statistics variables from within script
Hi Pawel, for read, the stats vars are available only via the MI interface (the get_statistics function). do you want to read the stats from the statistics module only, or all of them? Regards, Bogdan Paweł Pierścionek wrote: Hi, I can update and reset stats variable from within a script. But can I access it's value from the script itself? Pawel, ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users -- Bogdan-Andrei Iancu www.voice-system.ro ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] Error starting opensips after upgrade
Hi Steven, the table is populated and used only by opensips (all writes and reads by itself), so you do not have to populate it - just have the column created. Regards, Bogdan Steven C. Blair wrote: Zahid, I added the to_uri column with arbitrary values and that enables OpenSIPS to start. Please let me know if specific field values should be used. Thanks,Steve -Original Message- From: users-boun...@lists.opensips.org [mailto:users-boun...@lists.opensips.org] On Behalf Of Zahid Mehmood Sent: Tuesday, March 02, 2010 2:25 PM To: OpenSIPS users mailling list Subject: Re: [OpenSIPS-Users] Error starting opensips after upgrade Steve, alter db table pua to add a new column to_uri. That should do it. I don't think it is documented yet. -- Zahid On Mar 2, 2010, at 1:19 PM, Steven C. Blair wrote: After upgrading to the svn head release I get the following error when starting opensips with my previously working config file. I don't see any mention of a database table update being required as part of update. Could someone explain this error? Thanks,Steve INFO: Starting OpenSIPS : ERROR: PID file /var/run/opensips.pid does not exist -- OpenSIPS start failed Mar 2 13:13:10 ps1-dev /usr/local/sbin/opensips[19042]: INFO:options:mod_init: initializing... Mar 2 13:13:10 ps1-dev /usr/local/sbin/opensips[19042]: INFO:registrar:mod_init: initializing... Mar 2 13:13:10 ps1-dev /usr/local/sbin/opensips[19042]: NOTICE:signaling:mod_init: initializing module ... Mar 2 13:13:10 ps1-dev /usr/local/sbin/opensips[19042]: ERROR:db_mysql:db_mysql_submit_query: driver error: Unknown column 'to_uri' in 'field list' Mar 2 13:13:10 ps1-dev /usr/local/sbin/opensips[19042]: ERROR:core:db_do_query: error while submitting query Mar 2 13:13:10 ps1-dev /usr/local/sbin/opensips[19042]: ERROR:pua:db_restore: while querying table Mar 2 13:13:10 ps1-dev /usr/local/sbin/opensips[19042]: ERROR:pua:mod_init: while restoring hash_table Mar 2 13:13:10 ps1-dev /usr/local/sbin/opensips[19042]: ERROR:core:init_mod: failed to initialize module pua Mar 2 13:13:10 ps1-dev /usr/local/sbin/opensips[19042]: ERROR:core:main: error while initializing modules Mar 2 13:13:10 ps1-dev /usr/local/sbin/opensips[19042]: NOTICE:presence:destroy: destroy module ... ATT1..txt ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users -- Bogdan-Andrei Iancu www.voice-system.ro ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] issues with prepared statements in mysql
It fails completely. As a matter o fact... anything that doesn't return query OK fails: :( On Mar 3, 2010 12:17 PM, Bogdan-Andrei Iancu bog...@voice-system.ro wrote: Hi Alex, and the acc record is actually added (even with the trigger error) ? or the acc insert fails completely ? Regards, Bogdan Alex G wrote: I have a scenario where I execute a trigger in mysql when info is added to the a... ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users -- Bogdan-Andrei Iancu www.voice-system.ro ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] issues with prepared statements in mysql
That's because it is a single transaction and is being rolled back, most likely. On 03/03/2010 01:23 PM, Alex G wrote: It fails completely. As a matter o fact... anything that doesn't return query OK fails: :( On Mar 3, 2010 12:17 PM, Bogdan-Andrei Iancu bog...@voice-system.ro mailto:bog...@voice-system.ro wrote: Hi Alex, and the acc record is actually added (even with the trigger error) ? or the acc insert fails completely ? Regards, Bogdan Alex G wrote: I have a scenario where I execute a trigger in mysql when info is added to the a... ___ Users mailing list Users@lists.opensips.org mailto:Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users -- Bogdan-Andrei Iancu www.voice-system.ro http://www.voice-system.ro ___ Users mailing list Users@lists.opensips.org mailto:Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users -- Alex Balashov - Principal Evariste Systems LLC Tel: +1 678-954-0670 Direct : +1 678-954-0671 Web: http://www.evaristesys.com/ ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] [RFC] What repo to use for 2.0 ?
Hi Brett, if you look here http://git.or.cz/course/svn.html, GIT and SVN (at least from user perspective) are very similar (as concepts and commands too). I would go for GIT (even if never used it so far), mainly because it is distributed - sometime SF is slow (when using from europe) and sometimes you want to keep private custom copies, but sync with the public version - of course, this is for developers :) Regards, Bogdan Brett Nemeroff wrote: Bogdan, I personally really like SVN. It's widely accepted and well documented. I'm sure that some newer code repo systems offer some really nice features, but I'm curious what percent of the community has used newer repo types and would be comfortable using them to their full potential (properly!). I'm speaking, of course, as a user and not a developer. Thanks for your consideration. :) -Brett On Tue, Mar 2, 2010 at 12:18 PM, Bogdan-Andrei Iancu bog...@voice-system.ro mailto:bog...@voice-system.ro wrote: Hi everyone, As we are getting closed to first working code for OpenSIPS 2.0 (a proto core including config, transport, threading, reactor and dispatcher), we will upload the code the public SF repo. I would like to get some feedback from you about what repo type to use - as we have the opportunity to start a fresh new piece of code, we have the option to use a different repo than SVN. SF offers the following options - SVN - git - mercurial - bazaar Should we keep SVN ? pros ? minuses ? something much better ? Regards, Bogdan PS: should we create a poll on the project web site ? -- Bogdan-Andrei Iancu www.voice-system.ro http://www.voice-system.ro ___ Users mailing list Users@lists.opensips.org mailto:Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users -- Bogdan-Andrei Iancu www.voice-system.ro ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] [RFC] What repo to use for 2.0 ?
Hi Fabian, That is interesting - thanks for the hint ;) Regards, Bogdan Fabián Sellés Rosa wrote: You can offer both GIT and SVN with git-svn [1]. I think that git it's very more powerful and comfortable to use than subversion. [1] http://www.kernel.org/pub/software/scm/git/docs/git-svn.html ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users -- Bogdan-Andrei Iancu www.voice-system.ro ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] [RFC] What repo to use for 2.0 ?
Hi David, I agree with you - SVN is well known by most of us, while git means learning something new. Exactly this is why I pushed the question - if there is something better (than SVN) out there, that may compensate (as advantages) the task of learning it. But as already said,GIT and SVN are quite similar in concept and concepts, so it the learning process should be very easy. Regards, Bogdan David J. wrote: Brett, From a user perspective then its not so difficult to learn a few extra commands. Most users I would imagine want to download the code and compile. Although, I agree that SVN is by far more adopted. I think going forward, companies like GitHub and BitBucket offer great code hosting options for developers, which seems to be gaining lots of traction. Most projects I see are moving off google code which I believe is svn based. I personally have invested lots of time in SVN, but wouldn't think it would be a burden to try something new. Just an opinion. Brett Nemeroff wrote: Bogdan, I personally really like SVN. It's widely accepted and well documented. I'm sure that some newer code repo systems offer some really nice features, but I'm curious what percent of the community has used newer repo types and would be comfortable using them to their full potential (properly!). I'm speaking, of course, as a user and not a developer. Thanks for your consideration. :) -Brett On Tue, Mar 2, 2010 at 12:18 PM, Bogdan-Andrei Iancu bog...@voice-system.ro mailto:bog...@voice-system.ro wrote: Hi everyone, As we are getting closed to first working code for OpenSIPS 2.0 (a proto core including config, transport, threading, reactor and dispatcher), we will upload the code the public SF repo. I would like to get some feedback from you about what repo type to use - as we have the opportunity to start a fresh new piece of code, we have the option to use a different repo than SVN. SF offers the following options - SVN - git - mercurial - bazaar Should we keep SVN ? pros ? minuses ? something much better ? Regards, Bogdan PS: should we create a poll on the project web site ? -- Bogdan-Andrei Iancu www.voice-system.ro http://www.voice-system.ro ___ Users mailing list Users@lists.opensips.org mailto:Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users -- Bogdan-Andrei Iancu www.voice-system.ro ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] issues with prepared statements in mysql
well, in this case, the mysql driver in opensips reports the truth :)... the only option here is to make your trigger more fault-resistant ;) Regards, Bogdan Alex G wrote: It fails completely. As a matter o fact... anything that doesn't return query OK fails: :( On Mar 3, 2010 12:17 PM, Bogdan-Andrei Iancu bog...@voice-system.ro mailto:bog...@voice-system.ro wrote: Hi Alex, and the acc record is actually added (even with the trigger error) ? or the acc insert fails completely ? Regards, Bogdan Alex G wrote: I have a scenario where I execute a trigger in mysql when info is added to the a... ___ Users mailing list Users@lists.opensips.org mailto:Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users -- Bogdan-Andrei Iancu www.voice-system.ro http://www.voice-system.ro ___ Users mailing list Users@lists.opensips.org mailto:Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users -- Bogdan-Andrei Iancu www.voice-system.ro ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] [RFC] What repo to use for 2.0 ?
On Mar 3, 2010, at 7:33 PM, Bogdan-Andrei Iancu wrote: But as already said,GIT and SVN are quite similar in concept and concepts, so it the learning process should be very easy. If git is new than svn is more like CVS than anything else. DVCS's are _so_ much different than old school VCS's like CVS or SVN. Check out this Mercurial tutorial, which is mostly about DVCS systems: http://hginit.com/ -- Andreas ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] Access to statistics variables from within script
On 2010-03-03, at 19:20, Bogdan-Andrei Iancu wrote: Hi Pawel, for read, the stats vars are available only via the MI interface (the get_statistics function). do you want to read the stats from the statistics module only, or all of them? Nah, only the ones defined in my script/statistics module and log/print them and reset them in a timer route. Pawel, smime.p7s Description: S/MIME cryptographic signature ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users