Hi,
I am new in this area and as expected I am having real problem with setting up the Openser with WeSIP . I have installed OpenSER 1.2.0 on debian platform and download WeSIP from WeSIP website.
When trying to run Openser I get an error that fifo="tmp/openser_fifo" line has parse error (in the openser.cfg). Therefore I remove this line and instead I added "modparam("mi_fifo", "fifo_name", "/tmp/openser_fifo")". Why do I get the error message if that is the same in the examples? Second, "modparam("seas", "listen_sockets", "192.168.2.100:5080");" has parse error. I can't see why the IP is correct and if I change it to localhost/127.0.0.1 I get the same error. What can be the problem in this line? Everywere I checked it is just the same. Third, when trying to run WeSIP with WeSIP/bin/startup.sh I get the following Java exceptions:
-Dlog4j.configuration=file:/usr/local/src/wesip/conf/log4j.properties org.apache.catalina.startup.Bootstrap -config /usr/local/src/wesip/conf/server.xml start Catalina.start using /usr/local/src/wesip/conf/server.xml: java.lang.IllegalArgumentException: This container is not a StandardHost java.lang.IllegalArgumentException: This container is not a StandardHost at org.apache.commons.digester.Digester.createSAXException(Digester.java:2792) at org.apache.commons.digester.Digester.createSAXException(Digester.java:2818) at org.apache.commons.digester.Digester.endElement(Digester.java:1070) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:633) at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(AbstractXMLDocumentParser.java:221) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(XMLDocumentFragmentScannerImpl.java:872) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1693) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:368) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:834) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:764) at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:148) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1242) at org.apache.commons.digester.Digester.parse(Digester.java:1572) at org.apache.catalina.startup.Catalina.start(Catalina.java:428) 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(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:156)
Please advise. Thanks in advance Shine
On Tuesday 04 March 2008, bsb093 wrote:
Hi,
I am new in this area and as expected I am having real problem with setting up the Openser with WeSIP . I have installed OpenSER 1.2.0 on debian platform and download WeSIP from WeSIP website.
When trying to run Openser I get an error that fifo="tmp/openser_fifo" line has parse error (in the openser.cfg). Therefore I remove this line and instead I added "modparam("mi_fifo", "fifo_name", "/tmp/openser_fifo")". Why do I get the error message if that is the same in the examples? Second, "modparam("seas", "listen_sockets", "192.168.2.100:5080");" has parse error. I can't see why the IP is correct and if I change it to localhost/127.0.0.1 I get the same error. What can be the problem in this line? Everywere I checked it is just the same. Third, when trying to run WeSIP with WeSIP/bin/startup.sh I get the following Java exceptions: [..]
Hi Shine,
you probably followed an outdated example. Some time ago the FIFO interface was changed, the correct way of configuring this now is, as you already figured out by yourself, the 'mi_fifo' way.
In regards to your second error: modparam("seas", "listen_sockets", "192.168.2.100:5080");
The last ';' char is wrong here, it should work just fine without. I can not comment to the java execption, perhaps someone with more experience with this module could shed some light on this issues.
Cheers,
Henning