Hi Vaclav,
Thank you for help everything works fine now.
I missed the lookup_user function and didn't have and uid avp loaded before the
handle_*() method.
Cheers
tomasz
I meant using lookup_domain and lookup_user functions
in the script.
Vaclav
On Wed, Jun 06, 2007 at 09:37:29PM +0200, TZieleniewski wrote:
> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
> <html>
> <head>
> <meta content="text/html;charset=ISO-8859-1"
http-equiv="Content-Type">
> <title></title>
> </head>
> <body bgcolor="#ffffff" text="#000000">
> Vaclav where should I use those modules?<br>
> Could you be please more precise:)<br>
> you mean to load those modules or use them in some specific way in the
> context pf presence??<br>
> <br>
> Thank you<br>
> Cheers tomasz<br>
> <br>
> Vaclav Kubart pisze:
> <blockquote cite="mid:20070605155449.GK3832@vencore.sip-server.net"
> type="cite">
> <pre wrap="">So, I tried it and it works for me...
>
> Are you using domain (domain -> did) + uri_db (username + did -> uid)
modules?
>
> Vaclav
>
> On Tue, Jun 05, 2007 at 02:57:34PM +0200, Vaclav Kubart wrote:
> </pre>
> <blockquote type="cite">
> <pre wrap="">Yes Tomasz, you are right. The NOTIFY should
contain tuple with 'open'
> status if use_callbacks is set and the presentity is registered. I will
> look on it...
>
> Vaclav
>
> On Tue, Jun 05, 2007 at 10:24:29AM +0200, TZieleniewski wrote:
> </pre>
> <blockquote type="cite">
> <pre wrap=""><!DOCTYPE html PUBLIC "-//W3C//DTD
HTML 4.01 Transitional//EN">
> <html>
> <head>
> <meta content="text/html;charset=ISO-8859-1"
http-equiv="Content-Type">
> </head>
> <body bgcolor="#ffffff" text="#000000">
> Hi Vaclav,<br>
> <br>
> Thank you, so that was my misunderstanding of
'time_interval':)<br>
> But When my UAa subscribes to the presence of another UAb wich is
> already registered <br>
> the NOTIFY message contains tuple with the closed state indicated for
> UAb. <br>
> Only after the UAb sends PUBLISH message there is an updated NOTIFY
> sent to UAa with status 'open'.<br>
> Shouldn't it be like this that if 'auth' module parameter is
"none" and
> the user is registered the NOFITY message for <br>
> for this user contains tuple with status open??<br>
> <br>
> Cheers<br>
> tomasz<br>
> <br>
> Vaclav Kubart pisze:
> <blockquote cite=<a class="moz-txt-link-rfc2396E"
href="mailto:mid:20070605074149.GE3832@vencore.sip-server.net">"mid:20070605074149.GE3832@vencore.sip-server.net"</a>
> type="cite">
> <pre wrap="">Hi Tomasz,
> the 'timer_interval' parameter specifies the interval after which PA
> checks changes in the list of presentites (changed presence state,
> changed/expired subscriptions, ...). If there is a change, NOTIFY
> corresponding with the change is sent, but if no change found, no NOTIFY
> is sent. Isn't this your problem?
>
> Vaclav
>
> On Mon, Jun 04, 2007 at 05:02:12PM +0200, tzieleniewski wrote:
> </pre>
> <blockquote type="cite">
> <pre wrap="">Hi,
>
> I am using SER rel_2_0_0.
> I am trying to set up a presence server as a simple PA.
>
> I am using xlite UA and when UA registers and subscribes to a particular user
presence Event SER doesn't sent a NOTIFY according to the 'time_interval'
module parameter. It only responses with the 'immediate NOTIFY' with the closed
status tuple. According to my configuration SER should sent a NOTIFY every 15 seconds and
it doesn't do it at all.
> I kindly ask for your feedback.
>
> Below I attached my module configuration and messages exchanged with UA.
> # -- pa params --
> modparam("pa", "default_expires",300)
> modparam("pa", "max_subscription_expiration", 3600)
> modparam("pa", "max_publish_expiration", 3600)
> modparam("pa", "use_db", 1)
> modparam("pa", "use_callbacks", 1)
> modparam("pa", "watcherinfo_notify", 0)
> modparam("pa", "use_offline_winfo", 0)
> modparam("pa", "offline_winfo_expiration", 259200)
> modparam("pa", "auth", "none")
> modparam("pa", "winfo_auth", "implicit")
> modparam("pa", "pres_rules_file",
"presence-rules.xml")
> modparam("pa", "ignore_408_on_notify", 0)
> modparam("pa", "timer_inte