Hello,
Can any one provide me a Simple Configuration file for SER that works fine for a basic password authentication with MYSQL Server.
Regds
karthikeyan.k
Confidentiality Notice
The information contained in this electronic message and any attachments to this message are intended
for the exclusive use of the addressee(s) and may contain confidential or privileged information. If
you are not the intended recipient, please notify the sender at Wipro or Mailadmin(a)wipro.com immediately
and destroy all copies of this message and any attachments.
Hi,
I encounter a strange problem when setting up an sip (I am using sipura
2000) gateway. I am using ser-0.8.14. I can register UA1 and UA2 with
proxy server. When I try to make a call, phone ringing is heard.
However, there is no voice between UA1 and UA2. I hear nothing from each
other. When I hang up the phone, the call is disconnected.
It seems that though call setup could be established, but voice packets
cannot be transmitted. What is my problem? Do you have any ideas?
Thank you.
Thomas
Hello!
I am newcome ,I install the ser server at linux system,and it's run ,, I used the command serctl to add one user it's show ok but when I used the sip client to login it's tell me the user or password incorrect.I,,but .Someones Can help me? What's failt in it?
My ser.cfg is blow:
debug=7
fork=yes
log_stderror=yes
*/
check_via=no # (cmd. line: -v)
ns=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
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", 2)
# 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("jzmv.com", "subscriber")) {
www_challenge("jzmv.com", "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();
};
}
Hi
I want to configure a proxy server where all the user have to go for authentication first, if there user name and password is there in database then their calls are forwarded to the destination sip server. I am unable to do that, I read the sample configuration files also but was unable to understand that. Can anybody help me in providing me configuration details?
Thanks & Regards
Ritesh Jalan
Senior Engineer - Test & Audit
Net4india Ltd.
504, Bhikaji Cama Bhawan
11, Bhikaji Cama Place
New Delhi 110066
Tel: 91 (011) (26160129 - 131) (Extn 131)
URL: http://www.net4india.com
Jiri,
I can't get the log output to work properly. I would give it to
you if I saw anything. Do you see what is missing from below?
When I use the same directives in ser.cfg on another SuSE 9.2 box,
I get debug output - I know what it's supposed to look like. On
this one, it just hangs apparently with no output to STDOUT.
I'm willing to hear any suggestions. Strace? Any help very
appreciated.
Jason
On Mon Dec 27 23:46:01 PST 2004, Jiri Kuthan <jiri(a)iptel.org>
wrote:
> Sure it still hangs but the log output lets us guess what it is.
> I have no opinion on what it may be until I see it.
>
> -jiri
>
> At 07:56 PM 12/27/2004, Jason wrote:
>> Jiri,
>> Thanks for the advice. However, I've already tried this - I
>> meant to have already told you this. I've toggled between debug
>> 7 and debug 3, as well as fork yes and no, and log_stderror yes
>> and no. I've also put random comments in the file to see if ser
>> complains. Doesn't make a difference at all. Still hangs. Your
>> help is much appreciated. What do you think I should try next
>> in order to identify where the problem is? Here is a clip from
>> the top of ser.cfg, from what I last tried.
>>
>> <SNIP>
>> # ----------- global configuration parameters
>> ------------------------
>>
>> blah blah Please parse this file
>> #debug=3 # debug level (cmd line: -dddddddddd)
>> #fork=yes
>> #log_stderror=no # (cmd line: -E)
>>
>> debug=7
>> #debug=3
>> fork=no
>> log_stderror=no
>>
>> blah
>> </SNIP>
>>
>>
>>
>> Try increasing log level and sending us the log output -- we may
>> then
>> perhaps see where it is hanging. If that does not get us any
>> further,
>> phase II will be strace I guess.
>>
>> -jiri
>>
>> At 06:21 AM 12/27/2004, Jason Ostrom wrote:
>>> Hello all,
>>> I have not been able to get my SER to work properly on this
>>> SuSE Linux
>>> Pro 9.2 machine. SER appears to hang endlessly. The binary
>>> compiled
>>> from src just fine. I can't tell exactly where the problem is,
>>> can
>>> anyone lend help in deciphering where to find the culprit,
>>> please?
>>
>> _______________________________________________
>> Serusers mailing list
>> serusers(a)lists.iptel.org
>> http://lists.iptel.org/mailman/listinfo/serusers
>
> --
> Jiri Kuthan http://iptel.org/~jiri/
Hi,
As a beginning user of Serweb, I got the following errors when I trying to
login with administrator privileges at /serweb/admin/index.php.
Debug: query = select val from active_sessions where sid =
'f44e3059f761a564b72ff6f5620a432b' and name = 'phplib_Session'
Warning: Cannot add header information - headers already sent by (output
started at /var/www/phplib/db_mysql.inc:114) in
/var/www/html/serweb/admin/index.php on line 37
Debug: query = update active_sessions set
val='cGhwbGliX1Nlc3Npb246JHRoaXMtPmluID0gJzAnOyAkdGhpcy0+cHQgPSBhcnJheSgpOyA
kdGhpcy0+cHRbJ3Nlc3NfZnVzZXJzJ10gPSAnMSc7ICR0aGlzLT5wdFsnc2Vzc19hZG1pbiddID0
gJzEnOyAkdGhpcy0+cHRbJ3ByZV91aWQnXSA9ICcxJzsgJEdMT0JBTFNbJ3Nlc3NfZnVzZXJzJ10
gPSBuZXcgQ2Z1c2VyczsgJEdMT0JBTFNbJ3Nlc3NfZnVzZXJzJ10tPnVzcm5tID0gJyc7ICRHTE9
CQUxTWydzZXNzX2Z1c2VycyddLT5mbmFtZSA9ICcnOyAkR0xPQkFMU1snc2Vzc19mdXNlcnMnXS0
+bG5hbWUgPSAnJzsgJEdMT0JBTFNbJ3Nlc3NfZnVzZXJzJ10tPmVtYWlsID0gJyc7ICRHTE9CQUx
TWydzZXNzX2Z1c2VycyddLT5vbmxpbmVvbmx5ID0gJyc7ICRHTE9CQUxTWydzZXNzX2Z1c2Vycyd
dLT5hY3Rfcm93ID0gJzAnOyAkR0xPQkFMU1snc2Vzc19hZG1pbiddID0gJzEnOyAkR0xPQkFMU1s
ncHJlX3VpZCddID0gJzY1ZTM5N2NkYTBhYThlMzIwMmVhMjJjYmQzNTBlNGU5Jzsg',
changed='20041229095426' where sid='f44e3059f761a564b72ff6f5620a432b' and
name='phplib_Session'
Can any experts tell me what is going on? I tried to solve it for half a
month and with no result at all, please help and thx a lot.
Attached pls find the related config file. Thx!!
Gary
Hi,
Being new to ser, I downloaded ser-0.9.0 and did a 'make' followed by 'make
modules' and 'make install' and with a few glitches during module
compilation -- which is a subject of another e-mail -- all worked fine. I
was able to register my client application thru ser and place calls between
two clients.
At this early stage, I'd like to verify a few things to make sure I'm on the
right track...
+ Which one is the latest stable source distribution of ser: 0.8.14 or
0.9.0? The latest link points to the 0.8.14 folder which suggests this must
the latest release but then there is also a 0.9.0 folder.
+ Is ser distributed in source code format only or is it also available in
binary format? If it is available in source code format only, is there a way
to create installable packages (i.e., binary rpm packages)?
If available, I'd like to use rpm packages since ser source distribution
does not seem to support the 'make uninstall' target.
Thanks in advance,
GA
Hi First happy holidays to all, I have setup SER Proxy and working fine as
long as I used the URI of type User at mydomain.com.
Now I want to assign each user an ID of 7471234 which they have to prefix
with * (e.g *7471234) to call other user.
Lets say UserA with with number 7471234 wants to dial UserB with Tel #
7472222 dials *7472222 and gets connected as long as the
UserB is registered with my SER Proxy. If not 404 msg is sent UserA. if
UserA dial a PSTN numbe either using + & CounryCode & Number,
or 00 & CounryCode & Number, & or 011 & CounryCode & Number, they get
forwarded to my Asterisk Server.
Please help me identify what should I use the Aliases Table or Subscriber
Table or DNS NAPTR to map uri to Number
(eg 7471234 maps to UserA at mydomain.com .
Thanks in Advance, Merry Xmas and Happy New Year! Abid Mirza
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.296 / Virus Database: 265.6.5 - Release Date: 26/12/04
Hi,
usually this file is located at /etc/httpd/ or /etc/apache/
if not try to find your httpd.conf this way - type in console
slocate -u
slocate httpd.conf
Last command will show you where it's located.
At the last lines of httpd.conf you will find info about.
If lines are commented (#) uncomment them and restart your apache:
apachectl restart
To test whether php is working create file for example info.php with
content
<?php phpinfo(); ?>
And after that open it with your browser ( http://your_ip/info.php ).
If apache and php are working you'll see some info at your browser window
otherwise you'll get the same dialog as the one when you tried to open
index.php.
Regards,
Pavel Siderov
P.S. If you can't resolve your problem send me as atachement your httpd.conf
and I'll tell you what you have to change :).
----- Original Message -----
From: "Gurol Akman" <gurol_akman(a)hotmail.com>
To: <pi(a)hostmates.com>
Sent: Tuesday, December 28, 2004 10:52 PM
Subject: Re: [Serusers] cannot open index.php under konqueror
> Hi,
>
> I'm running SuSE 9.2. When I check on the list of software packages
> installed, I see that 'apache2' and a whole bunch of php packages
> installed. Where would the httpd.conf or php.conf files be located?
> Thanks,
>
> GA
>
> >From: "Pavel Siderov" <pi(a)hostmates.com>
> >To: "Gurol Akman" <gurol_akman(a)hotmail.com>
> >Subject: Re: [Serusers] cannot open index.php under konqueror
> >Date: Tue, 28 Dec 2004 22:38:11 +0200
> >
> >Do you have php installed and configured with the apache server:) ?
> >Check apache httpd.conf or php.conf.
> >
> >Regards,
> >Pavel Siderov
> >
> >----- Original Message ----- From: "Gurol Akman"
> ><gurol_akman(a)hotmail.com>
> >To: <serusers(a)lists.iptel.org>
> >Sent: Tuesday, December 28, 2004 10:12 PM
> >Subject: [Serusers] cannot open index.php under konqueror
> >
> >
> >>Hi,
> >>
> >>After installing serweb per INSTALL instructions, if I attempt to
> >>open the index.php file under konqueror, I get prompted with
> >>another window asking me which application to use to open the
> file.
> >>What may be wrong, any ideas? Thanks,
> >>
> >>GA
> >>
> >>
> >>_______________________________________________
> >>Serusers mailing list
> >>serusers(a)lists.iptel.org
> >>http://lists.iptel.org/mailman/listinfo/serusers
> >>
> >>
> >
> >
>
>
>
>