<div>After a quick source inspection, for the expires=0 : the value is taken from override_lifetime parameter from pua_dialoginfo or from the constructed dialog timeout.</div>
<div>Both are equals to 0.</div>
<div> </div>
<div>I still thinking this is not an error, because to remove a publication from the PS a PUA must publish with expires=0.</div>
<div> </div>
<div>Anca from opensips answered :</div>
<div>&quot;In OpenSIPS you can set the &#39;presence_server&#39; to configure where the Publish messages are sent&quot;</div>
<div><br>So I&#39;ve tried to change outbound_proxy pua parameter but I&#39;m still stuck...</div>
<div> </div>
<div>Eric.<br></div>
<div class="gmail_quote">2009/3/4 Daniel-Constantin Mierla <span dir="ltr">&lt;<a href="mailto:miconda@gmail.com">miconda@gmail.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div class="im"><br><br>On 03/04/2009 04:45 PM, Eric PTAK wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Yes we&#39;re talking about the PUBLISH.<br> To clear my previous mail, the NOTIFY I mentioned is the NOTIFY that the PS will send after the handle_publish().<br>
</blockquote></div>OK, clear, handle_publish() does not happen as no PUBLISH is sent by PUA. 
<div class="im"><br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"> I checked pua_dialoginfo sources, and it uses dialog module&#39;s lifetime parameter, I&#39;ll check on that.<br>
</blockquote><br></div>Let me know if you discover there something wrong. I added lot of new features, but should not affect this side, however you never know...<br><br>Cheers,<br>Daniel<br><br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"> Regards,<br>Eric.<br><br>
<div class="im">2009/3/4 Daniel-Constantin Mierla &lt;<a href="mailto:miconda@gmail.com" target="_blank">miconda@gmail.com</a> &lt;mailto:<a href="mailto:miconda@gmail.com" target="_blank">miconda@gmail.com</a>&gt;&gt;<br>
<br><br><br>   On 03/04/2009 04:36 PM, Eric PTAK wrote:<br><br>       I&#39;ve well seen the expires=0 but I was thinking the PS will<br>       notify with an expires=0.<br><br><br>   But it is not a NOTIFY, it is the PUBLISH we talk here about, or<br>
   did I miss something?<br><br>   Cheers,<br>   Daniel<br><br>       So I didn&#39;t thinking its a problem... I may be wrong :D<br>       And to answer you, yes, it always happens.<br>        Thanks you,<br>        Eric.<br>
<br>       2009/3/4 Daniel-Constantin Mierla &lt;<a href="mailto:miconda@gmail.com" target="_blank">miconda@gmail.com</a><br></div>       &lt;mailto:<a href="mailto:miconda@gmail.com" target="_blank">miconda@gmail.com</a>&gt; &lt;mailto:<a href="mailto:miconda@gmail.com" target="_blank">miconda@gmail.com</a> 
<div>
<div></div>
<div class="h5"><br>       &lt;mailto:<a href="mailto:miconda@gmail.com" target="_blank">miconda@gmail.com</a>&gt;&gt;&gt;<br><br><br><br><br>          On 03/04/2009 04:01 PM, Eric PTAK wrote:<br><br>              Hi,<br>
               I&#39;m trying to use *_dialoginfo modules but I&#39;m facing to a<br>              missunderstanding, or a bug.<br>              In fact, the presence server is working and I&#39;m also<br>       able to<br>
              subscribe to dialog event.<br>              But when pua_dialoginfo uses pua to send the Publish, I<br>       don&#39;t<br>              know where it going...<br>              I even not sure publishes are really sent.<br>
               This the log :<br>               DBG:dialog:run_create_callbacks: dialog=0xb59d30b0<br>              DBG:pua_dialoginfo:__dialog_created: new INVITE dialog<br>              created: from=sip:alice@domain<br>
              DBG:core:grep_aliases: comparing host [0:domain:0] with us<br>              [0:domain:0]<br>              DBG:core:grep_aliases: match found for: [0:domain:0]<br>              DBG:core:check_self: host == me<br>
              DBG:pua_dialoginfo:build_dialoginfo: new_body: &lt;?xml<br>              version=&quot;1.0&quot;?&gt; &lt;dialog-info<br>              xmlns=&quot;urn:ietf:params:xml:ns:dialog-info&quot; version=&quot;0&quot;<br>
              state=&quot;full&quot; entity=&quot;sip:alice@domain&quot;&gt;   &lt;dialog<br>              id=&quot;MzQ3N2FiMzhiZGIwNzhhNDhhNjcxN2Y5OGJhY2M0N2Q.&quot;<br>              call-id=&quot;MzQ3N2FiMzhiZGIwNzhhNDhhNjcxN2Y5OGJhY2M0N2Q.&quot;<br>
              direction=&quot;initiator&quot;&gt;     &lt;state&gt;Trying&lt;/state&gt;            &lt;remote&gt;<br>                    &lt;identity&gt;sip:bob@domain&lt;/identity&gt;       &lt;target<br>              uri=&quot;sip:bob@domain&quot;/&gt;     &lt;/remote&gt;     &lt;local&gt;                     &lt;identity&gt;sip:alice@domain&lt;/identity&gt;       &lt;target<br>
              uri=&quot;sip:alice@domain&quot;/&gt;     &lt;/local&gt;   &lt;/dialog&gt;<br>              &lt;/dialog-info&gt; DBG:pua_dialoginfo:dialog_publish:<br>       publish uri=<br>              sip:alice@domain<br>
              DBG:pua_dialoginfo:print_publ: publ:<br>              DBG:pua_dialoginfo:print_publ: uri= sip:alice@domain<br>              DBG:pua_dialoginfo:print_publ: id=<br>              DIALOG_PUBLISH.MzQ3N2FiMzhiZGIwNzhhNDhhNjcxN2Y5OGJhY2M0N2Q.<br>
              DBG:pua_dialoginfo:print_publ: expires= 0<br>              DBG:pua:send_publish: pres_uri=sip:alice@domain<br>              DBG:pua:search_htable: core_hash= 118<br>              DBG:pua:search_htable: record not found<br>
              DBG:pua:send_publish: insert type<br>              DBG:pua:send_publish: UPDATE_TYPE and no record found<br>              DBG:pua:send_publish: request for a publish with<br>       expires 0 and<br>              no record found<br>
