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
I was wondering if anyone has documentation on the new syntax used in SER 0.10.x. I see the following in the ser-advanced.cfg example file but I do not see these parameters documented anywhere.
Thanks,Steve
if ($t.fr_inv_timer) {
if ($t.fr_timer) {
t_set_fr("$t.fr_inv_timer", "$t.fr_timer");
} else {
t_set_fr("$t.fr_inv_timer");
}
}
Senior Network Engineer,
Information Systems and Computing
Networking and Telecommunications , Suite 221A /6228
University of Pennsylvania
Voice:215-573-8396
FAX:215-898-9348
Hi everybody,
Following the tradition started last year, the second edition of the
"OpenSER Advanced Programming Course" will be held in Bucharest,
Romania, starting with 11th of August 2008.
The primary goal is the same: to attract more developers to OpenSER and
build a higher development squad.
There are three major upgrades from last edition:
- free participation - there will be no fees for attending to this
course; you just need to register.
- there will be 4 days course instead of 3 days
- the course will contain also a practical work where the students
will have the chance to consolidate the knowledge they have accumulated
during the theoretical presentations. The course will have a 60% - 40%
distribution between theory and practice.
The course is dedicated to people willing to learn how to develop
OpenSER extensions. The course will follow the idea of writing a new
openser module from scratch, with all the dependencies it has from the
core: dynamic memory usage, MI interface, registering timers, locking,
exporting pseudo-variables, etc
The course is sponsored courtesy of :
- Packt Publishing (donating 5% of the revenue from the Flavio E.
Goncalves's "Building Telephony Systems with OpenSER" book.)
- Voice System (logistics and hosting)
Teachers from the OpenSER development team will be:
- Bogdan-Andrei Iancu
- Anca Vamanu
As, said, the registration is free, but the class is limited as size up
to 17 - 20 people. The seats will be granted on the "first in, first
served" policy :).
For registration, you need to mail me (bogdan(a)voice-system.ro) or to
openser(a)voice-system.ro . You will receive a confirmation response to
guarantee your registration.
Best regards,
Bogdan
El Viernes, 20 de Junio de 2008, Valerio Di Marino escribió:
> Thanks for your answer.
Ok, but next time continue the thread in the maillist ;)
> 2008/6/20 Iñaki Baz Castillo ibc(a)aliax.net:
> > AFAIK if a UAC is redirected it will not include the already used
> > credentials
> > in the new request to the new destination (maybe I'm wrong).
>
> Do you think is possible to force using the pseudovariables ?
No, it's not possible. When a UAAC receives a 302 it generates a completely
new request with destination the URI of the "Contact" in the 302.
> > If you need solving NAT in your OpenSer then you need to forward the
> > request
> > in it after make fix NAT.
>
> How ? Can explain better ?
If a UAC receives a 302 it will generate a new INVITE. If the UAC has not
configured your OpenSer as outbound proxy, the new INVITE it generates will
go directly to the SIP provider, so it's not possible your OpenSer makes fix
the NAT (fix "Contact" and so).
But maybe your SIP provider makes fix the NAT by itself, or you can try STUN
in your UAC's.
> > If not you could use forwarding or redirect.
>
> With redirect, openser will send an address and the uer will contact the
> new address: is it correct ? (I am not shure).
Yes, OpenSer replies a 302 with the new URI in the "Contact" header.
> > In OpenSer to get a redirection you must set the RURI ($ru = ...) and
> > reply a
> > 302 to the user.
>
> Can you send ma a routine syntax ?
> For example, I would redirect to sip.voipstunt.com
Something like:
$ru = "sip.voipstunt.com";
send_reply("302", "Redirect to SIP provider");
exit;
--
Iñaki Baz Castillo
Hi all,
i deleted openser.pid from /var/runand then i started
[root@info sbin]# openserctl start
database engine 'MYSQL' loaded
Control engine 'FIFO' loaded
Starting OpenSER :
ERROR: PID file /var/run/openser.pid does not exist -- OpenSER start failed
and then i started like:
[root@info sbin]# openser start
0(22725) cfg. warning: (28,15-16): tls support not compiled in
0(22725) cfg. warning: (29,10-13): tls support not compiled in
0(22725) cfg. warning: (30,21-22): tls support not compiled in
0(22725) cfg. warning: (31,21-22): tls support not compiled in
0(22725) cfg. warning: (32,34-35): tls support not compiled in
0(22725) cfg. warning: (33,14-19): tls support not compiled in
0(22725) cfg. warning: (34,20-21): tls support not compiled in
0(22725) cfg. warning: (35,20-21): tls support not compiled in
0(22725) cfg. warning: (36,16-17): tls support not compiled in
0(22725) loading module /usr/local/lib/openser/modules/mysql.so
0(22725) loading module /usr/local/lib/openser/modules/sl.so
0(22725) loading module /usr/local/lib/openser/modules/tm.so
0(22725) DEBUG: register_pv: tm
0(22725) xl_add_extra_spec: extra items list is not initialized
0(22725) xl_add_extra_spec: inserting extra item [T_branch_idx] at [0]
0(22725) xl_add_extra_spec: inserting extra item [T_reply_code] at [1]
0(22725) loading module /usr/local/lib/openser/modules/rr.so
0(22725) loading module /usr/local/lib/openser/modules/maxfwd.so
0(22725) loading module /usr/local/lib/openser/modules/usrloc.so
0(22725) loading module /usr/local/lib/openser/modules/registrar.so
0(22725) loading module /usr/local/lib/openser/modules/textops.so
0(22725) loading module /usr/local/lib/openser/modules/mi_fifo.so
0(22725) loading module /usr/local/lib/openser/modules/auth.so
0(22725) loading module /usr/local/lib/openser/modules/auth_db.so
0(22725) set_mod_param_regex: mi_fifo matches module mi_fifo
0(22725) set_mod_param_regex: found <fifo_name> in module mi_fifo
[/usr/local/lib/openser/modules/]
0(22725) set_mod_param_regex: usrloc matches module usrloc
0(22725) set_mod_param_regex: found <db_mode> in module usrloc
[/usr/local/lib/openser/modules/]
0(22725) set_mod_param_regex: usrloc matches module usrloc
0(22725) set_mod_param_regex: found <db_url> in module usrloc
[/usr/local/lib/openser/modules/]
0(22725) set_mod_param_regex: auth_db matches module auth_db
0(22725) set_mod_param_regex: found <db_url> in module auth_db
[/usr/local/lib/openser/modules/]
0(22725) set_mod_param_regex: auth_db matches module auth_db
0(22725) set_mod_param_regex: found <calculate_ha1> in module auth_db
[/usr/local/lib/openser/modules/]
0(22725) set_mod_param_regex: auth_db matches module auth_db
0(22725) set_mod_param_regex: found <password_column> in module auth_db
[/usr/local/lib/openser/modules/]
0(22725) set_mod_param_regex: rr matches module rr
0(22725) set_mod_param_regex: found <enable_full_lr> in module rr
[/usr/local/lib/openser/modules/]
0(22725) find_cmd_export_t: found <mf_process_maxfwd_header>(1) in module
maxfwd [/usr/local/lib/openser/modules/]
0(22725) find_cmd_export_t: found <sl_send_reply>(2) in module sl
[/usr/local/lib/openser/modules/]
0(22725) find_cmd_export_t: found <sl_send_reply>(2) in module sl
[/usr/local/lib/openser/modules/]
0(22725) find_cmd_export_t: found <record_route>(0) in module rr
[/usr/local/lib/openser/modules/]
0(22725) find_cmd_export_t: found <loose_route>(0) in module rr
[/usr/local/lib/openser/modules/]
0(22725) find_cmd_export_t: found <append_hf>(1) in module textops
[/usr/local/lib/openser/modules/]
0(22725) find_cmd_export_t: found <append_hf>(1) in module textops
[/usr/local/lib/openser/modules/]
0(22725) find_cmd_export_t: found <www_authorize>(2) in module auth_db
[/usr/local/lib/openser/modules/]
0(22725) find_cmd_export_t: found <www_challenge>(2) in module auth
[/usr/local/lib/openser/modules/]
0(22725) find_cmd_export_t: found <save>(1) in module registrar
[/usr/local/lib/openser/modules/]
0(22725) find_cmd_export_t: found <lookup>(1) in module registrar
[/usr/local/lib/openser/modules/]
0(22725) find_cmd_export_t: found <append_hf>(1) in module textops
[/usr/local/lib/openser/modules/]
0(22725) find_cmd_export_t: found <lookup>(1) in module registrar
[/usr/local/lib/openser/modules/]
0(22725) find_cmd_export_t: found <sl_send_reply>(2) in module sl
[/usr/local/lib/openser/modules/]
0(22725) find_cmd_export_t: found <append_hf>(1) in module textops
[/usr/local/lib/openser/modules/]
0(22725) find_cmd_export_t: found <t_relay>(0) in module tm
[/usr/local/lib/openser/modules/]
0(22725) find_cmd_export_t: found <sl_reply_error>(0) in module sl
[/usr/local/lib/openser/modules/]
ERROR: bad config file (9 errors)
0(22725) INFO:mi_fifo:mi_destroy:memory for the child's mi_fifo_pid was not
allocated -> nothing to destroy
0(22725) DEBUG: tm_shutdown : start
0(22725) DEBUG: tm_shutdown : emptying hash table
0(22725) DEBUG: tm_shutdown : releasing timers
0(22725) DEBUG: tm_shutdown : removing semaphores
0(22725) DEBUG: tm_shutdown : destroying tmcb lists
0(22725) DEBUG: tm_shutdown : done
0(22725) shm_mem_destroy
please anybody help me.
With Best Regards,
Naveen.
Hello all,
This e-mail to find some help, i'm desperate.
I've many stability problems, when using RTP Proxy + OpenSER.
Maybe it's hardware, maybe ... I really don't know.
-> Infos :
Server : Dell PowerEdge dual Xeon, 2 GB RAM, PERC 6i RAID card.
OS: i tried all these one :
. ubuntu gutsy
. ubuntu hardy
. debian etch
. debian lenny (actually running)
the problems are the same on each distro.
it's AMD64 architecture-based :
Linux 2.6.18-6-amd64 #1 SMP Fri Jun 6 05:24:08 UTC 2008 x86_64 GNU/Linux
I need mySQL, NAT, and Radius support (Radiator used).
I compilated as indicated, to enable in the acc module the support of
Radius.
I used the libradius (radiusclient-ng 0.5.6), and tried too with the
libradius-ng2.
sources :
http://www.openser.org/dokuwiki/doku.php/install:make-debian-packageshttp://www.openser.org/dokuwiki/doku.php/install:backport-debian-source-pac…
and some related websites like voip-info.org, ...
then, i tried these pairs :
RTP Proxy 1.02 + OpenSER 1.3.1 : crash
RTP Proxy 1.02 + OpenSER 1.3.2 : crash (actually running)
RTP Proxy 1.1 + OpenSER 1.3.1 : crash
RTP Proxy 1.1 + OpenSER 1.3.2 : crash
But, at each first running, all works fine : NAThelper, Radius, mySQL.
Registrations are ok, accounting tickets and mySQL requests too, calls are
fine, ...
And when i changed one line of config, for example, an AVP value, it crashes
at restart or just at the start, for different reasons each time.
The processes become ghosts, or never restart, etc...
See all the debug files in attached files - in this case, it's the NAThelper
who crashed - but sometimes it works really fine ... even if i don't touch
any configuration.
If you need more infos, or another kind of crash, no pbm ...
Many thanks to all for any suggestions, this situation makes me crazy.
Samuel MULLER