Installation

From Wesip

From Wesip

FIrst download and install OpenSER. Latest tested version was 1.3. More recent OpenSIPs and Kamailio versions have not been tested. OpenSER 1.3 versions can be found at

http://sourceforge.net/project/showfiles.php?group_id=139143&package_id=224973

Seas will _not_ work with OpenSER releases previous to 1.2, neither over TLS.

You also need a Java 5 compliant JVM.


Compile

make
make modules=modules/tm modules
make modules=modules/seas modules

Run

./openser -w .

Configuration

The Ip and Port where OpenSER is listening MUST be the same as the "addresses" parameter in <Connector> tag in server.xml for the JAVA program. The listen_sockets IP and Port parameter must be the same as present in SER_ADDRESS and SER_PORT properties in the server.xml.

This is some configuration for the openser.cfg file:

>>>>>>>>>>>>>>>>>>>>>>>>>>

reply_to_via=1
listen = tcp:127.0.0.1:5060
listen = udp:127.0.0.1:5060

loadmodule "modules/tm/tm.so"
loadmodule "modules/seas/seas.so"

modparam("seas", "listen_sockets","192.168.1.207:5080")

>>>>>>>>>>>>>>>>>>>>>>>>>>

and this is the corresponding server.xml piece of configuration...

>>>>>>>>>>>>>>>>>>>>>>>>>>

        <Connector className="com.voztele.sipservlet.connector.SipConnector"
        minProcessors="5" maxProcessors="75"
        enableLookups="true" acceptCount="10" debug="10"
        addresses="127.0.0.1:5060" pathName="com.voztele" protocol="UDP" >
               <ExtraProperties>
                       <Property key="com.voztele.javax.sip.SER_ADDRESS" value="192.168.1.207" />
                       <Property key="com.voztele.javax.sip.SER_PORT" value="5080" />
                       <Property key="javax.sip.STACK_NAME" value="app_server-1" />
                       <Property key="com.voztele.javax.sip.THREAD_POOL_SIZE" value="10" />
                       <Property key="com.voztele.javax.sip.REENTRANT_LISTENER" value="true" />