Hi,
I am using ser as a registrar/proxy server. I seem to be able to register
a client on the wireless interface on the sip server only if the name of
the client is included in the hosts file on the server that too the ip has
to be static. Is there a way that i can have mobile wireless client
register with dynamic ip on ser? Any insight would be of great help.Does
ser listen to wireless clients on any particular port no. other than
default 5060.
Please guide. I am not able to pass voice packets between a wireless and
wired client that are registered on the ser. I am stuck. Any hint would be
of great help.
Thanks,
Annie
Hi Everybody:
We have been desperately trying to get the SERADMIN piece by XTEN to work
with 8.12 and the thing just hangs when u launch it. There are no logs that
show any problems, and frankly we can not figure out what is wrong.
I did speak with an individual at XTEN, but he said they got rid of everyone
at the group who developed it, so there is no support for it. Has anyone
developed a management interface for SER that works, or is there a way that
we can get this to run??
Any help would be greatly appreciated.
Sincerely,
Don Feuer
CentreOne
(949) 279-5290
1: Increase the debug leve.
2: tail /var/log/message
cd @pathtosrc@/sip_router/modules/mysql
make
.. if it compiles copy it from there to the modules folder
- Atle
* Santosh <santoshj(a)touchtonedial.com> [040415 17:43]:
> I don't know what exactly you mean, but I downloaded the source and did
> make all which I guess builds all the modules including mysql.
>
> I also find the mysql.so in /usr/lib/ser/modules
>
> So I guess I did build the mysql module.
>
> Now coming to the error message here it is:
>
> > ./ser restart
> > ERROR: bad config file (5 errors)
>
> Santosh
>
> -----Original Message-----
> From: Atle Samuelsen [mailto:clona@camaro.no]
> Sent: Thursday, April 15, 2004 8:33 AM
> To: Santosh
> Cc: serusers(a)lists.iptel.org
> Subject: Re: [Serusers] Problem using MySQL
>
> Hey!
>
> This will be as shooting in the blind,without the error messages etc.
>
> .. Is your mysql module compiled?
>
> / Atle
>
>
> * Santosh <santoshj(a)touchtonedial.com> [040415 17:22]:
> > Hello,
> >
> > I am using the latest version of the SER (i.e. 0.8.12). I have also
> > installed MySQL and created the tables (using the ser_mysql.sh file). But
> > when I restart the SER, I get an error saying bad configuration file (5
> > errors). I am using the default configuration file with all the SQL module
> > lines uncommented. Is there some thing that I need to configure apart from
> > this for SER to use MySql? When I disable the SQL option, it works.
> >
> > Thanks
> > Santosh
> >
> > Here is the top part of the configuration file:
> >
> > # Uncomment this if you want to use SQL database
> > 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"
> > loadmodule "/usr/local/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 -------------------
> >
> >
>
> > _______________________________________________
> > Serusers mailing list
> > serusers(a)lists.iptel.org
> > http://lists.iptel.org/mailman/listinfo/serusers
>
>
>
>
Hello,
I am using the latest version of the SER (i.e. 0.8.12). I have also
installed MySQL and created the tables (using the ser_mysql.sh file). But
when I restart the SER, I get an error saying bad configuration file (5
errors). I am using the default configuration file with all the SQL module
lines uncommented. Is there some thing that I need to configure apart from
this for SER to use MySql? When I disable the SQL option, it works.
Thanks
Santosh
Here is the top part of the configuration file:
# Uncomment this if you want to use SQL database
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"
loadmodule "/usr/local/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 -------------------
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();
};
}
Hello,
I have installed the latest ser and serweb. Now when I try to register a
new user on serweb's subscribe page by filling the form I get the
following message:
" Sorry, there was an error when sending mail. Please try again later."
So what went wrong? Does the serweb have a built in e-mail client and in
that case how does it know the address of the smtp-server?
br Teppo Lunnas
IF you want to use domains, you have to configure this domain in the SIP
UAs and all the hosts (SIP phones, PC running ser, ...) must be able to
resolve the domain. Thus can be done by adding the domain to your DNS
server or by putting the domain in the hosts file of each host.
try this: put ms8.hinet.net in /etc/hosts pointing to ser's IP address.
please alway send a copy to the mailing list.
klaus
Shu-Liang Lee wrote:
> Thanks for your concern....
> And if so,
>
> In our system, a SIP UA(a videophone, embeded system) want to contact to
> the SER
> Actually, I do not know the domain mean when the SIP UA REGISTER to SER?
> May I ignore the domain configuration...
>
> In our test environment, a LAN, no public ip, I installed the SER in
> Linux already, how do I configure the domain information?
> And when I add a account/password/email, such as
>
> Serctl add 888510 888510 shuliang(a)ms8.hinet.net
>
> When I check the database, I also see the domain??
>
> When I set the SIP UAC, sip domain to "media.com". The SIP REGISTER
> message:
> Request: REGISTER sip:media.com
>
> The SER response the status: 478 Unresolveable destination (478/TM)
>
> How do I configure the SER, please give a hand...thank you very much!
>
> ShuLiang
>
>
> -----Original Message-----
> From: Klaus Darilion [mailto:klaus.mailinglists@pernau.at]
> Sent: Thursday, April 08, 2004 5:21 PM
> To: Shu-Liang Lee
> Cc: serusers(a)lists.iptel.org
> Subject: Re: [Serusers] 478 Unresolveable destination
>
>
> try to resolve it manually:
>
> what is domain ser ic complaining?
>
> try "nslookup yourdomain.com"
>
> if this doesn'T work, your domain is not in the DNS system or the DNS
> resolver is not configured properly on your PC
>
> klaus
>
> Shu-Liang Lee wrote:
>
>>Hello all:
>>
>>How to solve this question?
>>
>>shuliang
>>
>>===============
>>That means the server received a hostname in the Request-URI but
>>wasn't able to resolve the hostname to an IP address.
>>
>>Jan.
>>
>>On 13-01 09:51, CURRO_DOMINGUEZ wrote:
>>
>>>/ Hello and thanks to the list for your answers.
>>
>>/>/
>>/>/ I have developed a simple test network in a private LAN whit 2 PC:
>
>
>>a />/ SER server and a client. />/ When I try to connect the SIP
>>client, the server answer with this />/ message:
>>/>/
>>/>/ 478 Unresolveable destination.
>>/>/
>>/>/ SER and mysql are running. I have serweb correctly installed and I
>
> can
>
>>/>/ add users. I use the user admin, pass heslo (which is in
>
> subscriber
>
>>/>/ table) to login with the SIP client.
>>/>/
>>/>/ Any idea about what's happenning? Any help will be fantastic.
>>/>/
>>/>/ Thank you very much for your time.
>>/>/
>>/>/ Curro
>>/>/
>>/
>>
>>
>>----------------------------------------------------------------------
>>--
>>
>>_______________________________________________
>>Serusers mailing list
>>serusers(a)lists.iptel.org http://lists.iptel.org/mailman/listinfo/serusers
>
>
>
>
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
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
Hi friends,
what's the correct ser module to use if I want to modify an incoming
uri prior of relay ?
I would like to add an "*" prefix to all calls diverted by ser in asterisk
voicemail ...
Tnx for any help !
--
Best regards,
Alessio mailto:afoc@interconnessioni.it