<div dir="ltr"><div><div><div><div><div><div>Thanks Daniel,<br><br></div>Yes a subscribe request as been sent by my hardphone, authentication works, but juste after 200OK, a NOTIFY message as been sent with this header: Subscription-State: terminated;reason=timeout<br><br></div>But, on my SQL table "active_watcher", i can see my user (103) subscribed to 102 dialog events.<br><br></div>Concerning pua_usrloc, all requests PUBLISH from myself are allowed:<br><br>    if(is_method("PUBLISH") && from_uri==myself)<br>        return;<br><br></div>Do you want any copy of debug message at level 3 ? <br><br></div>Thanks.<br></div>Regards.<br></div><div class="gmail_extra"><br><div class="gmail_quote">2015-08-25 12:20 GMT+02:00 Daniel-Constantin Mierla <span dir="ltr"><<a href="mailto:miconda@gmail.com" target="_blank">miconda@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    Hello,<br>
    <br>
    do you get subscribe requests from users? A NOTIFY is sent only when
    there is an active subscription.<br>
    <br>
    Also, be sure you allow traffic on loopback without authentication
    -- pua_usrloc may send a publish to same sip server instance.
    Running with debug=3 and looking at syslog should reveal more about
    what is happening around.<br>
    <br>
    Cheers,<br>
    Daniel<div><div class="h5"><br>
    <br>
    <div>On 25/08/15 11:40, Loic Chabert wrote:<br>
    </div>
    </div></div><blockquote type="cite"><div><div class="h5">
      <div dir="ltr">
        <div>
          <div>
            <div>
              <div>
                <div>
                  <div>
                    <div>Hello everyone,<br>
                      <br>
                    </div>
                    I'm trying to reproduce BLF's asterisk
                    fonctionnality with kamailio.<br>
                  </div>
                  With asterisk, on register, NOTIFY message has been
                  sent to all suscribed users. So LED became green.<br>
                </div>
                How can i reproduce this function ? <br>
                <br>
              </div>
              I have try to execute a "pua_set_publish()" on register
              route, but it's not work. My led stay "black", and no
              notify message has been sent.<br>
              <br>
            </div>
            I have loaded presence, presence_xml, presence_mwi,
            presence_dialoginfo, pua, pua_dialoginfo, pua_usrloc. Any
            other module needed ?<br>
            <br>
          </div>
          Thanks,<br>
        </div>
        Regards.<br>
      </div>
      <br>
      <fieldset></fieldset>
      <br>
      </div></div><pre>_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><span class="HOEnZb"><font color="#888888">
</font></span></pre><span class="HOEnZb"><font color="#888888">
    </font></span></blockquote><span class="HOEnZb"><font color="#888888">
    <br>
    <pre cols="72">-- 
Daniel-Constantin Mierla
<a href="http://twitter.com/#!/miconda" target="_blank">http://twitter.com/#!/miconda</a> - <a href="http://www.linkedin.com/in/miconda" target="_blank">http://www.linkedin.com/in/miconda</a>
Book: SIP Routing With Kamailio - <a href="http://www.asipto.com" target="_blank">http://www.asipto.com</a></pre>
  </font></span></div>

<br>_______________________________________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
<br></blockquote></div><br></div>