<br><br>          According to this message, the publish has the expires value 0,<br>          therefore is no longer sent.<br><br>          Does this happen for all cases or from time to time?<br><br>          Cheers,<br>
          Daniel<br><br>              DBG:dialog:get_dlg_timeout: invalid AVP value, use<br>       default timeout<br>              DBG:tm:run_reqin_callbacks: trans=0xb59d3270, callback<br>       type 1,<br>              id 0 entered<br>
                Regards,<br>               Eric.<br>                    ------------------------------------------------------------------------<br><br>              _______________________________________________<br>              Kamailio (OpenSER) - Users mailing list<br>
              <a href="mailto:Users@lists.kamailio.org" target="_blank">Users@lists.kamailio.org</a><br>       &lt;mailto:<a href="mailto:Users@lists.kamailio.org" target="_blank">Users@lists.kamailio.org</a>&gt;<br>       &lt;mailto:<a href="mailto:Users@lists.kamailio.org" target="_blank">Users@lists.kamailio.org</a><br>
       &lt;mailto:<a href="mailto:Users@lists.kamailio.org" target="_blank">Users@lists.kamailio.org</a>&gt;&gt;<br><br>              <a href="http://lists.kamailio.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.kamailio.org/cgi-bin/mailman/listinfo/users</a><br>
                    <a href="http://lists.openser-project.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.openser-project.org/cgi-bin/mailman/listinfo/users</a><br><br><br>          --    Daniel-Constantin Mierla<br>
          <a href="http://www.asipto.com/" target="_blank">http://www.asipto.com</a> &lt;<a href="http://www.asipto.com/" target="_blank">http://www.asipto.com/</a>&gt;<br>       &lt;<a href="http://www.asipto.com/" target="_blank">http://www.asipto.com/</a>&gt;<br>
<br><br><br>   --    Daniel-Constantin Mierla<br></div></div>   <a href="http://www.asipto.com/" target="_blank">http://www.asipto.com</a> &lt;<a href="http://www.asipto.com/" target="_blank">http://www.asipto.com/</a>&gt; 
<div class="im"><br><br><br>------------------------------------------------------------------------<br><br>_______________________________________________<br>Kamailio (OpenSER) - Users mailing list<br><a href="mailto:Users@lists.kamailio.org" target="_blank">Users@lists.kamailio.org</a><br>
</div>
<div class="im"><a href="http://lists.kamailio.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.kamailio.org/cgi-bin/mailman/listinfo/users</a><br><a href="http://lists.openser-project.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.openser-project.org/cgi-bin/mailman/listinfo/users</a><br>
</div></blockquote>
<div>
<div></div>
<div class="h5"><br>-- <br>Daniel-Constantin Mierla<br><a href="http://www.asipto.com/" target="_blank">http://www.asipto.com</a><br><br></div></div></blockquote></div><br>