I am trying to make openser-1.2.0-notls and get the following error:
In file included from mi_xmlrpc.c:38:
mi_xmlrpc.h:35:20: error: xmlrpc.h: No such file or directory
In file included from mi_xmlrpc.c:38:
mi_xmlrpc.h:37: error: syntax error before âenvâ
mi_xmlrpc.h:37: warning: type defaults to âintâ in declaration of âenvâ
mi_xmlrpc.h:37: warning: data definition has no type or storage class
mi_xmlrpc.h:38: error: syntax error before â*â token
mi_xmlrpc.h:38: warning: type defaults to âintâ in declaration of
âxr_responseâ
mi_xmlrpc.h:38: warning: data definition has no type or storage class
In file included from mi_xmlrpc.c:39:
xr_writer.h:37: error: syntax error before â*â token
xr_writer.h:38: error: syntax error before â*â token
In file included from mi_xmlrpc.c:40:
xr_parser.h:36: error: syntax error before â*â token
In file included from mi_xmlrpc.c:41:
xr_server.h:35: error: syntax error before â*â token
xr_server.h:35: error: syntax error before â*â token
xr_server.h:36: warning: type defaults to âintâ in declaration of
âdefault_methodâ
xr_server.h:36: warning: data definition has no type or storage class
xr_server.h:38: error: syntax error before â*â token
mi_xmlrpc.c:44:26: error: xmlrpc_abyss.h: No such file or directory
mi_xmlrpc.c:50: error: syntax error before âenvâ
mi_xmlrpc.c:50: warning: type defaults to âintâ in declaration of âenvâ
mi_xmlrpc.c:50: warning: data definition has no type or storage class
mi_xmlrpc.c:51: error: syntax error before â*â token
mi_xmlrpc.c:51: warning: type defaults to âintâ in declaration of
âxr_responseâ
mi_xmlrpc.c:51: warning: data definition has no type or storage class
mi_xmlrpc.c: In function âmod_child_initâ:
mi_xmlrpc.c:162: warning: implicit declaration of function
âxmlrpc_server_abyss_init_registryâ
mi_xmlrpc.c:172: error: âxmlrpc_server_abyss_rpc2_handlerâ undeclared (first
use in this function)
mi_xmlrpc.c:172: error: (Each undeclared identifier is reported only once
mi_xmlrpc.c:172: error: for each function it appears in.)
mi_xmlrpc.c:178: error: âxmlrpc_server_abyss_default_handlerâ undeclared
(first use in this function)
mi_xmlrpc.c:193: warning: implicit declaration of function âxmlrpc_env_initâ
mi_xmlrpc.c:196: warning: implicit declaration of function
âxmlrpc_build_valueâ
mi_xmlrpc.c:196: warning: assignment makes pointer from integer without a
cast
mi_xmlrpc.c:197: error: request for member âfault_occurredâ in something not
a structure or union
mi_xmlrpc.c:198: error: request for member âfault_stringâ in something not a
structure or union
mi_xmlrpc.c:198: error: request for member âfault_stringâ in something not a
structure or union
mi_xmlrpc.c:198: error: request for member âfault_stringâ in something not a
structure or union
mi_xmlrpc.c:198: error: request for member âfault_stringâ in something not a
structure or union
mi_xmlrpc.c:198: error: request for member âfault_stringâ in something not a
structure or union
mi_xmlrpc.c:198: error: request for member âfault_stringâ in something not a
structure or union
mi_xmlrpc.c:198: error: request for member âfault_stringâ in something not a
structure or union
mi_xmlrpc.c:198: error: request for member âfault_stringâ in something not a
structure or union
mi_xmlrpc.c:219: warning: implicit declaration of function
âxmlrpc_env_cleanâ
mi_xmlrpc.c:220: warning: implicit declaration of function âxmlrpc_DECREFâ
make[1]: *** [mi_xmlrpc.o] Error 1
make[1]: Leaving directory `/usr/src/openser-1.2.0-notls/modules/mi_xmlrpc'
make: *** [modules] Error 2
rpm -q xmlrpc-c-devel
xmlrpc-c-devel-1.04-1.fc4
find -name xmlrpc.h
./usr/include/xmlrpc-c/xmlrpc.h
Any suggestions would be appreciated.
Regards
Cameron
hi!
When I invoke the radius_load_attrs() the message send to radius has the following shape:
Thu Mar 8 10:50:46 2007
Packet-Type = Access-Request
User-Name = "sip:hellboy@voip.rd.touk.pl"
SER-Service-Type = Get-User-Attrs
NAS-Port = 0
NAS-IP-Address = 127.0.0.1
the message doesn't contain any authentication data like password.
so do I understand right that radius in such case should be configured in such a way to accept any message of the SER-Service-Type = Get-User-Attrs?
Are still the avp loaded from radius prefixed or they are just put into the particular track and class?
Could You please give me one example of the radius one avp record and the shape in which it will appear in ser after loading.
Thank you in advance
Best
Tomasz
Hi!
Does presence module handles PUBLISH/SUBSCRIBE stateful or stateless?
Thus, how should retransmission be handled. Will they be detected by
presence module or is it possible to wrap the handle_publish inside
t_newtran()?
regards
klaus
Hi guys,
I'm having a problem about asterisk dropping calls received from OpenSER
The problems was spotted at Asterisk users mailing lists
http://lists.digium.com/pipermail/asterisk-users/2007-April/184875.html
Asterisk complains about an ACK not received and drops the calls.
It expects OpenSER to send an ACK back to its '200 OK' when the call is
set up
Is that a problem OpenSER should solve ???
Tnx in advance
Regards
Edoardo Serra
WeBRainstorm S.r.l.
Hi all,
I have added nathelper support to basic ser.cfg file of Ottendorf release.
It is a simple setup without any complexity of using other features such
as connectivity_realm etc.
You can download it at
http://www.iptel.org/ser/howtos/optimizing_the_use_of_rtp_proxy
File is called ser_config_2_0.txt
The more complex one will come with updated document soon.
Lada
Hi,
I am setting up a testing environment with about 100 users. I would
like to see who is online/registered, conversation times, protocols,
etc. Basically I want to be able to capture all the messages for
troubleshooting purposes, durability, compatibility, reliability, etc.
Will the acc module do that for me, how do I set it up to capture the
data?
Thank you very much,
Ben
Dear all,
starting to build up OpenSER as presence server, I had no mentionable problems. Now, I tried to implement an Apache2 based XCAP server to store presence info, buddy lists etc. there.
I have a problem setting up the XCAP-Lite server v0.9. Searching the web and the mailing list did not lead to a successful answer why the following happens:
After setting up Apache2 with all required modules, virtual host etc. I try to use Eyebeam 1.5 to write the presrules and resource-list.xml to the database. This failes.
I have successfully installed Apache2 with pear (+ extensions), php, mysql support.
I created a virtual host with the following settings:
NameVirtualHost *
<VirtualHost *>
<Location "/">
Dav On #necessary for PUT method
</Location>
ServerName 172.16.167.128
DocumentRoot /var/www/ #/var/www/xcap-root didn't work for GET as well, changed
RewriteEngine On
RewriteLog /var/log/apache2/rewrite.log
RewriteLogLevel 2
RewriteRule /xcap-root/(.*) /xcap-root/index.php
ProxyVia On
</VirtualHost>
I putted all files from XCAP-Lite archive in /var/www/xcap-root.
After using PUT method through Eyebeam (change in contact list) I receive the 204 No content message.
BUT: Not the database content is changed, the putted XML file overwrites index.php instead, which means, further requests fail.
Does anybody know why the access to database does not work? Password etc. in config.php is ok.
Thanks in advance.
Best regards
Sebastian
PS: As I didn't find a mail address of the author of the program, I hope he is also subscribed to that list. There is probably an error in xcap-lib.php on line 766. I think there is a space between function and XCAPclient necessary.
Guys,
I'm wondering what solutions there are to this problem. We have some
NATed clients making outgoing calls. The NAT traversal is done using
mediaproxy and works fine. However, we have a problem with 183 responses
and early media ringing sounds.
The problem is that before the NATed client starts sending out RTP data,
mediaproxy doesn't know which IP and port to send the RTP traffic to.
Some of the NETed clients don't start sending out RTP traffic until the
call is connected, therefore none of the early media (ringing sounds)
reaches the user - making it sound like dead air.
Any ideas?
Jeff
Hi,
Have any of you folks seen an abnormal CPU usage issue with rtpprpxy?
At times, "top" shows rtpproxy uses 100% CPU (sometimes 99%, sometimes
even 101%!), and it stops responding to openser. I have to restart
everything now.
A small thread in Serdev list recommends upgrading rtpproxy to latest
in CVS:
http://lists.iptel.org/pipermail/serdev/2006-June/007459.html
Mine was fairly old, so I upgraded, but without much progress. What
really bugs is I don't know what triggers it.
Backtraces suggest that this occurs in different places in rtpproxy,
before and after upgrading.
Before upgrade:
(gdb) where
#0 0xb7f49410 in ?? ()
#1 0xbffd6d88 in ?? ()
#2 0x00000076 in ?? ()
#3 0xbffd2410 in ?? ()
#4 0x4a8d9fd1 in sendto () from /lib/tls/libc.so.6
#5 0x0804ac0c in main (argc=7, argv=0xbffd6e14) at main.c:1467
After upgrade:
(gdb) where
#0 0xb7f0a410 in ?? ()
#1 0xbfcb0258 in ?? ()
#2 0xbfcadfc0 in ?? ()
#3 0xbfcab8e0 in ?? ()
#4 0x00bb8dd1 in recvfrom () from /lib/tls/libc.so.6
#5 0x0804a568 in main (argc=7, argv=0xbfcb02e4) at main.c:1364
Any clues? Is this a known problem and is there a patch or some sort
ofworkaround? Is there anything I need to upgrade? (This is CentOS
4.4, FWIW) Anything that should be done in openser configuration?
Thanks much in advance.
- Sajith.
FYI: A new ser module which could probably easily ported to openser too
(if someone needs this feature)
regards
klaus
-------- Original Message --------
Subject: [Serdev] Contributing new module "prefix_route" to SER
Date: Wed, 25 Apr 2007 16:52:39 +0200
From: Alfred E. Heggestad <aeh(a)db.org>
To: serdev(a)iptel.org
Hi
Here is a contribution to the SER community; a new module called
"prefix_route" that does prefix-based routing from rules stored in
the database.
The work was sponsored by my employer, Telio Telecom.
The source code is attached, and can also be downloaded from here:
http://aeh.db.org/patch/prefix_route-20070425.tar.gz
The module has been tested with ser-0.9.6 and ser-0.9.7-pre8
from CVS. It could also be ported to SER 2.0 if there is any
interest.
The idea with this module is to move the logic of selecting
PSTN gateway from ser.cfg to the database. In the database
you will have a table called e.g. "prefix_route" which has
one entry per rule, matching a prefix to a route number:
prefix route
------ -----
0045 -> route 3
0046 -> route 4
0047 -> route 5
for incoming requests, you can call the prefix_route() function
in your ser.cfg - it will then try to match the username part of
the request-uri to the "best" prefix, i.e. closest match. if there
is a match, it will jump to that routing block in ser.cfg. all
referenced route numbers must be declared in ser.cfg, otherwise
it will not load. The prefix_route table is populated from the DB
at boot or with the "prefix_reload" FIFO command, into a RAM-based
tree that is used in execution time.
For more documentation, please see the README file ;)
I hope that this module will be useful for you, any feedback will
be appreciated!
/alfred
_______________________________________________
Serdev mailing list
Serdev(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serdev