high.all!
i'm wondering if there is any support of uaCSTA in openser (planned)?
i'm just working on the integration of asterisk (*) environment to OCS 2007
environment, having openSER in the middle (mainly for TCP/UDP translation
and smoothing out the protocol deficienes on both sides). in this setup the
* having the openSER in front is talking to the OCS (and vice versa) via the
OCS mediation server, which is moreorless sending standard SIP messages,
which enables normal softphone (integration to *) of the office
communicator. this configuration is already working...
now i'm planning to go for the CTI integration, where there is no OCS
mediation server in between OCS and openSER, doing the translation of
SIP/CSTA to SIP. i'm thinking about using openSER for this task, that's why
i'm looking for a CSTA module or perl programm, which is capable of this
functionality.
afaik for the CTI communication there isn't the full complexity of CSTA
needed, just a subset mainly for call setup and call clearing.
anyone having experience on this topic?
thx & cheers
-hugo
Great Ideas for Small Devices
Hugo Koblmueller
Senior Staff Engineer Software Development COMNEON electronic
technology GmbH & Co. OHG
Freistaedter Strasse 400
4040 Linz
Austria
hugo.koblmueller(a)comneon.com
tel:
fax:
mobile:
Skype ID: +43 (5) 1777 - 15730
<http://www.plaxo.com/click_to_call?lang=en&src=jj_signature&To=%2B43+%285%2
9+1777+%2D+15730&Email=hugo(a)koblmueller.com>
+43 (5) 1777 - 15810
+43 (676) 82051280
<http://www.plaxo.com/click_to_call?lang=en&src=jj_signature&To=%2B43+%28676
%29+82051280&Email=hugo(a)koblmueller.com>
drhookson
Want to always have my latest info?
<https://www.plaxo.com/add_me?u=21475050628&src=client_sig_212_1_banner_join
&invite=1&lang=en> Want a signature like
<http://www.plaxo.com/signature?src=client_sig_212_1_banner_sig&lang=en>
this?
Hi, maybe this question is a bit off-topic so I'm sorry for that.
My question is about SIP providers using OpenSer that associate PSTN numbers
to their local clients (SIP accounts):
Usually the client must register to OpenSer in order to receive calls. Then it
will appear in location table with "Contact=sip:clientX@IP".
Suppose clientX has two PSTN numbers associated in a ENUM entry:
+34999000111
+34999000222
When anyone in PSTN world calls to +34999000222 the call will arrive to the
OpenSer from a gateway in an INVITE like:
INVITE sip:+34999000222@gateway SIP/2.0
To: <sip:+34999000222@gateway>
The OpenSer will do the lookup in location table and finally send this INVITE
to the clientX:
INVITE sip:clientX@IP_clientX SIP/2.0
To: <sip:+34999000222@gateway>
The info about the called PSTN number is just available in "To" header, so a
way to get different behaviour for each associated PSTN number is
matching "To" URI.
Is common to do it? which other alternatives are there?
Thanks for any comment. Regards.
--
Iñaki Baz Castillo
ibc(a)in.ilimit.es
Hi all,
Trying to install Openser1.3.2.... everything is OK and fine... but when I
try to add support for snmp there are errors.. Dig dep into google,
recheck all dependencies and didn't succeed...
My env is FreeBSD 7.0-STABLE i386
The full net-snmp package is installed:
atila# pkg_info | grep net-snmp
net-snmp-5.3.2_3 An extendable SNMP implementation
These are the error messages....
make modules/libsnmpstats modules....
Compiling alarm_checks.c
gcc -fPIC -DPIC -g -O9 -funroll-loops -Wcast-align -Wall
-minline-all-stringops -falign-loops -ftree-vectorize -mtune=prescott
-Wold-style-definition -Wmissing-field-initializers
-DMOD_NAME='"snmpstats"' -DNAME='"openser"' -DVERSION='"1.3.2-notls"'
-DARCH='"i386"' -DOS='"freebsd"' -DCOMPILER='"gcc 4.2.1"' -D__CPU_i386
-D__OS_freebsd -D__SMP_no -DCFG_DIR='"/usr/local/etc/openser/"'
-DPKG_MALLOC -DSHM_MEM -DSHM_MMAP -DUSE_IPV6 -DUSE_MCAST -DUSE_TCP
-DDISABLE_NAGLE -DHAVE_RESOLV_RES -DSTATISTICS -DCHANGEABLE_DEBUG_LEVEL
-DF_MALLOC -DFAST_LOCK -DADAPTIVE_WAIT -DADAPTIVE_WAIT_LOOPS=1024
-DHAVE_SOCKADDR_SA_LEN -DHAVE_GETHOSTBYNAME2 -DHAVE_UNION_SEMUN
-DHAVE_SCHED_YIELD -DHAVE_MSGHDR_MSG_CONTROL -DHAVE_CONNECT_ECONNRESET_BUG
-DHAVE_TIMEGM -DHAVE_NETINET_IN_SYSTM -DHAVE_KQUEUE -DHAVE_SELECT -c
alarm_checks.c -o alarm_checks.o
In file included from alarm_checks.c:38:
openserObjects.h:41:38: error: net-snmp/net-snmp-config.h: No such file or
directory
openserObjects.h:42:40: error: net-snmp/net-snmp-includes.h: No such file
or directory
openserObjects.h:43:52: error: net-snmp/agent/net-snmp-agent-includes.h:
No such file or directory
If I edit each file and hardcode the path ... /usr/local/include/net-snmp/...
there are no errors... What am I missing in making sure the path to the
include files are OK... Tried a couple options but didn't succeed... tehre
are tons of include files into the src....
Regards
Ricardo Ferreira
Yes, we do run Openser
www.vipway.com.br
Enterprise VoIP Services
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 everybody,
does anybody has experience with installing the java tool SerMyAdmin?
The Tool is running but every action ends with an runtime exception. Trying
to register a new user ends with the following message:
Grails Runtime Exception
Error Details
Message:
Caused by: java.lang.NullPointerException
Class: RegisterUserController
At Line: [98]
Code Snippet: (empty)
Stack Trace
org.codehaus.groovy.runtime.InvokerInvocationException:
java.lang.NullPointerException at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:630)
at
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
at
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
at
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.jsecurity.web.servlet.WebInterceptorFilter.doFilterInternal(WebInterceptorFilter.java:106)
at
org.jsecurity.web.servlet.SecurityContextFilter.doFilterInternal(SecurityContextFilter.java:93)
at
org.jsecurity.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:106)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:595)Caused by:
java.lang.NullPointerException at RegisterUser.toString(RegisterUser.groovy)
at RegisterUserController$_closure8.doCall(RegisterUserController.groovy:98)
at RegisterUserController$_closure8.doCall(RegisterUserController.groovy)
... 29 more
Unfortunately, i dont have much experience with installing such java stuff.
It would be great if one of you can give me a hint or something. I dont have
any idea how to solve this problem.
Thanks for any comment!
Best regards
Mark Koopmann
Hi,
I am trying to setup CDRTool to work with Openser.
After installation, I try to bring up the web UI and login with
username=admin and password=admin. But it does not log me in. In the
CDRTool DB, I can find the admin username in the auth_user table.
Could someone tell me what could be wrong? Where can I check the log file
for CDRTool?
In the documentation, it says that CDRTool can provide 100% accuracy when
use with MediaProxy. If I use rptProxy instead, can CDRTool still provide
100% accuracy?
Thanks alot for all your help in advance.
Regards,
Pete
Bogdan,
I'll need to check out the shmem statistics.
I mean, this is the memory output for the OpenSER processes having run
for about 24 hours. Does it look right?:
# ps -C openser -o vsz,rss
VSZ RSS
234124 12636
369940 159392
369940 158840
369940 158860
370340 159220
369804 158696
370068 158932
370204 159048
370464 159344
234124 20904
234124 9484
234128 7952
234124 7948
234124 7880
234124 7880
234124 7880
234124 7880
234124 7880
234124 7880
234124 7880
234124 8332
Here are the modules I'm using. Not sure if any have a dependency on libxml:
loadmodule "mysql.so"
loadmodule "sl.so"
loadmodule "tm.so"
loadmodule "usrloc.so"
loadmodule "auth.so"
loadmodule "auth_db.so"
loadmodule "maxfwd.so"
loadmodule "mi_fifo.so"
loadmodule "nathelper.so"
loadmodule "perl.so"
loadmodule "registrar.so"
loadmodule "rr.so"
loadmodule "textops.so"
loadmodule "uri.so"
Thanks,
Julian
On Wed, May 7, 2008 at 5:22 AM, Bogdan-Andrei Iancu
<bogdan(a)voice-system.ro> wrote:
> Hi Julian,
>
> Have you tried to use the the shmem statistics to monitor the usage of SHM
> memory?
>
> Both for PKG and SHM memory, openser allocs at startup the whole memory
> (depending of how much you configured). Any leak will not be vizible for any
> external tools.
>
> Also, are you using any module that have dependency of libxml library?
>
> The dump you posted shows more or less nothing more than init phase -
> before sending the signal, be sure you select a worker process (use fifo
> command "ps" to get the list and types of processes).
>
> Regards,
> Bogdan
>
> Julian Yap wrote:
>
> >
> >
> >
> > On Mon, May 5, 2008 at 10:25 PM, Henning Westerholt
> > <henning.westerholt(a)1und1.de> wrote:
> >
> >
> > > On Saturday 03 May 2008, Julian Yap wrote:
> > > > I'm currently running OpenSER 1.3.1.
> > > >
> > > > It seems to slowly leaks memory.
> > > >
> > > > I've recompiled it as per for debug support in the memory manager:
> > > > http://www.openser.org/dokuwiki/doku.php/troubleshooting:memory
> > > >
> > > > Here is the memory manager dump of the memory status:
> > > > http://julianyap.com/download/openser1.3.1_memory_dump20080502.txt
> > > >
> > > > Any suggestions would be very welcome.
> > >
> > > Hi Julian,
> > >
> > > can you give a little more details about your problem? Why do you think
> it
> > > leaks memory? Do you get memory allocation errors in the logs?
> > >
> > > Cheers,
> > >
> > > Henning
> > >
> > >
> >
> > Henning,
> >
> > I don't get any memory allocation errors.
> >
> > I've recently updated to OpenSER 1.3 branch SVN r4107 but the 'leak'
> > still remains.
> >
> > On a 4GB box, free memory just seems to deplete.
> >
> > I have a cron job which restarts OpenSER every night but it seems like
> > not all the memory is free'd up. Eventually the box needs to be
> > rebooted. In the past, running out of memory has led to oom-killer
> > killing OpenSER.
> >
> > For example, I have this cron job:
> > */5 * * * * root echo "`date` `free | grep 'buffers/cache'`" >>
> > /var/log/free_memory.log
> >
> > Memory just depletes. Here's where OpenSER was restarted around midnight:
> > Sun May 4 23:10:01 HST 2008 -/+ buffers/cache: 2014972 2095204
> > Sun May 4 23:15:01 HST 2008 -/+ buffers/cache: 2027184 2082992
> > Sun May 4 23:20:01 HST 2008 -/+ buffers/cache: 2027604 2082572
> > Sun May 4 23:25:01 HST 2008 -/+ buffers/cache: 2038064 2072112
> > Sun May 4 23:30:01 HST 2008 -/+ buffers/cache: 2037868 2072308
> > Sun May 4 23:35:01 HST 2008 -/+ buffers/cache: 2053184 2056992
> > Sun May 4 23:40:01 HST 2008 -/+ buffers/cache: 2055216 2054960
> > Sun May 4 23:45:01 HST 2008 -/+ buffers/cache: 2075612 2034564
> > Sun May 4 23:50:01 HST 2008 -/+ buffers/cache: 2103232 2006944
> > Sun May 4 23:55:01 HST 2008 -/+ buffers/cache: 2114384 1995792
> > Mon May 5 00:00:01 HST 2008 -/+ buffers/cache: 2117320 1992856
> > Mon May 5 00:05:01 HST 2008 -/+ buffers/cache: 860304 3249872
> > Mon May 5 00:10:01 HST 2008 -/+ buffers/cache: 861208 3248968
> > Mon May 5 00:15:01 HST 2008 -/+ buffers/cache: 868968 3241208
> >
> > Here's where I just restarted OpenSER:
> > Mon May 5 23:30:01 HST 2008 -/+ buffers/cache: 2041740 2068436
> > Mon May 5 23:35:01 HST 2008 -/+ buffers/cache: 2049572 2060604
> > Mon May 5 23:40:01 HST 2008 -/+ buffers/cache: 2054856 2055320
> > Mon May 5 23:45:01 HST 2008 -/+ buffers/cache: 2065316 2044860
> > Mon May 5 23:50:01 HST 2008 -/+ buffers/cache: 2062248 2047928
> > Mon May 5 23:55:01 HST 2008 -/+ buffers/cache: 2076148 2034028
> > Tue May 6 00:00:01 HST 2008 -/+ buffers/cache: 2087256 2022920
> > Tue May 6 00:05:01 HST 2008 -/+ buffers/cache: 2091300 2018876
> > Tue May 6 00:10:01 HST 2008 -/+ buffers/cache: 2093244 2016932
> > Tue May 6 00:15:01 HST 2008 -/+ buffers/cache: 1382632 2727544
> >
> > Thanks,
> > Julian
> >
> > _______________________________________________
> > Devel mailing list
> > Devel(a)lists.openser.org
> > http://lists.openser.org/cgi-bin/mailman/listinfo/devel
> >
> >
> >
>
>
Hello,
There is a new component useful for implementing the presence server
solution using OpenSER and OpenXCAP.
OpenSER MI Proxy
----------------
OpenSER MI Proxy is designed to allow remote XML-RPC clients to issue MI
commands to OpenSER.
This proxy replaces the need for OpenSER built-in xml-rpc server,
which has
no access list and is prone to crash the server.
One of its purposes is to allow a remote OpenXCAP server to safely
call the
refreshWatchers() command on the management interface of the SIP
Presence
server when the presence policy document has changed.
The proxy can listen on custom IP addresses and provides an access
list for
the clients allowed to connect.
The software can be downloaded from:
http://download.ag-projects.com/OpenXCAP/
Kind regards,
Adrian Georgescu
----- "Sajith T S" <sajith(a)gmail.com> wrote:
> stanis(a)zimbra-1.gradwell.net wrote:
>
> > and got 6 calls on asterisk-2 and none on asterisk-1. If I change
> > the order, all calls go to the first host on the list. Shouldn't
> > openser do load-balancing in this scenario? I don't use any options
> > in t_relay().
>
> You should use openser dispatcher module for this.
Yes... I've just noticed in http://www.openser.org/pipermail/users/2007-October/013660.html that openser basically decided to go against SRV RFC and ignores weights. (RFC says that clients should sort and select from list of servers, not servers as B.A.I. suggested if I understood that correctly)
Anyways - about dispatcher: I couldn't find any description about it's behavior with call transfers / taking over. I understand that while I'm using callid-based hash there will be no problems with REFER, because call-id stays the same and each leg will go to the same server.
But what about INVITE + Replaces: ? I don't really see a way for it to work just with hashing. Has anyone tested this / has solution?
PS. sorry Sajith, I replied to you before by mistake
Thanks,
Stan