<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.5730.11" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Verdana size=2>
<DIV><FONT face=Verdana size=2>Hello,</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Verdana size=2>I am able to see RLS properly working when RLS
and presence functionality is in the same server. </FONT></DIV>
<DIV><FONT face=Verdana size=2><BR>after that, I tried to integrate RLS as a
separate application server.</DIV>
<DIV> </DIV>
<DIV>To forward the message from RLS to presence server, I made below changes in
the config file:</DIV>
<DIV> </DIV>
<DIV>route[2]<BR>{<BR> if (!t_newtran())<BR>
{<BR>
sl_reply_error();<BR>
exit;<BR> };</DIV>
<DIV> </DIV>
<DIV>
if(is_method("NOTIFY"))<BR>
{<BR>
rls_handle_notify();<BR>
t_release();<BR> }</DIV>
<DIV> </DIV>
<DIV>
if(is_method("SUBSCRIBE"))<BR>
{<BR>
$var(ret_code)= rls_handle_subscribe();</DIV>
<DIV> </DIV>
<DIV>
if($var(ret_code)== 10)<BR> #to forward to presence
server<BR>
t_relay("udp:<ip>:5070");<BR>
}</DIV>
<DIV> </DIV>
<DIV>
if(is_method("PUBLISH"))<BR>
{<BR>
#to forward to presence
server.<BR>
t_relay("udp:<ip>:5070");<BR>
t_release();<BR> }</DIV>
<DIV> </DIV>
<DIV> exit;<BR>}</DIV>
<DIV> </DIV>
<DIV><BR>because of this configuration, i found two problems:</DIV>
<DIV> </DIV>
<DIV>1. when i am forwarding subscribe message (from RLS to presence server),
its not sending the subscribe for all the contacts. Here, i am expecting (sort
of) output of rls_handle_subscribe() to be sent to the presence server.
Which is not happening.</DIV>
<DIV> </DIV>
<DIV>2. When presence server is sending notify message, it is sending directly
to scscf..instead of rls..</DIV>
<DIV> </DIV>
<DIV>Can anybody let me know, how can I get the desired functionality of:</DIV>
<DIV> </DIV>
<DIV> 1. UE --> RLS --> presence server (subscribe)<BR> 2.
Presence server --> RLS --> UE (for notify).</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>If there is any other way to forward message from RLS to presence, please
let me know</FONT></DIV>
<DIV><FONT face=Verdana size=2></FONT> </DIV>
<DIV><FONT face=Verdana size=2>Regards,<BR>Mahesh
Peddi<BR></DIV></FONT></FONT></DIV></BODY></HTML>