[OpenSIPS-Users] BLF lights on Linksys 942/962 get stuck in "off-hook" state

James Lamanna jlamanna at gmail.com
Tue Jul 28 01:57:07 CEST 2009


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:sa at xxx.xxx.xxx.xxx: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:sa at xxx.xxx.xxx.xxx: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:sa at xxx.xxx.xxx.xxx: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



More information about the Users mailing list