[SR-Users] Problem NOTIFY in Presence module

hamed r hamed.rasstegar at gmail.com
Mon Jun 7 07:18:44 CEST 2021


Yes, my explanation was very limited. I am using a kamailio server and an
Asterisk server . The extensions are registered in kamailio but the calls
go to the Asterisk server. My kamailio server uses two IPs (public and
local) , i use multi homed . My database is on another server. I am using
version 5.4.4 of kamailio server and database . I put kamailio in
subs_db_mode 3 and debug mode 3 and I do not receive any errors. publish
packet are sent but no notify messages are sent to the subscribers . but i
change database to local ,Everything is fine and Notify packets are sent.

# ----- presence params -----
modparam("presence", "db_url", DBURL)
modparam("presence", "db_update_period", 20)
modparam("presence", "server_address", "sip:test.test.com:5080")
modparam("presence", "send_fast_notify", 0)
modparam("presence", "db_update_period", 20)
modparam("presence", "clean_period", 40)
modparam("presence", "subs_db_mode", 3)
modparam("presence", "fetch_rows", 1000)
modparam("presence", "db_table_lock_type", 0)

# ----- presence_xml params -----
modparam("presence_xml", "db_url", DBURL)
modparam("presence_xml", "force_active", 1)

# ----- presence_dialoginfo params -----
modparam("presence_dialoginfo", "force_single_dialog", 0)

# ----- pua params -----
modparam("pua", "db_url", DBURL)
modparam("pua", "db_mode", 2)
modparam("pua", "update_period", 60)
modparam("pua", "dlginfo_increase_version", 0)
modparam("pua", "reginfo_increase_version", 0)
modparam("pua", "check_remote_contact", 1)
modparam("pua", "fetch_rows", 1000)


# ----- pua_dialoginfo params -----
modparam("pua_dialoginfo", "include_callid", 1)
modparam("pua_dialoginfo", "send_publish_flag", FLT_DLGINFO)
modparam("pua_dialoginfo", "caller_confirmed", 0)
modparam("pua_dialoginfo", "include_tags", 1)
modparam("pua_dialoginfo", "override_lifetime", 124)


# ----- pua_reginfo params -----
modparam("pua_reginfo", "default_domain", "test.test:5080")
modparam("pua_reginfo", "server_address", "test.test:5080")


#!endif

# ----- dialog params -----
modparam("dialog", "db_url", DBURL)
modparam("dialog", "enable_stats", 1)
modparam("dialog", "db_mode", 1)
modparam("dialog", "dlg_flag", FLT_DLG)



On Tue, Jun 1, 2021 at 11:19 AM Henning Westerholt <hw at skalatan.de> wrote:

> Hello,
>
>
>
> Hard to say without more details. Do you get any error logs? Did you
> configured the subs_db_mode 3 which is probably required if you move the DB
> to another server?
>
>
>
> Cheers,
>
>
>
> Henning
>
>
>
> --
>
> Henning Westerholt – https://skalatan.de/blog/
>
> Kamailio services – https://gilawa.com
>
>
>
> *From:* sr-users <sr-users-bounces at lists.kamailio.org> *On Behalf Of *hamed
> r
> *Sent:* Saturday, May 29, 2021 11:04 AM
> *To:* sr-users at lists.kamailio.org
> *Subject:* [SR-Users] Problem NOTIFY in Presence module
>
>
>
> hello dears ,i am using presence module and NOTIFY message are working
> properly. but when i put the database on another server , NOTIFY message
> will not be sent to subscribers. what is problem?
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20210607/29e0e2cc/attachment.htm>


More information about the sr-users mailing list