How do I download the early path module for 0.9? Where did you post the
patch?
Thanks much in advance.
>From: "Greger V. Teigre" <greger(a)teigre.com>
>To: SER LIST <sergrp(a)hotmail.com>
>CC: serusers(a)iptel.org
>Subject: Re: [Serusers] PATH Module in SER (0.9.6 or 0.10.x)
>Date: Mon, 05 Mar 2007 08:16:41 +0100
>
>There's an early path module in experimental for 0.9. Also, a patch was
>posted to serdev by Andreas Granig. For 0.10, AFAIK there is no path
>support. I assume the patch can be ported without too much work.
>I have reposted the patch and asked about status on serdev.
>g-)
>
>SER LIST wrote:
>>Is there a paths module for SER? I want to implement a Load balancer using
>>Dispatcher module and I will need a path module for handling
>>registrations.
>>Thanks in advance
>>
>>_________________________________________________________________
>>http://local.live.com/default.aspx?v=2&cp=43.658648~-79.383962&style=r&lvl=…
>>
>>
>>_______________________________________________
>>Serusers mailing list
>>Serusers(a)lists.iptel.org
>>http://lists.iptel.org/mailman/listinfo/serusers
>>
>>
_________________________________________________________________
Free Alerts : Be smart - let your information find you !
http://alerts.live.com/Alerts/Default.aspx
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello,
I was too blind to see that binaries resp. startup scripts ... :(
When I'm starting WeSIP I get this output:
- -------------------------------------------------
hk@vm-en-test0:~/wesip/wesip/bin$ ./startup.sh
Starting WESIP Application Server VozTelecom...
hk@vm-en-test0:~/wesip/wesip/bin$ HttpConnector [main] - The
HttpConnector [all:8080] has been created
SipConnector [main] - The SipConnector [localhost] can not be
launched. Revise the configuration.
SipConnector [main] - javax.sip.PeerUnavailableException: The Peer
SIP Stack: com.voztele.javax.sip.SipStackImpl could not be instantiated.
Ensure the Path Name has been set.
javax.sip.PeerUnavailableException: The Peer SIP Stack:
com.voztele.javax.sip.SipStackImpl could not be instantiated. Ensure the
Path Name has been set.
at javax.sip.SipFactory.createStack(SipFactory.java:308)
at javax.sip.SipFactory.createSipStack(SipFactory.java:147)
at
com.voztele.sipservlet.connector.SipConnector.start(SipConnector.java:238)
at
org.apache.catalina.core.StandardService.start(StandardService.java:454)
at
org.apache.catalina.core.StandardServer.start(StandardServer.java:2144)
at org.apache.catalina.startup.Catalina.start(Catalina.java:471)
at org.apache.catalina.startup.Catalina.execute(Catalina.java:358)
at org.apache.catalina.startup.Catalina.process(Catalina.java:129)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:156)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown
Source)
at
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at javax.sip.SipFactory.createStack(SipFactory.java:302)
... 12 more
Caused by: javax.sip.PeerUnavailableException: stack name is missing
at com.voztele.javax.sip.SipStackImpl.<init>(SipStackImpl.java:292)
... 17 more
after a few seconds the comes a second part:
ConvergedHostDeployer [main] - Installing web application at context
path from URL file:/home/hk/wesip/wesip/wesipapps/ROOT
processJars: cannot find /WEB-INF/lib
ConvergedContext [main] - ConvergedContext [Welcome] has been
started
StandardService [main] -
> Default Wesip Application ==> http://localhost:8080/
> Manager Wesip Application ==> http://localhost:8080/manager/html?
StandardService [main] -
> In order to access the manager application use default credentials:
- username: wesip
- password: wesip
> This configuration is defined in wesip-users.xml inside conf folder:
- file: ./conf/wesip-users.xml
- -----------------------------------------------------------------------
my server.cml config is
<Server port="5005" shutdown="SHUTDOWN" debug="0">
<Service name="WeSIP-Standalone">
<Connector
className="org.apache.catalina.connector.http.HttpConnector"
port="8080" minProcessors="5" maxProcessors="75"
enableLookups="true" acceptCount="10" debug="10" />
<Connector
className="com.voztele.sipservlet.connector.SipConnector"
minProcessors="5" maxProcessors="75"
enableLookups="true" acceptCount="10" debug="10"
addresses="localhost:5081"
pathName="com.voztele" protocol="udp" >
<ExtraProperties>
<Property
key="com.voztele.javax.sip.SER_ADDRESS" value="212.6.123.118" />
<Property
key="com.voztele.javax.sip.SER_PORT" value="5081" />
<Property
key="com.voztele.STATISTICS" value="false" />
<Property
key="com.voztele.javax.sip.STACK_NAME" value="wesip_app_server_1" />
<Property
key="com.voztele.javax.sip.THREAD_POOL_SIZE" value="100" />
<Property
key="com.voztele.javax.sip.THREAD_POOL_SIZE" value="10" />
<Property
key="com.voztele.javax.sip.REENTRANT_LISTENER" value="true" />
<Property
key="com.voztele.javax.sip.AUTOMATIC_DIALOG_SUPPORT" value="false" />
<Property
key="com.voztele.javax.sip.TRACE_LEVEL" value="0" />
</ExtraProperties>
</Connector>
<Engine name="Standalone" defaultHost="212.6.123.118" debug="1"
className="com.voztele.sipservlet.core.ConvergedEngine">
<Mapper
className="org.apache.catalina.core.StandardEngineMapper"
protocol="HTTP/1.1"/>
<Mapper
className="org.apache.catalina.core.StandardEngineMapper"
protocol="HTTP/1.0"/>
<Mapper
className="com.voztele.sipservlet.core.EngineSipMapper" protocol="SIP/2.0"/>
<Logger
className="org.apache.catalina.logger.FileLogger" timestamp="true"/>
<Realm
className="org.apache.catalina.realm.MemoryRealm" />
<Host name="localhost" nameSip="localhost_5081"
debug="0" appBase="wesipapps"
className="com.voztele.sipservlet.core.ConvergedHost">
<Logger
className="org.apache.catalina.logger.FileLogger" timestamp="true"/>
<Mapper
className="com.voztele.sipservlet.core.SipHostMapper" protocol="SIP/2.0"/>
<Mapper
className="org.apache.catalina.core.HttpHostMapper" protocol="HTTP/1.1"/>
<Mapper
className="org.apache.catalina.core.HttpHostMapper" protocol="HTTP/1.0"/>
<!--
<DefaultContext useNaming="true"
reloadable="true">
<Resource name="pool"
auth="WeSIP" type="javax.sql.DataSource"/>
<ResourceParams name="pool">
<parameter>
<name>username</name>
<value>[USERNAME_DATABASE]</value>
</parameter>
<parameter>
<name>password</name>
<value>[PASSWORD_DATABASE]</value>
</parameter>
<parameter>
<name>driverClassName</name>
<value>[DRIVER_CLASSNAME]</value>
</parameter>
<parameter>
<name>url</name>
<value>[URL]</value>
</parameter>
<parameter>
<name>maxActive</name>
<value>1</value>
</parameter>
<parameter>
<name>maxIdle</name>
<value>2</value>
</parameter>
</ResourceParams>
</DefaultContext>
-->
</Host>
</Engine>
</Service>
</Server>
-
---------------------------------------------------------------------------
Have no idea how to solve this java execption. The missed "/WEB-INF/lib"
isn't in /home/hk/wesip/wesip/wesipapps/ROOT but in
/home/hk/wesip/wesip/server/webapps/manager ... Can I copy that directory ?
Helmut
- --
Mit freundlichen Grüßen
Helmut Kuper
Entwicklung
Telefax: (0441) 8000-2799
mailto:helmut.kuper@ewetel.de
___________________________________
EWE TEL GmbH
Cloppenburger Straße 310
26133 Oldenburg
Handelsregister Amtsgericht Oldenburg HRB 3723
Vorsitzender des Aufsichtsrates: Heiko Harms
Geschäftsführung: Hans-Joachim Iken, Dirk Thole, Jürgen Wehlend
Homepage: http://www.ewetel.de
___________________________________
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFF6+qR4tZeNddg3dwRAp1UAJsFkND1KaTByXA45mb8I2QkRgPjeACgv//R
Y5kPDUongenLk3nZxmA2fRI=
=NwKb
-----END PGP SIGNATURE-----
Dear Greger,
Thank you for your advice.
May i seek your advice where can i find the exec command from ser.cfg? Is there any reference?
Thanks.
Regards,
Howard
-----Original Message-----
From: Greger V. Teigre [mailto:greger@teigre.com]
Sent: Monday, March 05, 2007 3:03 PM
To: Goh, Tee-Yong
Cc: karim basraoui; serusers(a)lists.iptel.org
Subject: Re: [Serusers] SIP SER
You can do that using exec command from ser.cfg when you receive a REGISTER. Use sipp or the internal SER stack to create new messages (see faqs on iptel.org)
Or http://iptel.org/sems if you want to do it in a better way.
g-)
Goh, Tee-Yong wrote:
Hi Karim,
Thank you for your advice. Noted your advice.
Yes. My objective here is once the SER receives a REGISTER message from one of the client, it will auto generate "INVITE" messages to the clients.
I am using the ser-0.9.6. I have looked through the coding as such
/ser-0.9.6/modules/nathelper/nathelper.c
/ser-0.9.6/modules/nathelper/nathelper.cfg
/ser-0.9.6/modules/nathelper/nathelper_rrtpp.cfg
/ser-0.9.6/modules/registrar/save.c
/ser-0.9.6/modules/registrar/reply.c
/ser-0.9.6/modules/registrar/sip_msg.c
Anyone knows where can i find the portion where once the SER receives the REGISTER message, it responds with 200 OK to the client? Can i find them inside nathelper or registrar or paser?
Apologies if any inconvenience caused.
Thank you.
Regards,
Tee Yong
_____
From: karim basraoui [ mailto:basraouik@gmail.com]
Sent: Sat 3/3/2007 8:36 PM
To: Goh, Tee-Yong
Cc: serusers(a)lists.iptel.org
Subject: Re: [Serusers] SIP SER
Well, first of all a SER server does not generate messages it only interprets the messages it receives. so it can not generate INVITE messages. so if you want to call several clients from one client, this one has to initiate the call by sending an INVITE to SER.
When receiving the INVITE message, SER will forward it to the callees. i did not try this yet, but i think that you can do this with the method : "forward" as follows:
if(method == INVITE) {
forward("callee1_IP_address","callee1_port");
forward("callee2_IP_address","callee2_port");
forward("callee3_IP_address","callee3_port");
#and so on ...
}
try this for example... and let me know if it works or not.
ps: (personnally i think it won't work :p)
2007/3/3, Goh, Tee-Yong < gohty(a)m1.com.sg>:
Hi Karim,
Yes you are right.
Please advice.
Thank you.
Regards,
Howard
-----Original Message-----
From: karim basraoui [mailto: basraouik(a)gmail.com]
Sent: Saturday, March 03, 2007 8:01 PM
To: Goh, Tee-Yong
Cc: serusers(a)lists.iptel.org
Subject: Re: [Serusers] SIP SER
So if i understand, when a clint registers, SER will automatically send invites to the other clients and make connections with them?
2007/3/3, Goh, Tee-Yong < <mailto:gohty@m1.com.sg> gohty(a)m1.com.sg>:
Dear Karim,
Thank you for your reply.
Yes you are right. I have having difficulty searching for this for past 2 months.
Yes. Here is what i want. Once i receive the REGISTER messages, my SER will send out "INVITE" message to my other clients. This is what i am intended to do. However, i could not search for the right coding inside the ser-0.9.6.
Please advice and apologies if any inconvenience caused for you.
Thanks.
Regards,
Howard
-----Original Message-----
From: karim basraoui [mailto: basraouik(a)gmail.com]
Sent: Saturday, March 03, 2007 7:18 PM
To: Goh, Tee-Yong
Subject: Re: [Serusers] SIP SER
Hi,
Do you want to make changes on SER behaviour when it receives REGISTER messages. If it's the case you can make a condition in the "ser.cfg" file, in the bloc "route{ ... }". for example:
route {
if (method == "REGISTER")
{ #what you want to do};
}
2007/3/3, Goh, Tee-Yong < gohty(a)m1.com.sg <mailto:gohty@m1.com.sg> >:
Hi,
May i know from the SER-0.9.6, where can i look for and make changes for the SER when receiving "REGISTER" message and responsing " 200 OK" back to the corresponding node or clients?
Would appreciate your assistance and advice as soon as possible as i have difficultly locating the coding. Please advice where i can find the script to edit the above mentioned messages.
Apologies for the inconvenience caused.
Thank you.
Regards,
Howard
_____
This email (including any attachment) is subject to the following disclaimer: http://m1.com.sg/M1/misc/disclaimer <http://m1.com.sg/M1/misc/disclaimer>
_____
_______________________________________________
Serusers mailing list
Serusers(a)lists.iptel.org
http://lists.iptel.org/mailman/listinfo/serusers
--
BASRAOUI Karim
www.basraouik.afrikart.net
_____
This email (including any attachment) is subject to the following disclaimer: http://m1.com.sg/M1/misc/disclaimer <http://m1.com.sg/M1/misc/disclaimer>
_____
--
BASRAOUI Karim
www.basraouik.afrikart.net
_____
This email (including any attachment) is subject to the following disclaimer: http://m1.com.sg/M1/misc/disclaimer
_____
--
BASRAOUI Karim
www.basraouik.afrikart.net
_____
This email (including any attachment) is subject to the following disclaimer: http://m1.com.sg/M1/misc/disclaimer
_____
_____
_______________________________________________
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
A bit confused by startup message:
0(16102) ERROR: shm_mem_init: could not attach shared memory segment: No
space left on device
0(16102) could not initialize shared memory pool, exiting... Too much
shared memory demanded: 33554432
I found prior message to upgrade Kernel to 2.4 - currently I'm on
2.6.8-022stab076.1-enterprise
At another place it said to recompile ser with SYSV shm instead of mmap
(remove -DSHM_MMAP from Makefile.defs) <= This I'm not sure exactly how
/ what to change in Makefile.def.
And yet another regarding no PTR <= I've contracted ISP regarding this,
but was hoping to bypass - I was hoping there was some temporary fix for
this until they act?
I'm running SER 0.9.6
Thanks for any assistance.
Bart
Guys,
I've just updated sip_router from CVS. Cant compile eval module no
more. It says,
eval.c:33:23: error: uuid/uuid.h: No such file or directory
eval.c: In function 'sel_gen_uuid':
eval.c:1975: error: 'uuid_t' undeclared (first use in this function)
eval.c:1975: error: (Each undeclared identifier is reported only once
eval.c:1975: error: for each function it appears in.)
eval.c:1975: error: expected ';' before 'u'
eval.c:1976: warning: implicit declaration of function 'uuid_generate'
eval.c:1976: error: 'u' undeclared (first use in this function)
eval.c:1977: warning: implicit declaration of function 'uuid_unparse'
make[1]: *** [eval.o] Error 1
make[1]: Leaving directory `/home/andrey/sip_router/modules/eval'
make: *** [modules] Error 1
Plz, help :))
Andrey.
Hi!!
I was utilizing the speeddial functionality and I encountered the following error:
When user sends a cancel message before the destination leg answers the call the cancel message is not properly routed, because sd_lookup("speed_dial") returns negative result for the processing of cancel message. If other side answers everything is ok (BYE etc).
here is my Speed_dial logic:
if (uri =~ "sip:[0-9]{2}@.*") {
if(sd_lookup("speed_dial")) {
route(FORWARD);
drop;
}
}
Bests
tomasz
Hi,
Im running Ubuntu with MySQL 5.0.24a. I've downloaded and compiled
Ottendorf from CVS successfully. The problem came, when I tried to
create db with sip_router/scripts/mysql/ser_mysql.sh create. It asked
for root password (i dont have any so I pressed Enter right away), but
then displayed mysql options (give below) for me instead of creating
DB. I suppose some argument went missing. How can I fix it? I also
remember there was a manual way to do it, but I couldnt find a proper
link. Can anyone help me, plz?
Output:
mysql Ver 14.12 Distrib 5.0.24a, for pc-linux-gnu (i486) using readline 5.1
Copyright (C) 2002 MySQL AB
This software comes with ABSOLUTELY NO WARRANTY. This is free software,
and you are welcome to modify and redistribute it under the GPL license
Usage: mysql [OPTIONS] [database]
-?, --help Display this help and exit.
-I, --help Synonym for -?
--auto-rehash Enable automatic rehashing. One doesn't need to use
'rehash' to get table and field completion, but startup
and reconnecting may take a longer time. Disable with
--disable-auto-rehash.
-A, --no-auto-rehash
No automatic rehashing. One has to use 'rehash' to get
table and field completion. This gives a quicker start of
mysql and disables rehashing on reconnect. WARNING:
options deprecated; use --disable-auto-rehash instead.
-B, --batch Don't use history file. Disable interactive behavior.
(Enables --silent)
--character-sets-dir=name
Directory where character sets are.
--default-character-set=name
Set the default character set.
-C, --compress Use compression in server/client protocol.
-#, --debug[=#] This is a non-debug version. Catch this and exit
-D, --database=name Database to use.
--delimiter=name Delimiter to be used.
-e, --execute=name Execute command and quit. (Disables --force and history
file)
-E, --vertical Print the output of a query (rows) vertically.
-f, --force Continue even if we get an sql error.
-g, --no-named-commands
Named commands are disabled. Use \* form only, or use
named commands only in the beginning of a line ending
with a semicolon (;) Since version 10.9 the client now
starts with this option ENABLED by default! Disable with
'-G'. Long format commands still work from the first
line. WARNING: option deprecated; use
--disable-named-commands instead.
-G, --named-commands
Enable named commands. Named commands mean this program's
internal commands; see mysql> help . When enabled, the
named commands can be used from any line of the query,
otherwise only from the first line, before an enter.
Disable with --disable-named-commands. This option is
disabled by default.
-i, --ignore-spaces Ignore space after function names.
--local-infile Enable/disable LOAD DATA LOCAL INFILE.
-b, --no-beep Turn off beep on error.
-h, --host=name Connect to host.
-H, --html Produce HTML output.
-X, --xml Produce XML output
--line-numbers Write line numbers for errors.
-L, --skip-line-numbers
Don't write line number for errors. WARNING: -L is
deprecated, use long version of this option instead.
--no-pager Disable pager and print to stdout. See interactive help
(\h) also. WARNING: option deprecated; use
--disable-pager instead.
--no-tee Disable outfile. See interactive help (\h) also. WARNING:
option deprecated; use --disable-tee instead
-n, --unbuffered Flush buffer after each query.
--column-names Write column names in results.
-N, --skip-column-names
Don't write column names in results. WARNING: -N is
deprecated, use long version of this options instead.
-O, --set-variable=name
Change the value of a variable. Please note that this
option is deprecated; you can set variables directly with
--variable-name=value.
--sigint-ignore Ignore SIGINT (CTRL-C)
-o, --one-database Only update the default database. This is useful for
skipping updates to other database in the update log.
--pager[=name] Pager to use to display results. If you don't supply an
option the default pager is taken from your ENV variable
PAGER. Valid pagers are less, more, cat [> filename],
etc. See interactive help (\h) also. This option does not
work in batch mode.
-p, --password[=name]
Password to use when connecting to server. If password is
not given it's asked from the tty. WARNING: This is
insecure as the password is visible for anyone through
/proc for a short time.
-P, --port=# Port number to use for connection.
--prompt=name Set the mysql prompt to this value.
--protocol=name The protocol of connection (tcp,socket,pipe,memory).
-q, --quick Don't cache result, print it row by row. This may slow
down the server if the output is suspended. Doesn't use
history file.
-r, --raw Write fields without conversion. Used with --batch.
--reconnect Reconnect if the connection is lost. Disable with
--disable-reconnect. This option is enabled by default.
-s, --silent Be more silent. Print results with a tab as separator,
each row on new line.
-S, --socket=name Socket file to use for connection.
--ssl Enable SSL for connection (automatically enabled with
other flags). Disable with --skip-ssl.
--ssl-ca=name CA file in PEM format (check OpenSSL docs, implies
--ssl).
--ssl-capath=name CA directory (check OpenSSL docs, implies --ssl).
--ssl-cert=name X509 cert in PEM format (implies --ssl).
--ssl-cipher=name SSL cipher to use (implies --ssl).
--ssl-key=name X509 key in PEM format (implies --ssl).
--ssl-verify-server-cert
Verify server's "Common Name" in its cert against
hostname used when connecting. This option is disabled by
default.
-t, --table Output in table format.
-T, --debug-info Print some debug info at exit.
--tee=name Append everything into outfile. See interactive help (\h)
also. Does not work in batch mode.
-u, --user=name User for login if not current user.
-U, --safe-updates Only allow UPDATE and DELETE that uses keys.
-U, --i-am-a-dummy Synonym for option --safe-updates, -U.
-v, --verbose Write more. (-v -v -v gives the table output format).
-V, --version Output version information and exit.
-w, --wait Wait and retry if connection is down.
--connect_timeout=# Number of seconds before connection timeout.
--max_allowed_packet=#
Max packet length to send to, or receive from server
--net_buffer_length=#
Buffer for TCP/IP and socket communication
--select_limit=# Automatic limit for SELECT when using --safe-updates
--max_join_size=# Automatic limit for rows in a join when using
--safe-updates
--secure-auth Refuse client connecting to server if it uses old
(pre-4.1.1) protocol
--show-warnings Show warnings after every statement.
Default options are read from the following files in the given order:
/etc/mysql/my.cnf ~/.my.cnf /etc/mysql/my.cnf
The following groups are read: mysql client
The following options may be given as the first argument:
--print-defaults Print the program argument list and exit
--no-defaults Don't read default options from any options file
--defaults-file=# Only read default options from the given file #
--defaults-extra-file=# Read this file after the global files are read
Variables (--variable-name=value)
and boolean options {FALSE|TRUE} Value (after reading options)
--------------------------------- -----------------------------
auto-rehash TRUE
character-sets-dir (No default value)
default-character-set latin1
compress FALSE
database (No default value)
delimiter ;
vertical FALSE
force FALSE
named-commands FALSE
local-infile FALSE
no-beep FALSE
host localhost
html FALSE
xml FALSE
line-numbers TRUE
unbuffered FALSE
column-names TRUE
sigint-ignore FALSE
port 3306
prompt mysql>
quick FALSE
raw FALSE
reconnect FALSE
socket /var/run/mysqld/mysqld.sock
ssl FALSE
ssl-ca (No default value)
ssl-capath (No default value)
ssl-cert (No default value)
ssl-cipher (No default value)
ssl-key (No default value)
ssl-verify-server-cert FALSE
table FALSE
debug-info FALSE
user root
safe-updates FALSE
i-am-a-dummy FALSE
connect_timeout 0
max_allowed_packet 16777216
net_buffer_length 16384
select_limit 1000
max_join_size 1000000
secure-auth FALSE
show-warnings FALSE
Andrey.
Is there a paths module for SER? I want to implement a Load balancer using
Dispatcher module and I will need a path module for handling registrations.
Thanks in advance
_________________________________________________________________
http://local.live.com/default.aspx?v=2&cp=43.658648~-79.383962&style=r&lvl=…
Hi all,
I've read on the WeSIP website that the support is made through openser
mailing-list,
so here i'am.
I've problem with the SIP Servlet in b2bua mode, the problem is that the
ACK is not forwarded to the other call-leg.
INVITE, 183 session progress, 180 ringing are correctly forwarded but
the ACK no.
In the debug i can't see too much information about the request is not
forwarded.
Attached there is a .zip with all the log, trace and configuration.
thanks for the support,
:tele