<DIV>Hi all,</DIV>
<DIV>&nbsp;</DIV>
<DIV>I am a new to openser. I&nbsp;am using openser-1.2.0-notls. I met a issue when I setup a presence server.</DIV>
<DIV>&nbsp;</DIV>
<DIV>I use a UDP testing tool to send PUBLISH message :</DIV>
<DIV>&nbsp;</DIV>
<DIV>PUBLISH sip:111@sip.comverse.com SIP/2.0<BR>To: &lt;sip:111@sip.comverse.com&gt;<BR>From: &lt;sip:111@sip.comverse.com&gt;;tag=aa0e9e60<BR>Via: SIP/2.0/UDP 172.19.1.190:5060;branch=z9hG4bK-d87543-4f7005092661b51b-1--d87543-;rport<BR>Call-ID: <A href="mailto:dd2288324976454c@UG9ja2V0X1BD">dd2288324976454c@UG9ja2V0X1BD</A><BR>CSeq: 4444 PUBLISH<BR>Contact: &lt;sip:111@172.19.1.190:5060&gt;<BR>Expires: 3600<BR>Max-Forwards: 70<BR>Content-Type: application/pidf+xml<BR>Event: presence<BR>Content-Length: 549</DIV>
<DIV>&lt;?xml version="1.0" encoding="UTF-8" ?&gt;<BR>&lt;presence xmlns="urn:ietf:params:xml:ns:pidf" xmlns:rpid="urn:ietf:params:xml:ns:pidf:rpid" xmlns:dm="urn:ietf:params:xml:ns:pidf:data-model" xmlns:op="urn:oma:params:xml:ns:pidf:oma-pres" xmlns:xsi="<A href="http://www.w3.org/2001/XMLSchema-instan">http://www.w3.org/2001/XMLSchema-instan</A><BR>&nbsp;&nbsp;&nbsp; &lt;tuple id="t0001"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;status&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;basic&gt;open&lt;/basic&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/status&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;op:overriding-willingness&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;op:basic&gt;open&lt;/op:basic&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/op:overriding-willingness&gt;<BR>&nbsp;&nbsp;&nbsp; &lt;/tuple&gt;<BR>&lt;/presence&gt;</DIV>
<DIV>&nbsp;</DIV>
<DIV>but no 200 OK return back from the server. and I set debug level to 7, the log is as followed: </DIV>
<DIV>&nbsp;</DIV>
<DIV>4(5485)&nbsp; method:&nbsp; &lt;PUBLISH&gt;<BR>&nbsp;4(5485)&nbsp; uri:&nbsp;&nbsp;&nbsp;&nbsp; &lt;sip:111@sip.comverse.com&gt;<BR>&nbsp;4(5485)&nbsp; version: &lt;SIP/2.0&gt;<BR>&nbsp;4(5485) parse_headers: flags=2<BR>&nbsp;4(5485) DEBUG:parse_to:end of header reached, state=10<BR>&nbsp;4(5485) DBUG:parse_to: display={}, ruri={sip:111@sip.comverse.com}<BR>&nbsp;4(5485) DEBUG: get_hdr_field: &lt;To&gt; [28]; uri=[sip:111@sip.comverse.com]<BR>&nbsp;4(5485) DEBUG: to body [&lt;sip:111@sip.comverse.com&gt;<BR><BR>&nbsp;4(5485) Found param type 232, &lt;branch&gt; = &lt;z9hG4bK-d87543-4f7005092661b51b-1--d87543-&gt;; state=6<BR>&nbsp;4(5485) Found param type 235, &lt;rport&gt; = &lt;n/a&gt;; state=17<BR>&nbsp;4(5485) end of header reached, state=5<BR>&nbsp;4(5485) parse_headers: Via found, flags=2<BR>&nbsp;4(5485) parse_headers: this is the first via<BR>&nbsp;4(5485) After parse_msg...<BR>&nbsp;4(5485) preparing to run routing scripts...<BR>&nbsp;4(5485) parse_headers: flags=100<BR>&nbsp;4(5485) get_hdr_field: cseq &lt;CSeq&gt;: &lt;4445&gt; &lt;PUBLISH&gt;<BR>&nbsp;4(5485) DEBUG:maxfwd:is_maxfwd_present: value = 70<BR>&nbsp;4(5485) DEBUG: add_param: tag=aa0e9e60<BR>&nbsp;4(5485) DEBUG:parse_to:end of header reached, state=29<BR>&nbsp;4(5485) DBUG:parse_to: display={}, ruri={sip:111@sip.comverse.com}<BR>&nbsp;4(5485) parse_headers: flags=200<BR>&nbsp;4(5485) DEBUG: get_hdr_body : content_length=549<BR>&nbsp;4(5485) found end of header<BR>&nbsp;4(5485) find_first_route: No Route headers found<BR>&nbsp;4(5485) loose_route: There is no Route HF<BR>&nbsp;4(5485) grep_sock_info - checking if host==us: 16==12 &amp;&amp;&nbsp; [sip.comverse.com] == [172.19.1.170]<BR>&nbsp;4(5485) grep_sock_info - checking if port 5060 matches port 5060<BR>&nbsp;4(5485) grep_sock_info - checking if host==us: 16==12 &amp;&amp;&nbsp; [sip.comverse.com] == [172.19.1.170]<BR>&nbsp;4(5485) grep_sock_info - checking if port 5060 matches port 5060<BR>&nbsp;4(5485) DEBUG: t_newtran:&nbsp; T on entrance=0xffffffff<BR>&nbsp;4(5485) parse_headers: flags=ffffffffffffffff<BR>&nbsp;4(5485) parse_headers: flags=78<BR>&nbsp;4(5485) t_lookup_request: start searching: hash=29736, isACK=0<BR>&nbsp;4(5485) DEBUG: RFC3261 transaction matched, tid=-d87543-4f7005092661b51b-1--d87543-<BR>&nbsp;4(5485) DEBUG:tm:REF_UNSAFE: after is 1<BR>&nbsp;4(5485) DEBUG: t_lookup_request: transaction found (T=0xb6148f48)<BR>&nbsp;4(5485) DEBUG:tm:t_retransmit_reply: nothing to retransmit<BR>&nbsp;4(5485) DEBUG:tm:UNREF_UNSAFE: after is 0<BR>&nbsp;4(5485) DEBUG:destroy_avp_list: destroying list (nil)<BR>&nbsp;4(5485) receive_msg: cleaning up<BR>&nbsp;5(5488) PRESENCE: msg_watchers_clean:cleaning pending subscriptions<BR>&nbsp;5(5488) PRESENCE: msg_active_watchers_clean:cleaning expired watcher information<BR>&nbsp;5(5488) PRESENCE:msg_presentity_clean:cleaning expired presentity information</DIV>
<DIV>&nbsp;</DIV>
<DIV>I am confused about the issue, and I am not sure whether it is caused by configuration files or mysql database.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Please help me. Thanks so much !</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;</DIV>
<DIV>Brs,</DIV>
<DIV>&nbsp;</DIV>
<DIV>Eddie</DIV>
<DIV>&nbsp;</DIV><br><!-- footer --><br><hr>
<a style="font-size:13px;line-height:15px; color:#000; text-decoration:none" href="http://www.126.com/" target="_blank">每天上班第一件要做的事情是? <span style="font-family:Tahoma; text-decoration:underline; color:blue">马上看看>></span> </a>