Hi all,
Is there any RFC available which I can refer to, for
writting a client program for SER PA module ? I am
intersted in GET/SET Presence information, subscribe,
notify, unsubscribe messages for a user with SER PA
module.
Thanks in advance,
Santosh
__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com
Hello all !
I have problem with this feature
As was described, I:
- created separate subscriber and location database table for my second
domain called subscriber.gdynia and location.gdynia
- configure my script properly (I hope) ;)
if (method=="REGISTER") {
# Uncomment this if you want to use digest authentication
if (!www_authorize("gdynia.pl", "subscriber.gdynia")) {
www_challenge("gdynia.pl", "0");
break;
};
save("location.gdynia");
log(3,"REGISTER from gdynia.pl");
sl_send_reply("200", "ok");
break;
if (!www_authorize("gda.pl", "subscriber"))
{
www_challenge("gda.pl", "0");
break;
};
save("location");
log(3,"REGISTER from gda.pl");
sl_send_reply("200", "ok");
break;
};
Nobody is regigisted from this domain :(
Is this same solution ( create separate table) in the newest version of
SER ?
Greetings
Andrzej Radke
hi, sometime last month someone here offered to help me sort out getting two
SER servers working behind two Linux firewalls doing NAT with iptables.
As i said then i was having email problems but that's all fixed now so if that
person, or anyone else can help, please say.
cheers, and i hope i can get this working :)
--
Mat Harris ( ) ASCII Ribbon Campaign
mat.harris(a)genestate.com X against HTML on email
Network/Systems Administrator / \ and Usenet posts
And are you using a CVS version of ser and latest serweb version ?
We tried to install both on a new machine couple days ago and it worked
fine, that's why I am asking.
Jan.
On 13-05 02:21, George KAPELIOS wrote:
> Yes it is.
>
> George
>
> --- Jan Janak <jan(a)iptel.org> wrote:
> > Hello,
> >
> > is your ser running and working ?
> >
> > Jan.
> >
> > On 12-05 19:20, George KAPELIOS wrote:
> > > Enabling the "write" permission of ser_fifo the
> > warning message
> > > disappeared, but still a message (in red fonts)
> > appears in the main
> > > frame: "sorry - fifo reading error".
> > >
> > > The "read" attribute for the file is also enabled.
> > Is anybody knows what
> > > is still wrong? What is the form trying to read
> > from the fifo in that
> > > point?
> > >
> > > Regards,
> > > George
> > >
> > > -----Original Message-----
> > > From: santosh s [mailto:apna22@yahoo.com]
> > > Sent: Monday, 12 May, 2003 12:24
> > > To: George KAPELIOS
> > > Subject: Re: [Serusers] Cannot open fifo
> > >
> > > Just check out if the ser_fifo has "write"
> > permision
> > > inside /tmp directory.
> > >
> > > Regards,
> > > Santosh
> > >
> > > --- George KAPELIOS <kapelios(a)yahoo.com> wrote:
> > > > 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
> > > >
> > > > _______________________________________________
> > > > Serusers mailing list
> > > > serusers(a)lists.iptel.org
> > > > http://lists.iptel.org/mailman/listinfo/serusers
> > >
> > >
> > > __________________________________
> > > Do you Yahoo!?
> > > The New Yahoo! Search - Faster. Easier. Bingo.
> > > http://search.yahoo.com
> >
>
> > ATTACHMENT part 2 application/pgp-signature
>
>
Hi,
I'm doing a few tests to try SER.
I use a simple configuration:
-two Cisco ip phones
-one Cisco 1760 Voice gateway with ISDN interfaces.
Calling between the ip phones works, but going through
the Voice Gateway is something else... I don't really
understand how to edit the config file, and I suppose
their's a simple way. Here's how I tried.
I added these lines to the default config:
if (uri=~"^sip:452564@10.1.1.22") {
t_relay_to("10.1.1.240","5060");
break;
};
And I call always teh same number 452564. 10.1.1.240 being
my gateway, and 10.1.1.22 the SIP proxy server.
An extract of the debbuging info:
...
6(13970) SIP Request:
6(13970) method: <ACK>
6(13970) uri: <sip:452564@10.1.1.22>
6(13970) version: <SIP/2.0>
6(13970) parse_headers: flags=1
...
6(13970) DEBUG: add_param: tag=d907c037823644515dfe0ede38ca9976.1dfc
6(13970) end of header reached, state=29
6(13970) DEBUG: get_hdr_field: <To> [66]; uri=[sip:452564@10.1.1.22]
6(13970) DEBUG: to body [<sip:452564@10.1.1.22>]
6(13970) DEBUG: sl_filter_ACK : local ACK found -> dropping it!
6(13970) error:...
..
If you see something big, please let me know.
THanks.
Sebastien Peterson
Luxembourg.
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
# if (!www_authorize("iptel.org", "subscriber")) {
# www_challenge("iptel.org", "0");
# break;
# };
save("location");
break;
};
# native SIP destinations are handled using our USRLOC DB
if (!lookup("location")) {
sl_send_reply("404", "Not Found");
break;
};
};
if (uri=~"^sip:452564@10.1.1.22") {
t_relay_to("10.1.1.240","5060");
break;
};
# forward to current uri now
if (!t_relay()) {
sl_reply_error();
};
}
Enabling the "write" permission of ser_fifo the warning message
disappeared, but still a message (in red fonts) appears in the main
frame: "sorry - fifo reading error".
The "read" attribute for the file is also enabled. Is anybody knows what
is still wrong? What is the form trying to read from the fifo in that
point?
Regards,
George
-----Original Message-----
From: santosh s [mailto:apna22@yahoo.com]
Sent: Monday, 12 May, 2003 12:24
To: George KAPELIOS
Subject: Re: [Serusers] Cannot open fifo
Just check out if the ser_fifo has "write" permision
inside /tmp directory.
Regards,
Santosh
--- George KAPELIOS <kapelios(a)yahoo.com> wrote:
> 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
>
> _______________________________________________
> Serusers mailing list
> serusers(a)lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers
__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com
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