Hi, I use colors for the XLOGs with log_stderror=yes, this is nice when I'm
learning and debuggoing all the time.
But for a production system I know I need to disable log_stderror and log into
Syslog (for example using a specific local facility for logging in an
independent file /var/log/openser.log).
But in that way I loose my cool colors that help me a lot debugging.
A solution I'm thinking about is to use "log_stderror=yes" and start OpenSer
redirecting the output to a file, but sincerely I don't think this is very
effective and serious.
Any suggestion? maybe I should forget my funny colors?
Thanks.
--
Iñaki Baz Castillo
ibc(a)in.ilimit.es
I have a SIP/PSTN provider with an account username/password.
The address of the provider is sip.test.com
I would like to redirect phone calls to the gateway, but how is it possible to log in on the gateway and forward calls?
Thank you for your replies
Best Regards,
I've tried:
if (uri=~"0[0-9][0-9]*@*") {
rewritehostport("username:password@sip.test.com"); # Rewrite the URI
route(1);
exit;
}
Hi, using OpenSer 1.2.1 and trying to use "usr_preferences" MySQL table for loading AVP's.
My conf:
loadmodule "avpops.so"
...
modparam("avpops", "db_url","mysql://openser:openserrw@localhost/openser")
modparam("avpops", "avp_table","usr_preferences")
modparam("avpops","use_domain",1)
...
route[5] # Auth
{
line #543: if (avp_db_load("$ru/domain","s:trusted_ips") && avp_check("s:trusted_ips", "eq/$sp/gi")) {
xlog("L_INFO", "Authorized by usr_preferences AVPs\r\n");
}
....
}
I get this error:
0(0) ERROR:avops:parse_avp_db:: error - bad avp flags
0(0) ERROR:avpops:fixup_db_avp: parse failed
0(0) ERROR: fix_actions: fixing failed (code=-1) at cfg line 543
0(0) ERROR: fix_expr : fix_actions error
ERROR: error -1 while trying to fix configuration
Any idea of what I'm doing wrong?
Thanks a lot for any help.
--
Iñaki Baz Castillo
ibc(a)in.ilimit.es
Hi All,
Has anyone tried nathelper but not using rtpproxy, my server is on a
location with limited bandwidth so
i'd like to be able to just have the sip messages to the server but not
the media. Do i need all phones configured
to use STUN if the SIP server is configured that way?
Thank You in Advanced
Regards,
Nhadie
Hi All,
Has anyone tried nathelper but not using rtpproxy, my server is on a
location with limited bandwidth so
i'd like to be able to just have the sip messages to the server but not
the media. Do i need all phones configured
to use STUN if the SIP server is configured that way? Thank You in Advanced
Regards,
Nhadie
Hello, I'm still trying to get openser + freeradius + cdrtool working together
I have stil one problem, it's that UserName are not stored in the acct database, whereas they are displayed in the aact logs
Any piece of advice will be welcome
Thanks
This is a view of the CDRTool interface: SIP Caller, In, SIP destination, don't appear in the database!
Id Start time SIP Proxy SIP caller In SIP destination Out Dur Price KBIn KBOut Status Codec
3N 2007-07-30 10:00:19 05:22 0.00 0.00 Ok (200)
Signalling information
Session: 1ec37-c0a80101-0-2(a)192.168.95.4
Start time: 2007-07-30 10:00:19 Europe/Paris
Stop time: 2007-07-30 10:05:41 Europe/Paris
Method: INVITE from :
From:
Dialed URI:
Next hop URI:
Billing Party:
This is a part of the acct log
Mon Jul 30 13:55:19 2007
Acct-Status-Type = Start
Service-Type = Sip-Session
Sip-Response-Code = 200
Sip-Method = INVITE
Event-Timestamp = "Jul 30 2007 13:55:19 CEST"
Sip-From-Tag = "c0a80101-6e0646"
Sip-To-Tag = "c0a80101-888e30"
Acct-Session-Id = "3f9aaaf-c0a80101-0-10(a)192.168.95.4"
Sip-Src-IP = "192.168.95.4"
Sip-Src-Port = "5060"
User-Agent = "THOMSON ST2030 hw0 fw1.50 00-0E-50-4E-AF-AE"
User-Name = "105"
NAS-Port = 5060
Acct-Delay-Time = 0
NAS-IP-Address = 192.168.95.248
Client-IP-Address = 192.168.95.248
Acct-Unique-Session-Id = "694a4cf65dd7fd9f"
Timestamp = 1185796519
Hi,
When I was trying to bringup SER with SEMS installed I get the following
error in /var/log/messages:
Jul 30 16:24:21 Emailclient ser: parse error (214,17-18): parse error
Jul 30 16:24:21 Emailclient ser: parse error (214,19-20): bad arguments
The line number 214 refers to "load_avp("ruri","email",0);"
Please provide me some input on getting rid of this issue.
Thanks in advance,
Ranganath B
Hello,
We are looking to hire a consultant to help us design and configure Ser
for a residential service offering. We are based in Denver Colorado.
If you know of anyone who could help please let me know.
Ted Cekan
303-692-9409 x304