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.
Hello,
We have a lots of error log like this, what fills syslog
ERROR:tm:t_forward_nonack: discarding fwd for a cancelled transaction
ERROR:tm:w_t_relay: t_forward_nonack failed
ERROR: t_check_status: cannot check status for a reply which has no
T-state established
Could you tell me how could i avoid this?
I think these are not errors. Shall i just change the debug level for
this logs?
Thanks any help,
Tamas
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
Hello,
I have the same error as Gregorio on my installation, I am running OpenSER
1.3 and my XCAP client is eyeBeam².
Thanks in advance for your help,
Antoine
2007/10/30, Gregorio <goyo.villalba(a)dialcom.com>:
>
> Hi all.
>
>
>
> I get an exception in openXcap when I send a GET to retrieve the resources
> file.
>
> I explain the process I followed:
>
>
>
> ----->Send GET to openXcap.
>
> <----Receive 404, because there is not file.
>
>
>
> -----> Send PUT to openXcap. The body contains a resource-list.xmldocument 'with no data':
>
> Body;
>
> <?xml version='1.0' encoding='UTF-8'?>
>
> <resource-lists xmlns='urn:ietf:params:xml:ns:resource-lists'
> xmlns:cp='urn:ietf:params:xml:ns:copycontrol'>
>
> <list></list>
>
> </resource-lists>
>
>
>
> <----Receive 200 OK. So openXcap likes my document.
>
>
>
> -----> Send GET to openXcap.
>
> <---- Receive 500 "An error occurred rendering the requested page. More
> information is available in the server log". So the same document that was
> accepted in the PUT throws an exception.
>
>
>
> The server log says:
>
>
>
> Oct 30 15:01:55 localhost openxcap[2791]: [-] Exception rendering:
>
> Oct 30 15:01:55 localhost openxcap[2791]: [-] Traceback (most recent call
> last):
>
> Oct 30 15:01:55 localhost openxcap[2791]: [-] File
> "/usr/lib/python2.4/site-packages/twisted/internet/posixbase.py", line 228,
> in mainLoop
>
> Oct 30 15:01:55 localhost openxcap[2791]: [-] self.runUntilCurrent
> ()
>
> Oct 30 15:01:55 localhost openxcap[2791]: [-] File
> "/usr/lib/python2.4/site-packages/twisted/internet/base.py", line 533, in
> runUntilCurrent
>
> Oct 30 15:01:55 localhost openxcap[2791]: [-] f(*a, **kw)
>
> Oct 30 15:01:55 localhost openxcap[2791]: [-] File
> "/usr/lib/python2.4/site-packages/twisted/internet/defer.py", line 239, in
> callback
>
> Oct 30 15:01:55 localhost openxcap[2791]: [-]
> self._startRunCallbacks(result)
>
> Oct 30 15:01:55 localhost openxcap[2791]: [-] File
> "/usr/lib/python2.4/site-packages/twisted/internet/defer.py", line 304, in
> _startRunCallbacks
>
> Oct 30 15:01:55 localhost openxcap[2791]: [-] self._runCallbacks()
>
> Oct 30 15:01:55 localhost openxcap[2791]: [-] --- <exception caught
> here> ---
>
> Oct 30 15:01:55 localhost openxcap[2791]: [-] File
> "/usr/lib/python2.4/site-packages/twisted/internet/defer.py", line 317, in
> _runCallbacks
>
> Oct 30 15:01:55 localhost openxcap[2791]: [-] self.result =
> callback(self.result, *args, **kw)
>
> Oct 30 15:01:55 localhost openxcap[2791]: [-] File
> "/usr/lib/python2.4/site-packages/xcap/resource.py", line 51, in
> sendResponse
>
> Oct 30 15:01:55 localhost openxcap[2791]: [-] response =
> http.Response(response.code, stream=response.data)
>
> Oct 30 15:01:55 localhost openxcap[2791]: [-] File
> "/usr/lib/python2.4/site-packages/twisted/web2/http.py", line 109, in
> __init__
>
> Oct 30 15:01:55 localhost openxcap[2791]: [-] self.stream =
> IByteStream(stream)
>
> Oct 30 15:01:55 localhost openxcap[2791]: [-] exceptions.TypeError:
> ('Could not adapt', array('c', "<?xml version='1.0'
> encoding='UTF-8'?><resource-lists
> xmlns='urn:ietf:params:xml:ns:resource-lists'
> xmlns:cp='urn:ietf:params:xml:ns:copycontrol'><list></list></resource-lists>"),
> <InterfaceClass twisted.web2.stream.IByteStream>)
>
>
>
>
>
> Anyone know what is wrong?
>
> Thanks and best regards.
>
> Gregorio
>
>
>
>
>
>
>
>
>
>
>
>
>
> _______________________________________________
> Users mailing list
> Users(a)lists.openser.org
> http://lists.openser.org/cgi-bin/mailman/listinfo/users
>
>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
avpops doc say that avp spec for integer values is
$avp(i[script_flags]:<ID>)
Is it possible to set avp aliases to that values, e.g. avp_aliases="x=i1:10"
avp_aliases="y=i2:10"
?
When I do that, I got this error message in openser 1.3:
Nov 14 16:00:42 [28355] ERROR:core:add_avp_galias: duplicate alias/avp entry
Nov 14 16:00:42 [28355] ERROR:core:add_avp_galias_str: add global alias
failed
Nov 14 16:00:42 [28355] CRITICAL:core:yyerror: parse error (54,3-4):
invalid AVP aliases
regards
helmut
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFHOxLU4tZeNddg3dwRArlWAKCd7mGq6K3yODf/8bvZRa9F/vcpugCfWsb7
Ale6eO7Xz8C0fnvyg5m4/n0=
=tPWq
-----END PGP SIGNATURE-----
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/>
Dear Colleagues,
first of all, thank you for the great software which is a very nice and
convenient way to build up a stable VoIP telephone system! We already have a
working system based on OpenSER and Asterisk.
After many experiments I finally raise this question to you because I cannot
figure out the solution. The problem described on
http://www.openser.org/pipermail/users/2006-January/002747.html seems to be
very similar to mine.
I am using openser-1.1.0-9etch1. I tried to replace the FROM variable as
follows:
loadmodule "uac.so"
modparam("uac","from_restore_mode","auto")
...
route
{
...
avp_write("$fU", "$avp(s:display)");
avp_write("$fU", "$avp(s:dispuri)");
avp_subst("$avp(s:display)", "/^36(.*)/06\1/");
avp_subst("$avp(s:dispuri)", "/^36(.*)/sip:06\1@datanet.hu/");
uac_replace_from("$avp(s:display)", "$avp(s:dispuri)");
...
}
Unfortunately nothing seems to happen: no change is made on several VoIP
telephones, including X-Lite as well. loose_route() and record_route() were
also used in my configuration. Could you please help me what I am missing
here? If needed, I can also send a full config file.
Thank you in advance,
Zoltan Kovacs
sysadmin
Hi
I have a problem with tm module, I can't set the module parameter
pass_provisional_replies . The module tm is loaded succesfully, I insert
in to the configuration this line:
modparam("tm", "pass_provisional_replies", 1)
When I start ser I got this error message :
0(9618) set_mod_param_regex: parameter <pass_provisional_replies> not
found in module <tm>
0(9618) parse error (33,19-20): Can't set module parameter
ser version used 0.9.6 , I couldn't found any solution on the google. I
have to recompile the tm module with some modifications ? or I have
other mistake in the configuration?
Please help!
Thank you
Szasz Szabolcs