<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>"In OpenSIPS you can set the 'presence_server' to configure where the Publish messages are sent"</div>
<div><br>So I've tried to change outbound_proxy pua parameter but I'm still stuck...</div>
<div> </div>
<div>Eric.<br></div>
<div class="gmail_quote">2009/3/4 Daniel-Constantin Mierla <span dir="ltr"><<a href="mailto:miconda@gmail.com">miconda@gmail.com</a>></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'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's lifetime parameter, I'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 <<a href="mailto:miconda@gmail.com" target="_blank">miconda@gmail.com</a> <mailto:<a href="mailto:miconda@gmail.com" target="_blank">miconda@gmail.com</a>>><br>
<br><br><br> On 03/04/2009 04:36 PM, Eric PTAK wrote:<br><br> I'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'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 <<a href="mailto:miconda@gmail.com" target="_blank">miconda@gmail.com</a><br></div> <mailto:<a href="mailto:miconda@gmail.com" target="_blank">miconda@gmail.com</a>> <mailto:<a href="mailto:miconda@gmail.com" target="_blank">miconda@gmail.com</a>
<div>
<div></div>
<div class="h5"><br> <mailto:<a href="mailto:miconda@gmail.com" target="_blank">miconda@gmail.com</a>>>><br><br><br><br><br> On 03/04/2009 04:01 PM, Eric PTAK wrote:<br><br> Hi,<br>
I'm trying to use *_dialoginfo modules but I'm facing to a<br> missunderstanding, or a bug.<br> In fact, the presence server is working and I'm also<br> able to<br>
subscribe to dialog event.<br> But when pua_dialoginfo uses pua to send the Publish, I<br> don'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: <?xml<br> version="1.0"?> <dialog-info<br> xmlns="urn:ietf:params:xml:ns:dialog-info" version="0"<br>
state="full" entity="sip:alice@domain"> <dialog<br> id="MzQ3N2FiMzhiZGIwNzhhNDhhNjcxN2Y5OGJhY2M0N2Q."<br> call-id="MzQ3N2FiMzhiZGIwNzhhNDhhNjcxN2Y5OGJhY2M0N2Q."<br>
direction="initiator"> <state>Trying</state> <remote><br> <identity>sip:bob@domain</identity> <target<br> uri="sip:bob@domain"/> </remote> <local> <identity>sip:alice@domain</identity> <target<br>
uri="sip:alice@domain"/> </local> </dialog><br> </dialog-info> 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> <mailto:<a href="mailto:Users@lists.kamailio.org" target="_blank">Users@lists.kamailio.org</a>><br> <mailto:<a href="mailto:Users@lists.kamailio.org" target="_blank">Users@lists.kamailio.org</a><br>
<mailto:<a href="mailto:Users@lists.kamailio.org" target="_blank">Users@lists.kamailio.org</a>>><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> <<a href="http://www.asipto.com/" target="_blank">http://www.asipto.com/</a>><br> <<a href="http://www.asipto.com/" target="_blank">http://www.asipto.com/</a>><br>
<br><br><br> -- Daniel-Constantin Mierla<br></div></div> <a href="http://www.asipto.com/" target="_blank">http://www.asipto.com</a> <<a href="http://www.asipto.com/" target="_blank">http://www.asipto.com/</a>>
<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>