<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">Asterisk is an end point, like another
phone. You can look to see if when used with asterisk, xlite
generates PUBLISH. If it does not do it, then it is the same end
to end presence.<br>
<br>
The PUBLISH you see is from pua_reginfo that should be used for
replication of location records to another sip server. It doesn't
look you need it from what I understood you want to achieve.<br>
<br>
Cheers,<br>
Daniel<br>
<br>
On 6/10/13 12:55 PM, SamyGo wrote:<br>
</div>
<blockquote
cite="mid:CAJUJwtgavON-Q-yaNX54qBDww_aB-+uWXbBK2JwoPjyj+=3m+A@mail.gmail.com"
type="cite">
<div dir="ltr">Thank you for the prompt responses, sure I'll try
some other client as I've a yealink IP phone accessible but this
x-lite worked perfectly when connected with Asterisk and gave me
Presence info with reginfo+xml and dialog+xml body types. This
is new x-lite 4.5 version and gives perfect BLF and presence
lights.
<div>
<br>
</div>
<div>Anyways I won't rule out everything and change my User
phone.</div>
<div><br>
<div style="">I've observed that this PUBLISH is generated
from Kamailio and sent to Kamailio but never is relayed to
the end user. Also I'd like to mention that I'm using the
MULTIDOMAIN mode.</div>
<div style=""><br>
</div>
<div style="">
<div>PUBLISH <a moz-do-not-send="true"
href="mailto:sip%3A4144@wistle.myvoip.com">sip:4144@wistle.myvoip.com</a>
SIP/2.0</div>
<div>Via: SIP/2.0/UDP 1.1.1.1;branch=z9hG4bK1155.b09d7f4.0</div>
<div>To: <a moz-do-not-send="true"
href="mailto:sip%3A4144@wistle.myvoip.com">sip:4144@wistle.myvoip.com</a></div>
<div>From: <a moz-do-not-send="true"
href="mailto:sip%3A4144@wistle.myvoip.com">sip:4144@wistle.myvoip.com</a>;tag=533cb9e91f4b999cf76861cbb9ed54ed-b82e</div>
<div>CSeq: 10 PUBLISH</div>
<div>Call-ID: <a moz-do-not-send="true"
href="mailto:7debd904-8753@127.0.0.1">7debd904-8753@127.0.0.1</a></div>
<div>Content-Length: 1486</div>
<div>User-Agent: kamailio (4.0.1 (i386/linux))</div>
<div>Max-Forwards: 70</div>
<div>Event: reg</div>
<div>Expires: 3601</div>
<div>Content-Type: application/reginfo+xml</div>
<div><br>
</div>
<div>
<?xml version="1.0"?></div>
<div><reginfo xmlns="urn:ietf:params:xml:ns:reginfo"
version="0" state="full"></div>
<div> <registration aor="<a moz-do-not-send="true"
href="mailto:sip%3A4144@wistle.myvoip.com">sip:4144@wistle.myvoip.com</a>"
id="0xb36a5f28" state="active"></div>
<div> <contact id="0xb36a5f88" state="active"
event="registered" expires="1579"
callid="Zjc3MTE2NTY1MDQ5NjA3NDVmNTdhOGU4NDVjNDI1NTU"
cseq="4" received="sip:<a moz-do-not-send="true"
href="http://182.189.2.135:36810">182.189.2.135:36810</a>"
path="" user_agent="X-Lite release 4.5.2 stamp 70142"></div>
<div>
<uri><a class="moz-txt-link-freetext" href="sip:4144@182.189.2.135:36810;rinstance=93ea3ac79b5c8181">sip:4144@182.189.2.135:36810;rinstance=93ea3ac79b5c8181</a></uri></div>
<div> </contact></div>
<div> <contact id="0xb36a6198" state="active"
event="registered" expires="2775"
callid="YzIyNDA1NzJkOWI4ZDA2YjdkYTk5NmU5MDA3YmEzMWE"
cseq="2" received="sip:<a moz-do-not-send="true"
href="http://199.255.209.166:49182">199.255.209.166:49182</a>"
path="" user_agent="X-Lite release 4.5.2 stamp 70142"></div>
<div>
<uri><a class="moz-txt-link-freetext" href="sip:4144@10.254.168.28:49182;rinstance=f0f3b6fe4979841b">sip:4144@10.254.168.28:49182;rinstance=f0f3b6fe4979841b</a></uri></div>
<div> </contact></div>
<div> <contact id="0xb36a64d8" state="active"
event="registered" expires="2788"
callid="ZDk3MmEzMmI3OGRmODUxODFlNzE4ODVkNTAxNDE3MjQ"
cseq="4" received="sip:<a moz-do-not-send="true"
href="http://199.255.209.166:49182">199.255.209.166:49182</a>"
path="" user_agent="X-Lite release 4.5.2 stamp 70142"></div>
<div>
<uri><a class="moz-txt-link-freetext" href="sip:4144@199.255.209.166:49182;rinstance=9263a0c33eddcd04">sip:4144@199.255.209.166:49182;rinstance=9263a0c33eddcd04</a></uri></div>
<div> </contact></div>
<div> <contact id="0xb36b1168" state="active"
event="created" expires="3600"
callid="ZmQyNTA1Njg5NDExMzIwOTBmZmZhZDNjNTBjODUxNzk"
cseq="4" received="sip:<a moz-do-not-send="true"
href="http://199.255.209.166:17482">199.255.209.166:17482</a>"
path="" user_agent="X-Lite release 4.5.2 stamp 70142"></div>
<div>
<uri><a class="moz-txt-link-freetext" href="sip:4144@199.255.209.166:17482;rinstance=5ccf1f2256f17489">sip:4144@199.255.209.166:17482;rinstance=5ccf1f2256f17489</a></uri></div>
<div> </contact></div>
<div> </registration></div>
<div></reginfo></div>
<div><br>
</div>
<div><br>
</div>
<div>
<br>
</div>
<div style="">If only this could reach my user agent then I
think the presence will work fine.</div>
<div style=""><br>
</div>
<div style=""><br>
</div>
</div>
</div>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">
On Mon, Jun 10, 2013 at 3:20 PM, Peter Dunkley <span
dir="ltr"><<a moz-do-not-send="true"
href="mailto:peter.dunkley@crocodilertc.net"
target="_blank">peter.dunkley@crocodilertc.net</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="auto">
<div>X-Lite does not support server presence (or didn't
last time I looked) - at least not for 'social'
presence, MWI may work.</div>
<div><br>
</div>
<div>It works by having the clients exchange SUBSCRIBEs
and NOTIFYs with each other and not doing any PUBLISHes.
As such, server presence isn't going to work.</div>
<div><br>
</div>
<div>Regards,</div>
<div><br>
</div>
<div>Peter</div>
<div><br>
--
<div>Peter Dunkley</div>
<div>Technical Director</div>
<div>Crocodile RCS Ltd</div>
</div>
<div>
<div class="h5">
<div><br>
On 10 Jun 2013, at 11:05, SamyGo <<a
moz-do-not-send="true"
href="mailto:govoiper@gmail.com" target="_blank">govoiper@gmail.com</a>>
wrote:<br>
<br>
</div>
<blockquote type="cite">
<div>
<div dir="ltr">Hi List,
<div><br>
</div>
<div>I've been trying to make the Presence thing
work with kamailio but the very basic presence
doesn't seem to work. I've tried multiple
modules and different how-tos for running
successful presence aware configuration but
seems something is missing. The ultimate goal
is to give user online/busy/offline status
updaes to Subscribers.</div>
<div><br>
</div>
<div>My Kamailio version is: kamailio 4.0.1
(i386/linux) 55f7de</div>
<div><br>
</div>
<div>I've loaded the following modules.</div>
<div>
<div><br>
</div>
<div><font face="courier new, monospace">loadmodule
"presence.so"</font></div>
<div><font face="courier new, monospace">loadmodule
"presence_xml.so"</font></div>
<div><font face="courier new, monospace">loadmodule
"presence_dialoginfo.so"</font></div>
<div><font face="courier new, monospace">loadmodule
"presence_reginfo"</font></div>
<div><font face="courier new, monospace">loadmodule
"pua.so"</font></div>
<div><font face="courier new, monospace">#loadmodule
"sca.so"</font></div>
<div><font face="courier new, monospace">loadmodule
"pua_dialoginfo.so"</font></div>
<div><font face="courier new, monospace">loadmodule
"pua_usrloc.so"</font></div>
<div><font face="courier new, monospace">loadmodule
"pua_reginfo"</font></div>
<div><br>
</div>
</div>
<div>The Presence route contains this:</div>
<div><br>
</div>
<div>
<div><font face="courier new, monospace">route[PRESENCE]
{</font></div>
<div><font face="courier new, monospace">
if(!is_method("PUBLISH|SUBSCRIBE"))</font></div>
<div><font face="courier new, monospace">
return;</font></div>
<div><font face="courier new, monospace"><br>
</font></div>
<div><font face="courier new, monospace">
xlog("L_INFO", "[$fU@$si:$sp]{$rm} In
Presence Route \n");</font></div>
<div><font face="courier new, monospace">#!ifdef
WITH_PRESENCE</font></div>
<div><font face="courier new, monospace">
if (!t_newtran())</font></div>
<div><font face="courier new, monospace">
{</font></div>
<div><font face="courier new, monospace">
sl_reply_error();</font></div>
<div><font face="courier new, monospace">
exit;</font></div>
<div><font face="courier new, monospace">
};</font></div>
<div><font face="courier new, monospace"><br>
</font></div>
<div><font face="courier new, monospace">
if(is_method("PUBLISH"))</font></div>
<div><font face="courier new, monospace">
{</font></div>
<div><font face="courier new, monospace">
</font><span
style="font-family:'courier
new',monospace"> handle_publish();</span></div>
<div><span style="font-family:'courier
new',monospace">
t_release();</span><br>
</div>
<div><font face="courier new, monospace">
}</font></div>
<div><font face="courier new, monospace">
else</font></div>
<div><font face="courier new, monospace">
if( is_method("SUBSCRIBE"))</font></div>
<div><font face="courier new, monospace">
{</font></div>
<div><font face="courier new, monospace">
handle_subscribe();</font></div>
<div><font face="courier new, monospace">
t_release();</font></div>
<div><font face="courier new, monospace">
}</font></div>
<div><font face="courier new, monospace">
exit;</font></div>
<div><font face="courier new, monospace">#!endif</font></div>
<div>
<div><font face="courier new, monospace"><br>
</font></div>
<div><font face="courier new, monospace">
# if presence enabled, this part
will not be executed</font></div>
<div><font face="courier new, monospace">
if (is_method("PUBLISH") ||
$rU==$null)</font></div>
<div><font face="courier new, monospace">
{</font></div>
<div><font face="courier new, monospace">
sl_send_reply("404", "Not
here");</font></div>
<div><font face="courier new, monospace">
exit;</font></div>
<div><font face="courier new, monospace">
}</font></div>
<div><font face="courier new, monospace">
return;</font></div>
<div><font face="courier new, monospace">}</font></div>
</div>
<div><font face="courier new, monospace"><br>
</font></div>
<div><font face="arial, helvetica, sans-serif">Then
I've my x-lite phone (which is known to
work with Presence in Asterisk) tries to
register and subscribe to its own
extensions. Nothing happens. The trace
from sipgrep is attached. <br>
<br>
Please help me in making presence work.</font></div>
<div><font face="arial, helvetica, sans-serif"><br>
</font></div>
<div><font face="arial, helvetica, sans-serif">Thanks,</font></div>
<div><font face="arial, helvetica, sans-serif">Sammy</font></div>
<div><font face="arial, helvetica, sans-serif"><br>
</font></div>
<div><br>
</div>
</div>
</div>
</div>
</blockquote>
</div>
</div>
<blockquote type="cite">
<div><presence_trace.txt></div>
</blockquote>
<div class="im">
<blockquote type="cite">
<div><span>_______________________________________________</span><br>
<span>SIP Express Router (SER) and Kamailio
(OpenSER) - sr-users mailing list</span><br>
<span><a moz-do-not-send="true"
href="mailto:sr-users@lists.sip-router.org"
target="_blank">sr-users@lists.sip-router.org</a></span><br>
<span><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><br>
</div>
</blockquote>
</div>
</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"
target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
<br>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla - <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a>
<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>
Kamailio Advanced Training, San Francisco, USA - June 24-27, 2013
* <a class="moz-txt-link-freetext" href="http://asipto.com/u/katu">http://asipto.com/u/katu</a> *</pre>
</body>
</html>