Hi, I have implemented kamailio with asterisk, I want to enable BLF using kamailio instead of asterisk. I would appreciate any kind of help, below I'm pasting my configuration.


I'm testing with an Aastra phone, when phone sends the subscription kamailio answers with:

U 192.168.15.22:5060 -> 192.168.15.108:5060
SIP/2.0 489 Bad Event.
Via: SIP/2.0/UDP 192.168.15.108;branch=z9hG4bKa54a155ad67706dca.
From: "1104" <sip:1104@192.168.15.22:5060>;tag=71cf5c9949.
To: <sip:1104@192.168.15.22:5060>;tag=99b712eabe88b2bf7a20409f3dc7ebf1-f71b.
Call-ID: f22823b8b4d58a8e.
CSeq: 3430 SUBSCRIBE.
Allow-Events: presence.winfo, presence, dialog.
Server: kamailio (3.1.3 (i386/linux)).
Content-Length: 0.


This is my presence configuration:

#!ifdef WITH_PRESENCE
loadmodule "presence.so"
loadmodule "presence_dialoginfo.so"
loadmodule "presence_xml.so"
#!endif

#!ifdef WITH_PRESENCE
# ----- presence params -----
modparam("presence", "db_url", DBURL)
modparam("presence", "server_address", "sip:192.168.15.22:5060")
modparam("presence_dialoginfo", "force_single_dialog", 1)

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