<div dir="ltr">Respected Daniel,<div style><br></div><div style>I will test with Asterisk and see if x-lite generates a PUBLISH or not, but as far as my requirements are concerned, I've multidomain setup working where users from different domain are calling. Now they used to have their status lights working on their old asterisk servers but now they have no lights turning green to show the status of their monitored extensions. </div>
<div style><br></div><div style>These green lights turn red when the subscribed extensions gets busy. This helps others and operator know the user is busy or not. </div><div style><br></div><div style>I want the same to be working on kamailio and hence I'm here.</div>
<div style><br></div><div style>I don't have IP Phone in my reach now so I'll send different traces once available.</div><div style><br></div><div style>Please advise further about this.</div><div style><br></div>
<div style>Thanks,</div><div style>Sammy</div><div style><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Jun 10, 2013 at 4:03 PM, Daniel-Constantin Mierla <span dir="ltr"><<a href="mailto:miconda@gmail.com" target="_blank">miconda@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<div>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<div><div class="h5"><br>
<br>
On 6/10/13 12:55 PM, SamyGo wrote:<br>
</div></div></div><div><div class="h5">
<blockquote 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>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><br>
</div>
<div>
<div>PUBLISH <a href="mailto:sip%3A4144@wistle.myvoip.com" target="_blank">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 href="mailto:sip%3A4144@wistle.myvoip.com" target="_blank">sip:4144@wistle.myvoip.com</a></div>
<div>From: <a href="mailto:sip%3A4144@wistle.myvoip.com" target="_blank">sip:4144@wistle.myvoip.com</a>;tag=533cb9e91f4b999cf76861cbb9ed54ed-b82e</div>
<div>CSeq: 10 PUBLISH</div>
<div>Call-ID: <a href="mailto:7debd904-8753@127.0.0.1" target="_blank">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 href="mailto:sip%3A4144@wistle.myvoip.com" target="_blank">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 href="http://182.189.2.135:36810" target="_blank">182.189.2.135:36810</a>"
path="" user_agent="X-Lite release 4.5.2 stamp 70142"></div>
<div>
<uri><a>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 href="http://199.255.209.166:49182" target="_blank">199.255.209.166:49182</a>"
path="" user_agent="X-Lite release 4.5.2 stamp 70142"></div>
<div>
<uri><a>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 href="http://199.255.209.166:49182" target="_blank">199.255.209.166:49182</a>"
path="" user_agent="X-Lite release 4.5.2 stamp 70142"></div>
<div>
<uri><a>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 href="http://199.255.209.166:17482" target="_blank">199.255.209.166:17482</a>"
path="" user_agent="X-Lite release 4.5.2 stamp 70142"></div>
<div>
<uri><a>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>If only this could reach my user agent then I
think the presence will work fine.</div>
<div><br>
</div>
<div><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 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>
<div><br>
On 10 Jun 2013, at 11:05, SamyGo <<a 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> handle_publish();</span></div>
<div><span>
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>
<blockquote type="cite">
<div><span>_______________________________________________</span><br>
<span>SIP Express Router (SER) and Kamailio
(OpenSER) - sr-users mailing list</span><br>
<span><a href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a></span><br>
<span><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><br>
</div>
</blockquote>
</div>
</div>
<br>
_______________________________________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users
mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a><br>
<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><br>
<br>
</blockquote>
</div>
<br>
</div>
<br>
<fieldset></fieldset>
<br>
<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>
</pre>
</blockquote>
<br>
<br>
</div></div><div class="im"><pre cols="72">--
Daniel-Constantin Mierla - <a href="http://www.asipto.com" target="_blank">http://www.asipto.com</a>
<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>
Kamailio Advanced Training, San Francisco, USA - June 24-27, 2013
* <a href="http://asipto.com/u/katu" target="_blank">http://asipto.com/u/katu</a> *</pre>
</div></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" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
<br></blockquote></div><br></div>