Dear all,
Thank you very much for your time to read this message. Thanks
All, I have a problem in building serweb-0.9.4. I am using Fedora Core 4
I have tried it many times, but I can not build it untill now.
Here are the tasks that I have done:
1. Installing classkit packet, DB, Log:
# pear install classkit-0.4.tgz
# pear install DB-1.7.6 tgz
# pear install Log
2. Adding in php.ini :
extension=classkit.so
extension=imap.so
include_path="/usr/share/pear" --> location where my pear
3. My serweb directory is in /var/www/html/serweb
4. pear list
[root@sip ~]# pear list
PHP Warning: Module 'imap' already loaded in Unknown on line 0
Installed packages:
===================
Package Version State
Archive_Tar 1.1 stable
Console_Getopt 1.2 stable
DB 1.7.6 stable
HTML_Template_IT 1.1 stable
HTTP 1.3.5 stable
Log 1.9.8 stable
Mail 1.1.4 stable
Net_SMTP 1.2.6 stable
Net_Socket 1.0.6 stable
Net_UserAgent_Detect 2.0.1 stable
PEAR 1.3.5 stable
XML_Parser 1.2.6 stable
XML_RPC 1.2.2 stable
classkit 0.4 beta
[root@sip ~]# clear
But, when I try to load my serweb using web browser, I got this error message :
Function aggregate_methods() doesn't exists. Try install Classkit extension. http://pecl.php.net/package/classkit
AND in /var/log/httpd, I got this error message :
[root@sip httpd]# tail -f error_log
[Fri Sep 15 21:31:02 2006] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Fri Sep 15 21:31:02 2006] [notice] Digest: generating secret for digest authentication ...
[Fri Sep 15 21:31:02 2006] [notice] Digest: done
[Fri Sep 15 21:31:02 2006] [notice] LDAP: Built with OpenLDAP LDAP SDK
[Fri Sep 15 21:31:02 2006] [notice] LDAP: SSL support unavailable
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/classkit.so' - /usr/lib/php/modules/classkit.so: cannot open shared object file: Permission denied in Unknown on line 0
PHP Warning: Module 'imap' already loaded in Unknown on line 0
[Fri Sep 15 21:31:02 2006] [notice] mod_python: Creating 4 session mutexes based on 256 max processes and 0 max threads.
[Fri Sep 15 21:31:03 2006] [notice] Apache/2.0.54 (Fedora) configured -- resuming normal operations
[Fri Sep 15 21:31:19 2006] [error] [client 202.95.149.50] Directory index forbidden by rule: /var/www/html/
My Question:
1. Why is the error in web browser still appear, although I have install classkit and add "extension=classkit.so"?
2. Why in /var/log/httpd in error_log file the classkit.so can not be loaded? But imap.so can be loaded?
3.What is wrong so this message appeared?
[Fri Sep 15 21:31:19 2006] [error] [client 202.95.149.50] Directory index forbidden by rule: /var/www/html/
I do hope any body can give me a suggestion. Please help me... Please say anything..Please..Thanks
Thank you very much
Regards,
Ferianto
---------------------------------
Get your email and more, right on the new Yahoo.com
its come up before so i have to ask
I have read the list archives and googled.
1. there is no reinstall option
2. there is nothing in tools/
If this is in CVS why hasnt it been fixed?
Bails
Hi Gang.
The company I work for is interested in buying DIDs from Europe. Of course
the connection should be SIP.
If any of you is selling them, please contact me off the list.
Regards
Juan Ferrari
VoIP & Telecom Specialist
United World Telecom
Phone: +1561-276 7156 ext. 302
CC'ing to the list...
Change the from pattern and just place .* (without the ^sip: and the
$) if you want to accept ALL from patterns.
Samuel.
2006/9/15, ravi reddy <mravikreddy(a)gmail.com>:
> Thanks for your reply Samuel,
>
> I will get income calls from 6 pstn gateways and i had added all the
> ip-adresses in the trusted table as follows
> src_ip proto from_pattern
> pstngw any ^sip:.*$
>
> but even though my SER is asking the authentication what i have to do :-(
>
> On 9/15/06, samuel <samu60(a)gmail.com> wrote:
> > Take a look at the getting started doc and you'll find how to use
> > allow_trusted. For instance:
> >
> > #
> -----------------------------------------------------------------
> > 107. # Call Type Processing Section
> > 108. #
> -----------------------------------------------------------------
> > 109. if (!is_uri_host_local()) {
> > 110. if (is_from_local() || allow_trusted()) {
> > 111. route(4);
> > 112. route(1);
> > 113. } else {
> > 114. sl_send_reply("403", "Forbidden");
> > 115. };
> > 116. break;
> > 117. };
> >
> >
> > You would have to populate the trusted table in the SER's DB with the
> > "trusted" IPs.
> >
> > Samuel.
> >
> > 2006/9/14,
> >
> > ravi reddy <mravikreddy(a)gmail.com>:
> > > Hi samuel,
> > >
> > > I am using onsip.org ser.cfg and how can we check allow_trusted is
> true
> > > ?
> > >
> > > Thank You for reply.
> > >
> > > Regards,
> > > Ravi.
> > >
> > >
> > > On 9/14/06, samuel <samu60(a)gmail.com> wrote:
> > > > you have to check whether allow_trusted returns true or not before any
> > > > auth. action.
> > > >
> > > > Samuel.
> > > >
> > > > 2006/9/14, ravi reddy <mravikreddy(a)gmail.com>:
> > > > > Hi ,
> > > > >
> > > > > When i tried to make a incoming call from pstn to SER its
> asking
> > > for
> > > > > proxy authentication required,
> > > > >
> > > > > I had entered the pstngw ip address in trusted table even then the
> > > same
> > > > > problem , is any thing else i have to do ;-)
> > > > >
> > > > > how i can cross this problem.
> > > > >
> > > > >
> Thank
> > > You.
> > > > >
> > > > > Regards,
> > > > > Ravi.
> > > > >
> > > > > _______________________________________________
> > > > > Serusers mailing list
> > > > > Serusers(a)lists.iptel.org
> > > > > http://lists.iptel.org/mailman/listinfo/serusers
> > > > >
> > > > >
> > > > >
> > > >
> > >
> > >
> >
>
>
hello,
i'm using ser 0.9.0 and acc module to log transactions, actually it
works but i need some help with two problems:
1) i would like to log acc messages to a different syslog facility, and
a different file, than general logs are logged.
-> my ser.cfg file contains:
log_facility=LOG_LOCAL0
loadmodule "/usr/local/ser/lib/ser/modules/acc.so"
# -- acc params --
# set the reporting log level
modparam("acc", "log_level", 1)
modparam("acc", "log_flag", 5)
#modparam("acc", "log_extra", "msg_body=$rb")
by setting log_level to 1, acc logs would be sent to LOG_LOCAL1
facility, is this right?
if not, what i could do to get this logs into a different file?
2) the second problem is that while the acc documentation documents
'log_extra' param:
http://www.voice-system.ro/docs/acc-headers/acc.html#AEN308
i'm getting errors the following error:
Sep 5 12:46:43 host ser: set_mod_param_regex: parameter <log_extra> not
found in module <acc>
Sep 5 12:46:43 host ser: parse error (104,19-20): Can't set module
parameter
what can be done?
thanks in advance,
topi
my /usr/local/ser/etc/ser.cfg:
#
# $Id: ser.cfg,v 1.25.2.1 2005/02/18 Exp $
#
# ----------- global configuration parameters ------------------------
debug=3 # debug level (cmd line: -dddddddddd)
log_stderror=no # (cmd line: -E)
check_via=no # (cmd. line: -v)
dns=no # (cmd. line: -r)
rev_dns=no # (cmd. line: -R)
port=5060
children=3
fifo="/tmp/ser_fifo"
sip_warning=0
log_facility=LOG_LOCAL0
alias="192.168.123.2"
alias="ser.mynetwork.net"
# ------------------ module loading ----------------------------------
loadmodule "/usr/local/ser/lib/ser/modules/mysql.so"
loadmodule "/usr/local/ser/lib/ser/modules/sl.so"
loadmodule "/usr/local/ser/lib/ser/modules/tm.so"
loadmodule "/usr/local/ser/lib/ser/modules/rr.so"
loadmodule "/usr/local/ser/lib/ser/modules/maxfwd.so"
loadmodule "/usr/local/ser/lib/ser/modules/usrloc.so"
loadmodule "/usr/local/ser/lib/ser/modules/registrar.so"
loadmodule "/usr/local/ser/lib/ser/modules/textops.so"
# Uncomment this if you want digest authentication
# mysql.so must be loaded !
loadmodule "/usr/local/ser/lib/ser/modules/auth.so"
loadmodule "/usr/local/ser/lib/ser/modules/auth_db.so"
# accounting
loadmodule "/usr/local/ser/lib/ser/modules/acc.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)
# -- acc params --
# set the reporting log level
modparam("acc", "log_level", 1)
# number of flag, which will be used for accounting; if a message is
# labeled with this flag, its completion status will be reported
modparam("acc", "log_flag", 5)
#modparam("acc", "failed_transactions", 1)
#modparam("acc", "log_extra", "msg_body=$rb")
#modparam("acc", "log_extra", "ua=hdr/User-Agent;uuid=avp/i:123")
# ------------------------- 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 >= 2048 ) {
sl_send_reply("513", "Message too big");
break;
};
if (!method=="REGISTER") record_route();
# subsequent messages withing a dialog should take the
# path determined by record-routing
if (loose_route()) {
# mark routing logic in request
append_hf("P-hint: rr-enforced\r\n");
route(1);
break;
};
if (!uri==myself) {
# mark routing logic in request
append_hf("P-hint: outbound\r\n");
route(1);
break;
};
if (method == "INVITE" || method== "ACK" || method == "CANCEL"
|| method == "BYE") {
# accounting
setflag(5);
};
#
--------------------------------------------------------------------
# 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") {
save("location");
break;
};
lookup("aliases");
if (!uri==myself) {
append_hf("P-hint: outbound alias\r\n");
route(1);
break;
};
# native SIP destinations are handled using our USRLOC
DB
if (!lookup("location")) {
sl_send_reply("404", "Not Found");
break;
};
};
append_hf("P-hint: usrloc applied\r\n");
route(1);
}
route[1]
{
# send it out now; use stateful forwarding as it works reliably
# even for UDP2TCP
if (!t_relay()) {
sl_reply_error();
};
}
Hi users ,
I am geting some trouble when i forward a call from remote sip-proxy
, because in via messages i am getting private ip-address , in SER admin
guide i saw this following:-)
"check_via - Turn on or off Via host checking when forwarding replies.
Default is no."
how to turn off this Via messages. in header fields
i mean how to give such param or how to write this in main route block.
Thank You.
Regards,
Ravi.
Hello,
Can you please suggest me how to intergrate SER with Jabber IM.
Can you help me in correcting my ser.cfg file
I am attaching my configuration file ser.cfg.
Thank you,
Regards,
Sriram Srinivas
>From: "srinivas sriram" <sriram_srinivas(a)hotmail.com>
>To: serusers(a)iptel.org
>Subject: [Serusers] How to integrate SER with Jabber IM. Date: Thu, 07 Sep
>2006 09:43:52 +0000
>
>Hello,
>
>Can you please suggest me how to intergrate SER with Jabber IM. I am using
>SER 0.9.6 version of
>SER.Aiming to send a sip messages from the SER client to the Jabber Client.
>What are the changes to ser.cfg file and any other setting like Jabber.xml
>or MySql Database for
>SER intergation with Jabber IM.I am attaching my configuration file
>ser.cfg.
>
>
>Thank you,
>
>Regards,
>Sriram Srinivas.
>
><< ser.cfg >>
>_______________________________________________
>Serusers mailing list
>Serusers(a)lists.iptel.org
>http://lists.iptel.org/mailman/listinfo/serusers
I have an audio problem with clients behind a nat which are registered on
Ser when making calls to a PSTN line I get one way audio i.e. from pstn
to sip.
But when I make sip-sip calls everything works fine.
The OpenSER Installation Notes mentions at the top, that you should read
additional documents, like:
admin's guide
ISSUES
I could not find documents with that names on openser.org. What are the
real names / locations of these documents?
I also read about additional useful programs, like mediaproxy, rtpproxy,
web interface. Where are these?
Besides above, what else should I read, or what should I install? What
is for you the 'Can-not-live-without' add-ons?
bye
Ronald
It is my first try, .... forgive me if I ask too complicated.
I have installed openser 1.1 and started it. openserctl moni shows me
that three phones could register.
When I try to call from one phone to the other, the phone will ring, but
when I pickup nothing happens.
In my first set-up all phones are on the internal network, connected to
the internal ethernet port.
Firewall cannot be a problem therefore.
I followed the OpenSER Installation Notes.
What do I miss?
How can I make more tests / see more (sothat I do not need to ask here
too much)???
bye
Ronald