[Serusers] SER Presence

Akeru Ikena akeru.ikena at gmail.com
Wed Jan 25 17:10:38 CET 2006


Hi all,

Now that my routing problems seems to be gone, I ran into some presence
issue.

It seems the presence mechanism is working well, meaning I created the DB
tables to store the informations, I added some lines in my conf (see below)
and now I'd like my users to be able to send presence info each other
WITHOUT an xcap server.

I naturally wanted to add modparam("pa", "auth", "none"). But, as I
understood, it seems this option is no longer exported in the lastest SER
Version.
So, how can I do ? Is it now mandatory to have an xcap server running ?

Thanks alot.

if (method == "SUBSCRIBE") {
                        # create transaction state; abort if error occured
                        xlog("L_INFO", "\n[SER]: --SUBSCRIBE--: Time: [%Tf]
Method: <%rm> R-uri: <%ru> Contact Header: <%ct> From: <%fu> To <%tu>\n\n");
                        if ( !t_newtran()) {
                                sl_reply_error();
                                break;
                        };
                        if(!handle_subscription("registrar")) {
                                sl_reply_error();
                                break;
                        };
                        break;
                };

                if (method == "PUBLISH") {
                        # create transaction state; abort if error occured
                        xlog("L_INFO", "\n[SER]: --PUBLISH--: Time: [%Tf]
Method: <%rm> R-uri: <%ru> Contact Header: <%ct> From: <%fu> To <%tu>
\n\n");
                        if ( !t_newtran()) {
                                sl_reply_error();
                                break;
                        };
                        if(!handle_subscription("registrar")) {
                                sl_reply_error();
                                break;
                        };
                        break;
                };
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20060125/30146694/attachment.htm>


More information about the sr-users mailing list