Hello SER Folks,
Wondering if anyone can help me out, I am having problems with creating
mysql database, I execute the command /usr/sbin/ser_mysql.sh create, I
do get asked for a root password, which I am not sure of therefore I
execute this command /usr/bin/mysqladmin -u root password xxxxxxx, here
I get the message saying, /usr/bin/mysqladmin: connects to server at
'localhost' failed, along with an error message
Error: 'Access denied for user 'root@localhost' (Using password: N0)
How do I overcome this problem?
Another thing I wanted to ask was to increase the number connections to
mysql as described in the quick install link
http://cvs.berlios.de/cgi-bin/viewcvs.cgi/*checkout*/ser/sip_router/INST
ALL
i.e. set=variable = max_connections=500
I really would appreciate your assistance.
Many thanks in advance.
Best regards
Saber
Mobile Internet is just a click away
========================================================================
====================================================================
This message is confidential and is for the named recipient (s) only. It
may be subject to legal privilege. If you receive this message but are
not named recipient or a person responsible for delivering it to a named
recipient, please contact us immediately. You must not use, distribute,
copy, disclose or take any action in reliance on the e-mail or its
contents.
========================================================================
====================================================================
-----Original Message-----
From: serusers-bounces(a)iptel.org [mailto:serusers-bounces@lists.iptel.org] On
Behalf Of serusers-request(a)lists.iptel.org
Sent: 15 April 2004 10:00
To: serusers(a)lists.iptel.org
Subject: Serusers Digest, Vol 12, Issue 16
Send Serusers mailing list submissions to
serusers(a)lists.iptel.org
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.iptel.org/mailman/listinfo/serusers
or, via email, send a message with subject or body 'help' to
serusers-request(a)lists.iptel.org
You can reach the person managing the list at
serusers-owner(a)lists.iptel.org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Serusers digest..."
Today's Topics:
1. Re: SER 0.8.12 and RFC (CURRO_DOMINGUEZ)
2. How to set "local ip" for SEMS? (Arnd Vehling)
3. Re: How to set "local ip" for SEMS? (Arnd Vehling)
4. rtp proxy problem (santhosh)
5. Check From-User against To-User (Andreas Granig)
6. Check From-User against To-User (Juha Heinanen)
7. lookup("...") (Atle Samuelsen)
8. Re: number reader (R)
9. Cisco ATA 186 adapter Firmware (SIP) (Ashok Patel)
10. New bugfix version of radiusclient library (0.4.2) (Maxim Sobolev)
11. DB Authentication Issues (Continued) (Chris Bookholt)
12. Re: DB Authentication Issues (Continued) (Jan Janak)
13. Re: DB Authentication Issues (The Pain Continues) (Chris Bookholt)
14. Re: DB Authentication Issues (The Pain Continues) (Chris Bookholt)
15. rtp proxy recommendations? (Andy Pyles)
16. www and proxy authentication (R)
17. RE: SER response - status: 483 Too Many Hop (Shu-Liang Lee)
18. how to found SER server works like two local exchanges (wangji)
19. Re: DB Authentication Issues (Continued) (Juha Heinanen)
20. serweb does't send mail (Teppo Lunnas)
21. Re: Cisco ATA 186 adapter Firmware (SIP) (Andreas Granig)
22. changing an uri (Alessio Focardi)
23. Re: changing an uri (Atle Samuelsen)
24. About the serweb login name and password (Shu-Liang Lee)
25. Re: About the serweb login name and password (lakmal(a)lankacom.net)
26. Re: How to set "local ip" for SEMS? (Ulrich Abend)
27. Re: www and proxy authentication (Klaus Darilion)
28. RE: About the serweb login name and password (Shu-Liang Lee)
----------------------------------------------------------------------
Message: 1
Date: Wed, 14 Apr 2004 12:07:43 +0200
From: CURRO_DOMINGUEZ <CURRO_DOMINGUEZ(a)terra.es>
Subject: Re: [Serusers] SER 0.8.12 and RFC
To: serusers(a)lists.iptel.org
Message-ID: <165e3198c0.198c0165e3(a)teleline.es>
Content-Type: text/plain; charset=us-ascii
Hello,
Klaus, Jan, thank you very much for your answers. Below is the list of
RFCs I'm interested in. As Klaus says, maybe some of them don't need
explicit support, because ser can route these new messages. Or maybe
there are RFCs that are not fully supported. Please, let me know if
this is the case and if it could be necessary writting a new module or
changing SER core.
By the way, can SER initiate a session release (it means, generate a
BYE) or generate a REGISTER to an application server? If not, what
would be necessary from your point of view?
Again, thank you very much for your time and knowledge. I know that
there are a lot of questions in this message, so thank you.
Curro
(These five RFCs are related to new messages, so I suppose Yes)
RFC 2976 (October 2000): "The SIP INFO method".
RFC 3262 (June 2002): "Reliability of provisional responses in Session
Initiation Protocol (SIP)".
(can SER generate PRACK, besides proxying it?)
RFC 3515 (April 2003): "The Session Initiation Protocol (SIP) REFER
method".
RFC 3311 (September 2002): "The Session Initiation Protocol (SIP)
UPDATE method".
RFC 3428 (December 2002): "Session Initiation Protocol (SIP) Extension
for Instant Messaging".
RFC 3313 (January 2003): "Private Session Initiation Protocol (SIP)
Extensions for Media Authorization".
RFC 3265 (June 2002): "Session Initiation Protocol (SIP) Specific Event
Notification".
(As far as I know, SER handles SUBSCRIBE and NOTIFY, but I want to know
whether SER can act as the subscriber to the event information, it
means, generate SUBSCRIBE)
RFC 3327 (December 2002): "Session Initiation Protocol Extension Header
Field for Registering Non-Adjacent Contacts".
RFC 3325 (November 2002): "Private Extensions to the Session Initiation
Protocol (SIP) for Network Asserted Identity within Trusted Networks".
RFC 3323 (November 2002): "A Privacy Mechanism for the Session
Initiation Protocol (SIP)".
RFC 3608 (October 2003): "Session Initiation Protocol (SIP) Extension
Header Field for Service Route Discovery During Registration".
RFC 3486 (February 2003): "Compressing the Session Initiation Protocol
(SIP)".
RFC 3455 (January 2003): "Private Header (P-Header) Extensions to the
Session Initiation Protocol (SIP) for the 3rd-Generation Partnership
Project (3GPP)".
RFC 3329 (January 2003): "Security Mechanism Agreement for the Session
Initiation Protocol (SIP)".
----- Mensaje Original -----
De: Jan Janak <jan(a)iptel.org>
Fecha: Lunes, Abril 12, 2004 10:28 pm
Asunto: Re: [Serusers] SER 0.8.12 and RFC
There is no such list. If you need it then put
together a list of RFCs
you are interested in and we will add yes/no to each entry in the
list.
Jan.
On 12-04 12:38, CURRO_DOMINGUEZ wrote:
Hello all the list
I'm looking some information about SER at
www.iptel.org but I've
found
nothing. I would like to know the list of RFC
that SER
implements
(related to SIP or SIP extensions), besides
RFC3261.
I think it could be interesting to add this information at the
product
sheet.
Can you help me?
Thank you very much
Curro
_______________________________________________
Serusers mailing list
serusers(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers
------------------------------
Message: 2
Date: Wed, 14 Apr 2004 13:50:54 +0200
From: Arnd Vehling <av(a)nethead.de>
Subject: [Serusers] How to set "local ip" for SEMS?
To: SER Mailing List <serusers(a)lists.iptel.org>
Message-ID: <407D259E.1050004(a)nethead.de>
Content-Type: text/plain; charset=us-ascii; format=flowed
Hi,
is there any way to adjust the "local ip" for sems? I.E. with
a "listen=my.ip.addr.ess? Is the ip address of sems crucial
for voicemail operation?
Since i moved my ser/voicemail instance on a different ip
address from the main SER server i have probs with the voicemail
module if triggered via a "on_failure" event.
best regards,
Arnd
------------------------------
Message: 3
Date: Wed, 14 Apr 2004 17:11:43 +0200
From: Arnd Vehling <av(a)nethead.de>
Subject: Re: [Serusers] How to set "local ip" for SEMS?
To: Arnd Vehling <av(a)nethead.de>
Cc: SER Mailing List <serusers(a)lists.iptel.org>
Message-ID: <407D54AF.7090505(a)nethead.de>
Content-Type: text/plain; charset=us-ascii; format=flowed
Arnd Vehling wrote:
is there any way to adjust the "local ip"
for sems? I.E. with
a "listen=my.ip.addr.ess? Is the ip address of sems crucial
for voicemail operation?
"sems -d <interface>" works! I didnt found any hint how to specify
the listen address in the config-file though. Anybody?
:: Arnd ::
------------------------------
Message: 4
Date: Wed, 14 Apr 2004 19:29:07 +0530
From: santhosh <santhosh(a)integsrv.com>
Subject: [Serusers] rtp proxy problem
To: serusers(a)lists.iptel.org
Message-ID: <407D43AB.5060000(a)integsrv.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Hi ,
I am testing two cisco ATA behind NAT(using rtpproxy). Sometimes the
call goes perfect but suddenly it stops.Sometimes it rings but the voice
does't pass through.
The logs show error connecting to the rtpproxy.
I'm using RTPPROXY (1.19.2.10) and ser ( 0.8.12-tcp_nonb ).
My configuration file is
loadmodule "/usr/local/lib/ser/modules/nathelper.so"
loadmodule "/usr/local/lib/ser/modules/textops.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"
# ----------------- setting module-specific parameters ---------------
# -- usrloc params --
modparam("usrloc", "db_mode", 0)
# -- rr params --
# add value to ;lr param to make some broken UAs happy
modparam("rr", "enable_full_lr", 1)
route{
# compulsory processing of Route header fields and adding RR
loose_route();
# ATA's are symmetric but don't advertise it -- force use of
rport
force_rport();
fix_nated_contact();
/* registration (uses rewritten contacts) */
if (method=="REGISTER") {
save("location");
break;
};
if (method=="INVITE") {
record_route();
force_rtp_proxy();
/* set up reply processing */
t_on_reply("1");
if (method == "INVITE" || method == "CANCEL") {
if (!lookup("location")) {
sl_send_reply("404", "Not Found");
break;
};
};
/* set up reply processing and forward statefuly */
t_relay();
}
# all incoming replies for t_onrepli-ed transactions enter here
onreply_route[1] {
if (status=~"2[0-9][0-9]") {
fix_nated_contact();
force_rtp_proxy();
};
}
Pls help me out !
thanks in advance
santhosh
------------------------------
Message: 5
Date: Wed, 14 Apr 2004 17:26:11 +0200
From: Andreas Granig <a.granig(a)inode.at>
Subject: [Serusers] Check From-User against To-User
To: serusers(a)lists.iptel.org
Message-ID: <407D5813.4090008(a)inode.at>
Content-Type: text/plain; charset=us-ascii; format=flowed
Hi,
I was wondering if there is a simple possibility inside ser.cfg to check
if someone is trying to call herself. Or is it only possible with
exec_msg where I could match SIP_HF_FROM against SIP_HF_TO or something
like this?
I'd need it for the vm-module to determine if someone is trying to reach
his own voice box.
Regards,
Andy
------------------------------
Message: 6
Date: Wed, 14 Apr 2004 20:16:49 +0300
From: Juha Heinanen <jh(a)tutpro.com>
Subject: [Serusers] Check From-User against To-User
To: Andreas Granig <a.granig(a)inode.at>
Cc: serusers(a)lists.iptel.org
Message-ID: <16509.29185.799782.32694(a)tutpro.com>
Content-Type: text/plain; charset=us-ascii
Andreas Granig writes:
I'd need it for the vm-module to determine if
someone is trying to
reach
his own voice box.
i'm not sure how useful this kind of thing would be, since i would like
to user to be able to reach his/her own voice box from ANY phone. also,
the user could have several sip uris of his/her own and only one voice
box.
a better solution might be to ivr e.g. # "digit" and then get voice box
menu.
-- juha
------------------------------
Message: 7
Date: Wed, 14 Apr 2004 19:21:09 +0200
From: Atle Samuelsen <clona(a)camaro.no>
Subject: [Serusers] lookup("...")
To: serusers(a)lists.iptel.org
Message-ID: <20040414172109.GO54719(a)chuck.cyberhouse.no>
Content-Type: text/plain; charset=us-ascii
Hey Guys (And most likely No girls :( )
I'v got this scenario now :
if a user does have voicemail everything is great!. No problems. Thou,
my case is that I've got users who does not have a voicemail service,
and may disconnect from my gw.
Then when a imcoming call coms, the "caller" get's a 404 (per today).
So the way I want it to be is :
if (!lookup("location"){
(lookup("subscirber"){
log(1,"user's not online but does exist");
sl_send_reply("404", "Not found,but exists");
break;
}
log(1,"404 , user not found");
sl_send_reply("404","Not found");
break;
}
If I do it like this,the !lookup("subscriber") will fail, because it
cant do this.
How can I get this to work ?
I see 2 difrent way's of doing it.
1: Create a database with the name users, and dump all my users from
this into that database,, then have the same structure etc as I have
in the locations database..
.. As far as I see , this will be a ugly hack.
2: make a new function for this ..
How and what do you guys mean ?
Thanks for a quick answer :)
You guys are REALLY helpful both night and day.
- Atle
------------------------------
Message: 8
Date: Wed, 14 Apr 2004 11:27:25 -0700 (PDT)
From: R <mypop3mail(a)yahoo.com>
Subject: Re: [Serusers] number reader
To: Raphael Coeffic <rco(a)iptel.org>
Cc: serusers(a)lists.iptel.org
Message-ID: <20040414182725.20534.qmail(a)web20109.mail.yahoo.com>
Content-Type: text/plain; charset=us-ascii
Thanks Raphael,
It looks like action rewriteuser() can be used to
replace the called number. Is there a caller' number
variable exported, so I can replace the number?
Regards,
Richard
--- Raphael Coeffic <rco(a)iptel.org> wrote:
Hello Richard,
The behavior you report is normal. That means, it is
not a problem but the
main feature of the module. If you want number
reader to read the caller's
number, you should try to modify the module's code
by yourself so that it
fits your needs (it is really easy if you can
understand c++ code).
-Raphael.
----- Original Message -----
From: "R" <mypop3mail(a)yahoo.com>
To: <serusers(a)lists.iptel.org>
Sent: Wednesday, April 14, 2004 5:23 AM
Subject: [Serusers] number reader
Hi,
I have ser 0.8.12 with sems 2004/01/04 on Fedora
core
1. The number reader only reads the calling
number,
not the caller's number. Anyone had this
problem
before?
Thanks,
Richard
__________________________________
Do you Yahoo!?
Yahoo! Tax Center - File online by April 15th
http://taxes.yahoo.com/filing.html
_______________________________________________
Serusers mailing list
serusers(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers
__________________________________
Do you Yahoo!?
Yahoo! Tax Center - File online by April 15th
http://taxes.yahoo.com/filing.html
------------------------------
Message: 9
Date: Wed, 14 Apr 2004 11:32:11 -0700 (PDT)
From: Ashok Patel <ashokpatel(a)yahoo.com>
Subject: [Serusers] Cisco ATA 186 adapter Firmware (SIP)
To: serusers(a)lists.iptel.org
Message-ID: <20040414183211.2126.qmail(a)web40403.mail.yahoo.com>
Content-Type: text/plain; charset=us-ascii
Hi SER folks. I want to upgrade firmware on my cisco
ATA 186 adapter from current version SIP v3.0 to v3.1
(or any latest SIP version available as of today).
Does anybody know which web site provides ATA cisco
186 adapter firmware updrade version 3.1 (SIP).
Currently I have SIP version 3.0 and I want to upgdare
it to 3.1 or whatever is most recent version
available. Please provide me some information about
firmware version 3.1. at my e-mail address:
ashokpatel(a)yahoo.com .
Thanks in advance.
-Ashok Patel
ashokpatel(a)yahoo.com
__________________________________
Do you Yahoo!?
Yahoo! Tax Center - File online by April 15th
http://taxes.yahoo.com/filing.html
------------------------------
Message: 10
Date: Wed, 14 Apr 2004 22:12:48 +0300
From: Maxim Sobolev <sobomax(a)portaone.com>
Subject: [Serusers] New bugfix version of radiusclient library (0.4.2)
To: serusers(a)lists.iptel.org
Cc: Sergei Golod <rover(a)tob.ru>ru>, Juha Heinanen <jh(a)tutpro.com>
Message-ID: <407D8D30.4050506(a)portaone.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Hi,
I've just released the 0.4.2 version of radiusclient library. Main
changes since 0.4.1 include:
- Some changes from Debian have been merged in (suggested by Sergei
Golod <rover(a)tob.ru>)u>):
+ IPv6 attributes added into generic dictionary and radiusclient.h;
+ fixed a bug preventing from using more than one Radius server in
fall-back scenario.
- Restored historoc behaviour when in the absence of explicit bindaddr
option in the config file operating system is trusted to assign
source
IP address to outgoing UDP packets according to its routing table.
Previously in 0.4.x series address rerutned by
gethostbyhane(hostname())
was forced as source IP address for all outgoing UDP packets. The
same
behaviour can be ontained by specifying `bindaddr: *'
(Problem reported by Juha Heinanen <jh(a)tutpro.com>om>, patch by
sobomax).
- Added new API function: rc_avpair_log, which allows to create
pretty-print representation of full radius request or response
(sobomax).
- Extended dictionary parser so that now it is possible to use comments
at the end of the configuration lines (Jan Janak <jan(a)iptel.org>)g>).
The new version is 100% API/ABI compatible with the old one. It can be
downloaded at
http://developer.berlios.de/project/showfiles.php?group_id=1208.
As usually bug reports and suggestions are highly appreciated.
Enjoy!
-Maxim
------------------------------
Message: 11
Date: Wed, 14 Apr 2004 15:17:57 -0400
From: Chris Bookholt <cgbookho(a)ncsu.edu>
Subject: [Serusers] DB Authentication Issues (Continued)
To: serusers(a)lists.iptel.org
Message-ID: <407D8E65.1030504(a)ncsu.edu>
Content-Type: text/plain; charset=us-ascii
After much head scratching and experimentation I found a light at the
end of the tunnel. The problem is I'm stuck in the tunnel and don't
seem to be getting anywhere near the light.
I've got SER running on a RH7.3 box (IP 10.3.5.1) with pretty much
default config (see ser.cfg below). There are two clients running MSN
Messenger 4.6. One client is running WinXP (IP 10.3.5.2) and the other
is running Win2k (IP 10.3.5.3). The builds of Messenger are 4.6.0073
(for XP) and 4.6.0083 (for 2k). Both MSN clients are pointed at
10.3.5.1 for their "Communication Service."
When logging in, the XP client gets a password prompt as it should and
can login using the proper password.
However, when logging in from the Win2k client, as soon as I click to
sign in, an error message appears saying "Signing in to Communications
Service failed because the service is temporarily unavailable. Please
try again later."
Here's the ngrep output:
-------------------------
]root(a)10.3.5.1]# ngrep -qd eth0 src 10.3.5.1 or src 10.3.5.3 or dst
10.3.5.1 or dst 10.3.5.3
U 10.3.5.3:1133 -> 10.3.5.1:5060
REGISTER sip:team3 SIP/2.0..Via: SIP/2.0/UDP
10.3.5.3:10829..Max-Forwards:
70..From:
<sip:admin@team3>;tag=ff832bee93744680bca56666ad7c9e0a;epid=0d50f
b3ca3..To: <sip:admin@team3>..Call-ID:
e85f11868c82477da20e852a4cb223d9@10.
3.5.3..CSeq: 1 REGISTER..Contact:
<sip:10.3.5.3:10829>;methods="INVITE, MES
SAGE, INFO, SUBSCRIBE, OPTIONS, BYE, CANCEL, NOTIFY, ACK,
REFER"..User-Agen
t: RTC/1.2.4949..Event: registration..Allow-Events:
presence..Content-Lengt
h: 0....
U 10.3.5.1:5060 -> 10.3.5.3:10829
SIP/2.0 401 Unauthorized..Via: SIP/2.0/UDP 10.3.5.3:10829..From:
<sip:admin
@team3>;tag=ff832bee93744680bca56666ad7c9e0a;epid=0d50fb3ca3..To:
<sip:admi
n@team3>;tag=b27e1a1d33761e85846fc98f5f3a7e58.6d83..Call-ID:
e85f11868c8247
7da20e852a4cb223d9@10.3.5.3..CSeq: 1 REGISTER..WWW-Authenticate:
Digest rea
lm="team3",
nonce="407d8acfa56dbcb713c69e56e85c6a8280e2d02d"..Server:
Sip E
Xpress router (0.8.12 (i386/linux))..Content-Length: 0..Warning: 392
10.3.5
.1:5060 "Noisy feedback tells: pid=15189 req_src_ip=10.3.5.3
req_src_port=
1133 in_uri=sip:team3 out_uri=sip:team3 via_cnt==1"....
-------------------------
My interpretation is that SER is just saying "Access denied," but I
never got a chance to input a password.
The real mystery is that it works properly from my WinXP client. I've
matched all the settings that I can find. I even tried changing the IP
address of the Win2k client to that of the WinXP client and trying to
login with the same username that worked on the XP client. Still I get
the same service temp. unavailable message. I've also tried
uninstalling/reinstalling Messenger 4.6 on the Win2k clients, but that
didn't change anything either.
Am I doing something obviously wrong? I would *really* appreciate any
guidance or ideas. I'm pretty much at wits end.
Best Regards
-Chris
Here's my ser.cfg for good measure...
-------------------------
#
# $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=3 # debug level (cmd line: -dddddddddd)
#fork=yes
#log_stderror=no # (cmd line: -E)
/* Uncomment these lines to enter debugging mode
debug=7
fork=no
log_stderror=yes
*/
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"
alias="team3"
# ------------------ module loading ----------------------------------
# Uncomment this if you want to use SQL database
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"
# Uncomment this if you want digest authentication
# mysql.so must be loaded !
loadmodule "/usr/lib/ser/modules/auth.so"
loadmodule "/usr/lib/ser/modules/auth_db.so"
# ----------------- setting module-specific parameters ---------------
# -- usrloc params --
#modparam("usrloc", "db_mode", 0)
# Uncomment this if you want to use SQL database
# for persistent storage and comment the previous line
modparam("usrloc", "db_mode", 2)
# -- 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)
# ------------------------- request routing logic -------------------
# main routing logic
route{
# 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
record_route();
# loose-route processing
if (loose_route()) {
t_relay();
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 (method=="REGISTER") {
# Uncomment this if you want to use digest
authentication
if (!www_authorize("team3", "subscriber")) {
www_challenge("team3", "0");
break;
};
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; use stateful forwarding; that
# works reliably even if we forward from TCP to UDP
if (!t_relay()) {
sl_reply_error();
};
}
------------------------------
Message: 12
Date: Wed, 14 Apr 2004 21:28:52 +0200
From: Jan Janak <jan(a)iptel.org>
Subject: Re: [Serusers] DB Authentication Issues (Continued)
To: Chris Bookholt <cgbookho(a)ncsu.edu>
Cc: serusers(a)lists.iptel.org, jh(a)tutpro.com
Message-ID: <20040414192852.GJ904(a)localhost.localdomain>
Content-Type: text/plain; charset=iso-8859-2
On 14-04 15:17, Chris Bookholt wrote:
After much head scratching and experimentation I found
a light at the
end of the tunnel. The problem is I'm stuck in the tunnel and
don't
seem to be getting anywhere near the light.
Stay away from the light ! It's not that bad on this side :-).
I've got SER running on a RH7.3 box (IP 10.3.5.1)
with pretty much
default config (see ser.cfg below). There are two clients running
MSN
Messenger 4.6. One client is running WinXP (IP 10.3.5.2) and the other
is running Win2k (IP 10.3.5.3). The builds of Messenger are 4.6.0073
(for XP) and 4.6.0083 (for 2k). Both MSN clients are pointed at
10.3.5.1 for their "Communication Service."
When logging in, the XP client gets a password prompt as it should and
can login
using the proper password.
However, when logging in from the Win2k client, as soon as I click to
sign in, an
error message appears saying "Signing in to Communications
Service failed because the service is temporarily unavailable. Please
try again later."
Here's the ngrep output:
-------------------------
]root(a)10.3.5.1]# ngrep -qd eth0 src 10.3.5.1 or src 10.3.5.3 or dst
10.3.5.1 or dst
10.3.5.3
U 10.3.5.3:1133 -> 10.3.5.1:5060
REGISTER sip:team3 SIP/2.0..Via: SIP/2.0/UDP
10.3.5.3:10829..Max-Forwards:
70..From:
<sip:admin@team3>;tag=ff832bee93744680bca56666ad7c9e0a;epid=0d50f
b3ca3..To: <sip:admin@team3>..Call-ID:
e85f11868c82477da20e852a4cb223d9@10.
3.5.3..CSeq: 1 REGISTER..Contact:
<sip:10.3.5.3:10829>;methods="INVITE, MES
SAGE, INFO, SUBSCRIBE, OPTIONS, BYE, CANCEL, NOTIFY,
ACK,
REFER"..User-Agen
t: RTC/1.2.4949..Event: registration..Allow-Events:
presence..Content-Lengt
h: 0....
U 10.3.5.1:5060 -> 10.3.5.3:10829
SIP/2.0 401 Unauthorized..Via: SIP/2.0/UDP 10.3.5.3:10829..From:
<sip:admin
@team3>;tag=ff832bee93744680bca56666ad7c9e0a;epid=0d50fb3ca3..To:
<sip:admi
n@team3>;tag=b27e1a1d33761e85846fc98f5f3a7e58.6d83..Call-ID:
e85f11868c8247
7da20e852a4cb223d9@10.3.5.3..CSeq: 1
REGISTER..WWW-Authenticate:
Digest rea
lm="team3",
nonce="407d8acfa56dbcb713c69e56e85c6a8280e2d02d"..Server: Sip E
Xpress router (0.8.12 (i386/linux))..Content-Length:
0..Warning: 392
10.3.5
.1:5060 "Noisy feedback tells: pid=15189
req_src_ip=10.3.5.3
req_src_port=
1133 in_uri=sip:team3 out_uri=sip:team3
via_cnt==1"....
-------------------------
My interpretation is that SER is just saying "Access denied," but I
never
got a chance to input a password.
The messages are correct -- Windows messenger sends a REGISTER message
without digest credentials and SER says 401 Unauthorized (because the
credentials are missing). As the next step Windows Messenger is
supposed to ask you for username and password and re-send the
REGISTER, this time including digest credentials.
The real mystery is that it works properly from my
WinXP client. I've
matched all the settings that I can find. I even tried
changing the IP
address of the Win2k client to that of the WinXP client and trying to
login with the same username that worked on the XP client. Still I get
the same service temp. unavailable message. I've also tried
uninstalling/reinstalling Messenger 4.6 on the Win2k clients, but that
didn't change anything either.
Windows messenger does not like when the digest realm is different from
To/From domain, this does not seem to be the case here, but I would
recommend you to try some real domain -- with dot inside, for example
team3.com.
If this does not help, then try to uninstall Windows Messenger and make
sure that you also uninstall all libraries (RTC ?) it is using, then
try to install exactly the same version as on WinXP (if possible).
I remember that some time ago somebody (Juha ?) told me that it is
possible to change some value in the register to disable the realm
validation, maybe this would be worth trying (I do not know more
details).
Jan.
------------------------------
Message: 13
Date: Wed, 14 Apr 2004 16:27:39 -0400
From: Chris Bookholt <cgbookho(a)ncsu.edu>
Subject: Re: [Serusers] DB Authentication Issues (The Pain Continues)
To: serusers(a)lists.iptel.org
Message-ID: <407D9EBB.7080508(a)ncsu.edu>
Content-Type: text/plain; charset=us-ascii
Jan Janak wrote:
Windows messenger does not like when the digest realm
is different
from
To/From domain, this does not seem to be the case
here, but I would
recommend you to try some real domain -- with dot inside, for example
team3.com.
I created a domain in DNS called team3. In that domain all my hosts are
called "host.team3"
So now in my MSN configs, my SER server is referenced as popov.team3 and
I login as admin(a)popov.team3.
Unfortunately, this produces the same result as before: the XP client
gets in, but the 2K client never prompts for a password. You think it's
because my "TLD" has four chars instead of three?
If this does not help, then try to uninstall Windows Messenger and
make
sure that you also uninstall all libraries (RTC ?) it
is using, then
try to install exactly the same version as on WinXP (if possible).
I do suspect that not all bits of MSN are being uninstalled because when
I reinstalled, it remembered the IP address of the SER server. Any clue
how to uninstall those libraries?
Also, it is not possible to install the exact same version on 2K and XP.
I tried earlier and it complained that the XP version is only for
systems running XP.
-Chris
------------------------------
Message: 14
Date: Wed, 14 Apr 2004 16:49:28 -0400
From: Chris Bookholt <cgbookho(a)ncsu.edu>
Subject: Re: [Serusers] DB Authentication Issues (The Pain Continues)
To: serusers(a)lists.iptel.org
Message-ID: <407DA3D8.1000902(a)ncsu.edu>
Content-Type: text/plain; charset=us-ascii
Chris Bookholt wrote:
Unfortunately, this produces the same result as
before: the XP client
gets in, but the 2K client never prompts for a password. You
think it's
because my "TLD" has four chars instead of three?
I just tried making my domain "team3.com" but the problem persists.
-Chris
------------------------------
Message: 15
Date: Wed, 14 Apr 2004 14:27:02 -0700 (PDT)
From: Andy Pyles <apyles(a)wilds.homeunix.com>
Subject: [Serusers] rtp proxy recommendations?
To: serusers(a)lists.iptel.org
Message-ID: <Pine.LNX.4.58.0404141420370.8393(a)samwise.homeunix.com>
Content-Type: TEXT/PLAIN; charset=US-ASCII
Hi, I'd like to get some recommendations from other users what the best
option for an rtp proxy to use. From what I have seen the options are:
1.) Ser MEDIA proxy
2.) rtpproxy
3.) asterisk ( perhaps with some slight modifications )
What are people using? and any insight would be helpful, as to which
model seems to work the best.
regards,
Andy
------------------------------
Message: 16
Date: Wed, 14 Apr 2004 16:10:14 -0700 (PDT)
From: R <mypop3mail(a)yahoo.com>
Subject: [Serusers] www and proxy authentication
To: serusers(a)lists.iptel.org
Message-ID: <20040414231014.44421.qmail(a)web20108.mail.yahoo.com>
Content-Type: text/plain; charset=us-ascii
Hi,
I am using x-lite softphone. If I put the non-existing
"username", it doesn't allow me to login because if it
fails www_challenge. However if I still have the
correct "authentication user", I can still pass
proxy_challenge and make the call even though the
<from> field has the wrong address. Do it mean someone
can appear to be another caller or non-existing caller
to make the call? Is this normal according to RFC or
ser?
Thanks,
Richard
__________________________________
Do you Yahoo!?
Yahoo! Tax Center - File online by April 15th
http://taxes.yahoo.com/filing.html
------------------------------
Message: 17
Date: Thu, 15 Apr 2004 08:29:26 +0800
From: "Shu-Liang Lee" <shuliang(a)ms8.hinet.net>
Subject: [Serusers] RE: SER response - status: 483 Too Many Hop
To: "'Klaus Darilion'" <klaus.mailinglists(a)pernau.at>
Cc: 'Serusers' <serusers(a)lists.iptel.org>
Message-ID: <000001c42280$c067e890$b24012ac@swift>
Content-Type: text/plain; charset="US-ASCII"
Thanks Klaus, I got it....^^
BTY, I try to install the serweb, but the DB.php can not found in
main_prepend.php
When I connent to the local website
http://172.18.64.175/serweb/admin/index.php
The page show
Fatal error: Failed opening required 'DB.php' (include_path='') in
/var/www/html/serweb/main_prepend.php on line 32
May I ask who provide the DB.php? How do I do now...thanks in advanced.
Regards,
ShuLiang
-----Original Message-----
From: Klaus Darilion [mailto:klaus.mailinglists@pernau.at]
Sent: Friday, April 09, 2004 3:42 PM
To: Shu-Liang Lee
Cc: 'Serusers'
Subject: Re: SER response - status: 483 Too Many Hop
That's propably a domain matching problem. Take a look in to
documentation:
http://iptel.org/ser/doc/seruser/seruser.html#AEN1039
klaus
Shu-Liang Lee wrote:
Dear sir:
I register to the SER, and the ser return 483 Too Many Hop?
How do I do? Does any configuration that I set incorrect?
Regards,
ShuLiang
------------------------------
Message: 18
Date: Thu, 15 Apr 2004 09:11:23 +0800
From: "wangji" <wangji(a)bjut.edu.cn>
Subject: [Serusers] how to found SER server works like two local
exchanges
To: <serusers(a)lists.iptel.org>
Message-ID: <281990946.27768(a)bjpu.edu.cn>
Content-Type: text/plain; charset="gb2312"
Hi all,
The SIP phones on the Ser server have two different define:
Exchange 1: number is like 61691xxx
as caller:
when it calls to PSTN, dialing 0+PSTN number
when it calls to 6169xxxx(expect 61691xxx), dialing 0+6169xxxx
when it calls to 61691xxx, dialing only 1xxx
as callee:
wher PSTN and 6169xxxx(expect 61691xxx) calls, dialing 61691xxx
when 61691xxx calls, dialing 1xxx
Exchange 2: number is like 6169xxxx(expect 61691xxx)
as caller:
call callee's number
as callee:
wher PSTN and 6169xxxx(expect 61691xxx) calls, dialing 6169xxxx
when 61691xxx calls, dialing 0+6169xxxx
Using prefix() and rewriteuser() to make call mabye cause call-leg can
not find.
How to do that?
Br,
Wangji