[Serusers] can't register
Jan Janak
jan at iptel.org
Mon May 12 15:50:01 CEST 2003
Hello,
as I have told you, I need to see a message dump and possibly server
logs.
Jan.
On 12-05 15:40, Oleg Ustinov wrote:
> I can not login ONLY if I try login use MySQL. By default, without mysql
> it's all right.
>
> Any ideas?
>
> -----Original Message-----
> From: serusers-admin at iptel.org [mailto:serusers-admin at lists.iptel.org]On Behalf Of
> Jan Janak
> Sent: Monday, May 12, 2003 3:26 PM
> To: Oleg Ustinov
> Cc: serusers at lists.iptel.org
> Subject: Re: [Serusers] can't register
>
>
> Your request looped, make sure that URI in the Request-URI of the
> request resolves to the server on which ser is running.
>
> Or you can add an alias into the config file, see Ser Administrator's
> Guide for more details.
>
> If that is not the case then, please, send me also the message dumps.
>
> Jan.
>
> PS: CC serusers at lists.iptel.org or serhelp at lists.iptel.org (for bigger messages).
>
>
> On 12-05 14:31, Oleg Ustinov wrote:
> > Hello Jan,
> > this is:
> >
> > PS: If I try to comment (loadmodule "/usr/local/lib/ser/modules/auth.so")
> > SER don't started...
> >
> > --------------- start here
> > #
> > # $Id: ser.cfg,v 1.12 2002/10/21 02:40:06 jiri Exp $
> > #
> > # simple quick-start config script
> > #
> >
> > # ----------- global configuration parameters ------------------------
> >
> > debug=3 # debug level (cmd line: -dddddddddd)
> > fork=yes
> > log_stderror=yes # (cmd line: -E)
> > check_via=no # (cmd. line: -v)
> > dns=no # (cmd. line: -r)
> > rev_dns=no # (cmd. line: -R)
> > port=5060
> > children=4
> > fifo="/tmp/ser_fifo"
> >
> > # ------------------ module loading ----------------------------------
> >
> > # Uncomment this if you want to use SQL database
> > #!!!!!!!!! next1
> > loadmodule "/usr/local/lib/ser/modules/mysql.so"
> >
> > loadmodule "/usr/local/lib/ser/modules/sl.so"
> > loadmodule "/usr/local/lib/ser/modules/tm.so"
> > loadmodule "/usr/local/lib/ser/modules/rr.so"
> > loadmodule "/usr/local/lib/ser/modules/maxfwd.so"
> > loadmodule "/usr/local/lib/ser/modules/usrloc.so"
> > loadmodule "/usr/local/lib/ser/modules/registrar.so"
> >
> > # Uncomment this if you want digest authentication
> > # mysql.so must be loaded !
> > loadmodule "/usr/local/lib/ser/modules/auth.so"
> >
> > # ----------------- setting module-specific parameters ---------------
> >
> > # -- usrloc params --
> > #!!!!!!!!! next1
> > #modparam("usrloc", "db_mode", 0)
> >
> > # Uncomment this if you want to use SQL database
> > # for persistent storage and comment the previous line
> > #!!!!!!!!! next1
> > modparam("usrloc", "db_mode", 2)
> >
> > # -- auth params --
> > # Uncomment if you are using auth module
> > #modparam("auth", "secret", "alsdkhglaksdhfkloiwr")
> > #!!!!!!!!! next1
> > modparam("auth", "calculate_ha1", yes)
> > #
> > # If you set "calculate_ha1" parameter to yes (which true in this config),
> > # uncomment also the following parameter)
> > #!!!!!!!!! next1
> > modparam("auth", "password_column", "password")
> >
> > # ------------------------- request routing logic -------------------
> >
> > # main routing logic
> >
> > route{
> >
> > # initial sanity checks -- messages with
> > # max_forwars==0, or excessively long requests
> > if (!mf_process_maxfwd_header("10")) {
> > sl_send_reply("483","Too Many Hops");
> > break;
> > };
> > if (len_gt( max_len )) {
> > sl_send_reply("513", "Message too big");
> > break;
> > };
> >
> > # Do strict routing if pre-loaded route headers present
> > rewriteFromRoute();
> >
> > # 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 (method=="REGISTER") {
> >
> > # Uncomment this if you want to use digest authentication
> > #!!!!!!!!! start
> > if (!www_authorize("nectis.net", "subscriber")) {
> > www_challenge("nectis.net", "0");
> > break;
> > };
> > #!!!!!!!!! end
> > save("location");
> > break;
> > };
> >
> > # native SIP destinations are handled using our USRLOC DB
> > if (!lookup("location")) {
> > sl_send_reply("404", "Not Found");
> > break;
> > };
> > };
> > # forward to current uri now
> > if (!t_relay()) {
> > sl_reply_error();
> > };
> >
> > }
> > ---------------- end here
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > -----Original Message-----
> > From: Jan Janak [mailto:jan at iptel.org]
> > Sent: Monday, May 12, 2003 1:56 PM
> > To: Oleg Ustinov
> > Cc: serusers at lists.iptel.org
> > Subject: Re: [Serusers] can't register
> >
> >
> > Hello,
> >
> > could you send us message dumps and your configuration file ?
> >
> > Jan.
> >
> > On 12-05 11:53, Oleg Ustinov wrote:
> > > I've same problem. Probably it is a MySQL connectivity problem.
> > > I've install it all as described in Dan's HOWTO, with no MySQL SER still
> > > working.
> > > With MySQL it's don't working (SerWeb too): stopped at MySQL
> > > authorization...
> > >
> > > Where is problem?
> > > -----Original Message-----
> > > From: serusers-admin at iptel.org [mailto:serusers-admin at lists.iptel.org]On
> > Behalf
> > > Of Serge Kravchenko
> > > Sent: Wednesday, April 09, 2003 12:00 PM
> > > To: serusers at lists.iptel.org
> > > Subject: [Serusers] can't register
> > >
> > >
> > > hello.
> > >
> > > i've been trying to register to ser with couple of UAs like x10,
> estara
> > > and snom100.
> > > the response is following:
> > >
> > > RECEIVE << ser_ip_address:5060
> > > SIP/2.0 483 Too Many Hops
> > > Via: SIP/2.0/UDP my_ip_address:5060
> > > From: <sip:krav at sip.sipuser.com>
> > > To:
> <sip:krav at sip.sipuser.com>;tag=53d3b67acb7f1aa5eed7d0549c34647b.dea0
> > > Call-ID: 77FCCA606A8111D7B7A2000021F0A5BA at sip.sipuser.com
> > > CSeq: 1788 REGISTER
> > > Server: Sip EXpress router (0.8.10 (i386/freebsd))
> > > Content-Length: 0
> > > Warning: 392 212.58.142.4:5060 "Noisy feedback tells: pid=93155
> > > req_src_ip=ser_ip_address in_uri=sip:sip.sipuser.com
> > > out_uri=sip:sip.sipuser.com via_cnt==12"
> > >
> > > mysql has been installed properly, and i can add subscribers using
> > > serctl......
> > > i guess there's something wrong with script, which is default, i've
> just
> > > uncommented everything regarding auth and mysql.
> > >
> > > and following is what i get in ser box logs:
> > >
> > > May 12 09:08:57 sip ./ser[93190]: ERROR: parse_cseq: bad cseq
> > > May 12 09:08:57 sip ./ser[93190]: ERROR: get_hdr_field: bad cseq
> > > May 12 09:08:57 sip ./ser[93190]: ERROR: build_res_buf_from_sip_req:
> > alas,
> > > parse_headers failed
> > >
> > > any suggestions please?
> > >
> > > thanks.
> >
> >
>
> _______________________________________________
> Serusers mailing list
> serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20030512/c88eeb03/attachment.pgp>
More information about the sr-users
mailing list