Hi Vasant,
In fact it says that pua_mi, pua_usrloc, pua_bla and pua_xmpp use pua
module to send PUBLISH and/or SUBSCRIBE messages.
What I tried to tell you is that you can not and should not try to
invoce pua_publish from script. pua module is a core module, that does
not export functions to be used from the script, but that is used by
other modules.
If you want to generate Publish messages from Register messages, that
you need to follow the configuration file example from here:
http://opensips.org/index.php?n=Resources.PuaUsrlocConfig.
<http://opensips.org/index.php?n=Resources.PuaUsrlocConfig>
regards,
Anca
[EMAIL PROTECTED] wrote:
Hi Anca,
Thank you for the prompt reply,according to your reply I
am already using pua_usrloc.I have gone through the documentation of PUA.
It is said that, we have to use "*pua_mi*" module to send *PUBLISH*
message to presence server.
how to invoke *pua_publish* * *with script file??.
Because no function is exported ,we cannot use in configuration file
directly.
I have seen the FIFO example in documentation.Is this the way we have
put in separate script file to invoke *pua_publish* ??.Kindly let me
know how to invoke *pua_publish* *with a script file.*
Thanks in advance,
With Regards
J. Vasant Dacha
----- Original Message -----
*From:* Anca Vamanu <mailto:[EMAIL PROTECTED]>
*To:* vasant j <mailto:[EMAIL PROTECTED]>
*Cc:* Users <mailto:[email protected]>
*Sent:* Friday, November 07, 2008 6:54 PM
*Subject:* Re: [OpenSIPS-Users] How to invoke PUBLISH in PUA?
Hi Vasant,
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).
If you want to trigger Publish messages when Register messages are
received, you need to use pua_usrloc module. You can read the
documentation here
<http://www.opensips.org/pmwiki.php?n=Resources.PuaExtensions#pua_usrloc>
and also follow the configuration file example you will find there.
Take care that all Register messages reach the server where pua is
running.
regards,
Anca
vasant j wrote:
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
------------------------------------------------------------------------
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
------------------------------------------------------------------------
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
begin:vcard
fn:Anca-Maria Vamanu
n:Vamanu;Anca-Maria
org:Voice System S.R.L.
email;internet:[EMAIL PROTECTED]
title:Senior Developer
tel;work:+40 21 637 2407
url:www.voice-system.ro
version:2.1
end:vcard
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users