i noticed that kamailio 4.3 presence server takes several seconds to generate notify when it receives subscribe request. for example:
Dec 27 15:42:01 lohi /usr/bin/sip-proxy[7363]: INFO: Routing SUBSCRIBE sip:test@test.tutpro.com to presence server at sip:127.0.0.1:5080;transport=tcp Dec 27 15:42:01 lohi /usr/bin/pres-serv[7113]: INFO: Handled SUBSCRIBE sip:test@test.tutpro.com Dec 27 15:42:05 lohi /usr/bin/pres-serv[7108]: INFO: Routing locally generated NOTIFY sip:test@test.tutpro.com;gr=urn:uuid:47759291-c9db-4eb3-a540-5e68353414ee to sip:test@test.tutpro.com from sip:test@test.tutpro.com
the host is not loaded at all. these relevant presence server params are set:
modparam("presence", "subs_db_mode", 3) modparam("presence", "db_table_lock_type", 0)
and db is on localhost.
any explanation why notify takes so long to generate?
-- juha