Hi Antonio,
Ur instruction seem working for me...
but after I left blank for e password, may I use
'sip.nyp.edu.sg' for Domain (realm) for the default
user 'admin'?
as i used 'sip.nyp.edu.sg', e terminal promt creating
database ser ... then it promt me for password again.
--- Antonio Rabena <antonio(a)lgatelecom.net> wrote:
It will ask you for root password of mysql. If you
haved installed
mysql from rpm and haven't set any password.. then
it should be blank..
just press enter..
Regards,
Antonio
eric quek wrote:
What shld I use for password/admin?
Thx u vry much Antonio
U r vry kind.
--- Antonio Rabena <antonio(a)lgatelecom.net> wrote:
>Ok.. from your config.. u use the default
user/pass
>for ser database..
>there's a script included on the package... run
>this..
>
># ser_mysql.sh create
>
>
>
>eric quek wrote:
>
>
>
>>#
>># $Id: ser.cfg,v 1.21.4.1 2003/11/10 15:35:15
>>
>>
>andrei
>
>
>>Exp $
>>#
>># simple quick-start config script
>>#
>>
>># ----------- global configuration parameters
>>------------------------
>>
>>debug=7 # debug level (cmd line:
>>
>>
>-dddddddddd)
>
>
>>fork=no
>>log_stderror=yes # (cmd line: -E)
>>
>>/* Uncomment these lines to enter debugging mode
>>debug=7
>>fork=no
>>log_stderror=yes
>>*/
>>
>>listen=172.16.220.133
>>listen=127.0.0.1
>>alias="sip.nyp.edu.sg"
>>alias=172.16.220.133
>>alias=127.0.0.1
>>
>>check_via=yes # (cmd. line: -v)
>>dns=yes # (cmd. line: -r)
>>rev_dns=no # (cmd. line: -R)
>>port=5060
>>children=4
>>fifo="/tmp/ser_fifo"
>>
>># ------------------ module loading
>>----------------------------------
>>
>>loadmodule "/usr/lib/ser/modules/mysql.so"
>>loadmodule "/usr/lib/ser/modules/sl.so"
>>loadmodule "/usr/lib/ser/modules/tm.so"
>>loadmodule "/usr/lib/ser/modules/rr.so"
>>loadmodule "/usr/lib/ser/modules/maxfwd.so"
>>loadmodule "/usr/lib/ser/modules/usrloc.so"
>>loadmodule "/usr/lib/ser/modules/registrar.so"
>>loadmodule "/usr/lib/ser/modules/auth.so"
>>loadmodule "/usr/lib/ser/modules/auth_db.so"
>>loadmodule "/usr/lib/ser/modules/acc.so"
>>loadmodule "/usr/lib/ser/modules/exec.so"
>>loadmodule "/usr/lib/ser/modules/group.so"
>>loadmodule "/usr/lib/ser/modules/domain.so"
>>loadmodule "/usr/lib/ser/modules/print.so"
>>loadmodule "/usr/lib/ser/modules/textops.so"
>>loadmodule "/usr/lib/ser/modules/uri.so"
>>loadmodule "/usr/lib/ser/modules/msilo.so"
>>loadmodule "/usr/lib/ser/modules/vm.so"
>>
>># ----------------- setting module-specific
>>
>>
>parameters
>
>
>>---------------
>>
>># -- tm params --
>>modparam("tm", "fr_timer", 12)
>>modparam("tm", "fr_inv_timer", 24)
>>
>># -- rr params --
>># add value to ;lr param to make some broken UAs
>>
>>
>happy
>
>
>>modparam("rr", "enable_full_lr", 1)
>>
>># -- usrloc params --
>>#2 enables write-back to persistent mysql storage
>>
>>
>for
>
>
>>speed
>>#disable=0, write-through=1
>>modparam("usrloc", "db_mode", 2)
>>#minimize write back window - default is 60
seconds
>>modparam("usrloc",
"timer_interval", 120)
>>#database location
>>modparam("usrloc", "db_url",
>>"sql://ser:heslo@localhost/ser")
>>
>># -- auth params --
>>#database location
>>modparam("auth_db", "db_url",
>>"sql://ser:heslo@localhost/ser")
>>#allows clear text password in the mysql database
>>modparam("auth_db", "calculate_ha1", yes)
>>#name of password column in mysql database
>>modparam("auth_db", "password_column",
"password")
>>
>># -- acc params --
>>modparam("acc", "log_level", 1)
>>modparam("acc", "log_flag", 1)
>>modparam("acc", "log_missed_flag", 3)
>>
>># -- msilo params --
>>modparam("msilo", "db_table", "silo")
>>
>># ------------------------- request routing
logic
>>-------------------
>># main routing logic
>>
>>route{
>>
>> #checks messages with max_forwards==0
>> if (!mf_process_maxfwd_header("10"))
>> {
>> sl_send_reply("483","Too Many Hops");
>> break;
>> };
>> #or excessively long requests
>> 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
>> record_route();
>>
>> # loose-route processing
>> if (loose_route())
>> {
>> t_relay();
>> break;
>> };
>>
>> #labeled all transaction for accounting
>> setflag(1);
>>
=== message truncated ===
__________________________________________________
Do You Yahoo!?
Download the latest ringtones, games, and more!