Hi experts,
I am start user of openser and need use openser to support sctp.
now I have download the source codes of openser-1.3.1-tls.
then I compiled it, there have many errors that need your supports.
e.g.
openser-1.3.1-tls> make all
Makefile.defs:717: *** missing separator. Stop.
then I commented Makefile.defs line717 and 718.
# $(warning Old gcc detected ($(CC_SHORTVER)), use
gcc >= 3.1 \
# for better results)
Errors were still there.
openser-1.3.1-tls> make all
Makefile:402: warning: overriding commands for target `/opt/CiscoMGC$(DESTDIR)'
Makefile:393: warning: ignoring old commands for target
`/opt/CiscoMGC$(DESTDIR)'
yacc -d -b cfg cfg.y
"cfg.y", line 391: warning: redeclaration of precedence of SLASH.
conflicts: 1 shift/reduce
flex cfg.lex
statistics.c:58: warning: #warning STATISTICS: Architecture with no
support for atomic operations. Using Locks!!
Makefile:402: warning: overriding commands for target `/opt/CiscoMGC$(DESTDIR)'
Makefile:393: warning: ignoring old commands for target
`/opt/CiscoMGC$(DESTDIR)'
Compiling action.c
gcc -g -O9 -funroll-loops -Wall -mv8 -DNAME='"openser"'
-DVERSION='"1.3.1-notls"' -DARCH='"sparc64"' -DOS='"solaris"'
-DCOMPILER='"gcc 2.91.66"' -D__CPU_sparc64 -D__OS_solaris -D__SMP_no
-DCFG_DIR='"$(DESTDIR)/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_GETIPNODEBYNAME -DHAVE_SYS_SOCKIO_H -DHAVE_SCHED_YIELD
-DHAVE_ALLOCA_H -DUSE_SIGACTION -D_POSIX_PTHREAD_SEMANTICS
-DHAVE_DEVPOLL -DHAVE_SELECT -c action.c -o action.o
parser/msg_parser.h: In function `char_msg_val':
In file included from action.h:27,
from action.c:44:
parser/msg_parser.h:300: parse error before `)'
forward.h: In function `msg_send':
In file included from action.c:49:
forward.h:95: parse error before `)'
forward.h:103: parse error before `)'
forward.h:107: parse error before `)'
mem/../lock_alloc.h: In function `lock_set_alloc':
In file included from mem/../locking.h:66,
from mem/../statistics.h:115,
from mem/shm_mem.h:33,
from ut.h:52,
from action.c:54:
mem/../lock_alloc.h:68: parse error before `)'
ut.h: In function `int2bstr':
In file included from action.c:54:
ut.h:172: parse error before `)'
ut.h: In function `un_escape':
ut.h:365: parse error before `)'
ut.h: In function `shm_str_dup':
ut.h:498: parse error before `)'
ut.h: In function `pkg_str_dup':
ut.h:515: parse error before `)'
ut.h: In function `str_strcmp':
ut.h:532: parse error before `)'
ut.h:535: parse error before `int'
ut.h:539: `minlen' undeclared (first use in this function)
ut.h:539: (Each undeclared identifier is reported only once
ut.h:539: for each function it appears in.)
ut.h:547: `alen' undeclared (first use in this function)
ut.h:547: `blen' undeclared (first use in this function)
ut.h: In function `str_strcasecmp':
ut.h:563: parse error before `)'
ut.h:566: parse error before `int'
ut.h:570: `minlen' undeclared (first use in this function)
ut.h:578: `alen' undeclared (first use in this function)
ut.h:578: `blen' undeclared (first use in this function)
action.c: In function `run_action_list':
action.c:140: parse error before `)'
action.c: In function `do_assign':
action.c:193: parse error before `)'
action.c:202: parse error before `)'
action.c:222: parse error before `)'
action.c:228: parse error before `)'
action.c: In function `do_action':
action.c:302: parse error before `)'
action.c:309: parse error before `)'
action.c:335: parse error before `)'
action.c:498: parse error before `)'
action.c:524: parse error before `)'
action.c:682: parse error before `)'
action.c:710: parse error before `)'
action.c:723: parse error before `)'
action.c:757: parse error before `)'
action.c:763: parse error before `)'
action.c:807: parse error before `)'
action.c:819: parse error before `)'
action.c:870: parse error before `)'
action.c:896: parse error before `)'
action.c:904: parse error before `)'
action.c:930: parse error before `)'
action.c:939: parse error before `)'
action.c:945: parse error before `)'
action.c:966: parse error before `)'
make: *** [action.o] Error 1
Your any help is much appreciated!
BR,
Eric
Hi,
++ I have registered 3 UACs to the same openser server which are behind NAT.
UAC 1 -- 111111
UAC 2 -- 222222
UAC 3 -- 333333
++ So in location table , I am getting :
------------------------------------------------+-----------------------+--------------------------
Contact |
Received |
------------------------------------------------+-----------------------+--------------------------
111111@<private-IP>:5060 | sip:public-IP : 5060|
222222@<private-IP>:5060 | sip:public-IP : 5060|
333333@<private-IP>:5060 | sip:public-IP : 5060|
++ I have set user preferences :
+------+------------------+-------------------------+-------------+------+------------------------------------------------------+
| uuid | username | domain | attribute | type
| value |
+------+------------------+-------------------------+-------------+------+------------------------------------------------------+
| | 222222 | domainname.com | fwdbusy | 0 |
fwdbusy:sip:333333@domainname.com <fwdbusy%3Asip%3A333333(a)domainname.com>
| | 222222 | domainname.com | noanscfwd | 0 |
noanscfwd:sip:333333@domainname.com<noanscfwd%3Asip%3A333333(a)domainname.com>
+------+------------------+-------------------------+--------------+------+------------------------------------------------------+
++ I am using mediaproxy for audio signaling.
++ Now I am dialing 222222 using 111111 & keeps 222222 ringing until it
stops automatically. So call is being forwarded to 333333.
111111 ---------------> 222222---------------> 333333
++ I pick up the call . So 111111 & 333333 is connected.
++ Now I hangup 333333 , so it sends BYE request to 111111.
+ Now the problem is 111111 do not accept the BYE request. So it stays
connected. & the BYE request keeps looping infinitly in openser.
Here is the BYE request :
Message Body: BYE sip:111111@<server-IP>:5060 SIP/2.0
Via: SIP/2.0/UDP <111111's Private IP>:5060;branch=z9hG4bK-ed33673a;rport
From: <sip:222222@domainname.com <sip%3A222222(a)domainname.com>
>;tag=632a4773b79ebfa8i1
To: Anonymous <sip:111111@domainname.com <sip%3A111111(a)domainname.com>
>;tag=26190b20d13c8197o0
Call-ID: 4d753c94-f366deb3@localhost
CSeq: 101 BYE
Max-Forwards: 70
Route: <sip:[SERVER'sIP]:5060;nat=yes;ftag=26190b20d13c8197o0;lr=on>,
<sip:[SERVER's IP]:5060;nat=yes;ftag=26190b20d13c8197o0;lr=on>
User-Agent: Linksys/PAP2T-3.1.15(LS)
Content-Length: 0
0(5877) DEBUG:maxfwd:is_maxfwd_present: value = 70
0(5877)
#############################record_route###############################
0(5877) #######################After record_route########################3
0(5877) ------ ------ bye ---call tear down ---
0(5877) parse_headers: flags=78
0(5877) ##################################Before
loose_route##########################
0(5877) parse_headers: flags=200
0(5877) is_preloaded: No
0(5877) grep_sock_info - checking if host==us: 13==13 && [SERVER IP] ==
[SERVER IP]
0(5877) grep_sock_info - checking if port 5060 matches port 5060
0(5877) after_strict: Next hop: 'sip:SERVER
IP:5060;nat=yes;ftag=26190b20d13c8197o0;lr=on' is loose router
0(5877) parse_headers: flags=ffffffffffffffff
0(5877) rewrite_uri: Rewriting Request-URI with 'sip:SERVER
IP:5060;nat=yes;ftag=26190b20d13c8197o0;lr=on'
0(5877) after_strict: The last route URI: 'sip:SERVER
IP:5060;nat=yes;ftag=26190b20d13c8197o0;lr=on'
0(5877) ##################################into
loose_route##########################
0(5877) DEBUG: has_totag: totag found
0(5877) DEBUG: has_totag: totag found
0(5877) check_via_address(PUBLIC IP of 111111, PRIVATE IP of 111111, 0)
0(5877) ##############################client_nat_test or search
#########BYE##############################
0(5877)
###########################setbflag6#################################
0(5877) ------ ------ bye - loose route -----
0(5877) DEBUG: t_newtran: T on entrance=0xffffffff
0(5877) parse_headers: flags=ffffffffffffffff
0(5877) parse_headers: flags=78
0(5877) t_lookup_request: start searching: hash=16425, isACK=0
0(5877) DEBUG: RFC3261 transaction matching failed
0(5877) DEBUG: t_lookup_request: no transaction found
0(5877) DBG: trans=0xb612d7f8, callback type 1, id 0 entered
0(5877) DEBUG: mk_proxy: doing DNS lookup...
0(5877) check_via_address(PUBLIC IP of 111111, PRIVATE IP of 111111, 0)
0(5877) DBG:check_against_rule_list: using list dns
0(5877) DEBUG:tm:set_timer: relative timeout is 500000
0(5877) DEBUG: add_to_tail_of_timer[4]: 0xb612d944 (401700000)
0(5877) DEBUG:tm:set_timer: relative timeout is 20
0(5877) DEBUG: add_to_tail_of_timer[0]: 0xb612d960 (421)
0(5877) DEBUG:tm:t_relay_to: new transaction fwd'ed
0(5877) -------------- cheked t reply ---
0(5877) DEBUG:tm:UNREF_UNSAFE: after is 0
0(5877) DEBUG:destroy_avp_list: destroying list (nil)
0(5877) receive_msg: cleaning up
++ From the parsing of BYE request , I found evenif I am doing loose route
in cfg , It is doing strict route.
Can you please help me to solve this.
Thanks in advance.
--
Regards,
Krunal Patel
Hi,
When I run a *long* sql query in openser.cfg using avp_db_query, I am
getting the following error:
May 26 02:52:15 [13784] ERROR:core:pv_printf: no more space for text [584]
May 26 02:52:15 [13784] ERROR:core:pv_printf: buffer overflow -- increase
the buffer size...
May 26 02:52:15 [13784] ERROR:avpops:ops_dbquery_avps: cannot print the
query
How can I increase the buffer size?
Thanks in advance for your help.
Regards,
Pete
Hi everybody,
does anyone have a tested documentation (on installing, configuring or
setting up DISC
to work together with openSER) ... the DISC (DIameter Server Client) ?
On http://developer.berlios.de/projects/disc/ and after searching the
web I couldn't find anything except the tarball...
thanks in advance
regards Patrick
Untitled Document
Hi...
What´s the best system in performance question, to use NAT MediaProxy or RTPProxy?
--------------------------------------------------------------------------
Alcindo Schleder
Sistema Processa Acessoria e Comunicações Ltda.
a.. MSN: a_schleder(a)hotmail.com
b.. Skipe: alcindo_schleder
Demétrio P. dos Santos, 705 - 95670-000 - Gramado-RS-Brasil
Celular + 55 54 9966 7591 alcindo(a)processa.org
Fone +55 54 3286-1738 comercial(a)processa.org
Hi, I tried to install serMyAdmin-0.5-BETA.war on FC5,
tomcat5-5.5.15-1jpp_6fc.
I did the following, but http://localhost:8080/serMyAdmin
does not work. Please let me know how to install sermyadmin
on fedora.
(1)# cp mysql-connector-java-5.1.6-bin.jar /usr/share/tomcat5/common/lib
(2)/usr/share/tomcat5/conf/context.xml
<?xml version="1.0" encoding="UTF-8"?>
<Context path="/serMyAdmin">
<Resource auth="Container" driverClassName="com.mysql.jdbc.Driver"
maxActive="20" maxIdle="10" maxWait="-1" name="jdbc/openser_MySQL"
type="javax.sql.DataSource" url="jdbc:mysql://localhost:3306/openser"
username="sermyadmin" password="secret"/>
</Context>
(3)# mysql>grant all privileges on openser.* to sermyadmin@'%' identified by 'sercret';
(4)# cp serMyAdmin-0.5.war /usr/share/tomcat5/webapps/serMyAdmin.war
/var/log/tomcat5/catalina.out
....(snip).........
2008/05/24 7:10:39 org.apache.catalina.startup.HostConfig deployWAR
情報: Webアプリケーションアーカイブ serMyAdmin.war を配備します
log4j:ERROR setFile(null,true) call failed.
java.io.FileNotFoundException: stacktrace.log (Permission denied)
at java.io.FileOutputStream.openAppend(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:177)
at java.io.FileOutputStream.<init>(FileOutputStream.java:102)
at org.apache.log4j.FileAppender.setFile(FileAppender.java:290)
at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:164)
at org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:257)
at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:133)
at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:97)
at org.apache.log4j.PropertyConfigurator.parseAppender(PropertyConfigurator.java:689)
at org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigurator.java:647)
at org.apache.log4j.PropertyConfigurator.parseCatsAndRenderers(PropertyConfigurator.java:568)
at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:442)
.......(snip)........
--
Zen Kato
Hello,
I got a openser 1.3.2 working with sermyadmin 0.5 installed in a Debian 4.0 OS.
After some tests, everything is working fine except for one problem. By the time I start or restart the server, the tomcat spends approximately 15 min to start as follows (catalina.out file):
May 23, 2008 4:10:47 PM org.apache.catalina.core.AprLifecycleListener init
INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: /usr/lib/jvm/java-1.5.0-sun-1.5.0.14/jre/lib/i386/client:/usr/lib/jvm/java-1.5.0-sun-1.5.0.14/jre/lib/i386:/usr/lib/jvm/java-1.5.0-sun-1.5.0.14/jre/../lib/i386
May 23, 2008 4:10:48 PM org.apache.coyote.http11.Http11Protocol init
INFO: Initializing Coyote HTTP/1.1 on http-8080
May 23, 2008 4:10:48 PM org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 3111 ms
May 23, 2008 4:10:48 PM org.apache.catalina.core.StandardService start
INFO: Starting service Catalina
May 23, 2008 4:10:48 PM org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/6.0.16
May 23, 2008 4:10:48 PM org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive serMyAdmin.war
May 23, 2008 4:10:54 PM org.apache.catalina.core.StandardContext addApplicationListener
INFO: The listener "org.springframework.web.util.Log4jConfigListener" is already configured for this context. The duplicate definition has been ignored.
May 23, 2008 4:10:54 PM org.apache.catalina.core.StandardContext addApplicationListener
INFO: The listener "org.codehaus.groovy.grails.web.context.GrailsContextLoaderListener" is already configured for this context. The duplicate definition has been ignored.
[0] spring.GrailsWebApplicationContext Refreshing org.codehaus.groovy.grails.commons.spring.GrailsWebApplicationContext@1d6c336: display name [org.codehaus.groovy.grails.commons.spring.GrailsWebApplicationContext@1d6c336]; startup date [Fri May 23 16:26:43 BRT 2008]; parent: org.springframework.web.context.support.XmlWebApplicationContext@e61a35
[0] spring.GrailsWebApplicationContext Bean factory for application context [org.codehaus.groovy.grails.commons.spring.GrailsWebApplicationContext@1d6c336]: org.springframework.beans.factory.support.DefaultListableBeanFactory@baa573
May 23, 2008 4:26:49 PM org.apache.catalina.core.StandardContext addApplicationListener
INFO: The listener "listeners.ContextListener" is already configured for this context. The duplicate definition has been ignored.
May 23, 2008 4:26:49 PM org.apache.catalina.core.StandardContext addApplicationListener
INFO: The listener "listeners.SessionListener" is already configured for this context. The duplicate definition has been ignored.
May 23, 2008 4:26:49 PM org.apache.coyote.http11.Http11Protocol start
INFO: Starting Coyote HTTP/1.1 on http-8080
May 23, 2008 4:26:49 PM org.apache.jk.common.ChannelSocket init
INFO: JK: ajp13 listening on /0.0.0.0:8009
May 23, 2008 4:26:49 PM org.apache.jk.server.JkMain start
INFO: Jk running ID=0 time=0/40 config=null
May 23, 2008 4:26:49 PM org.apache.catalina.startup.Catalina start
INFO: Server startup in 960673 ms
In order to start faster (10 sec) after the server restart, I have to kill the java process (in CPU 99%) and start tomcat manually by performing "/etc/init.d/tomcat6 start".
I'm using the tomcat6 init file provided in www.sermyadmin.org such as its instructions.
How can I solve that?
Robson
---------------------------------
Abra sua conta no Yahoo! Mail, o único sem limite de espaço para armazenamento!
-----Mensaje original-----
De: Henning Westerholt [mailto:henning.westerholt@1und1.de]
Enviado el: Friday, May 23, 2008 8:52 AM
Para: users(a)lists.openser.org
CC: arturo arturo
Asunto: Re: [OpenSER-Users] Problems with sl module in openser1.3.1
On Friday 23 May 2008, arturo arturo wrote:
> Could some help me with this problem, I'm trying to run openser 1.3.1, but
> it dies complaining about the sl module. I issued just 'make all' command
> before this
>
> root@zeus:/home/aochoa/openser/openser-1.3.1-notls
> # ./openser
> May 22 15:57:16 [4482] DBG:core:yyparse: loading module
> /usr/local/lib/openser/modules/mysql.so
> May 22 15:57:16 [4482] DBG:core:yyparse: loading module
> /usr/local/lib/openser/modules/sl.so
> May 22 15:57:16 [4482] ERROR:core:version_control: *module compile flags
> mismatch for* /usr/local/lib/openser/modules/sl.so
> core: STATS: Off, USE_IPV6, USE_TCP, DISABLE_NAGLE, USE_MCAST, SHM_MEM,
> SHM_MMAP, PKG_MALLOC, F_MALLOC, FAST_LOCK-ADAPTIVE_WAIT
> module: STATS: Off, EXTRA_DEBUG, USE_IPV6, USE_TCP, DISABLE_NAGLE,
> USE_MCAST, SHM_MEM, SHM_MMAP, PKG_MALLOC, F_MALLOC,
FAST_LOCK-ADAPTIVE_WAIT
Hi Arturo,
the version of the sl module installed on your machine don't match the one
of
your server in the home directory. Do a make distclean; make all in the
source directory, and install again.
Cheers,
Henning
Thanks for your response Henning,
I've already do what you mention, but the problem persists. I tried also
with openser 1.3.2, and the same thing.
Also I noted that there are different linked libs on the same module but
compiled on different machines:
Fedora:
[root@apolo] /usr/local/lib/openser/modules
# ldd sl.so
linux-gate.so.1 => (0x0028b000)
libc.so.6 => /lib/libc.so.6 (0x00111000)
/lib/ld-linux.so.2 (0x0028c000)
Centos: (this is the one with the problem)
root@zeus:/home/aochoa/openser
# ldd /usr/local/lib/openser/modules/sl.so
libc.so.6 => /lib/tls/libc.so.6 (0x00149000)
/lib/ld-linux.so.2 (0x003f7000)
Any comments?
Hi...
Anybody could me help, I'm doing some tests and would like to pick up
negative codes of the return www_authorize....
I trying with ($retcode) ($?) I've not had success.....
Does anyone know how...?
Any hints.....??
thx...
Hi guys,
Could some help me with this problem, I'm trying to run openser 1.3.1, but
it dies complaining about the sl module. I issued just 'make all' command
before this
root@zeus:/home/aochoa/openser/openser-1.3.1-notls
# ./openser
May 22 15:57:16 [4482] DBG:core:yyparse: loading module
/usr/local/lib/openser/modules/mysql.so
May 22 15:57:16 [4482] DBG:core:yyparse: loading module
/usr/local/lib/openser/modules/sl.so
May 22 15:57:16 [4482] ERROR:core:version_control: *module compile flags
mismatch for* /usr/local/lib/openser/modules/sl.so
core: STATS: Off, USE_IPV6, USE_TCP, DISABLE_NAGLE, USE_MCAST, SHM_MEM,
SHM_MMAP, PKG_MALLOC, F_MALLOC, FAST_LOCK-ADAPTIVE_WAIT
module: STATS: Off, EXTRA_DEBUG, USE_IPV6, USE_TCP, DISABLE_NAGLE,
USE_MCAST, SHM_MEM, SHM_MMAP, PKG_MALLOC, F_MALLOC, FAST_LOCK-ADAPTIVE_WAIT
Ing Arturo Ochoa.
Electrosystems