I am running Redhat ES 3. I have installed the SER 8.12 RPM. I am trying
to install the ser-radius-0.8.12-0.i386.rpm, and am getting an error. It
states that the libradiusclient.so.0 cannot be found. I installed the
radius client, and I checked and libradiusclient.so.0 exists in the
/usr/local/lib directory.
Any ideas?
Scott Morris
Enterprise Network Engineer
DOE - ORAU / ORISE
865-576-4672
Hello,
Have any of you had an experience with Grandstream BudgeTone phones? My
outgoing calls are being dropped after 16 seconds. My system looks like
this:
Grandstream phone --->
SER sip proxy ----> VEGA 50 SIP gateway.
x-lite softphone ---->
When i make an outgoing call from my softphone it works fine. But not
with ip phone. After 16 sec. my VEGA gateway disconnects the call.
After talking to VEGA customer support they told me that my ip phone is
not replying back to VEGA's ACK requests, and eventualy after 26 sec.
VEGA dropps the call. Does anyone out there have a similar setup or
ever experienced such a problem? I am running the latest firmware on my
ip phone.
Srbo Cvetkovic | CityNet, Inc.
srbo(a)city-net.com | Pittsburgh, PA
voice: 412.481.5406 | fax: 412.431.1315
hi all,
when i am trying to compile SER-0.8.12 acct module
with radius i am getting the below error.
I have installed both freeradius and radiusclient.
acc.c:51:26: radiusclient.h: No such file or directory
acc.c:62: `PW_CALLING_STATION_ID' undeclared here (not
in a function)
acc.c:62: initializer element is not constant
acc.c:62: (near initialization for `rad_attr[0]')
acc.c:62: `PW_CALLED_STATION_ID' undeclared here (not
in a function)
acc.c:62: initializer element is not constant
acc.c:62: (near initialization for `rad_attr[1]')
acc.c:63: `PW_ACCT_SESSION_ID' undeclared here (not in
a function)
acc.c:63: initializer element is not constant
acc.c:63: (near initialization for `rad_attr[3]')
acc.c:512: parse error before "phrase2code"
acc.c:513: warning: return type defaults to `int'
acc.c: In function `phrase2code':
acc.c:514: `UINT4' undeclared (first use in this
function)
acc.c:514: (Each undeclared identifier is reported
only once
acc.c:514: for each function it appears in.)
acc.c:514: parse error before "code"
acc.c:518: `code' undeclared (first use in this
function)
acc.c: At top level:
acc.c:527: parse error before "rad_status"
acc.c:528: warning: return type defaults to `int'
acc.c: In function `rad_status':
acc.c:536: `PW_STATUS_START' undeclared (first use in
this function)
acc.c:539: `PW_STATUS_STOP' undeclared (first use in
this function)
acc.c: In function `acc_rad_request':
acc.c:549: `VALUE_PAIR' undeclared (first use in this
function)
acc.c:550: `UINT4' undeclared (first use in this
function)
acc.c:550: parse error before "av_type"
acc.c:564: invalid lvalue in assignment
acc.c:575: `av_type' undeclared (first use in this
function)
acc.c:576: warning: implicit declaration of function
`rc_avpair_add'
acc.c:576: `PW_ACCT_STATUS_TYPE' undeclared (first use
in this function)
acc.c:581: `PW_SERVICE_TYPE' undeclared (first use in
this function)
acc.c:611: `PW_USER_NAME' undeclared (first use in
this function)
acc.c:673: warning: implicit declaration of function
`rc_acct'
acc.c:673: `OK_RC' undeclared (first use in this
function)
acc.c:677: warning: implicit declaration of function
`rc_avpair_free'
make[1]: *** [acc.o] Error 1
make[1]: Leaving directory
`/opt/ser-0.8.12/modules/acc'
I am clueless on the same. Pls guide me.
:(
regards,
manu.
__________________________________
Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online.
http://taxes.yahoo.com/filing.html
Hi Jamey!
Im interested in the presence agent module, especially in including
geographical user information into the presence data.
What is the body type of the publication/notifications? Is it XML based
presence like used by Windows Messenger and Kphone? Is this format
defined somewhere? Is this the same as this old draft?
http://www.iptel.org/info/players/ietf/presence/outdated/draft-rosenberg
-impp-pidf-00.txt
The presentity table includes x and y colums? Are these to represent the
geographical location of the publisher?
regards,
Klaus
> -----Original Message-----
> From: Jamey Hicks [mailto:jamey.hicks@hp.com]
> Sent: Wednesday, January 21, 2004 7:24 PM
> To: Kevin Chu
> Cc: SER Users
> Subject: [Serusers] Re: problem for using the latest pa module
>
>
> Kevin Chu wrote:
> > Hi Jamey,
> >
> > I am interested for testing the new extensions of the pa
> module from the
> > latest
> > unstable release. However, I got problem for configuring pa module.
> >
>
> I will check in a fix to prevent this segv.
>
> > However, I don't know how to create the db for pa, I still
> can not get it
> > running
> > correctly.
> >
> I will add a pa.sql script for creating the tables.
>
> > It will be appreciated if you can provide me some
> instructions or examples
> > for
> > creating the db as well as setting the new parameters
> (presentity_table,
> > watcherinfo_table) and using the new commands.
> >
>
> The db_url is the same form as that of the usrloc db, e.g., mysql.
>
> Here are the pa params I'm using now:
> # -- pa params --
> modparam("pa", "use_db", 1)
> modparam("pa", "db_url", "mysql://ser:heslo@localhost/ser")
>
> There is currently a problem that pa does not pick up basic presence
> from ser itself, because it needs that info on a per contact basis,
> which means some changes to usrloc. I attempted that, but
> did not get
> it working. Right now pa is depending on the UA or presence UA
> PUBLISH'ing that info using application/cpim-pidf+xml format.
>
> Here are routing rules for PUBLISH and SUBSCRIBE:
> if (method=="PUBLISH") {
> if (!t_newtran()) {
> log(1, "newtran error\n");
> sl_reply_error();
> };
> handle_publish("registrar");
> log(1,"handled publish\n");
> break;
> };
>
> if (method=="SUBSCRIBE") {
> if (!t_newtran()) {
> log(1, "newtran error\n");
> sl_reply_error();
> };
> log(1, "handling subscription\n");
> handle_subscription("registrar");
> log(1,"handled subscribe\n");
> break;
> };
>
> Another problem is that Windows Messenger does not like the notifies
> that pa is sending. If anyone has any ideas what is wrong I
> would like
> to know about it.
>
> I'm deploying this version of the PA at the Internet2 Joint Techs
> Meeting in Hawaii next week as part of an Internet2 Presence
> Integrated
> Communication working group demo.
>
> -Jamey
>
> _______________________________________________
> Serusers mailing list
> serusers(a)lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers
>
>
Folks,
I've have committed new version of RTP proxy and nathelper into the
SER's cvs. One of the main changes in the new version is support for
so-called "bridge mode" in nathelper, which allows to create
application-level SIP gateways (e.g. ALG) on NAT box, to allow NATed
clients to make calls into WAN without any problems (or on IPv4/IPv6
gateway to allow IPv4<->IPv6 calls). The mode is activated by supplying
RTP proxy with two listen addresses, for example:
rtpproxy -l 1.1.1.1/2.2.2.2, in this case it means that 1.1.1.1 is
"external" address (WAN), while "2.2.2.2" is "internal" one (LAN). Of
course terms "internal" and "external" aren't magic, they are used for
convinience to avoid using something like "address1" and "address2".
For IPv4<->IPv6 command line will be: rtpproxy -l <IPv4> -6 /<IPv6>, or
rtpproxy -l /<IPv4> -6 <IPv6>, correspondingly in the first case IPv4
will be considered "external", while IPv6 "internal", while in the
second one vice versa.
Then, you have to configure ser properly, exact config is left as a
excersise to the reader, but the main principles are the following:
1. For proper bridging you have to enable loose routing, so that all SIP
signalling always goes through proxy (remember, UAs on LAN can't talk to
UAs on WAN directly).
2. In main route add something like the following to enable RTP bridging:
if (<some check that message is received from LAN>) {
force_rtp_proxy("i");
} else {
force_rtp_proxy();
};
This is no need to do such "black" magick in reply_route(), use as usual:
onreply_route[1] {
...
if (status=~"183" || status=~"200")
force_rtp_proxy();
...
}
The code is only lightly tested, so that there might be bugs. Please
report them to me.
Please also note that IPv6 support is imcomplete since nathelper can't
yet extract and rewrite IPv6 addresses and RTP proxy can't yet pre-load
IPv6 addresses when creating a session. However, main infrastructure is
in place, so that it can be coded in quite easily (patches or
sponsorship ;-) as usually are welcome).
-Maxim
-------- Original Message --------
Subject: [Serdev] CVS:commitlog: sip_router/modules/nathelper nathelper.c
Date: Mon, 9 Feb 2004 16:05:03 +0100
From: Maxim Sobolev <sobomax(a)portaone.com>
To: serdev(a)lists.iptel.org
sobomax 2004/02/09 16:05:03 CET
SER CVS Repository
Modified files:
modules/nathelper nathelper.c
Log:
o force_rtp_proxy now accepts option argument, which
consists of string of chars, each of them turns "on"
some feature, currently supported ones are:
`a' - flags that UA from which message is received
doesn't support symmetric RTP;
`l' - force "lookup", that is, only rewrite SDP when
corresponding session is already exists in the
RTP proxy. Only makes sense for SIP requests,
replies are always processed in "lookup" mode;
'i' - flags that message is received from UA in the
LAN. Only makes sense when RTP proxy is rinning
in the bridge mode.
NOTE: proper support for those flags requires very last
version of RTP proxy software at this time only available
from cvs.
o force_rtp_proxy can now be invoked without any argumens,
as previously, with one argument - in this case argument
is treated as option string and with two arguments, in
which case 1st argument is option string and the 2nd
one is IP address which have to be inserted into
SDP (IP address on which RTP proxy listens).
Revision Changes Path
1.40 +130 -50 sip_router/modules/nathelper/nathelper.c
http://cvs.berlios.de/cgi-bin/viewcvs.cgi/ser/sip_router/modules/nathelper/…
actually hang means when 111 making a call to 222 and
222 not picks up the phone..... when if 111 takes the receiver off bell is
continously ringing...... and if 222 cut the phone after 111 takes the
receiver off.........
now at this time 222 phone is hanged no one can call him right now until an
unless reset 222.
.
Disclaimer
--------------------------------------------------------------------------
This email and any files transmitted with it are confidential
and intended solely for the use of the individual or entity
to whom they are addressed. If you have received this email
in error please notify the system manager. Recipients must
check this email and any attachments for the presence of
viruses before downloading them. Direct Internet /
Primus India accepts no liability for any damage caused by
any virus transmitted by this email.
Hi All
My problem is...i have got two phones set 111 and 222. if i make call from
111 and don't pick up 222 and cancel the call, this all is fine. but my phone
gets hanged...both 111 and 222....what shud be done to properly handle cancel
requests.
i am attaching my ser.cfg file.
#
# $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"
# ------------------ module loading ----------------------------------
# Uncomment this if you want to use SQL database
loadmodule "/usr/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"
loadmodule "/usr/local/lib/ser/modules/domain.so"
loadmodule "/usr/local/lib/ser/modules/call.so"
modparam("domain", "db_url", "sql://root:root@localhost/ser")
modparam("domain", "db_mode", 1) # Use chaching
modparam("domain", "domain_table", "domain")
modparam("domain", "domain_col", "domain")
modparam("tm", "fr_inv_timer", 30 )
modparam("registrar", "default_expires", 60)
# ----------------- 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 (is_from_local()) {
if (method=="REGISTER") {
# Uncomment this if you want to use digest authentication
if (!www_authorize("", "subscriber")) {
www_challenge("", "0");
break;
};
save("location");
break;
};
# native SIP destinations are handled using our USRLOC DB
if (method=="INVITE") {
if(call()){ //written one module for few things works fine
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();
};
}
.
Disclaimer
--------------------------------------------------------------------------
This email and any files transmitted with it are confidential
and intended solely for the use of the individual or entity
to whom they are addressed. If you have received this email
in error please notify the system manager. Recipients must
check this email and any attachments for the presence of
viruses before downloading them. Direct Internet /
Primus India accepts no liability for any damage caused by
any virus transmitted by this email.
even if i use default(sample) configuration file ser.cfg...still same thing
is happening
Regards
Dhawan K
.
Disclaimer
--------------------------------------------------------------------------
This email and any files transmitted with it are confidential
and intended solely for the use of the individual or entity
to whom they are addressed. If you have received this email
in error please notify the system manager. Recipients must
check this email and any attachments for the presence of
viruses before downloading them. Direct Internet /
Primus India accepts no liability for any damage caused by
any virus transmitted by this email.
Hi All
I have a problem with cancellation of call...if i cancel a call. my phone
gets hanged and callee's phone continue ringing.....
Regards
Dhawan K
.
Disclaimer
--------------------------------------------------------------------------
This email and any files transmitted with it are confidential
and intended solely for the use of the individual or entity
to whom they are addressed. If you have received this email
in error please notify the system manager. Recipients must
check this email and any attachments for the presence of
viruses before downloading them. Direct Internet /
Primus India accepts no liability for any damage caused by
any virus transmitted by this email.
Hi all:
I recently did an install of ser from cvs, and trying to configure ser.cfg
from /usr/lib/etc I found an issue when I try to run ser from serctl.
This is a stdout:
[root@sph1 ser]# serctl start
Starting SER : PID file /var/run/ser.pid does not exist -- SER start failed
[root@sph1 ser]#
This only happen when I turn on mysql.so loadmodule.
What can be wrong? I missing something?
Thanks in advance.
Regards,
Gus
The ser.cfg shows:
/* Uncomment these lines to enter debugging mode */
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"
# ------------------ 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"
loadmodule "/usr/local/lib/ser/modules/textops.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)