Hi,
I have some SPA942 and 962 phones that I'm trying to get BLF to work
properly with.
I've found it works correctly most of the time, however on occasion,
the BLF lights will get stuck as RED
(someone on a call) even though that person has hung up.
Relevant parts of config:
modparam("presence", "server_address", "sip:[email protected]:5060")
modparam("presence", "expires_offset", 10)
modparam("presence_xml", "force_active", 1)
modparam("presence_dialoginfo", "force_single_dialog", 1)
modparam("pua_dialoginfo", "presence_server", "sip:[email protected]:5060")
modparam("pua_dialoginfo", "include_callid", 1)
modparam("pua_dialoginfo", "include_tags", 1)
modparam("pua_dialoginfo", "caller_confirmed", 1)
modparam("pua_usrloc", "default_domain", "xxx.xxx.xxx.xxx")
modparam("pua_usrloc", "presence_server", "sip:[email protected]:5060")
...
if(is_method("PUBLISH")) {
if ($hdr(Sender) != NULL)
handle_publish("$hdr(Sender)");
else
handle_publish();
}
else if( is_method("SUBSCRIBE")) {
handle_subscribe();
}
....
Thanks.
-- James
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users