<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.6003" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=391295413-20102010><FONT face=Arial size=2>A couple of comments
on the "latest" behaviour when I SUBSCRIBE for dialog events on an internal
freeswitch application extension:</FONT></SPAN></DIV>
<DIV><SPAN class=391295413-20102010><FONT face=Arial
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=391295413-20102010><FONT face=Arial size=2>- No NOTIFY is sent
on SUBSCRIBE(dialog) for non-registered endpoints. The extra three empty
fields at the end of line 622 of sofia_presence.c should be removed (presence_id
should be the 12th arg, but because of these it is
15th)</FONT></SPAN></DIV><SPAN class=391295413-20102010>
<DIV><BR><FONT face=Arial size=2>- presence is not reported correctly for calls
from remote destinations. The "user" parameter in the resub_callback was
recently modified to use the presence_id, but "host" is the from_host (the
remote one), which is not correct and results in the START_PRESENCE_SQL not
getting any hits.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><SPAN class=391295413-20102010></SPAN><FONT face=Arial size=2>A<SPAN
class=391295413-20102010>nd a very minor thing, but which causes more queries
and messages than is really necessary:</SPAN></FONT></DIV><SPAN
class=391295413-20102010></SPAN>
<DIV><BR><FONT face=Arial size=2>- two PRESENCE_PROBE events are sent when a
SUBSCRIBE(dialog) is received. One is from around line 2335 of
sofia_presence.c, the other at the end of the same function
(sofia_presence_handle_sip_i_subscribe). One of them should be
removed.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><SPAN class=391295413-20102010><FONT face=Arial
size=2>Carolyn</FONT></SPAN></DIV></SPAN></BODY></HTML>