[Serusers] Problem starting SER with Presence support

Vaclav Kubart vaclav.kubart at iptel.org
Thu Mar 16 08:45:04 CET 2006


There is my testing config file. It needs to have some users stored in
database (I attach my script which adds initialization data using
serctl). You can try to look on it and modify it according your needs
(change paths to modules, ...)

	Vaclav


On Thu, Mar 16, 2006 at 09:30:23AM +0200, ?lker Aktuna (Koç.net) wrote:
> Hi,
> 
> Is there any working configuration sample for Ser with presence ?
> I understand that handbook is out of date but if my problem is just the fifo line, may I see a working example ?
> 
> Thanks,
> ilker
> 
> -----Original Message-----
> From: Vaclav Kubart [mailto:vaclav.kubart at iptel.org]
> Sent: Wednesday, March 15, 2006 6:11 PM
> To: ?lker Aktuna (Koç.net)
> Cc: serusers at lists.iptel.org
> Subject: Re: [Serusers] Problem starting SER with Presence support
> 
> Hello,
> mysql tables can be created using script scripts/mysql/ser_mysql.sh in source tree (CVS version).
> 
> Presence handbook is a bit out of date, but in few days there will be new version - please be patient.
> 
>         Vaclav
> 
> On Wed, Mar 15, 2006 at 05:57:07PM +0200, ?lker Aktuna (Koç.net) wrote:
> > Hi,
> >
> > Thanks for the presence book. I am reading it now. But I think I also
> > need scripts for creating needed tables in Mysql. I couldn't find
> > anywhere scripts for mysql.  There is a "make dbinstall" command in
> > cvs release but that didn't produce the expected result.
> >
> > Btw, I just compiled cvs version again and tried the cfg file example
> > in the presence book at ftp://ftp.iptel.org/pub/ser/presence/ This cfg
> > example still has the fifo="/tmp/ser_fifo" in it and I still get the
> > same parse error.
> >
> > Any help on this ?
> >
> > Thanks,
> > ilker
> >
> > -----Original Message-----
> > From: Vaclav Kubart [mailto:vaclav.kubart at iptel.org]
> > Sent: Wednesday, March 15, 2006 8:37 AM
> > To: ?lker Aktuna (Koç.net)
> > Cc: serusers at lists.iptel.org
> > Subject: Re: [Serusers] Problem starting SER with Presence support
> >
> > Hi,
> > I am responsible for presence server in ser.
> >
> > In few days, there will be new version of presence snapshot with new version of "presence handbook" (actualized documentation and configuration samples). Last versions of them are available on ftp://ftp.iptel.org/pub/ser/presence.
> >
> > Try to read the "presence handbook", all things needed for presence setup should be written there. Let me know if you miss something in it.
> >
> >         Vaclav
> >
> > P.S. Old configuration files will probably NOT work with new version of ser (like your fifo problems).
> >
> > On Tue, Mar 14, 2006 at 05:50:27PM +0200, ?lker Aktuna (Koç.net) wrote:
> > > Hi again,
> > >
> > > isn't there anyone who uses the development SER version ? Anyone using/testing presence server ?
> > > How can I contact the developers ? (serdev at lists.iptel.org does not accept
> > > my emails)
> > >
> > > Maybe someone could point me to another presence server. Is there any presence server available for trying ?
> > >
> > > I am desperately trying to build some presence server. Please help me...
> > >
> > > Thanks,
> > > ilker
> > >
> > >
> > > ________________________________
> > >
> > > From: serusers-bounces at iptel.org [mailto:serusers-bounces at lists.iptel.org]
> > > On Behalf Of ?lker Aktuna (Koç.net)
> > > Sent: Tuesday, March 14, 2006 9:12 AM
> > > To: serusers at lists.iptel.org
> > > Subject: [Serusers] Problem starting SER with Presence support
> > >
> > >
> > > Hi everyone,
> > >
> > > I am trying to run SER with presence server support. That's why I'm downloading the development sources with command:
> > > cvs -d :pserver:anonymous at cvs.berlios.de:/cvsroot/ser checkout
> > > sip_router
> > >
> > > I have libxml2 installed and the sources compile fine.
> > > After that I try to start ser with attached config file "ser1.cfg". Actually, it is the simple config from the gettingstarted guide hello world part.
> > >
> > > Unfortunately ser does not start with the following error:
> > >
> > > # <mailto:ot at asterisk1>  /root/ser/sbin/ser -c -f
> > > /root/ser/etc/ser/ser.cfg
> > >  0(28118) parse error (11,1-5): syntax error
> > >  0(28118) parse error (11,1-5):
> > > ERROR: bad config file (2 errors)
> > >
> > > Line 11 has the "fifo" file definition. My /tmp folder settings seem ok :
> > >
> > > # ls -adl /tmp/
> > > drwxrwxrwt   14 root     root         4096 Mar 13 09:25 /tmp/
> > >
> > > If I remove fifo line from the config (as in ser2.cfg) , ser starts but I guess that's not the right way. Because that time I can't register any clients and "serctl" command gives following error:
> > >
> > > Error opening ser's FIFO /tmp/ser_fifo Make sure you have line
> > > fifo=/tmp/ser_fifo in your config
> > >
> > > By any chance, is there any user/developer who may have dealt with thşs problem before ?
> > >
> > > Thanks,
> > > ilker
> > >
> > >
> > > ____________________________________________________________________
> > > __
> > > ____________________________________________________________________
> > > __ _ Bu e-posta mesaji kisiye ozel olup, gizli bilgiler iceriyor
> > > olabilir. Eger bu e-posta mesaji size yanlislikla ulasmissa,  icerigini hic bir sekilde kullanmayiniz ve ekli dosyalari acmayiniz. Bu durumda lutfen e-posta mesajini kullaniciya hemen geri gonderiniz  ve  tum kopyalarini mesaj kutunuzdan siliniz. Bu e-posta mesaji, hic bir sekilde, herhangi bir amac icin cogaltilamaz, yayinlanamaz ve para karsiligi satilamaz.  Bu e-posta mesaji viruslere karsi anti-virus sistemleri tarafindan taranmistir. Ancak yollayici, bu e-posta mesajinin - virus koruma sistemleri ile kontrol ediliyor olsa bile - virus icermedigini garanti etmez ve meydana gelebilecek zararlardan dogacak hicbir sorumlulugu kabul etmez.
> > > This message is intended solely for the use of the individual or entity to whom it is addressed , and may contain confidential  information. If you are not the intended recipient of this message or you receive this mail in error, you should refrain from making any use of the contents and from opening any attachment. In that case, please notify the sender immediately and return the message to the sender, then, delete and destroy all copies. This e-mail message, can not be copied, published or sold for any reason. This e-mail message has been swept by anti-virus systems for the presence of computer viruses. In doing so, however,  sender  cannot warrant that virus or other forms of data corruption may not be present and do not take any responsibility in any occurrence.
> > > ____________________________________________________________________
> > > __
> > > ____________________________________________________________________
> > > __
> > > _
> > >
> > >
> > >
> > > <http://271570.sigclick.mailinfo.com/sigclick/03060301/0E014E0E/0901
> > > 4E
> > > 06/91124912.jpg>
> > > ____________________________________________________________________
> > > __
> > > ____________________________________________________________________
> > > __ _ Bu e-posta mesaji kisiye ozel olup, gizli bilgiler iceriyor
> > > olabilir. Eger bu e-posta mesaji size yanlislikla ulasmissa,  icerigini hic bir sekilde kullanmayiniz ve ekli dosyalari acmayiniz. Bu durumda lutfen e-posta mesajini kullaniciya hemen geri gonderiniz  ve  tum kopyalarini mesaj kutunuzdan siliniz. Bu e-posta mesaji, hic bir sekilde, herhangi bir amac icin cogaltilamaz, yayinlanamaz ve para karsiligi satilamaz.  Bu e-posta mesaji viruslere karsi anti-virus sistemleri tarafindan taranmistir. Ancak yollayici, bu e-posta mesajinin - virus koruma sistemleri ile kontrol ediliyor olsa bile - virus icermedigini garanti etmez ve meydana gelebilecek zararlardan dogacak hicbir sorumlulugu kabul etmez.
> > > This message is intended solely for the use of the individual or entity to whom it is addressed , and may contain confidential  information. If you are not the intended recipient of this message or you receive this mail in error, you should refrain from making any use of the contents and from opening any attachment. In that case, please notify the sender immediately and return the message to the sender, then, delete and destroy all copies. This e-mail message, can not be copied, published or sold for any reason. This e-mail message has been swept by anti-virus systems for the presence of computer viruses. In doing so, however,  sender  cannot warrant that virus or other forms of data corruption may not be present and do not take any responsibility in any occurrence.
> > > ____________________________________________________________________
> > > __
> > > ____________________________________________________________________
> > > __
> > > _
> >
> > > _______________________________________________
> > > Serusers mailing list
> > > serusers at lists.iptel.org
> > > http://lists.iptel.org/mailman/listinfo/serusers
> >
> >
> >
> >
> >
> > 
> > <http://271570.sigclick.mailinfo.com/sigclick/06050304/01044D03/0D064E
> > 03/44221641.jpg>
> > ______________________________________________________________________
> > ______________________________________________________________________
> > _ Bu e-posta mesaji kisiye ozel olup, gizli bilgiler iceriyor
> > olabilir. Eger bu e-posta mesaji size yanlislikla ulasmissa,  icerigini hic bir sekilde kullanmayiniz ve ekli dosyalari acmayiniz. Bu durumda lutfen e-posta mesajini kullaniciya hemen geri gonderiniz  ve  tum kopyalarini mesaj kutunuzdan siliniz. Bu e-posta mesaji, hic bir sekilde, herhangi bir amac icin cogaltilamaz, yayinlanamaz ve para karsiligi satilamaz.  Bu e-posta mesaji viruslere karsi anti-virus sistemleri tarafindan taranmistir. Ancak yollayici, bu e-posta mesajinin - virus koruma sistemleri ile kontrol ediliyor olsa bile - virus icermedigini garanti etmez ve meydana gelebilecek zararlardan dogacak hicbir sorumlulugu kabul etmez.
> > This message is intended solely for the use of the individual or entity to whom it is addressed , and may contain confidential  information. If you are not the intended recipient of this message or you receive this mail in error, you should refrain from making any use of the contents and from opening any attachment. In that case, please notify the sender immediately and return the message to the sender, then, delete and destroy all copies. This e-mail message, can not be copied, published or sold for any reason. This e-mail message has been swept by anti-virus systems for the presence of computer viruses. In doing so, however,  sender  cannot warrant that virus or other forms of data corruption may not be present and do not take any responsibility in any occurrence.
> > ______________________________________________________________________
> > ______________________________________________________________________
> > _
> 
> 
> 
> 
>  <http://271570.sigclick.mailinfo.com/sigclick/0605030D/06094A05/0D044E0A/24228196.jpg>
> _____________________________________________________________________________________________________________________________________________
> Bu e-posta mesaji kisiye ozel olup, gizli bilgiler iceriyor olabilir. Eger bu e-posta mesaji size yanlislikla ulasmissa,  icerigini hic bir sekilde kullanmayiniz ve ekli dosyalari acmayiniz. Bu durumda lutfen e-posta mesajini kullaniciya hemen geri gonderiniz  ve  tum kopyalarini mesaj kutunuzdan siliniz. Bu e-posta mesaji, hic bir sekilde, herhangi bir amac icin cogaltilamaz, yayinlanamaz ve para karsiligi satilamaz.  Bu e-posta mesaji viruslere karsi anti-virus sistemleri tarafindan taranmistir. Ancak yollayici, bu e-posta mesajinin - virus koruma sistemleri ile kontrol ediliyor olsa bile - virus icermedigini garanti etmez ve meydana gelebilecek zararlardan dogacak hicbir sorumlulugu kabul etmez. 
> This message is intended solely for the use of the individual or entity to whom it is addressed , and may contain confidential  information. If you are not the intended recipient of this message or you receive this mail in error, you should refrain from making any use of the contents and from opening any attachment. In that case, please notify the sender immediately and return the message to the sender, then, delete and destroy all copies. This e-mail message, can not be copied, published or sold for any reason. This e-mail message has been swept by anti-virus systems for the presence of computer viruses. In doing so, however,  sender  cannot warrant that virus or other forms of data corruption may not be present and do not take any responsibility in any occurrence.
> _____________________________________________________________________________________________________________________________________________
-------------- next part --------------
# ------------------------------------------------------------
# (c) 2006 iptelorg GmbH
#
# Proprietary and Confidential
#
# This file is not to be disclosed to a third party without
# written permission of iptelorg.
# -------------------------------------------------------------
#
# iptelorg SPS
#
# main configuration file
#

