<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<META content="MSHTML 6.00.6000.16525" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=4>hi master-hand:</FONT></DIV>
<DIV><FONT size=4> </FONT></DIV>
<DIV><FONT size=4> i had rencontred a problem.when i configured my
Openser work together with wesip,use two </FONT></DIV>
<DIV><FONT size=4>linux OS,one use to run openser,other run wesip,</FONT></DIV>
<DIV><FONT size=4>this is my configure file:</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=4>openser:</FONT></DIV>
<DIV><FONT size=2>------------------------------------</FONT></DIV>
<DIV><FONT
size=2>debug=9
# debug level (cmd line:
-dddddddddd)<BR>fork=no<BR>log_stderror=yes # (cmd line:
-E)<BR>children=8</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2># Uncomment these lines to enter debugging
mode<BR>#fork=no<BR>#log_stderror=yes<BR>#</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2>port=5060</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2># uncomment the following lines for TLS
support<BR>#disable_tls = 0<BR>#listen = tls:your_IP:5061<BR>#tls_verify_server
= 1<BR>#tls_verify_client = 1<BR>#tls_require_client_certificate =
0<BR>#tls_method = TLSv1<BR>#tls_certificate =
"/usr/local/etc/openser/tls/user/user-cert.pem"<BR>#tls_private_key =
"/usr/local/etc/openser/tls/user/user-privkey.pem"<BR>#tls_ca_list =
"/usr/local/etc/openser/tls/user/user-calist.pem"<BR>"openser.cfg" 154L,
3866C
14,1 Top<BR># main routing
logic</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2>route{</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2> # initial sanity
checks -- messages with<BR> #
max_forwards==0, or excessively long
requests<BR> if
(!mf_process_maxfwd_header("10"))
{<BR>
sl_send_reply("483","Too Many
Hops");<BR>
exit;<BR> }; </FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2> if (msg:len
>= 2048 )
{<BR>
sl_send_reply("513", "Message too
big");<BR>
exit;<BR> }; </FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2> # we record-route
all messages -- to make sure that<BR>
# subsequent messages will go through our proxy;
that's<BR> # particularly good if
upstream and downstream entities<BR> #
use different transport protocol<BR>
if
(!method=="REGISTER")<BR>
record_route();</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2> # subsequent
messages withing a dialog should take
the<BR> # path determined by
record-routing<BR> if (loose_route())
{<BR>
# mark routing logic in
request<BR>
append_hf("P-hint: rr-enforced\r\n");
<BR>
route(1);<BR> };</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2> if (!uri==myself)
{<BR>
61,1
49%<BR>
};<BR>
<BR>
lookup("aliases");<BR>
if (!uri==myself)
{<BR>
append_hf("P-hint: outbound alias\r\n");
<BR>
route(1);<BR>
};
<BR>
<BR>
# native SIP destinations are handled using our USRLOC
DB<BR>
if (!lookup("location"))
{<BR>
sl_send_reply("404", "Not
Found");<BR>
exit;<BR>
};<BR>
append_hf("P-hint: usrloc
applied\r\n");<BR>
};<BR>
<BR>
route(2);<BR>} <BR>
</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2>route[1] {
<BR> # send it out now; use stateful
forwarding as it works reliably<BR> #
even for UDP2TCP<BR> if (!t_relay())
{<BR>
sl_reply_error();<BR>
};
<BR>
exit;
<BR>}<BR>route[2]{
<BR>
if(!as_relay_t("app_server_one")){<BR>
t_reply("500","Application Server
error");<BR>
}<BR>
121,3-17
98%<BR>}
<BR>-----------------------------</FONT></DIV>
<DIV><FONT size=4>and this is wesip:</FONT></DIV>
<DIV><FONT size=2>-----------------------------</FONT></DIV>
<DIV><FONT size=2><Server port="8005" shutdown="SHUTDOWN"
debug="0"><BR> <Service
name="Tomcat-Standalone"><BR>
<Connector
className="org.apache.catalina.connector.http.HttpConnector"<BR>
port="8080" minProcessors="5"
maxProcessors="75"<BR>
enableLookups="true" acceptCount="10" debug="0" /></FONT></DIV>
<DIV> </DIV>
<DIV><FONT
size=2>
<Connector
className="com.voztele.sipservlet.connector.SipConnector"<BR>
minProcessors="5"
maxProcessors="75"<BR>
enableLookups="true" acceptCount="10"
debug="0"<BR>
addresses="localhost:5060" pathName="com.voztele" protocol="tcp"
><BR>
<ExtraProperties><BR>
<Property key="javax.sip.SER_ADDRESS" value="192.168.7.15"
/><BR>
<Property key="javax.sip.SER_PORT" value="5080"
/><BR>
<Property key="STATISTICS" value="true"
/><BR>
<Property key="javax.sip.STACK_NAME" value="app_server_one"
/><BR>
<Property key="javax.sip.THREAD_POOL_SIZE" value="100"
/><BR>
<Property key="javax.sip.THREAD_POOL_SIZE" value="100"
/><BR>
<Property key="javax.sip.REENTRANT_LISTENER" value="true"
/><BR>
<Property key="javax.sip.AUTOMATIC_DIALOG_SUPPORT" value="false"
/><BR>
<Property key="javax.sip.TRACE_LEVEL" value="0"
/><BR>
</ExtraProperties><BR>
</Connector></FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2> <Engine
name="Standalone" defaultHost="localhost" debug="0"
className="com.voztele.sipservlet.core.ConvergedEngine"></FONT></DIV>
<DIV> </DIV>
<DIV><FONT
size=2>
<Mapper className="org.apache.catalina.core.StandardEngineMapper"
protocol="HTTP/1.1"/><BR>
</FONT></DIV>
<DIV><FONT
size=2>-----------------------------------------------------------------------</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=4>at the debug model:</FONT></DIV>
<DIV><FONT size=4>found those tips:</FONT></DIV>
<DIV><FONT size=2> WARNING: using only the first listen address (no
fork)<BR> 0(0) init_unixsock_socket: No unix domain socket will be
opened<BR></FONT></DIV>
<DIV><FONT size=2>.......</FONT></DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2> bind (Cannot assign requested address)<BR>-1(0) unable
to open server sockets on dispatcher<BR>-1(0) ERROR:init_mod_child: Error while
initializing module seas, rank 1<BR>-1(0) main_dontfork: init_child
failed<BR></FONT></DIV>
<DIV><FONT size=2>would you help me! thank you very much.</DIV></FONT>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2></FONT> </DIV>
<DIV><FONT size=2>All my best
regards.<BR>------------------------------<BR>(luhan china)¼
¼¼Êõ²¿<BR>E-mail: <A
href="mailto:luhan@bjybkl.com">luhan@bjybkl.com</A><BR>phone:
010-59828003<BR>mobile:
13810262476<BR>------------------------------</FONT></DIV></BODY></HTML>