Hi!
I'm running ser-0.9.6, on FreeBSD 6.1-stable, database backend
is postgresql version 8.1.3.
Today I got errors in logfiles, saying:
messages.2.bz2:May 29 14:35:03 <XXX> /usr/local/sbin/ser[51448]:
ERROR:avpops:dbrow2avp: dbrow contains NULL fields
The similar problem reported in:
http://lists.iptel.org/pipermail/serusers/2005-May/019681.html
with much more detailed description of error, database contents
and config samples.
Patch is trivial, and looks more like a fix to copy'n'paste error:
in mysql/val.c function str2val states:
if (!_s) {
memset(_v, 0, sizeof(db_val_t));
VAL_TYPE(_v) = _t;
VAL_NULL(_v) = 1;
return 0;
}
VAL_NULL(_v) = 0;
and the last line mentions that 'well, that's value is not NULL'.
In postgresql/db_val.c, line 182, function str2valp, the same statement is the:
if (!_s) {
DLOG("str2valp", "got a null value");
VAL_TYPE(_v) = _t;
VAL_NULL(_v) = 1;
return 0;
}
without explicit notification that this is not-NULL value.
More than, nowhere else in this function VAL_NULL(_v) not set to 0.
So, if a value _v.val contained anyting but 0 at the function start,
resulting value will be threated as NULL despite the fact, that _s is NOT NULL.
Patch is obvious, just add VAL_NULL(_v)=0; after cited block (line 188) and
everyting will be ok.
At least for me it's ok for some hours :)
Hi ,
I tried to call from one nokia sip (E61 and other models )phone to another nokia sip phone. The call works fine. The problem comes only when I call from Phone A to Phone B and then immediately cancel the call(from Phone A). The Phone A will hangup the call as it sent CANCEL but the SER will ignore this CANCEL and still send INVITE to Phone B resulting in a ghost call situation.
I tried to capture a log of message and found that Phone A "CANCEL" message is received on SER even before any provisional response from Phone B. Therefor SER doesnot relay this CANCEL request to Phone B. I even checked RFC which clearly says that UAC should not send CANCEL untill it receives any provisional response. I talked to Nokia expert and they said the 100 Trying message from your server is considered as provisional response, therefor behaviour of client is absolutely correct.
Is there any way I can stop 100 Trying message and still run statefull SER, so that I can verify what nokia said. Any ideas suggestions are welcome.
Thanking you all in advance.
Best Regards,
Abdul Qadir
---------------------------------
Don't be flakey. Get Yahoo! Mail for Mobile and
always stay connected to friends.
Hi,
I encountered the following error:
Jun 15 08:57:21 rd ser[12680]: ERROR: slow timer too slow: overflow (7997 - 6974 = 1023)
Jun 15 08:57:24 rd last message repeated 46 times
Could you please point me what could be the reason?
Thanks in advance.
Tomasz
Hi
Is it possible to put Openser + Mediaproxy behind NAT while serving
internal phones and external phones ?
Internal phone <-> Openser+MediaProxy <-> NAT <-> external phone
(maybe behind nat also)
Openser is act as a registrar in this case.
If you have successful story with this setting, please share. Thank you so much
Regards,
Halomoan
Dear all
I have a big problem with openxcap. I don't get it work :( As I saw on
their webpage, this mailing list can be posted for this concern as well.
I am using version 0.9.3 and acc. the installation file on
http://www.openxcap.org all current dependencies from the Debian
unstable distribution.
When I start /usr/bin/openxcap, the following error occurs in the
syslog:
Sep 25 17:01:21 openxcap openxcap[11876]: [-] Log opened.
Sep 25 17:01:21 openxcap openxcap[11876]: [-] Starting Open XCAP 0.9.3
Sep 25 17:01:27 openxcap openxcap[11876]: [-] Traceback (most recent
call last):
Sep 25 17:01:27 openxcap openxcap[11876]: [-] File
"/usr/bin/openxcap", line 56, in ?
Sep 25 17:01:27 openxcap openxcap[11876]: [-] from xcap.server
import XCAPServer
Sep 25 17:01:27 openxcap openxcap[11876]: [-] File
"/usr/lib/python2.4/site-packages/xcap/server.py", line 21, in ?
Sep 25 17:01:27 openxcap openxcap[11876]: [-] from xcap import
authentication
Sep 25 17:01:27 openxcap openxcap[11876]: [-] File
"/usr/lib/python2.4/site-packages/xcap/authentication.py", line 21, in ?
Sep 25 17:01:27 openxcap openxcap[11876]: [-] from xcap.appusage
import getApplicationForURI
Sep 25 17:01:27 openxcap openxcap[11876]: [-] File
"/usr/lib/python2.4/site-packages/xcap/appusage/__init__.py", line 466,
in ?
Sep 25 17:01:27 openxcap openxcap[11876]: [-] applications =
{'xcap-caps': XCAPCapabilitiesApplication(),
Sep 25 17:01:27 openxcap openxcap[11876]: [-] File
"/usr/lib/python2.4/site-packages/xcap/appusage/__init__.py", line 64,
in __init__
Sep 25 17:01:27 openxcap openxcap[11876]: [-] self.xml_schema =
etree.XMLSchema(xml_schema_doc)
Sep 25 17:01:27 openxcap openxcap[11876]: [-] File "xmlschema.pxi",
line 67, in etree.XMLSchema.__init__
Sep 25 17:01:27 openxcap openxcap[11876]: [-] etree.XMLSchemaParseError:
Document is not valid XML Schema
As I wrote, I followed all instructions from the openxcap webpage but
didn't find any hints how to make it work.
Any help on that would be appreciated.
Best regards
Sebastian
--
Sebastian Schumann
Diploma Student Architecture and Design Department
Slovak Telekom, a. s.
T-Com, Operations Unit
Production and Service Division
Innovations and Enterprise Solution Subunit
Address: Namestie Slobody 6, 817 62 Bratislava, Slovakia
Office: Room 449, Jarabinkova 1, 821 09 Bratislava, Slovakia
+421 2 588 13332 (tel)
+421 910 643010 (mobile)
+49 175 1925928 (mobile)
sebastian.schumann(a)t-com.sk
http://www.t-com.sk <http://www.t-com.sk/>
Pascal Maugeri wrote:
> Thanks for your prompt answer.
>
> On 10/19/07, Klaus Darilion <klaus.mailinglists(a)pernau.at> wrote:
>> It depends on what kind of information should be stored in the other
>> server. If you "your server" needs to see the same contact information
>> as openser received you could use t_replicate to replicate the REGISTER
>> to "your server". In this case "your server" must not challenge the
>> REGISTER.
>
> My server does not need to store any information but the information
> that a user has been registered.
>
> I believe the solution I need is to use this t_replicate but I need to
> replicate the register once the registration is achieved successfully.
> So how can I do this replicate to my server once the complete dialog
> REGISTER-401-REGISTER-OK has been achieved between the UAC and OpenSER
> ?
Just use t_replicate after save(), e.g:
http://lists.iptel.org/pipermail/serdev/2006-June/007518.html
regards
klaus
ps: please Cc: the mailing-list
Hi, in order to use chat rooms I'd like to manage them just from a web
interface that handles imc_rooms and imc_members table, but sincerely I don't
know how to use them, I don't see doc about hot to use the tables.
What I'd like is to have "fixed" chat rooms without the need of creating them
with commands, but via web.
Could anyone explain me how to use those tables?
Please, explain me with this example:
- I want a chat room for domain "domain1.org" and name "chat1".
- I want three members for that room:
- user1(a)domain1.org
- user2(a)domain1.org
- other_user(a)other_domain.org
Could you fill the tables please?
** imc_rooms table **
name domain flag
** imc_members table **
username domain room flag
What is flag for? I suppose it's for features as private/public tables and so.
Maybe it's not possible to manage those tables and the only way is using chat
commands?
Thanks for any help and best regards.
--
Iñaki Baz Castillo
Hi,
I need the possibility of users in many groups. This is not allowed by "grp"
table where username, domain and grp are UNIQUE key.
So It could be valid for me using "re_grp" table and managing numeric groups.
But "re_grp" table doesn't allow realtime (if I do a INSERT or UPDATE in the
table I need to restat OpenSer).
Is not possible to use "re_grp" table in realtime mode?
Thanks.
--
Iñaki Baz Castillo
ibc(a)in.ilimit.es
Hello,
i'm happy to announce that the 'devel.openser.org' server, sponsored from my
company 1&1 Internet AG, is now available.
This machine hosts services for developers, but some of them are probably also
useful for users:
1. Daily creation of debian builds (etch i386 and amd64) of the trunk for
easily testing.
2. A read only svn mirror of the complete repository for better subversion
performance especially outside the USA.
3. The build and testing framework "buildbot" for continous monitoring of the
status from trunk and branches.
4. Doxygen code documentation with graph generation for better understanding
of the code and module dependencies.
You'll find at http://devel.openser.org/ the indivdual addresses of the
services. This page will probably be moved to www.openser.org after the
migration of these server.
Best regards,
Henning Westerholt
--
Henning Westerholt - Development Consumer Products / DSL Core
1&1 Internet AG, Ernst-Frey-Str. 9, 76135 Karlsruhe, Deutschland
Amtsgericht Montabaur HRB 6484 * Vorstand: Henning Ahlert, Ralph Dommermuth,
Matthias Ehrlich, Andreas Gauger, Thomas Gottschlich, Matthias Greve, Robert
Hoffmann, Norbert Lang, Achim Weiss * Aufsichtsratsvorsitzender: Michael
Scheeren
I am wondering how to expose and test the value of the expires parameter in a
REGISTER request.
I am experimenting with openser as the basis for a home phone network. I use
multiple devices with the same user ID. They register locally ( with no
reply ) and with an external service provider. The contacts are mangled to
show the public address of openser. Multiple registrations result in a single
AOR at the external registrar. Incoming calls from the outside are forked and
ring the local phones. Local phones can also call each other without the
hairpin problem associated with STUN enabled phones.
The problem is that a softphone will deregister when it is closed or its
profile changes. This would deregister the AOR at the external registrar. The
remaining phones could not receive calls from the outside until they
refreshed their registrations.
I would like to prevent deregistration at the external registrar unless the
phone that was deregistering was the only remaining one. The first step would
be to identify REGISTER messages where the expires value is equal to zero.
Any thoughts?
Thanks Rob