debug=3         # debug level (cmd line: -dddddddddd)
#fork=yes
#log_stderror=no	# (cmd line: -E)
#memlog=5 # memory debug log level
#log_facility=LOG_LOCAL0 # sets the facility used for logging (see syslog(3))

check_via=no	# (cmd. line: -v)
dns=no           # (cmd. line: -r)
rev_dns=no      # (cmd. line: -R)
port=5060
children=2
#CFGOPTION_SER_DOMAIN
alias="test-domain.com"
#ENDCFGOPTION

#user=ser
#group=ser
#open_fd_limit=1024 # sets the open file descriptors limit
mhomed=yes  # usefull for multihomed hosts, small performance penalty

#disable_tcp=yes 
tcp_accept_aliases=yes # accepts the tcp alias via option (see NEWS)
tcp_poll_method="sigio_rt"

# ------------------ module loading ----------------------------------

# Uncomment this if you want to use SQL database
loadmodule "/home/kubartv/SER/lib/ser/modules/sl.so"
loadmodule "/home/kubartv/SER/lib/ser/modules/avp.so"
loadmodule "/home/kubartv/SER/lib/ser/modules/avpops.so"
loadmodule "/home/kubartv/SER/lib/ser/modules/tm.so"
loadmodule "/home/kubartv/SER/lib/ser/modules/rr.so"
loadmodule "/home/kubartv/SER/lib/ser/modules/maxfwd.so"
loadmodule "/home/kubartv/SER/lib/ser/modules/usrloc.so"
loadmodule "/home/kubartv/SER/lib/ser/modules/registrar.so"
loadmodule "/home/kubartv/SER/lib/ser/modules/textops.so"
loadmodule "/home/kubartv/SER/lib/ser/modules/mysql.so"
loadmodule "/home/kubartv/SER/lib/ser/modules/dialog.so"
loadmodule "/home/kubartv/SER/lib/ser/modules/rls.so"
loadmodule "/home/kubartv/SER/lib/ser/modules/pa.so"
loadmodule "/home/kubartv/SER/lib/ser/modules/presence_b2b.so"
loadmodule "/home/kubartv/SER/lib/ser/modules/uri.so"
loadmodule "/home/kubartv/SER/lib/ser/modules/uri_db.so"
loadmodule "/home/kubartv/SER/lib/ser/modules/domain.so"
loadmodule "/home/kubartv/SER/lib/ser/modules/fifo.so"
loadmodule "/home/kubartv/SER/lib/ser/modules/xmlrpc.so"
loadmodule "/home/kubartv/SER/lib/ser/modules/xlog.so"

