I made certificat, I add user folder to openser ser config (with lines
it must) and I add certificat in Internet explorer for client.
But eyebeam say certificat failed. Anyone have experience with eyebeam
and tls ?
thank.
Hi, OpenSer Support,
I read the OpenSer and Asterisk real time intergation and follow the config instruction but still no result that we can make PSTN call through Asterisk without using the name and PW of OpenSer on the UA Sip Client (X-lite).
On the Asterisk side, we assigned a user name and PW to OpenSer, but not sure where we can create script on OpenSer side that allow all calls to Asterisk without using the shared secret name and PW of OpenSer.
Please any help will be grateful.
MC
--------------------------------------------------------------------------------
I am using the free version of SPAMfighter for private users.
It has removed 234 spam emails to date.
Paying users do not have this message in their emails.
Try SPAMfighter for free now!
Hi Greger,
Thank you for sharing the information.
May i know which part of the program in the SER can i find FIFO?
Please advice.
Thanks.
Regards,
Howard
-----Original Message-----
From: serusers-bounces(a)lists.iptel.org [mailto:serusers-bounces@lists.iptel.org]On Behalf Of Greger V. Teigre
Sent: Thursday, March 22, 2007 3:10 PM
To: Jignesh Gandhi
Cc: serusers(a)lists.iptel.org
Subject: Re: [Serusers] re: composing SIP messages
No, but there is a FIFO interface that allows inserting messages into SER. For anything but trivial cases, you will probably want to do it from SEMS.
g-)
Jignesh Gandhi wrote:
Is there a way to compose SIP messages such as INVITE from scratch using SER ?
I am new to SER... So any help would be appreciated
thanks,
--
Jignesh Gandhi
jigpgandhi(a)gmail.com
_____
_______________________________________________
Serusers mailing list
Serusers(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers
This email (including any attachment) is subject to the following disclaimer:
http://m1.com.sg/M1/misc/disclaimer
Is there a way to compose SIP messages such as INVITE from scratch using SER
?
I am new to SER... So any help would be appreciated
thanks,
--
Jignesh Gandhi
jigpgandhi(a)gmail.com
Hi.
Currently I am installing Openser 1.2.0 on a Sun Fire T2000 running Solaris
10.
Although I used an optimized version of GCC for SPARC Systems, and used the
recommended settings to generate accurate code for my Processor (UltraSPARC
T1), the results of the performance tests are just 50% of the presented ones
on the web page.
My setup is the following:
Proxy and UAS: Sun Fire T2000, 8 GB RAM, 1 UltraSPARC T1 1.2 GHZ 6 Core.
UAC's: Two domain of a Sun Fire 12K, 4 GB RAM, 4 UlraSPARC III+ 900 Mhz
Software versions listed as on the webpage.
openser -V output:
version: openser 1.2.0-notls (sparc/solaris)
flags: STATS: Off, USE_IPV6, USE_TCP, DISABLE_NAGLE, USE_MCAST, SHM_MEM,
SHM_MMAP, PKG_MALLOC, F_MALLOC, FAST_LOCK-ADAPTIVE_WAIT-NOSMP
ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16,
MAX_URI_SIZE 1024, BUF_SIZE 65535
poll method support: poll, select, /dev/poll.
svnrevision: unknown
@(#) $Id: main.c 1827 2007-03-12 15:22:53Z bogdan_iancu $
main.c compiled on 21:43:51 Mar 19 2007 with gcc 4.0.3
I would thank any idea about how could I improve the performnace of my
setup. I think that because of the hardware specifications, the result
should be at least equal than listed.
Thanks in advance.
Kind regards.
Sergio Gutiérrez.
Hi all,
I am having a lot of trouble making the acc module work... I've googled
and tried a lot of sample config but am still having no luck. Can
someone please help me to get accounting on my server?
Below is my ser.cfg file. It's basically the sample one with some
editing. The auth stuff work really nicely :) Everything seems to load
fine when I do a "ser -D -E" However, I noticed that nothing is ever
entered into the acc table in the ser database.
I am running ser 0.9.6 with mysql 5.0.37.
Thank you so much!
Ben
#
# $Id: ser.cfg,v 1.25.2.1 2005/02/18 14:30:44 andrei Exp $
#
# simple quick-start config script
#
# ----------- global configuration parameters ------------------------
#debug=3 # debug level (cmd line: -dddddddddd)
fork=yes
#log_stderror=no # (cmd line: -E)
listen=1.1.1.1
listen=127.0.0.1
# hostname matching an alias will satisfy the condition uri==myself".
alias="localhost"
alias=1.1.1.1
/* Uncomment these lines to enter debugging mode
fork=no
log_stderror=yes
*/
check_via=no # (cmd. line: -v)
dns=no # (cmd. line: -r)
rev_dns=no # (cmd. line: -R)
#port=5060
#children=4
fifo="/tmp/ser_fifo"
fifo_db_url="mysql://admin:heslo@localhost/ser"
# ------------------ module loading ----------------------------------
# Uncomment this if you want to use SQL database
loadmodule "/usr/local/lib/ser/modules/mysql.so"
loadmodule "/usr/local/lib/ser/modules/sl.so"
loadmodule "/usr/local/lib/ser/modules/tm.so"
loadmodule "/usr/local/lib/ser/modules/rr.so"
loadmodule "/usr/local/lib/ser/modules/maxfwd.so"
loadmodule "/usr/local/lib/ser/modules/usrloc.so"
loadmodule "/usr/local/lib/ser/modules/registrar.so"
loadmodule "/usr/local/lib/ser/modules/textops.so"
loadmodule "/usr/local/lib/ser/modules/acc.so"
# Uncomment this if you want digest authentication
# mysql.so must be loaded !
loadmodule "/usr/local/lib/ser/modules/auth.so"
loadmodule "/usr/local/lib/ser/modules/auth_db.so"
# ----------------- setting module-specific parameters ---------------
# -- usrloc params --
#modparam("usrloc", "db_mode", 0)
# Uncomment this if you want to use SQL database
# for persistent storage and comment the previous line
modparam("usrloc", "db_mode", 2)
# -- auth params --
# Uncomment if you are using auth module
#
modparam("auth_db", "calculate_ha1", yes)
#
# If you set "calculate_ha1" parameter to yes (which true in this
config),
# uncomment also the following parameter)
#
modparam("auth_db", "password_column", "password")
# -- rr params --
# add value to ;lr param to make some broken UAs happy
modparam("rr", "enable_full_lr", 1)
# -- acc params --
# set the reporting log level
modparam("acc", "log_level", 1)
# number of flag, which will be used for accounting; if a message is
# labeled with this flag, its completion status will be reported
modparam("acc", "log_flag", 1)
modparam("acc", "log_missed_flag", 2)
# ------------------------- request routing logic -------------------
# main routing logic
route{
# initial sanity checks -- messages with
# max_forwards==0, or excessively long requests
if (!mf_process_maxfwd_header("10")) {
sl_send_reply("483","Too Many Hops");
break;
};
if (msg:len >= 2048 ) {
sl_send_reply("513", "Message too big");
break;
};
# we record-route all messages -- to make sure that
# subsequent messages will go through our proxy; that's
# particularly good if upstream and downstream entities
# use different transport protocol
if (!method=="REGISTER") record_route();
# subsequent messages withing a dialog should take the
# path determined by record-routing
if (loose_route()) {
# mark routing logic in request
append_hf("P-hint: rr-enforced\r\n");
route(1);
break;
};
if (!uri==myself) {
# mark routing logic in request
append_hf("P-hint: outbound\r\n");
route(1);
break;
};
# if the request is for other domain use UsrLoc
# (in case, it does not work, use the following command
# with proper names and addresses in it)
if (uri==myself) {
if (method=="REGISTER") {
# Uncomment this if you want to use digest authentication
if (!www_authorize("localhost", "subscriber")) {
www_challenge("localhost", "0");
break;
};
save("location");
break;
};
lookup("aliases");
if (!uri==myself) {
append_hf("P-hint: outbound alias\r\n");
route(1);
break;
};
# native SIP destinations are handled using our USRLOC
DB
if (!lookup("location")) {
sl_send_reply("404", "Not Found");
break;
};
};
# Report missed calls
setflag(2);
append_hf("P-hint: usrloc applied\r\n");
route(1);
}
route[1]
{
# Set accounting flag
setflag(1);
# send it out now; use stateful forwarding as it works reliably
# even for UDP2TCP
if (!t_relay()) {
sl_reply_error();
};
}
One of my providers requires the To: header to be in e.164 format with
a "+" in front of it. Since there is no uac_replace_to() function yet,
what are my options for adding this plus symbol?
Before anyone suggests it... I cannot just use another provider. I
must find a solution to add the plus symbol.
Thanks,
Daryl
I have two server, one in production and one for testing. Trying to debug
something else entirely I upgraded the production server from 1.1.0 to 1.2.0
yesterday. Everything seems to work fine on it.
So I wiped my testbed and compiled OpenSER 1.2.0 on the testing system,
installed the mysql db and started it up. Worked fine.
I then began adding testaccounts on the testsystem,
- first user ok...
- second user, not so ok...
# openserctl add test test gojensen(a)uninett.no
MySql password for user 'xxx@localhost':
ERROR 1062 (23000) at line 1: Duplicate entry '' for key 3
ERROR: introducing the new user 'test' to the database failed
Of course, I couldn't add a third or fourth either, so I'm basically stuck
with one user and the admin account. Any idea where to start debugging
this?!
(As a note, I added 3 test accounts on the production server with no
problems... Their config files are basically identical - the testing server
only adds the presence module...)
// sip:gojensen@uninett.no | h323: 004710012
pstn: +47 73 55 79 23 | fax: +47 73 55 79 01
Hello,
after upgrading to wesip 0.1.3 I'm not able anymore to start c2c
application.
in WeSIP's logfile I can find this exception:
2007-03-21 18:11:52 StandardManager[/click2call-08_11_06]: Seeding
random number generator class java.security.SecureRandom
2007-03-21 18:11:52 StandardManager[/click2call-08_11_06]: Seeding of
random number generator has been completed
2007-03-21 18:11:52 HTMLManager:
ManagerServlet.install[/click2call-08_11_06]
java.lang.NoClassDefFoundError:
com/voztele/wesip/apps/click2call/C2CDefaultServlet
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(Unknown Source)
at java.security.SecureClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.defineClass(Unknown Source)
at java.net.URLClassLoader.access$100(Unknown Source)
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1379)
at
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1307)
at
com.voztele.sipservlet.core.StandardSipWrapper.loadServlet(StandardSipWrapper.java:753)
at
com.voztele.sipservlet.core.StandardSipWrapper.load(StandardSipWrapper.java:701)
at
org.apache.catalina.core.StandardHttpContext.loadOnStartup(StandardHttpContext.java:3382)
at
org.apache.catalina.core.StandardHttpContext.start(StandardHttpContext.java:3605)
at
com.voztele.sipservlet.core.ConvergedContext.start(ConvergedContext.java:259)
at
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:773)
at
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:759)
at
org.apache.catalina.core.StandardHttpHost.addChild(StandardHttpHost.java:552)
at
com.voztele.sipservlet.core.ConvergedHost.addChild(ConvergedHost.java:157)
at
com.voztele.sipservlet.core.ConvergedHostDeployer.install(ConvergedHostDeployer.java:264)
at
com.voztele.sipservlet.core.ConvergedHost.install(ConvergedHost.java:170)
at
org.apache.catalina.servlets.ManagerServlet.install(ManagerServlet.java:663)
at
org.apache.catalina.servlets.HTMLManagerServlet.install(HTMLManagerServlet.java:265)
at
org.apache.catalina.servlets.HTMLManagerServlet.doPost(HTMLManagerServlet.java:245)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:200)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:146)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:206)
####################################################################################
When I cwitch back to wesip 0.1.2 C2C is loading and starting fine.
I use click2call-08_11_06
When I search for the missed class C2CDefaultServlet I get this:
hk@vm-en-test0:~/wesip/wesip$ find . -name "C2CDefaultServlet*"
./wesipapps/click2call-08_11_06/WEB-INF/classes/com/voztele/wesip/apps/click2call/C2CDefaultServlet.class
So it#s there, but wesip doesn#t find it. Wher do I have to tell weSIP
the location of that class ?
regards
helmut
You should keep cc-ing mailing lists, so people coming after a while,
with same issue, will be reading mail thread and see that the given
solution was right.
Thanks,
Daniel
On 03/20/07 21:42, Tim Madorma wrote:
> Got it. thanks so much!
>
> Tim
>
> On 3/20/07, Daniel-Constantin Mierla <daniel(a)voice-system.ro> wrote:
>> Hello,
>>
>> On 03/20/07 17:39, Tim Madorma wrote:
>> > Hi,
>> >
>> > I have put the OpenSER version 1.2 behind a BIG IP load balancer which
>> > provides a static private IP address (10.1.1.20) via NAT to the
>> > OpenSER. In our application, the clients will send to one of the three
>> > public addresses that are defined as aliases:
>> >
>> > alias="65.185.232.62:5061"
>> > alias="65.185.232.62:5062"
>> > alias="65.185.232.62:5063"
>> you have to remove quotes around the value of alias parameters. As it is
>> now, the value between quotes is considered to be hostname.
>> alias=65.185.232.62:5061
>> alias=65.185.232.62:5062
>> alias=65.185.232.62:5063
>>
>> Same case as it was reported by Juha, today with loose routing ...
>>
>> Cheers,
>> Daniel
>>
>> >
>> > An incoming OPTIONS message is received with the host in the REQ URI
>> > set to 65.185.232.62:5063 is received and when it hits this section of
>> > openser.cfg:
>> >
>> > if (!uri==myself) {
>> > # mark routing logic in request
>> > append_hf("P-hint: outbound\r\n");
>> > route(1);
>> > };
>> >
>> > it executes within the if conditional and tries to route the OPTIONS
>> > message. I am wondering why uri does not match myself. The debug
>> > output from the log is as follows (it seems that the alias assignments
>> > are not working):
>> >
>> >
>> > Mar 19 16:41:11 homer openser[2267]: [ID 487083 local0.debug]
>> > grep_sock_info - checking if host==us: 13==9 && [65.185.232.62] == [1
>> > 0.1.1.20]
>> > Mar 19 16:41:11 homer openser[2267]: [ID 375670 local0.debug]
>> > grep_sock_info - checking if port 5061 matches port 5063
>> > Mar 19 16:41:11 homer openser[2267]: [ID 487083 local0.debug]
>> > grep_sock_info - checking if host==us: 13==9 && [65.185.232.62] == [1
>> > 0.1.1.20]
>> > Mar 19 16:41:11 homer openser[2267]: [ID 375670 local0.debug]
>> > grep_sock_info - checking if port 5062 matches port 5063
>> > Mar 19 16:41:11 homer openser[2267]: [ID 487083 local0.debug]
>> > grep_sock_info - checking if host==us: 13==9 && [65.185.232.62] == [1
>> > 0.1.1.20]
>> > Mar 19 16:41:11 homer openser[2267]: [ID 375670 local0.debug]
>> > grep_sock_info - checking if port 5063 matches port 5063
>> > Mar 19 16:41:11 homer openser[2267]: [ID 140248 local0.debug]
>> > DEBUG:check_self: host != me
>> >
>> >
>> > Any suggestions? I have not tried this in any other version. Is this a
>> > possible bug in 1.2?
>> >
>> > thanks,
>> > Tim
>> >
>> > _______________________________________________
>> > Users mailing list
>> > Users(a)openser.org
>> > http://openser.org/cgi-bin/mailman/listinfo/users
>> >
>>
>