Hi,
I was trying to install Openser with RLS support, I got an error message,
*In file included from notify.h:31,
from hash.c:37:
presentity.h:36:27: libxml/parser.h: No such file or directory
make[1]: *** [hash.o] Error 1
make[1]: Leaving directory `/home/nthattil/openser-1.3.x/modules/presence'
make: *** [modules] Error 2
*
I had installed libxml2 already,
*
libxml2.so.2
libxml2.so.2.6.27*
the above modules are present in folder /usr/lib/
I am using the machine,
*Linux version 2.6.18 (gcc version 3.3.5 (Debian 1:3.3.5-13)) #1 SMP Thu Jul
26 01:27:32 EDT 2007
*
I edited the Makefile and updated the line as follows,
*exclude_modules?= jabber cpl-c postgres osp unixodbc \
avp_radius auth_radius group_radius uri_radius xmpp \
presence_xml presence_mwi pua_bla pua_mi \
pua_usrloc pua_xmpp mi_xmlrpc perl snmpstats perlvdb \
ldap carrierroute h350 xcap_client db_berkeley seas
*
I gave command
prompt$ *make all*
for compiling. I am getting the error message as shown above.
Please mail me if I am missing something..
--
Noble Antony Thattil,
Bangalore.
Hi,
I recently installed openser-1.3.0 and able to connect my cisco sip phones and everything is working. Now i need to integrate this with asterisk box for call forwarding to other locations & voicemails. i read the getting started guide and other information, but seems i need more help from the group. can any one give me a helping hand. i am sure i will do my home work before bug you again. I need a starting point to over come the complexity of the routing plan and logic.
thanks
-asterisk user
---------------------------------
Looking for last minute shopping deals? Find them fast with Yahoo! Search.
Hello All,
I have installed openser, is it possible to make voice call between two
x-lite softphone using this SIP server? how can I start this operation if
it's possible?
Thankyou very much for your help.
Regards
--
Hammou MOUJANE
Tel: +212 62 46 33 89
INPT
What other options do I have for generic database connectivity besides MySQL/avp_db_query() in OpenSER?
Can I use SQLite? Can I use unixodbc? (and I'm not talking about the limited built in usrloc unixodbc stuff)
Thanks,
Doug.
____________________________________________________________________________________
Be a better friend, newshound, and
know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
Hi! Ok, thanks that problem solved and now I have another! I get the error "Registration error: 404 - Not Found" in Xlite. If I comment out this section of the cfg file I then get an error "Too Many Hops" :S :SMy laptop is directly (virtually on VPN) connected to the same LAN as the openser server.Any ideas? Or anyone have an already working hello world config??thanks in advance, Andy.On Wednesday 16 January 2008 15:51:58 Andy Smith wrote:
> Thanks Iñaki, ok now my openser starts up ok, but I get the same "filtered
> destination"
Try adding:
disable_dns_blacklist=yes
at the top of your script.
Hi..
I´m using unixodbc driver to connect with firebird SGDB.
The problem is that the unixodbc driver not connect...
ERROR:unixodbc:new_connection: failed to connect
Jan 15 14:19:06 xsip openser[4577]:
unixodbc:SQLDriverConnect=08004:1:-904:[unixODBC][ODBC Firebird
Driver]Unable to connect to data source: library 'libfbclient.so' failed to
load
Jan 15 14:19:06 xsip openser[4577]: ERROR: group_db_bind: unable to connect
to the database
Jan 15 14:19:06 xsip openser[4577]: ERROR:group:mod_init: unable to open
database connection
Thanks Iñaki, ok now my openser starts up ok, but I get the same "filtered destination" error from Xlite as I was getting with my original openser cfg with the hello world route. I was hoping the hello world config would allow me to connect/register whatever SIP device without any specific password :S thanks Andy.On Wednesday 16 January 2008 13:44:10 A.smith wrote:
> If I try and use the whole example cfg (not just the route) I am recieving
> an error like:
>
> 0(23448) find_cmd_export_t: <lookup> not found
> 0(23448) parse error (105,23-24): unknown command, missing loadmodule?
"lookup()" is defined in "registrar" module that you are not loading:
http://www.openser.org/docs/modules/1.2.x/registrar.html#AEN342
--
Iñaki Baz Castillo
ibc at in.ilimit.es
HI,
As I dont currently have a working PSTN I wanted to get the hello world
config working so I can generate calls from one IP phone to another just
across my LAN. However with the route config (put into my previous working
registrar test cfg) from this example:
http://openser.oralnet.co.uk/#AEN424
I am recieving a "filtered destination" error from XLite when it attempts to
register. I can see the packets hitting my server from tcpdump...
If I try and use the whole example cfg (not just the route) I am recieving
an error like:
0(23448) find_cmd_export_t: <lookup> not found
0(23448) parse error (105,23-24): unknown command, missing loadmodule?
Any help or tips on diagnosing this would be greatly appreciated! I am using
OpenSER 1.2.2 on CentOS Linux...
thanks Andy.
________________________________________________
Message sent using UK Grid Webmail 2.7.9
Hi,
I've installed my Openser with Wesip Application Server. I've
installed Wesip with Click2dial application from Wesip web site. The
application is running, but when I try to call to a softphone sip
address trough my browser I get an error code -2. In Wesip logs I get
the following:
CommonsLoggingOutput [HttpProcessor[7080][4]] - Exec:
Click2Call.c2cDWR()
CommonsLoggingOutput [HttpProcessor[7080][4]] - --Object created,
not stored. id=0
MapFactory [HttpProcessor[7080][4]] - Unable to create class
java.util.Hashtable returning HashTable instead
StandardSipSession [HttpProcessor[7080][4]] - Transport: udp
SipRequest [HttpProcessor[7080][4]] - ERROR sending message
javax.sip.TransactionUnavailableException: no route!
at
com.voztele.javax.sip.SipProviderImpl.getNewClientTransaction(SipProviderImpl.java:264)
at com.voztele.sipservlet.core.SipRequest.send(SipRequest.java:196)
at com.voztele.wesip.apps.click2call.C2C.c2c(C2C.java:134)
at com.voztele.wesip.apps.click2call.C2C.c2cDWR(C2C.java:99)
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:597)
at
org.directwebremoting.impl.ExecuteAjaxFilter.doFilter(ExecuteAjaxFilter.java:34)
at
org.directwebremoting.impl.DefaultRemoter$1.doFilter(DefaultRemoter.java:428)
at
org.directwebremoting.impl.DefaultRemoter.execute(DefaultRemoter.java:431)
at
org.directwebremoting.impl.DefaultRemoter.execute(DefaultRemoter.java:283)
at
org.directwebremoting.servlet.PlainCallHandler.handle(PlainCallHandler.java:52)
at
org.directwebremoting.servlet.UrlProcessor.handle(UrlProcessor.java:101)
at
org.directwebremoting.servlet.DwrServlet.doPost(DwrServlet.java:146)
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)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:946)
at
com.voztele.sipservlet.valves.ConvergedContextValve.invokeHTTP(ConvergedContextValve.java:144)
at
com.voztele.sipservlet.valves.ConvergedContextValve.invoke(ConvergedContextValve.java:64)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:946)
at
org.apache.catalina.core.StandardHttpContext.invoke(StandardHttpContext.java:2377)
at
com.voztele.sipservlet.core.ConvergedContext.invoke(ConvergedContext.java:98)
at
com.voztele.sipservlet.valves.ConvergedHostValve.invokeHTTP(ConvergedHostValve.java:336)
at
com.voztele.sipservlet.valves.ConvergedHostValve.invoke(ConvergedHostValve.java:98)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:124)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:594)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:594)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:946)
at
com.voztele.sipservlet.valves.ConvergedEngineValve.invoke(ConvergedEngineValve.java:98)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:946)
at
org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:994)
at
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1105)
at java.lang.Thread.run(Thread.java:619)
java.lang.RuntimeException: javax.sip.TransactionUnavailableException:
no route!
at com.voztele.sipservlet.core.SipRequest.send(SipRequest.java:222)
at com.voztele.wesip.apps.click2call.C2C.c2c(C2C.java:134)
at com.voztele.wesip.apps.click2call.C2C.c2cDWR(C2C.java:99)
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:597)
at
org.directwebremoting.impl.ExecuteAjaxFilter.doFilter(ExecuteAjaxFilter.java:34)
at
org.directwebremoting.impl.DefaultRemoter$1.doFilter(DefaultRemoter.java:428)
at
org.directwebremoting.impl.DefaultRemoter.execute(DefaultRemoter.java:431)
at
org.directwebremoting.impl.DefaultRemoter.execute(DefaultRemoter.java:283)
at
org.directwebremoting.servlet.PlainCallHandler.handle(PlainCallHandler.java:52)
at
org.directwebremoting.servlet.UrlProcessor.handle(UrlProcessor.java:101)
at
org.directwebremoting.servlet.DwrServlet.doPost(DwrServlet.java:146)
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)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:946)
at
com.voztele.sipservlet.valves.ConvergedContextValve.invokeHTTP(ConvergedContextValve.java:144)
at
com.voztele.sipservlet.valves.ConvergedContextValve.invoke(ConvergedContextValve.java:64)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:946)
at
org.apache.catalina.core.StandardHttpContext.invoke(StandardHttpContext.java:2377)
at
com.voztele.sipservlet.core.ConvergedContext.invoke(ConvergedContext.java:98)
at
com.voztele.sipservlet.valves.ConvergedHostValve.invokeHTTP(ConvergedHostValve.java:336)
at
com.voztele.sipservlet.valves.ConvergedHostValve.invoke(ConvergedHostValve.java:98)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
at
org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:124)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:594)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:594)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:946)
at
com.voztele.sipservlet.valves.ConvergedEngineValve.invoke(ConvergedEngineValve.java:98)
at
org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:596)
at
org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:433)
at
org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:946)
at
org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:994)
at
org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1105)
at java.lang.Thread.run(Thread.java:619)
Caused by: javax.sip.TransactionUnavailableException: no route!
at
com.voztele.javax.sip.SipProviderImpl.getNewClientTransaction(SipProviderImpl.java:264)
at com.voztele.sipservlet.core.SipRequest.send(SipRequest.java:196)
... 44 more
My configuration is:
- openser.cfg
debug=3 # debug level (cmd line: -dddddddddd)
fork=yes
log_stderror=no # (cmd line: -E)
check_via=no # (cmd. line: -v)
dns=no # (cmd. line: -r)
rev_dns=no # (cmd. line: -R)
port=5060
children=4
listen=MY_IP_ADDRESS
mpath="/lib/openser/modules"
loadmodule "mi_fifo.so"
loadmodule "sl.so"
loadmodule "tm.so"
loadmodule "rr.so"
loadmodule "maxfwd.so"
loadmodule "usrloc.so"
loadmodule "registrar.so"
loadmodule "textops.so"
loadmodule "seas.so"
modparam("mi_fifo","fifo_name", "/tmp/openser_fifo")
modparam("usrloc", "db_mode", 0)
modparam("rr", "enable_full_lr", 1)
modparam("seas", "listen_sockets", "MY_IP_ADDRESS:5080")
route{
if (!mf_process_maxfwd_header("10")) {
sl_send_reply("483","Too Many Hops");
exit;
};
if (msg:len >= 2048 ) {
sl_send_reply("513", "Message too big");
exit;
};
if (!method=="REGISTER")
record_route();
if (loose_route()) {
append_hf("P-hint: rr-enforced\r\n");
route(1);
};
if (uri==myself) {
if (method=="REGISTER") {
save("location");
exit;
};
lookup("aliases");
if (!uri==myself) {
append_hf("P-hint: outbound alias\r\n");
route(1);
};
if (!lookup("location")) {
sl_send_reply("404", "Not Found");
exit;
};
append_hf("P-hint: usrloc applied\r\n");
};
route(1);
}
route[1] {
if(!as_relay_t("wesip")){
t_reply("500","Application Server error");
}
}
- server.xml
<Server port="5005" shutdown="SHUTDOWN" debug="0">
<Service name="WeSIP-Standalone">
<Connector
className="org.apache.catalina.connector.http.HttpConnector"
port="7080" minProcessors="5" maxProcessors="75"
enableLookups="true" acceptCount="10" debug="0" />
<Connector
className="com.voztele.sipservlet.connector.SipConnector"
minProcessors="5" maxProcessors="75"
enableLookups="true" acceptCount="10" debug="0"
addresses="217.172.74.8:5060"
pathName="com.voztele" protocol="udp" >
<ExtraProperties>
<Property
key="com.voztele.javax.sip.SER_ADDRESS" value="MY_IP_ADDRESS" />
<Property
key="com.voztele.javax.sip.SER_PORT" value="5080" />
<Property
key="com.voztele.STATISTICS" value="false" />
<Property
key="javax.sip.STACK_NAME" value="wesip" />
<Property
key="javax.sip.THREAD_POOL_SIZE" value="100" />
<Property
key="com.voztele.javax.sip.THREAD_POOL_SIZE" value="100" />
<Property
key="com.voztele.javax.sip.REENTRANT_LISTENER" value="true" />
<Property
key="javax.sip.AUTOMATIC_DIALOG_SUPPORT" value="false" />
<Property
key="com.voztele.javax.sip.TRACE_LEVEL" value="0" />
</ExtraProperties>
</Connector>
<Engine name="Standalone" defaultHost="217.172.74.8" debug="0"
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="MY_IP_ADDRESS"
nameSip="MY_IP_ADDRESS_5060" debug="0" appBase="wesipapps"
unpackWARs="true" autoDeploy="true"
className="com.voztele.sipservlet.core.ConvergedHost">
<!-- <Host name="217.172.74.8"
nameSip="217.172.74.8_5060" debug="10" appBase="webapps" unpackWARs="true"
port="5060" autoDeploy="true"
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>
Thanks in advance,
Sergi