# Uncomment this if you want digest authentication
# mysql.so must be loaded !
loadmodule "/home/kubartv/SER/lib/ser/modules/auth.so"
loadmodule "/home/kubartv/SER/lib/ser/modules/auth_db.so"
loadmodule "/home/kubartv/SER/lib/ser/modules/msilo.so"

# ----------------- setting module-specific parameters ---------------

# modparam("msilo","registrar","sip:registrar at test-domain.com")
modparam("msilo","use_contact",0)
modparam("msilo","expire_time",120)

# -- usrloc params --

# -- auth params --
# Uncomment if you are using auth module
#
modparam("auth_db", "calculate_ha1", yes)
#
# If you set "calculate_ha1" parameter to yes (which true in this config), 
# uncomment also the following parameter)
#
modparam("auth_db", "password_column", "password")

# -- rr params --
# add value to ;lr param to make some broken UAs happy
modparam("rr", "enable_full_lr", 1)

modparam("rls", "min_expiration", 120)
modparam("rls", "max_expiration", 120)
modparam("rls", "default_expiration", 120)
modparam("rls", "auth", "none")
#CFGOPTION_SER_XCAP_ROOT1
modparam("rls", "xcap_root", "http://vpres/xcap")
#ENDCFGOPTION
modparam("rls", "mode", "simple")
modparam("rls", "reduce_xcap_needs", 1)
modparam("rls", "db_mode", 0)
modparam("rls", "db_url", "mysql://ser:heslo@127.0.0.1:3306/ser")

