Re: [OpenSIPS-Users] Problem with OpenSIPS Control Panel 4.0
Hi Alex i try new opensips-cp and it work fine now but i have problem with add new admin in opensips-cp webpage step1: add new admin with name : cucku step2: add successfull step3: login with username cucku -- the issue is here, there is no available tools for new admin which is added via webpage the available tool for new admin is absent :(,where do i need to add available tool for admin with name : cucku the query from mysql : mysql select * from ocp_admin_privileges\G; *** 1. row *** id: 55 first_name: last_name: username: admin password: admin ha1: d2abaa37a7c3db1137d385e1d8c15fd2 available_tools: all permissions: all *** 2. row *** id: 56 first_name: cucku last_name: cucku username: cucku password: ha1: 91730b420f600d8da7817d96c20a59b9 available_tools: permissions: NULL 2 rows in set (0.00 sec) ERROR: No query specified Thank you Ha` --- On Thu, 3/18/10, Alex Ionescu a...@opensips.org wrote: From: Alex Ionescu a...@opensips.org Subject: Re: [OpenSIPS-Users] Problem with OpenSIPS Control Panel 4.0 To: OpenSIPS users mailling list users@lists.opensips.org Date: Thursday, March 18, 2010, 5:46 AM Hi, Actually there were a few issues that were found and solved the last few days. I hope you won't have anymore problems if you download the new 4.0 tarball. So, give it a try and let me know. Regards, Alex ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] Problem with OpenSIPS Control Panel 4.0
Hi, When you create a new admin you must set also the permissions for this new admin account. So login in as admin and edit cucku's permissions. Regards, Alex On 3/22/2010 12:40, ha do wrote: the available tool for new admin is absen -- Alex Ionescu www.voice-system.ro ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] Problem with /tmp/opensips_fifo
Hi Erick, Can you be a little more specific about the issues that you are facing regarding OpenSIPS CP - MI Commands ? About the Statistics Monitor (that should generate show some graphichs for some parameters that you want to monitor). I have a few hints for you, maybe it will help : - check the permissions of the user apache on the folder ... /web/tools/system/smonitor/generated - because this is the place where charts are saved; - check if you have set up in crontab this script get_opensips_stats.php; - and, the most important, check the first line of get_opensips_stats.php and see if the path set up there is the correct one ! Let me know if you succeed Regards, Alex On 3/18/2010 20:30, Erick Chinchilla Berrocal wrote: Bogdan I have good new This is the history 1- Install the patch cd /var/www tar -xvzf /path/to/opensips-cp.tgz cd opensips-cp patch -p1 /path/to/opensips-cp_4.0.patch 2- Re-configure the Control-Panel File 3- Access the control panel http://192.168.50.10/cp/ - Access is ok 4- Check each module - Only the module MI Commands = did't work, said /tmp/opensips_fifo - Check the link http://opensips-cp.sourceforge.net/index.php?req=documentation - and check the line in the file boxes.global.inc.php Before // mi host:port pair || fifo_file $boxes[$box_id]['mi']['conn']=/tmp/opensips_fifo; After // mi host:port pair || fifo_file $boxes[$box_id]['mi']['conn']=127.0.0.1:8080; -Checked again the Control Panel and don't report problems with the modules. 5- Now the next step is test the installation and connect other gateways. Please if you have any procedure for check the correct operation for the control panel , please let me know. I have confusion with the modules MI Commands and Statics Monitor, no reports problems but don't get information Reference http://opensips-cp.sourceforge.net/ Statistics Monitor Module (smonitor) ##Static Chart Failed to issue query, error message : MDB2 Error: syntax error Another things We use the same procedure with Opensips 1.6.2 and Control Panel 4.0, but the problem continues. See below. Thanks for your help Erick Ch. -Original Message- From: Erick Chinchilla Berrocal [mailto:er...@netcrc.net] Sent: Wednesday, March 17, 2010 10:39 AM To: 'OpenSIPS users mailling list' Subject: RE: [OpenSIPS-Users] Problem with /tmp/opensips_fifo Bogdan My comments I made the following changes (step by step) 1- Check the Opensips Status - # opensips -h version: opensips 1.6.1-notls (i386/linux) -# ps -ef | grep opensips netcrc4776 1 0 Mar16 ?00:00:00 /sbin/opensips -P /var/run/opensips/opensips.pid -m 128 -u netcrc -g netcrc netcrc4777 4776 0 Mar16 ?00:00:00 /sbin/opensips -P /var/run/opensips/opensips.pid -m 128 -u netcrc -g netcrc netcrc4778 4776 0 Mar16 ?00:00:00 /sbin/opensips -P /var/run/opensips/opensips.pid -m 128 -u netcrc -g netcrc netcrc4779 4776 0 Mar16 ?00:00:00 /sbin/opensips -P /var/run/opensips/opensips.pid -m 128 -u netcrc -g netcrc netcrc4780 4776 0 Mar16 ?00:00:00 /sbin/opensips -P /var/run/opensips/opensips.pid -m 128 -u netcrc -g netcrc netcrc4781 4776 0 Mar16 ?00:00:00 /sbin/opensips -P /var/run/opensips/opensips.pid -m 128 -u netcrc -g netcrc netcrc4782 4776 0 Mar16 ?00:00:00 /sbin/opensips -P /var/run/opensips/opensips.pid -m 128 -u netcrc -g netcrc netcrc4783 4776 0 Mar16 ?00:00:00 /sbin/opensips -P /var/run/opensips/opensips.pid -m 128 -u netcrc -g netcrc netcrc4784 4776 0 Mar16 ?00:00:00 /sbin/opensips -P /var/run/opensips/opensips.pid -m 128 -u netcrc -g netcrc netcrc4785 4776 0 Mar16 ?00:00:01 /sbin/opensips -P /var/run/opensips/opensips.pid -m 128 -u netcrc -g netcrc netcrc4786 4776 0 Mar16 ?00:00:01 /sbin/opensips -P /var/run/opensips/opensips.pid -m 128 -u netcrc -g netcrc netcrc4787 4776 0 Mar16 ?00:00:00 /sbin/opensips -P /var/run/opensips/opensips.pid -m 128 -u netcrc -g netcrc netcrc4788 4776 0 Mar16 ?00:00:00 /sbin/opensips -P /var/run/opensips/opensips.pid -m 128 -u netcrc -g netcrc netcrc4790 4776 0 Mar16 ?00:00:00 /sbin/opensips -P /var/run/opensips/opensips.pid -m 128 -u netcrc -g netcrc netcrc4793 4776 0 Mar16 ?00:00:00 /sbin/opensips -P /var/run/opensips/opensips.pid -m 128 -u netcrc -g netcrc netcrc4794 4776 0 Mar16 ?00:00:00 /sbin/opensips -P /var/run/opensips/opensips.pid -m 128 -u netcrc -g netcrc netcrc4798 4776 0 Mar16 ?00:00:00 /sbin/opensips -P /var/run/opensips/opensips.pid -m 128 -u netcrc -g netcrc netcrc4800 4776 0 Mar16 ?00:00:00 /sbin/opensips -P /var/run/opensips/opensips.pid -m 128 -u netcrc -g netcrc netcrc4801 4776 0 Mar16 ?00:00:00 /sbin/opensips -P
[OpenSIPS-Users] can OpenSIPS-cp and SerMyAdmin co-exist?
Trying to manually install SerMyAdmin (step by step , since install script uses apt-get) on my OpenSUSE 11 setup.. Which already has OpenSIPs-CP installed... I'm noticing that the sql script has several conflicts... anyone try this before? --- This email message is for the sole use of the intended recipient(s) and may contain confidential information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. --- ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] can OpenSIPS-cp and SerMyAdmin co-exist?
Just curious, Whats the sense of this? Christian Vo wrote: Trying to manually install SerMyAdmin (step by step , since install script uses apt-get) on my OpenSUSE 11 setup.. Which already has OpenSIPs-CP installed… I’m noticing that the sql script has several conflicts… anyone try this before? This email message is for the sole use of the intended recipient(s) and may contain confidential information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. ___ 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] mediaproxy
Hi, I have some problem with installing / running mediaproxy on FC7 I have also tried mediaproxy-2.4.2, but then I revert to the latest working version I have deployed /usr/bin/media-relay --no-fork Starting MediaProxy Relay 2.3.6 Segmentation fault I would like to install in on Debian, but I need to make it work on FC7 or CentOS5 I can see the problem, is there a suggested way to debug ? - try: from mediaproxy.relay import MediaRelay if not options.fork: from application.debug.memory import * relay = MediaRelay() except Exception, e: log.fatal(failed to create %s: %s % (fullname, e)) if e.__class__ is not RuntimeError: log.err() sys.exit(1) ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] diiference between 1.6.1 and 1.6.2
Hi Bogdan, What I can see is : Afer invite : Mar 22 22:38:02 [2889] DBG:siptrace:trace_onreply_out: dest [udp:77.xx.xx.xx:5060] Mar 22 22:38:02 [2889] DBG:siptrace:trace_onreply_out: storing info... Mar 22 22:38:02 [2889] DBG:db_mysql:has_stmt_ctx: ctx found for sip_trace ... Mar 22 22:38:02 [2889] DBG:dialog:dlg_onroute: Route param 'did' not found Has the above something to do with it ? The script itself is fairly simple : ... 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 mi_datagram.so loadmodule uri.so loadmodule xlog.so loadmodule acc.so loadmodule drouting.so loadmodule dialog.so loadmodule aaa_radius.so loadmodule alias_db.so loadmodule siptrace.so loadmodule mediaproxy.so loadmodule perl.so ... # - siptrace params - modparam(siptrace, db_url, mysql://user:p...@foo.bar/user) modparam(siptrace, trace_flag, 22) modparam(siptrace, trace_on, 1) ... ### Routing Logic # main request routing logic route{ if (!mf_process_maxfwd_header(10)) { sl_send_reply(483,Too Many Hops); exit; } force_rport(); setflag(22); ... route[1] { # for INVITEs enable some additional helper routes if (is_method(INVITE)) { t_on_branch(2); t_on_reply(2); t_on_failure(1); } sip_trace(); rewritehostport(77.yy.yy.yy:5060); if (!t_relay()) { sl_reply_error(); }; acc_aaa_request(aaa_extra); exit; } Hopes this helps a bit Brgds Erik -Oorspronkelijk bericht- Van: users-boun...@lists.opensips.org [mailto:users-boun...@lists.opensips.org] Namens Bogdan-Andrei Iancu Verzonden: zondag 21 maart 2010 23:30 Aan: OpenSIPS users mailling list Onderwerp: Re: [OpenSIPS-Users] diiference between 1.6.1 and 1.6.2 Hi Erik, for the siptrace part,how are you triggering the tracing in the script ? Also, if possible,can you enable debug=6 and post the logs related to INVITE siptracing? Regards, Bogdan erik pepermans wrote: Hi, Using version 1.6.1-notls with mediaproxy module, the increments of KBIn and KBOut in CDRTool work OK; this has stopped in 1.6.2-notls. Moreover the siptrace module doesn't return any record anymore in the siptrace table as of 1.6.2. The opensips.cfg is exactly the same I used in both versions. Brgds Erik -- This message has been scanned for viruses and dangerous content by *MailScanner* http://www.mailscanner.info/, and is believed to be clean. ___ 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 -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
[OpenSIPS-Users] Variables in OpenSIPS scripting is the next webinar
Next webinar is scheduled for 30th of March 2010. The topic is Variables in OpenSIPS scripting - explaining the types of variables in OpenSIPS routing script, how to use them and which are the particularities of each type of variable. Free registration at http://www.opensips.org/Training/Webinars#toc5 Best regards, Bogdan -- Bogdan-Andrei Iancu www.voice-system.ro ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users