Hello all,
just a short remainder about the IRC OpenSER development meeting today at
13:00 GMT in the #openser channel on freenode.net.
Information about this meeting:
http://openser.org/dokuwiki/doku.php/development:irc-meeting-agenda-17-07-2…
Please join us!
--
Henning Westerholt - Unix system development
1&1 Internet AG, Brauerstraße 48, 76135 Karlsruhe, Germany
Hi everybody,
There is some undergoing work on the logging system in OpenSER and I
feel that some issues should be publicly addressed before moving forward.
What we have now in openser:
1) two logging systems - syslog and standard error
2) message format - totally chaos.
What we want to fix:
1) a better way to make easy distinction between the logs from
different levels (ERR, WARN, DBG, etc)
2) a standard message format that, independend of the logging
support (syslog, stderr), will provide all the needed information (level
and date at least).
Here is my suggestion:
1) logging and message format:
There will be different macros for each log level and the message
should include the module_name and function for a better tracking of the
messages:
LOG_NOTICE("module_name:function: message")
LOG_DBG("module_name:function: message")
LOG_ERR("module_name:function: message")
......
2) logging backends:
a) syslog
syslog automatically logs the date, process and from syslog.conf,
you can redirect the log in different files based on the log level, so
here there is nothing to be changed.
b) stderr
we need to extend dprint() (logger function for stderr) to prefix
to the log message the date and log level (as text). This will provide
similar possibilities as for syslog. (a patch is already available for
this on the tracker)
If there are some comments on the proposed solution or there is a better
approach, please let me know as I want to move on with this topic.
Regards,
Bogdan
Hi
I read the Ser Getting started pdf.
can anybody tell me what would be the structure of My Sql database used in "Hello world scenario with my sql authentication"
thnks
mukesh
---------------------------------
Boardwalk for $500? In 2007? Ha!
Play Monopoly Here and Now (it's updated for today's economy) at Yahoo! Games.
Hi All,
Well, after a bit of a struggle with the example document on the website,
which is highly outdated,
I've managed to have OpenSER send Radius requests to my FreeRadius Server.
Now, I'm getting rejected by the radius server, with the following error
messages:
Sun Jul 15 05:02:02 2007 : Auth: rlm_digest: Configuration item
"User-Password" or Digest-HA1 is required for authentication.
Sun Jul 15 05:02:02 2007 : Auth: Login incorrect: [101(a)192.168.2.80/<no
User-Password attribute>] (from client openser port 5060)
Sun Jul 15 05:02:12 2007 : Auth: Login incorrect: [101(a)192.168.2.80/<no
User-Password attribute>] (from client openser port 0)
Sun Jul 15 05:02:22 2007 : Auth: rlm_digest: Configuration item
"User-Password" or Digest-HA1 is required for authentication.
Sun Jul 15 05:02:22 2007 : Auth: Login incorrect: [101(a)192.168.2.80/<no
User-Password attribute>] (from client openser port 5060)
Sun Jul 15 05:02:31 2007 : Auth: Login incorrect: [103(a)192.168.2.80/<no
User-Password attribute>] (from client openser port 0)
Assistance would be appreciated.
Following below is my OpenSER and FreeRadius configurations:
http://pastebin.com/f41e8204a
Regards,
openser(a)zap2link.com
Hi,
does anybody know, how i can make a sip trunk between a cisco callmanager
5.0 and a sip express router (0.9.6)?
kind regards julia
--
Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer
Hi, I'm trying to enabe the module pua_usrloc in OpenSer 1.2.1 but I can't
since I get an error:
set_mod_param_regex: parameter <db_url> not found in module <pua_usrloc>
Of course, I have loaded the modules:
loadmodule "pua.so"
loadmodule "pua_usrloc.so"
I see no "db_url" parameter for pua_usrloc module in the doc:
http://www.openser.org/docs/modules/1.2.x/pua_usrloc.html
but I do see it in the pua module, so I set:
modparam("pua", "db_url", "mysql://openser:openserrw@localhost/openser")
but I get the same error:
<db_url> not found in module <pua_usrloc>
So I've tryed to add:
modparam("pua_usrloc", "db_url", "mysql://openser:openserrw@localhost/openser")
with exactly same problem.
Any idea of what I'm doing wrong? anybody using pua_usrloc module succesfully?
Regards.
--
Iñaki Baz Castillo
ibc(a)in.ilimit.es
Hello
I am running version 0.9.6 and have a situation where I want to change
the remote-party-id of a forwarded call so that when the call reach the
destination the forwarding users number is avertised. It is necessary to
change it becaus if I dont change this header the first number of the
trunk is shown, which almost everytime is another customer than the
forwarder.
I have experimented with avpops and subst but can not get the avp part
to translate into the value in the resulting string.
This is the code I am using for unconditional forwarding
if (avp_db_load("$ruri/username", "s:cfwd")) {
setflag(22);
revert_uri();
avp_write("$ruri/username","s:calledno");
subst('/^Remote-Party-ID:(.*)>(.*)$/Remote-Party-ID:
"$avp(calledno)" <sip:$avp(calledno)>\2/i');
avp_delete("s:calledno");
avp_pushto("$ruri/username", "s:cfwd");
prefix("01"); #use interface 1 on Vegastream Gate
route(5);
route(4);
break;
};
The resulting header looks like this:
Remote-Party-ID: "$avp(rpid)"
<sip:$avp(rpid)>;party=calling;screen=no;privacy=off.
Is it not possible to use avpops in subst?
Any other idea on how to change the header in 0.9.6.
Kind regards
Roger Lewau
Hi all,
I find somes informations about using SER and Asterisk to do a SIP
trunk.
Indeed, the context is the follow :
- One Asterisk with PABX functionnality wich provide some services
- This Asterisk wants to make calls to PSTN without direct interco
- Asterisk should be interconnect to a SER server
In this context, what's the solutions to provide a trunk between
Asterisk and SER for this context, and have accounting on SER ?
Thanks for your indications and support.
Sincerely,
Adrien .L
Hi all,
I'm working on a SIP client, I'm implementing SIMPLE but during my tests
I encounter a very strange behavior with the iptel.org server.
When I send a SUBSCRIBE message with an Expires value of 0 I receive a
407 / Authentication needed, I handle the challenge correctly (I've
checked, the response value is correct) but I receive a new 407 message
with the same challenge !
It continues again and again and I'm never able to authenticate.
What is the problem ?
I can join a dump if needed.
Cheers,
Ben