modparam("pa", "use_db", 0)
#owi = offline winfo - uncomment all lines begining with it for offline winfo
#owi modparam("pa", "use_offline_winfo", 1)
modparam("pa", "offline_winfo_timer", 600)
modparam("pa", "offline_winfo_expiration", 600)
modparam("pa", "db_url", "mysql://ser:heslo@127.0.0.1:3306/ser")
# mode of PA authorization: none, implicit or xcap
modparam("pa", "auth", "xcap")
#CFGOPTION_SER_XCAP_ROOT2
modparam("pa", "auth_xcap_root", "http://vpres/xcap")
#ENDCFGOPTION
modparam("pa", "winfo_auth", "none")
# use only published information
modparam("pa", "use_callbacks", 1)
modparam("pa", "accept_internal_subscriptions", 0)
modparam("pa", "max_subscription_expiration", 120)
# modparam("pa", "timer_interval", 25)

modparam("presence_b2b", "presence_route", "<sip:127.0.0.1;lr>")
modparam("presence_b2b", "on_error_retry_time", 60)
modparam("presence_b2b", "wait_for_term_notify", 33)
modparam("presence_b2b", "resubscribe_delta", 30)
modparam("presence_b2b", "min_resubscribe_time", 60)
modparam("presence_b2b", "default_expiration", 3600)
modparam("presence_b2b", "handle_presence_subscriptions", 1)

