When I try to utilize the IM or Click_to_Dial interfaces in Serweb (CVS)
I get a 408 Request Timed Out.
Any ideas? Everything else works.
Gary Goodloff
KALG Communications, LTD
T: 402-898-4152
C: 402-208-5183
F: 413-294-3404
Hello,
After I extended the dictionary of radiusclient the auth_radius module works
fine. I see lots of messages sent by SER in the logfile of Radiator.
However the authentication failed:
Mon May 12 19:48:13 2003: DEBUG: Radius::AuthLDAP2 looks for match with yang
Mon May 12 19:48:13 2003: WARNING: No CHAP-Password or User-Password in
request: does your dictionary have User-Password in it?
Mon May 12 19:48:13 2003: DEBUG: Radius::AuthLDAP2 REJECT: Bad Encrypted
password
Mon May 12 19:48:13 2003: INFO: Connecting to localhost, port 389
Mon May 12 19:48:13 2003: INFO: Attempting to bind with , (server
localhost:389)
Mon May 12 19:48:13 2003: DEBUG: No entries for DEFAULT found in LDAP
database
Mon May 12 19:48:13 2003: INFO: Access rejected for yang: Bad Encrypted
password
How can I configure radiator for digest authentication? Does anyone here
have a sample config?
Thanks
yang
----- Original Message -----
From: "Jan Janak" <jan(a)iptel.org>
To: "Yang Xiang" <yang.xiang(a)iitb.fraunhofer.de>
Cc: "Andrei Pelinescu-Onciul" <pelinescu-onciul(a)fokus.fraunhofer.de>;
<serdev(a)lists.iptel.org>
Sent: Monday, May 12, 2003 1:04 PM
Subject: Re: [Serdev] configure radius support and question on debug
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(a)lists.iptel.org or serhelp(a)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@iptel.org]
> Sent: Monday, May 12, 2003 1:56 PM
> To: Oleg Ustinov
> Cc: serusers(a)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(a)iptel.org [mailto:serusers-admin@lists.iptel.org]On
> Behalf
> > Of Serge Kravchenko
> > Sent: Wednesday, April 09, 2003 12:00 PM
> > To: serusers(a)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@sip.sipuser.com>
> > To: <sip:krav@sip.sipuser.com>;tag=53d3b67acb7f1aa5eed7d0549c34647b.dea0
> > Call-ID: 77FCCA606A8111D7B7A2000021F0A5BA(a)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.
>
>
I have committed to using SER and SERWEB from the current CVS download.
(5-7-03). SER works great, especially the mysql accounting. The only
problem I am having now is the IM portion of the SERWEB interface. I
receive a 400 bad request when I try to forward a IM to another person.
Does this person have to be online in order to receive the IM or will
they receive it when they log into their web interface.
Also - what exactly is needed to place PC2PHONE calls using SER? I am
so lost on what is needed equipment wise. The initial plan is to make
PHONE2PC and PC2PHONE calls for trial and error - then we want to make
it goto GSM and SMS.
Thanks
Gary Goodloff
KALG Communications / Nebraska Classifieds
T: 402-898-4152
C: 402-208-5183
F: 413-294-3404
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@sip.sipuser.com>
To: <sip:krav@sip.sipuser.com>;tag=53d3b67acb7f1aa5eed7d0549c34647b.dea0
Call-ID: 77FCCA606A8111D7B7A2000021F0A5BA(a)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.comout_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.
After I managed to login to serweb through the
../admin/index.php as admin user, I 'm trying to
access the admin user's account.
I can open the page and even make changes and save
them, but I'm receiving the following warning message:
Warning: fopen(�/tmp/ser_fifo�, �w�) � Permission
denied in /var/www/html/serweb/functions.php on line
172
Sorry � cannot open fifo
Nothing has been changed on line 172 of the
functions.php file and the ser_fifo file exists in the
/tmp directory with 0 bytes size.
Any idea what it might cause such a problem ?
best regards,
george
After I solved the problem with the code browsing (thanks to
Daniel-Constantin), I have exactly the same problem like Anna has.
I tried to follow Daniel's help as well as the manual ones on
www.pp.net/manual/, but as I realized the /usr/lib/php4/ folder on
RedHat 8.0 contains only the following PHP extensions: imap.so, ldap.so
& pgsql.so.
I searched the RH RPM for any relevant package such as
"php-mysql-x.x.x.x", in order to find a mysql.so, but nothing is there.
Does anybody now if a php-mysql package is released for RH 8.0, or if I
can use any one from a previous RH edition and where I can find it?
Thanks in advance,
George
COMer - Programming Language for Component Development
If you are a Windows Programmer, I would like to introduce something
interesting to you.
COMer is a native programming language for COM component development.
A COM component can be easily made in COMer as follow: [File:MyCom.cm]
#ifndef _MYCOM_CM
#define _MYCOM_CM
/*
* A COM Class
*/
[ clsid = "{EF6CD47E-B844-4219-B582-6F9FE16D45F6}",
progid = "Dexterity.MyCom1.1",
helpstring = "Dexterity Com1 Class",
export, unhandle ]
com CMyCom1
{
/*
* An Interface implemented in this class
*/
[iid="{A123799B-1D8B-4efb-8D43-42AE582767C1}"]
interface IMyInterface
{
method SetValue(int dVal)
{
m_dValue = dVal;
done;
}
method GetDoubleValue(int &dVal)
{
dVal = m_dValue << 1;
done;
}
}
/*
* Instance variables
*/
instvars
{
int m_dValue;
}
}
#endif
The design of COMer is native to the concept of the Component Object Model
(COM) mechanism. COM classes are defined as in the way that COM specifies.
Interfaces are specified or defined within a COM class and the methods of
the interfaces are defined within the interfaces. It is simple.
A special characteristic of COMer is that the COMer compiler generates C++
source code files as its final outputs. Therefore, you can use C++ code
within the COMer classes, like Lex, Yacc or MIDL. To build the component,
what you need to do is to specify one more file only to indicate the module
of the component to build.
E.g: [File:MyCom.cmdef]
module: inprocsvr
source { MyCom.cm }
Then, by the following command line (cmc is the COMer compiler program):
> cmc MyCom.cmdef
COMer compiler will generate the following C++ files:
Main.cpp
MyCom.h
MyCom.cpp
MyCom.def
Makefile
Finally, you only need to build these C++ files by using the generated
makefile by C++ build tools. The component 'MyCom.dll' will then be made.
It's so simple!
Lets try it! You will like it!
Home Page:
http://www.dexterity.com.hk/COMer/
Download Trial Version:
http://www.dexterity.com.hk/COMer/Download/Download.asp
Dexterity Technologies Limited
http://www.dexterity.com.hk/
If you don't want to receive any more message from us, please send an
e-mail to comer(a)dexteritytech.com to unsubscribe.
Please don't reply this e-mail.
We apologize for any inconvenience caused.
Hello,
I am trying to use SER in a test environment (we are getting ready to
test a VoIP product that we are building). I have ser running and can
register with authentication on the server. I have also installed
serweb, and it looks fine until I try to log in. I put in the user name
and password that I have added as admin, and the screen just clears the
username and password fields and sits there. I have tried looking
through the PHP code to understand how it does authentication, but I
don't know PHP well enough to understand what it is authenticating
against. I suspect a problem with my domain setup, because since it is a
test environment, I did not use our actual domain name, I just used
localhost as the domain.
Am I on the right track, and if so, where do I need to look to make sure
I have everything configured right?
Tom Bowar
bowart(a)nextnetwireless.com
---> Have you configured PHP to load the MySQL extension?
How do I do that, bellow I have experimented some with the
/etc/php.ini file, but still the same result !!
So how do I configure PGP tp load the MySQL extension
Many thanks again for quick answers
/ANNA
; Directory in which the loadable extensions (modules) reside.
;extension_dir = /usr/lib/php4
extension_dir = /usr/local/lib/ser/modules [ /usr/local/lib/ser/modules/mysql.so ]
;Whether or not to enable the dl() function. The dl() function does NOT work
; properly in multithreaded servers, such as IIS or Zeus, and is automatically
; disabled on them.
enable_dl = On
;extension=ldap.so
;extension=mhash.so
;extension=mssql65.so
;extension=mssql70.so
extension=mysql.so
;extension=oas.so
;extension=odbc.so
;extension=oci8.so
;extension=oracle.so
;extension=pdf.so
__________________________________________________________________
anna rahm
ICQ#: 176699319
Current ICQ status:
+ More ways to contact me
__________________________________________________________________