<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE></TITLE>
<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 text=#000000 bgColor=#ffffff>
<DIV>
<DIV><FONT face=Arial size=2>Hi Anca,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial 
size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
Thank you for the prompt reply,according to your reply I am already using 
pua_usrloc.I have gone through the documentation of PUA.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>It is said that, we have to use 
"<STRONG>pua_mi</STRONG>" module to send <STRONG>PUBLISH</STRONG> message to 
presence server.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>how to invoke 
<STRONG>pua_publish</STRONG>&nbsp;<STRONG> </STRONG>with 
script&nbsp;file??.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Because no function is exported ,we cannot use in 
configuration file directly.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I have seen the FIFO example in documentation.Is 
this the way we have put in&nbsp;separate script&nbsp;file to invoke 
<STRONG>pua_publish</STRONG> ??.Kindly let me know how to invoke&nbsp; 
<STRONG>pua_publish</STRONG> <STRONG>with a script file.</STRONG></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Thanks in advance,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>With Regards</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>J. Vasant Dacha</FONT></DIV></DIV>
<DIV><FONT face=Verdana size=2></FONT><BR>&nbsp;</DIV>
<BLOCKQUOTE 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV 
  style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
  <A title=anca@voice-system.ro href="mailto:anca@voice-system.ro">Anca 
  Vamanu</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A title=vasant.embsys@gmail.com 
  href="mailto:vasant.embsys@gmail.com">vasant j</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>Cc:</B> <A title=Users@lists.opensips.org 
  href="mailto:Users@lists.opensips.org">Users</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Friday, November 07, 2008 6:54 
  PM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [OpenSIPS-Users] How to 
  invoke PUBLISH in PUA?</DIV>
  <DIV><BR></DIV>Hi Vasant,<BR><BR>Pua module does not send Publish messages by 
  itsefl. It is used as a core by the other pua_X modules( pua_usrloc, pua_bla, 
  pua_xmpp, pua_mi).<BR>If you want to trigger Publish messages when Register 
  messages are received, you need to use pua_usrloc module. You can read the 
  documentation&nbsp;<A 
  href="http://www.opensips.org/pmwiki.php?n=Resources.PuaExtensions#pua_usrloc">here</A> 
  and also follow the configuration file example&nbsp; you will find 
  there.<BR>Take care that all Register messages reach the server where pua is 
  running.<BR><BR>regards, <BR>Anca <BR><BR>vasant j wrote: 
  <BLOCKQUOTE 
  cite=mid:a40d3e530811070322j2fedb429n42d534cf4df18ebe@mail.gmail.com 
  type="cite"><PRE wrap="">Hi All,

         I am running PUA and presence in two different machines.Also
I am using UCTIMSCLIENT as client for registering and de-registering.

I am able to communicate between  two servers(PUA and Presence)
successfully.I have kept a Debug statement in "send_publish" function
.So when i Register or when i change the status "send_publish"
function should get invoked.But,I am not getting any Debug message i
have kept.This means "send_publish" function is not getting invoked at
all !!.

Kindly tell me how to invoke the send_publish function in PUA ???.

NOTE:Following attached is my PUA configuration file........

Waiting for your replies.......

Regards,
vasant
  </PRE><PRE wrap=""><PRE wrap=""><HR width="90%" SIZE=4>
_______________________________________________
Users mailing list
<A class=moz-txt-link-abbreviated href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</A>
<A class=moz-txt-link-freetext href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</A>
</PRE></PRE></BLOCKQUOTE><BR>
  <P>
  <HR>

  <P></P>_______________________________________________<BR>Users mailing 
  list<BR>Users@lists.opensips.org<BR>http://lists.opensips.org/cgi-bin/mailman/listinfo/users<BR></BLOCKQUOTE></BODY></HTML>