modparam("usrloc", "db_mode", 0)
modparam("domain", "db_mode", 1)
modparam("domain|uri_db|acc|auth_db|usrloc|msilo", "db_url", "mysql://ser:heslo@127.0.0.1:3306/ser")

modparam("fifo", "fifo_file", "/tmp/ser_fifo")

# -------------------------  request routing logic -------------------

# main routing logic

route{
	# XML RPC
	if (method == "POST" ||  method == "GET") {
		create_via();
		dispatch_rpc();
		break;
	}

	# initial sanity checks -- messages with
	# max_forwards==0, or excessively long requests
	if (!mf_process_maxfwd_header("10")) {
		sl_send_reply("483","Too Many Hops");
		break;
	};
	if (msg:len >=  max_len ) {
		sl_send_reply("513", "Message too big");
		break;
	};
	
	# we record-route all messages -- to make sure that
	# subsequent messages will go through our proxy; that's
	# particularly good if upstream and downstream entities
	# use different transport protocol
	if (!method=="REGISTER") record_route();	

	# subsequent messages withing a dialog should take the
	# path determined by record-routing
	if (loose_route()) {
		# mark routing logic in request
		append_hf("P-hint: rr-enforced\r\n"); 
		route(1);
		break;
	};

	# if the request is for other domain use UsrLoc
	# (in case, it does not work, use the following command
	# with proper names and addresses in it)
	if (uri==myself) {
	
		if (!lookup_domain("To")) {
			log(1, "Unknown domain - message should be forwarded?");
			route(1);
			break;
		}
		
		if (method=="SUBSCRIBE") {
			if (!t_newtran()) {
				sl_reply_error();
				break;
			};
			
			if (!lookup_user("To") && (@msg.supported=~"eventlist")) {
				# such user doesn't exist and Supported header field
				#    -> probably RLS subscription

#				if ($did=="test") {
#					# redefine xcap root for this domain
#					log(1, "test domain\n");
#					$xcap_root = "http://vencore.sip-server.net/xcap";
#				}
				# else use default
				
 				if (lookup_domain("From")) {
	 				if (lookup_user("From")) {
						if (is_simple_rls_target("$uid-list")) {
							log(1, "it is simple subscription!\n");
							# handle_rls_subscription("1");
							# takes From UID and makes XCAP query
							# for user's list named "default"
							query_resource_list("default"); 
						}
					}
 				}
				
				if (!have_flat_list()) {
					# query_resource_list failed or was not called
					# do standard RLS query acording to To/AOR
					if (!query_rls_services()) {
						log(1, "XCAP query failed\n");
						t_reply("404", "User not found");
						break;
					}
				}
				
				handle_rls_subscription("1");
				break;
			}
				
			# SUBSCRIBE to existing user
			if (handle_subscription("registrar")) {; # uses uid from AVP (get_to_uid)
#owi:				if (@msg.event=~"presence\.winfo") {
#owi:					# log(1, "subscription to watcherinfo\n");
#owi:					dump_stored_winfo("registrar", "presence");
#owi:				}
#owi:				else {
#owi:					if (@msg.event=~"presence") {
#owi:						# log(1, "subscription to presence\n");
#owi:						# if offline user and new subscription (empty to tag)
#owi:						if (!target_online("registrar") && (@to.tag=="")) {
#owi:							store_winfo("registrar");
#owi:						}
#owi:					}
#owi:				}
				break; # something has to be here
			}
			
			break;
		};

		# get user (common for all other messages than SUBSCRIBE)
		if (!lookup_user("To")) {
			 log(1, "Unknown user - message should be forwarded?");
#			# break;
			append_hf("P-hint: unknown user\r\n"); 
		}
		
		if (method=="REGISTER") {

# Uncomment this if you want to use digest authentication
#			if (!www_authorize("iptel.org", "subscriber")) {
#				www_challenge("iptel.org", "0");
#				break;
#			};

			save("location");
			break;
		};
		
			
		if (method=="PUBLISH") {
			if (!t_newtran()) {
#			   log(1, "newtran error\n");
			   sl_reply_error();
			   break;
			};
			handle_publish("registrar");

			# deliver messages to online user
			# TODO: only if user goes from offline to online?
			if (target_online("registrar")) {
				# MSILO - dumping user's offline messages
#				log(1, "Dumping stored messages\n");
				m_dump("sip:127.0.0.1");
			}
			break;
		};
		
 		if (method=="NOTIFY") {
 			if (!t_newtran()) {
 			   log(1, "newtran error\n");
 			   sl_reply_error();
			   break;
 			};
 			if (!handle_notify()) {
 				t_reply("481", "Unable to handle notification");
 			}
 			break;
 		};
		
		if (method=="MESSAGE") {
			if (target_online("registrar")) {
#	            log(1, "MESSAGE for online user\n");
				# forward message to TAS
				#if (!t_forward_nonack("localhost", 5060);
				if (lookup("location")) {
#					log(1, "Delivering MESSAGE\n");
					if (!t_relay()) {
						sl_reply_error();
					};
				}
				else {
				
					if (!t_newtran()) {
					   log(1, "newtran error\n");
					   sl_reply_error();
					   break;
					};
					
					if (m_store("0", "sip:127.0.0.1")) {
		                if (!t_reply("202", "Accepted")) {
		                    sl_reply_error();
						}
	                }
					else {
						if (!t_reply("503", "Service Unavailable")) {
							sl_reply_error();
						};
					}
				}
				# set failure route, if fails store the message
				break;
			}
			else {
		        # MSILO - storing as offline message
				# TODO: store only text messages NOT isComposing... !
	            log(1, "storing MESSAGE using MSILO\n");
				
				if (!t_newtran()) {
				   log(1, "newtran error\n");
				   sl_reply_error();
				   break;
				};
				
	            if (m_store("0", "sip:127.0.0.1")) {
#	                log(1, "MSILO: offline message stored\n");
	                if (!t_reply("202", "Accepted")) {
	                    sl_reply_error();
	                };
	            } else {
	                log(1, "MSILO: offline message NOT stored\n");
	                if (!t_reply("503", "Service Unavailable")) {
	                    sl_reply_error();
	                };
		        };
			}
            break;
		}

		# native SIP destinations are handled using our USRLOC DB
		if (!lookup("location")) {
			sl_send_reply("404", "Not Found");
			break;
		};
	};
#	append_hf("P-hint: usrloc applied\r\n"); 
	route(1);
}

route[1] 
{
	# send it out now; use stateful forwarding as it works reliably
	# even for UDP2TCP
	if (!t_relay()) {
		sl_reply_error();
	};
}


-------------- next part --------------
A non-text attachment was scrubbed...
Name: initdb.sh
Type: application/x-sh
Size: 668 bytes
Desc: not available
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20060316/19945d4d/attachment.sh>
-------------- next part --------------
# /etc/ser/serctl.conf
#
# $Id: serctl.conf,v 1.5 2006/01/31 15:43:57 hallik Exp $
#
# serctl configuration file
#
# Please, remember that this file is imported as part of python code -
# syntax error in this file cause serctl stop working.
# This file is UTF-8 encoded.
#

#
# Disable/enable debugging mode
#
# DEBUG = False

#
# Database URI, this should be the SER database
#
DB_URI = 'mysql://ser:heslo@localhost/ser'

#
# Ser URI, this should be the SER URI for xmlrpc requests.
#
SER_URI = 'http://localhost:5060/'

#
# Private key and certificate files for HTTPS
# May be None (both!) if HTTPS transport do not require authentication.
#
SSL_KEY  = None
SSL_CERT = None


More information about the sr-users mailing list