Dear All,
I use openser 1.0.1 and use rtp proxy for some cases other than nat option. At voice calls I do not have any problem. But When I try to send fax,it is unsuccesful. I investigated the logs and saw that, after the reinvites ( to take the session from g729 to G711u bypass mode ), the last OK message's SDP that is sending from openser to user agent is not correct.Etheral logs are attached.
Is it a bug of rtpproxy ? Any suggestion.
Best Regards,
Hakan.
Hi,
I am having performance issues with openser running on Fedora. Here is
the scenario:
I have a openser which is sending calls to two asterisks, doing radius
accounting and local syslog accounting, the database for user location
is a local MySQL and the asterisks are load-balanced through
dispatcher.
i have modules:
loadmodule "/usr/local/lib/openser/modules/mysql.so"
loadmodule "/usr/local/lib/openser/modules/sl.so"
loadmodule "/usr/local/lib/openser/modules/tm.so"
loadmodule "/usr/local/lib/openser/modules/rr.so"
loadmodule "/usr/local/lib/openser/modules/maxfwd.so"
loadmodule "/usr/local/lib/openser/modules/usrloc.so"
loadmodule "/usr/local/lib/openser/modules/registrar.so"
loadmodule "/usr/local/lib/openser/modules/nathelper.so"
loadmodule "/usr/local/lib/openser/modules/textops.so"
loadmodule "/usr/local/lib/openser/modules/xlog.so"
loadmodule "/usr/local/lib/openser/modules/avpops.so"
loadmodule "/usr/local/lib/openser/modules/avp_radius.so"
loadmodule "/usr/local/lib/openser/modules/acc.so"
loadmodule "/usr/local/lib/openser/modules/options.so"
loadmodule "/usr/local/lib/openser/modules/uri_db.so"
loadmodule "/usr/local/lib/openser/modules/auth.so"
loadmodule "/usr/local/lib/openser/modules/auth_db.so"
loadmodule "/usr/local/lib/openser/modules/auth_radius.so"
loadmodule "/usr/local/lib/openser/modules/dispatcher.so"
Now the problem is that if i use sipp to send INVITE with 10-20 call
attempts per seccond at one time ser just timeouts without answering
for 1-2 seconds and sipp has to retransmit the packets. The timeout
which sipp waits is 500ms so it should be enough.
I have something like on 500 call attempts i get 700 retransmits.
I will start stripping the config to troubleshoot but i was wondering
if you can give me some idea what the problem might be or some good
advice on troubleshooting, where should i look, and if you have any
bes practices to recommend.
BR,
Dimitar
I don't think that the problem in URI is presence of npdi. The problem is IMO that
it is a SIP URDI without a domain -- I don't really see to where I would
be able to send such a URI.
-jiri
At 19:53 23/06/2006, John Clements wrote:
>I've looked around and have found one or two other posts asking about
>this, but I have never seen an answer. The From is:
>
>=uri: <sip:5551212;npdi=yes@x.x.x.x:5060;dtg=SIP;user=phone>
>
>Which causes a number of issues. USRLOC no longer works:
>
>=lookup(): '5551212;npdi=yes' Not found in usrloc
>
>And when you send the call to an Asterisk server, Asterisk wigs out
>because it truncates everything after the first ";" it encounters in the
>URI. Does anyone have any idea how to get rid of it? I've tried subst(),
>but could not get it to work. :-(
>
>
> -John
>
>
>_______________________________________________
>Serusers mailing list
>Serusers(a)lists.iptel.org
>http://lists.iptel.org/mailman/listinfo/serusers
--
Jiri Kuthan http://iptel.org/~jiri/
Okay... help me visualise something. Now, as far as I can tell, SER is doing
exactly what it's supposed to be doing, but I can't figure out how to get it
to do something different.
I have an accounting section (my log flag is 1) that looks like this:
if((method=="INVITE" && !has_totag()) || method=="BYE")
{
setflag(1);
};
Basic, simple logging section. But when someone calls through from a DID to an
alias in the aliases table, it of course logs the sip_to as the alias.
Fine, I thought. I'll just add a lookup("aliases") before the setflag and all
will be well, right? No. Then it doesn't seem to log anything at ALL.
So what I'm trying to figure out is how to get SER to log a call coming into
an alias as a call to the user who's aliased.
I.e. a call is coming in from 1010(a)remote.proxy.com to 9999(a)proxy.com (which
is really an alias to user 1234(a)proxy.com). Right now, SER is logging in the
acc tables that the call went to sip:9999@proxy.com.
I want to have it log that the call went to 1234(a)proxy.com and NOT that it
went to the alias.
This:
if((method=="INVITE" && !has_totag()) || method=="BYE")
{
lookup("aliases");
setflag(1);
};
gets me nothing at all.
Ideas, anyone? I'm stumped. I'm sure it's something drastically simple that
I'm just not getting.
N.
Hi,
I'm looking for a way to extract statistics from SER such as registrations
or invites per second. I was thinking I could either log all of these to a
file using xlog and then parse it, but it's not going to be pretty. Does
anyone have any suggestions?
Thanks.
Hey Guys,
Can somebody post an example of
an INVITE with non-US characters in the From tag?
What character set should be use for non-US callerid?
-g
--
Greg Fausak
greg(a)thursday.com
I have openser-tls and openser-tls-radius-modules install on a debian
sarge box, but the radius options for the acc module seem not to work.
galileo:~# /etc/init.d/openser restart
There are errors in the configuration file. Please fix them first.
Also make sure you have installed the debian packages that provide
the additional modules that your configuration requires. cpl, jabber,
mysql, postgres and radius are in separate packages.
0(14929) set_mod_param_regex: parameter <radius_config> not found in
module <acc>
0(14929) parse error (34,20-21): Can't set module parameter
0(14929) set_mod_param_regex: parameter <radius_flag> not found in
module <acc>
0(14929) parse error (35,19-20): Can't set module parameter
0(14929) set_mod_param_regex: parameter <radius_missed_flag> not found
in module <acc>
0(14929) parse error (36,19-20): Can't set module parameter
ERROR: bad config file (3 errors)
Is radius support for the acc module not included in these packages? Do
I need to grap the source?
Jeff
Is there any way to get openser to do radius auth using attribute from
the Cisco VSA Voice Implementation Guide
<http://www.cisco.com/en/US/products/sw/iosswrel/ps1835/products_programming…>?
i.e. something like:
Access-Request
NAS-IP-Address = 203.56.98.120
NAS-Port-Type = Async
User-Name = "62186234"
cisco-h323-conf-id = "h323-conf-id=89437006 E20011DA B677BBCA
D2EBCDD5"
Called-Station-Id = "0011553334112401"
Calling-Station-Id = "0295731743"
User-Password =
"<145>;<22><242>$<251><243>)u<183>h<225>y<173><150><193>"
I would like to get openser to authenticate against an existing billing
system if possible.
Jeff