<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hello,<br>
<br>
watch the sip traffic and see if there are retransmissions not
replies as well as look at expires header value for subscribe/public
requests. The reason timeout is somehow related to the above.<br>
<br>
Again, be sure you look at the traffic on all network interfaces.<br>
<br>
Is SIP sent over UDP or TCP/TLS?<br>
<br>
Cheers,<br>
Daniel<br>
<br>
<div class="moz-cite-prefix">On 25/08/15 16:07, Loic Chabert wrote:<br>
</div>
<blockquote
cite="mid:CADLP+M0g2bNdNp4x9ZCuoTuNtpHF07WdWWBrn+eWK49AezcyLQ@mail.gmail.com"
type="cite">
<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
moz-do-not-send="true" 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 moz-do-not-send="true" href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a>
<a moz-do-not-send="true" 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 moz-do-not-send="true" href="http://twitter.com/#%21/miconda" target="_blank">http://twitter.com/#!/miconda</a> - <a moz-do-not-send="true" href="http://www.linkedin.com/in/miconda" target="_blank">http://www.linkedin.com/in/miconda</a>
Book: SIP Routing With Kamailio - <a moz-do-not-send="true" 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 moz-do-not-send="true"
href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
<a moz-do-not-send="true"
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>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla
<a class="moz-txt-link-freetext" href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a>
Book: SIP Routing With Kamailio - <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a></pre>
</body>
</html>