Hi,everyone!<br><br> I have installed openser 1.2 via aptitude from <a href="http://openser.org">openser.org</a>, and then I config openser follow the install manual(<a href="http://www.openser.org/index.php?option=com_content&task=view&id=26&Itemid=56).the">
http://www.openser.org/index.php?option=com_content&task=view&id=26&Itemid=56).the</a> package with mysql was be installed and databases and tables was create by openser_mysql.sh. I add new user successfully like this:openserctl add fzh fzh
<a href="mailto:fzh@myserver.com.but">fzh@myserver.com.but</a> i can't login user fzh with window messenger or x-lite.I got an error 478---unresolvable destination(478/TM). i think there may some error in my openser.cfg.<br>
but i can't find it. <br> i post my openser.cfg here:<br><br> <br><br>alias="<a href="http://myserver.com">myserver.com</a>"<br><br><br># ------------------ module loading ----------------------------------
<br><br># Uncomment this if you want to use SQL database<br>loadmodule "/usr/lib/openser/modules/mysql.so"<br><br>loadmodule "/usr/lib/openser/modules/sl.so"<br>loadmodule "/usr/lib/openser/modules/tm.so"
<br>loadmodule "/usr/lib/openser/modules/rr.so"<br>loadmodule "/usr/lib/openser/modules/maxfwd.so"<br>loadmodule "/usr/lib/openser/modules/usrloc.so"<br>loadmodule "/usr/lib/openser/modules/registrar.so"
<br>loadmodule "/usr/lib/openser/modules/textops.so"<br><br># Uncomment this if you want digest authentication<br># mysql.so must be loaded !<br>loadmodule "/usr/lib/openser/modules/auth.so"<br>loadmodule "/usr/lib/openser/modules/auth_db.so"
<br><br># ----------------- setting module-specific parameters ---------------<br><br># -- usrloc params --<br><br>#modparam("usrloc", "db_mode", 0)<br>modparam("usrloc", "db_url", "
mysql://openser:openserrw@localhost/openser")<br># Uncomment this if you want to use SQL database <br># for persistent storage and comment the previous line<br>modparam("usrloc", "db_mode", 2)<br>
<br># -- auth params --<br># Uncomment if you are using auth module<br>#<br>modparam("auth_db", "calculate_ha1", yes)<br>#<br># If you set "calculate_ha1" parameter to yes (which true in this config),
<br># uncomment also the following parameter)<br>#<br>modparam("auth_db", "password_column", "password")<br><br># -- rr params --<br># add value to ;lr param to make some broken UAs happy<br>
modparam("rr", "enable_full_lr", 1)<br><br># ------------------------- request routing logic -------------------<br><br><br> # 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();<br><br> # 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> };<br><br> if (!uri==myself) {
<br> # mark routing logic in request<br> append_hf("P-hint: outbound\r\n"); <br> # if you have some interdomain connections via TLS<br> #if(uri=~"@tls_domain1.net") {<br> # t_relay("tls:
<a href="http://domain1.net">domain1.net</a>");<br> # exit;<br> #} else if(uri=~"@tls_domain2.net") {<br> # t_relay("tls:<a href="http://domain2.net">domain2.net</a>");<br>
# exit;<br> #}<br> route(1);<br> };<br><br> # if the request is for other domain use UsrLoc<br> # (in case, it does not work, use the following command<br> # with proper names and addresses in it)
<br> if (uri=="myself") {<br><br> if (method=="REGISTER") {<br><br> # Uncomment this if you want to use digest authentication<br> if (!www_authorize("<a href="http://myserver.com">
myserver.com</a>", "subscriber")) {<br> www_challenge("<a href="http://myserver.com">myserver.com</a>", "0");<br> exit;<br> };<br><br> save("location");
<br> exit;<br> };<br><br> lookup("aliases");<br> if (!uri==myself) {<br> append_hf("P-hint: outbound alias\r\n"); <br> route(1);<br> };<br><br>
ngrep -qt port 5060 :<br><br>U 2006/07/31 16:31:30.359879 <a href="http://59.64.183.197:5060">59.64.183.197:5060</a> -> <a href="http://64.233.161.83:5060">64.233.161.83:5060</a><br> REGISTER sip:<a href="http://gmail.com">
gmail.com</a> SIP/2.0..Via: SIP/2.0/UDP <a href="http://59.64.183.197">59.64.183.197</a>;branch=z9hG4bK099e.a821a853.0..<br> Via: SIP/2.0/UDP <a href="http://59.64.183.247:11955">59.64.183.247:11955</a>..Max-Forwards: 69..From: <
<a href="mailto:sip:fzh@gmail.com">sip:fzh@gmail.com</a>>;tag=5ca47f5d<br> 15c24791bb6dbfdc11aace96;epid=e655b5ac9b..To: <<a href="mailto:sip:fzh@gmail.com">sip:fzh@gmail.com</a>>..Call-ID: 135b746590ae485c93<br>
70134a3a1400c8..CSeq: 1 REGISTER..Contact: <sip:<a href="http://59.64.183.247:11955">59.64.183.247:11955</a>>;methods="INVITE, MESSAGE,<br> INFO, SUBSCRIBE, OPTIONS, BYE, CANCEL, NOTIFY, ACK, REFER, BENOTIFY"..User-Agent: RTC/1.3.536
<br> 9 (Messenger 5.1.0639)..Event: registration..Allow-Events: presence..Content-Length: 0..P-hint<br> : outbound....<br><br>U 2006/07/31 16:31:30.993136 <a href="http://59.64.183.247:1704">59.64.183.247:1704</a> ->
<a href="http://59.64.183.197:5060">59.64.183.197:5060</a><br> REGISTER sip:<a href="http://gmail.com">gmail.com</a> SIP/2.0..Via: SIP/2.0/UDP <a href="http://59.64.183.247:11955">59.64.183.247:11955</a>..Max-Forwards: 70..From:
<br> <<a href="mailto:sip:fzh@gmail.com">sip:fzh@gmail.com</a>>;tag=5ca47f5d15c24791bb6dbfdc11aace96;epid=e655b5ac9b..To: <<a href="mailto:sip:fzh@gmail.c">sip:fzh@gmail.c</a><br> om>..Call-ID: 135b746590ae485c9370134a3a1400c8..CSeq: 1 REGISTER..Contact: <sip:
<a href="http://59.64.183.247">59.64.183.247</a>:<br> 11955>;methods="INVITE, MESSAGE, INFO, SUBSCRIBE, OPTIONS, BYE, CANCEL, NOTIFY, ACK, REFER, BE<br> NOTIFY"..User-Agent: RTC/1.3.5369 (Messenger 5.1.0639
)..Event: registration..Allow-Events: pre<br> sence..Content-Length: 0....<br> <br><br> what can i do ? appreciate for your help <br><br> fzh
<br><br><br>