Re: [OpenSIPS-Users] Issue with opensips example file
You could try chaging the debug level to 4 as your currently on 3. Logs should be under /var/log/messages by default. Hope this helps On 15 May 2010 19:40, Aditya Kumar [via OpenSIPS (Open SIP Server)] ml-node+5059723-822101391-480...@n2.nabble.comml-node%2b5059723-822101391-480...@n2.nabble.com wrote: Hi all, I am having issue running the example script. I installed opensips and running with command ./opensips -f etc/exec_s5.cfg Issue is : I am able to see the INVITE/REGISTER on the linux box where opensips is installed on 5060 port.(using SNIFFER) But I dont see in Debug logs of opensips (or) ir prints anything. so looks like my sip Request is not hitting the server. can u pl let me know what I am missing == # # $Id: exec_s5.cfg 5894 2009-07-20 13:04:45Z bogdan_iancu $ # # simple quick-start config script # # --- global configuration parameters debug=3 log_stderror= yes log_facility=LOG_LOCAL0 fork=yes children=4 /* uncomment the following lines to enable debugging */ debug=6 #fork=no /* uncomment the next line to disable TCP (default on) */ disable_tcp=yes port=5060 #set module path mpath=/usr/local/lib/opensips/modules/ loadmodule sl.so loadmodule tm.so loadmodule usrloc.so loadmodule registrar.so loadmodule exec.so # - setting module-specific parameters --- route{ # uri for my domain ? if (uri==myself) { if (method==REGISTER) { save(location); return; }; # native SIP destinations are handled using our USRLOC DB # if (!lookup(location)) { # proceed to email notification if (method==INVITE) route(1){ else sl_send_reply(404, Not Found); ___ Users mailing list [hidden email] http://user/SendEmail.jtp?type=nodenode=5059723i=0 http://lists.opensips.org/cgi-bin/mailman/listinfo/users -- View message @ http://opensips-open-sip-server.1449251.n2.nabble.com/Issue-with-opensips-example-file-tp5059723p5059723.html To unsubscribe from OpenSIPS (Open SIP Server), click herehttp://opensips-open-sip-server.1449251.n2.nabble.com/subscriptions/Unsubscribe.jtp?code=YnJpYW5rZWl0aGphbWVzQGdvb2dsZW1haWwuY29tfDE0NDkyNTF8NTkyNDg5NzI0. -- View this message in context: http://opensips-open-sip-server.1449251.n2.nabble.com/Issue-with-opensips-example-file-tp5059723p5060088.html Sent from the OpenSIPS - Users mailing list archive at Nabble.com. ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] opensipsctl erros
Just checked my configuration and it works fine for me with: if [ $DBENGINE -eq MYSQL ] when doing opensipsctl alias_db list/show Not sure whether you made a typo with: if [ $DBENGINE -eq MYSQL ] if [ $DBENGINE -eq PGSQL ] but it should read: if [ $DBENGINE -eq MYSQL ] elif [ $DBENGINE -eq PGSQL ] Hope this helps -- View this message in context: http://opensips-open-sip-server.1449251.n2.nabble.com/opensipsctl-erros-tp4985896p4985961.html Sent from the OpenSIPS - Users mailing list archive at Nabble.com. ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] install cdrtools
A quick google of CDRTool found the CDRTool website which has a good installation guide: http://cdrtool.ag-projects.com/wiki/Install In the installation guide there is a link to where you can download the tar of it: http://download.ag-projects.com/CDRTool/ Hope this helps :) -- View this message in context: http://opensips-open-sip-server.1449251.n2.nabble.com/install-cdrtools-tp4978787p4978878.html Sent from the OpenSIPS - Users mailing list archive at Nabble.com. ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] Storage of registered users.
Thanks for that, so if you were to stop opensips any user you had created would be lost? Thanks On 29 April 2010 15:19, Saúl Ibarra Corretgé [via OpenSIPS (Open SIP Server)] ml-node+4980220-183174806-480...@n2.nabble.comml-node%2b4980220-183174806-480...@n2.nabble.com wrote: On 29/4/10 3:45 PM, brianpocock wrote: Just out of interest, where are registered users stored when a backend database is not used, is it a text file somewhere? Thanks If no persistent storage backend is used then they are stored in memory. Regards, -- Saúl Ibarra Corretgé AG Projects ___ Users mailing list [hidden email] http://user/SendEmail.jtp?type=nodenode=4980220i=0 http://lists.opensips.org/cgi-bin/mailman/listinfo/users -- View message @ http://opensips-open-sip-server.1449251.n2.nabble.com/Storage-of-registered-users-tp4980049p4980220.html To unsubscribe from OpenSIPS (Open SIP Server), click herehttp://opensips-open-sip-server.1449251.n2.nabble.com/subscriptions/Unsubscribe.jtp?code=YnJpYW5rZWl0aGphbWVzQGdvb2dsZW1haWwuY29tfDE0NDkyNTF8NTkyNDg5NzI0. -- View this message in context: http://opensips-open-sip-server.1449251.n2.nabble.com/Storage-of-registered-users-tp4980049p4980232.html Sent from the OpenSIPS - Users mailing list archive at Nabble.com. ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
[OpenSIPS-Users] Difference between RTPproxy and MediaProxy
I will be installing CDRtool in the next few days and have been following the posts about this to learn about the installation process, I will be installing on CentOS but this guide http://cdrtool.ag-projects.com/wiki/Install looks simple enough to follow. I've noticed talk about RTPproxy and was wondering if this is any different to MediaProxy as this is whats mentioned in the installation guide. Are they the same piece of software just going by a different name or are they two completely different things? Thanks Brian -- View this message in context: http://opensips-open-sip-server.1449251.n2.nabble.com/Difference-between-RTPproxy-and-MediaProxy-tp4949619p4949619.html Sent from the OpenSIPS - Users mailing list archive at Nabble.com. ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] CDRTool without Freeradius and RTPproxy ?
I would quite like to know as well but I don't think its possible as CDRTool relies on the STOP and START messages from free radius. -- View this message in context: http://opensips-open-sip-server.1449251.n2.nabble.com/CDRTool-without-Freeradius-and-RTPproxy-tp4936891p4941681.html Sent from the OpenSIPS - Users mailing list archive at Nabble.com. ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] CDRTool without Freeradius and RTPproxy ?
Whats the problem your having with freeradius, is it trouble installing it or is it trouble getting it to work with CDRTool? -- View this message in context: http://opensips-open-sip-server.1449251.n2.nabble.com/CDRTool-without-Freeradius-and-RTPproxy-tp4936891p4941719.html Sent from the OpenSIPS - Users mailing list archive at Nabble.com. ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
[OpenSIPS-Users] Call not being routed correctly with OSP module
Hi, I'm using OpenSIPS in a test environment with an OSP server to provide authorization for calls. The setup is 2 phones and an opensips sip proxy. SIP proxy has an IP of 192.168.1.2 Testphone has an IP of 192.168.1.4 and number 1202 Testphone 2 has an IP of 192.168.1.5 and number 1203 With no accounts setup on the OSP server when I try and make a call the sip proxy returns a 503 because the device is not authorized by the OSP server. Now I have added devices to the OSP server and am trying to make a call from 1203 to 1202 I'm getting 404's. When looking at call detail records on the OSP server there are four calls there even though I only placed one. They all have sources of 192.168.1.5 and destinations of 1202 except one that has a destination of 192.168.1.4 which is the IP of the phone I want to reach. The output in the opensips logfile of the routing logic is shown below: ROUTE: Route IN - M=INVITE RURI=sip:1...@192.168.1.2 F=sip:testpho...@192.168.1.2 T=sip:1...@192.168.1.2 IP=192.168.1.5 id=001bd40b-d2130035-59ddb41e-b0c4f...@192.168.1.5 ROUTE: Processing INVITE OSP authorization validation logic Without OSP token, apply different authentication strategy Go ahead, everyone is welcomed ROUTE: Authentication passed ROUTE: Use OSP to get routing OSP authorization and routing logic Requesting OSP authorization and routing INFO:osp:ospRequestRouting: request auth and routing for: service_type '0' source '[192.168.1.2]:5060' source_dev '[192.168.1.5]:5060' source_networkid '' calling 'testphone2' called '1202' preferred '' nprn '' npcic '' npdi '0' spid '' ocn '' spn '' altspn '' mcc '' mnc '' diversion_user '' diversion_host '' call_id '001bd40b-d2130035-59ddb41e-b0c4f...@192.168.1.5' dest_count '5' INFO:osp:ospLoadRoutes: get destination '0': valid after '2010-04-15T10:47:06Z' valid until '2010-04-15T10:57:06Z' time limit '14400' seconds call id '001bd40b-d2130035-59ddb41e-b0c4f...@192.168.1.5' calling 'testphone2' called '1202' host '[192.168.1.5]' nprn '' npcic '' npdi '0' spid '' ocn '' spn '' altspn '' mcc '' mnc '' supported '1' network id '' token size '0' INFO:osp:ospLoadRoutes: get destination '1': valid after '2010-04-15T10:47:06Z' valid until '2010-04-15T10:57:06Z' time limit '14400' seconds call id '001bd40b-d2130035-59ddb41e-b0c4f...@192.168.1.5' calling 'testphone2' called '1202' host '[192.168.1.4]' nprn '' npcic '' npdi '0' spid '' ocn '' spn '' altspn '' mcc '' mnc '' supported '1' network id '' token size '0' INFO:osp:ospRequestRouting: there are '2' OSP routes, call_id '001bd40b-d2130035-59ddb41e-b0c4f...@192.168.1.5' Response received Try the 1st route Prepare route specific OSP information INFO:osp:ospPrepareDestination: prepare route to URI 'sip:1...@192.168.1.5' for call_id '001bd40b-d2130035-59ddb41e-b0c4f...@192.168.1.5' transaction_id '5460314288097329217' ROUTE: Route OUT Try the next route Prepare route specific OSP information INFO:osp:ospPrepareDestination: prepare route to URI 'sip:1...@192.168.1.4' for call_id '001bd40b-d2130035-59ddb41e-b0c4f...@192.168.1.5' transaction_id '5460314288097329217' Try the next route ROUTE: All destinations attempted for call ID '001bd40b-d2130035-59ddb41e-b0c4f...@192.168.1.5'. Call cannot be completed. INFO:osp:ospReportOrigSetupUsage: report orig setup for call_id '001bd40b-d2130035-59ddb41e-b0c4f...@192.168.1.5' transaction_id '5460314288097329217' ROUTE: Route IN - M=ACK RURI=sip:1...@192.168.1.2 F=sip:testpho...@192.168.1.2 T=sip:1...@192.168.1.2 IP=192.168.1.5 id=001bd40b-d2130035-59ddb41e-b0c4f...@192.168.1.5 ROUTE: Processing ACK ROUTE: Relay E2E ACK ROUTE: Route OUT I cant seem to make sense of whats going on, can anyone see what the problem is here? Thanks -- View this message in context: http://n2.nabble.com/Call-not-being-routed-correctly-with-OSP-module-tp4906928p4906928.html Sent from the OpenSIPS - Users mailing list archive at Nabble.com. ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] Register Phone with OpenSIPS
Thanks I think ive got it right but ill have a check, I'm using the OSP module so used the OSP sample .cnf file so Im not sure if this differes anyway to the normal config file in the way it registers users? Thanks -- View this message in context: http://n2.nabble.com/Register-Phone-with-OpenSIPS-tp4836211p4837339.html Sent from the OpenSIPS - Users mailing list archive at Nabble.com. ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] Control Panel: Can't login
Well that explains it then :) I'll recompile it with that module :) -- View this message in context: http://n2.nabble.com/Control-Panel-Can-t-login-tp4817133p4829830.html Sent from the OpenSIPS - Users mailing list archive at Nabble.com. ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] Control Panel: Can't login
Just recompiled it with that module and when doing make all I get this error: abyss_conf.c:290: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘ConfReadServerFile’ make[1]: *** [abyss_conf.o] Error 1 make[1]: Leaving directory `/usr/src/opensips-1.6.2-notls/modules/mi_xmlrpc' make: *** [modules] Error 2 Has anyone come across this before? Thanks -- View this message in context: http://n2.nabble.com/Control-Panel-Can-t-login-tp4817133p4829922.html Sent from the OpenSIPS - Users mailing list archive at Nabble.com. ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] Control Panel: Can't login
got it working now, needed to install some dependencies :) -- View this message in context: http://n2.nabble.com/Control-Panel-Can-t-login-tp4817133p4830342.html Sent from the OpenSIPS - Users mailing list archive at Nabble.com. ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] Control Panel: Can't login
The libs required for mi_xmlrpc were: libxml - this was installed using yum on centos 5.3 it doesnt mention it but you will also need libxml-devel for another dependency - again yum installed libxmlrpc-c3 - this was found at https://sourceforge.net/projects/xmlrpc-c/files/ sourceforge . The latest version is 1.06.38 but the documentation said 0.9.10 was needed so i got that one to be safe. libxmlrpc-c3-dev also from sourceforge. These installed from RPM but needed another dependency, w3c-libwww which I found http://www.w3.org/Library/Distribution/RPMS/i386/w3c-libwww-5.2.8-3.i386.rpm here Added: modparam(mi_xmlrpc, port, 8000) modparam(mi_xmlrpc, log_file, /var/log/abyss.log) to opensips.cfg file and it started fine, a quick netstat -nlp | grep opensips shows it listning on port 8000 . -- View this message in context: http://n2.nabble.com/Control-Panel-Can-t-login-tp4817133p4830649.html Sent from the OpenSIPS - Users mailing list archive at Nabble.com. ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] installing opensips on Fedora 10 64bits
I had this problem today, are you installing xmlrpc from source or something like yum? -- View this message in context: http://n2.nabble.com/installing-opensips-on-Fedora-10-64bits-tp4832428p4832822.html Sent from the OpenSIPS - Users mailing list archive at Nabble.com. ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] Control Panel: Can't login
Thanks, I've got the login in sorted now. I'm now configuring the boxes.global.inc.php and I need to configure the IP address of the MI connector and I was wondering how you find out the port number of this. I have set it to what it says in the documentation (8080) but I get an error: Cannot connect to OpenSIPS Server via Management Interface (192.168.1.2/8080) Thanks for the help :) -- View this message in context: http://n2.nabble.com/Control-Panel-Can-t-login-tp4817133p4823771.html Sent from the OpenSIPS - Users mailing list archive at Nabble.com. ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] Control Panel: Can't login
I've used: netstat -nlp | grep sip, this was the result udp0 0 *.*.*.*:5060 0.0.0.0:* 28323/opensips #PUBLIC ADDRESS udp0 0 192.168.1.2:50600.0.0.0:* 28323/opensips #PRIVATE ADDRESS udp0 0 127.0.0.1:5060 0.0.0.0:* 28323/opensips #Loopback its running on port 5060, I set it to use 5060 and I still get the error: Cannot connect to OpenSIPS Server via Management Interface (192.168.1.2/5060) Thanks for the help -- View this message in context: http://n2.nabble.com/Control-Panel-Can-t-login-tp4817133p4824766.html Sent from the OpenSIPS - Users mailing list archive at Nabble.com. ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] Control Panel: Can't login
The only thing that I can see opensips is listening on is those three interfaces/port? Thanks -- View this message in context: http://n2.nabble.com/Control-Panel-Can-t-login-tp4817133p4826273.html Sent from the OpenSIPS - Users mailing list archive at Nabble.com. ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
[OpenSIPS-Users] Control Panel: Can't login
Hi, as the subject says, I'm unable to login to the control panel. I have the default credentials in my database which I can see by doing a select query but when I go to login using the control panel it says invalid username/password. I've checked the db.inc.php file in the config folder and that is all set correctly. Anyone have any ideas? Cheers :) -- View this message in context: http://n2.nabble.com/Control-Panel-Can-t-login-tp4817133p4817133.html Sent from the OpenSIPS - Users mailing list archive at Nabble.com. ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] Control Panel: Can't login
I was following the documentation on the website actually and that told me to do this query: INSERT INTO ocp_admin_privileges (username,password,available_tools,permissions) values ('admin','admin','all','all'); I guess that documentation is out of date now and it used a MD5 hash now, hence the ha1 field. I'll add a user with a password hash and see if it works. Out of interest the db.ini.php files, do you have to set the values in all of them or just the one under /config Thanks -- View this message in context: http://n2.nabble.com/Control-Panel-Can-t-login-tp4817133p4817889.html Sent from the OpenSIPS - Users mailing list archive at Nabble.com. ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] OpenSIPS Control Panel Installation Confusion
ok cool, i had already inserted the column so changed it from int to bigint and removed the alter table statement from the script. Cheers -- View this message in context: http://n2.nabble.com/OpenSIPS-Control-Panel-Installation-Confusion-tp4803441p4803697.html Sent from the OpenSIPS - Users mailing list archive at Nabble.com. ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] Add db_mysql module
Hi, I got it all install now thanks, Im getting an error when starting up though: ERROR: PID file /var/run/opensips.pid does not exist -- OpenSIPS start failed I have done some googling and found the opensips Where to check OpenSIPS does not start? page and looked in my /var/log/messages file. I found there was a syntax error in the configuration file but thats all fixed now. When it starts up now I still get the error but nothing is logged in the messages file. I have tried to start it up with opensipsctl fifo debug to get some better error messages but when I try and run this I get this error: ERROR: Error opening OpenSIPS's FIFO /tmp/opensips_fifo ERROR: Make sure you have the line 'modparam(mi_fifo, fifo_name, /tmp/opensips_fifo)' in your config ERROR: and also have loaded the mi_fifo module. I have the module loaded and the line in my config file but when I check /tmp/opensips_fifo the file isnt there. I touch /tmp/opensips_fifo and chmod 755 /tmp/opensips_fifo and then when I start it up it just hangs and does nothing so I have to control + c to terminate it? Any Ideas whats going wrong? -- View this message in context: http://n2.nabble.com/Add-db-mysql-module-tp4791554p4796754.html Sent from the OpenSIPS - Users mailing list archive at Nabble.com. ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] Add db_mysql module
I've fixed it now, instead of using root credentials to connect to the database I made the opensips user and password in the mysql database and tried connecting with those and it worked fine. Thanks for the help! -- View this message in context: http://n2.nabble.com/Add-db-mysql-module-tp4791554p4797583.html Sent from the OpenSIPS - Users mailing list archive at Nabble.com. ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
[OpenSIPS-Users] Add db_mysql module
Hi, basically I just install OpenSIPS with the OSP module, spent lots of time making sure it would install correctly, it all installed fine and it starts fine with opensipsctl start but when I came to create the database with opensipsdbctl create I get the error: ERROR: could not load the script in /usr/local/lib/opensips/opensipsctl/opensipsdbctl.mysql for database engine MYSQL ERROR: database engine not loaded - tried 'MYSQL' Turns out I forgot to install the db_mysql module as when I got to /usr/local/lib/opensips/modules/ the module is not there. Is there anyway I can add the module now or do I have to reinstall it all again? Thanks -- View this message in context: http://n2.nabble.com/Add-db-mysql-module-tp4791554p4791554.html Sent from the OpenSIPS - Users mailing list archive at Nabble.com. ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users
Re: [OpenSIPS-Users] Add db_mysql module
Thanks, So can i just do a make install again with it uncommened without removing the old files first, i.e. will it overwrite them? Thanks -- View this message in context: http://n2.nabble.com/Add-db-mysql-module-tp4791554p4791808.html Sent from the OpenSIPS - Users mailing list archive at Nabble.com. ___ Users mailing list Users@lists.opensips.org http://lists.opensips.org/cgi-bin/mailman/listinfo/users