<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Hi</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<div style="margin: 0px; font-size: 12pt; font-family: Calibri, Arial, Helvetica, sans-serif">
<span style="margin: 0px">I am using Kamailio 5.2 with the following PRESENCE modules and parameters:</span></div>
<div style="margin: 0px; font-size: 12pt; font-family: Calibri, Arial, Helvetica, sans-serif">
<span style="margin: 0px"><br>
</span></div>
<div style="margin: 0px; font-size: 12pt; font-family: Calibri, Arial, Helvetica, sans-serif">
<span style="margin: 0px"><span style="margin: 0px">loadmodule "presence.so"<br>
</span>
<div style="margin: 0px">loadmodule "presence_xml.so"<br>
</div>
<div style="margin: 0px">loadmodule "presence_dialoginfo.so"<br>
</div>
<div style="margin: 0px">loadmodule "presence_reginfo.so"<br>
</div>
<div style="margin: 0px"><br>
</div>
<div style="margin: 0px">
<div style="margin: 0px">modparam("presence", "db_url", DBURL)<br>
</div>
<div style="margin: 0px">modparam("presence_xml", "db_url", DBURL)<br>
</div>
<div style="margin: 0px">modparam("presence_xml", "force_active", 1)<br>
</div>
<div style="margin: 0px">modparam("presence_xml", "disable_bla", 0)<br>
</div>
<div style="margin: 0px">modparam("presence_xml", "integrated_xcap_server", 1)<br>
</div>
<span style="margin: 0px"></span><span style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;"> </span><br>
</div>
<span style="margin: 0px"></span></span></div>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
I have a Yealink T28P phone which has two lines/extensions successfully registered with Kamailio 5.2. When I setup the BLF light to monitor one of the extensions, I get the correct SUBSCRIBE record but the NOTIFY record is sent over and over again until it
 fails. </div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
-----------------------------------------------------------------------------------------------------------</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span>NOTIFY sip:101@192.168.1.123:5062 SIP/2.0<br>
</span>
<div>Via: SIP/2.0/UDP 45.45.45.45;branch=z9hG4bKd16c.03b5bc97000000000000000000000000.0<br>
</div>
<div>To: <sip:101@45.45.45.45>;tag=1366853594<br>
</div>
<div>From: <sip:104@45.45.45.45>;tag=a6a1c5f60faecf035a1ae5b6e96e979a-e6c3<br>
</div>
<div>CSeq: 2 NOTIFY<br>
</div>
<div>Call-ID: 594386350@192.168.1.123<br>
</div>
<div>Content-Length: 0<br>
</div>
<div>User-Agent: kamailio (5.2.4 (x86_64/linux))<br>
</div>
<div>Max-Forwards: 70<br>
</div>
<div>Event: dialog<br>
</div>
<span>Contact: <sip:45.45.45.45:5060;transport=udp></span>  </div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="font-family: Calibri, Arial, Helvetica, sans-serif; background-color: rgb(255, 255, 255); display: inline !important">-----------------------------------------------------------------------------------------------------------</span><br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="font-family: Calibri, Arial, Helvetica, sans-serif; background-color: rgb(255, 255, 255); display: inline !important"><br>
</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
When I register the phone with Freeswitch instead and run the same test, the NOTIFY works and I get a much longer NOTIFY message</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="font-family: Calibri, Arial, Helvetica, sans-serif; background-color: rgb(255, 255, 255); display: inline !important">-----------------------------------------------------------------------------------------------------------</span><br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span>NOTIFY sip:100@192.168.1.123:5064 SIP/2.0<br>
</span>
<div>Via: SIP/2.0/UDP 66.66.66.66;rport;branch=z9hG4bK1mXej9r2605UB<br>
</div>
<div>Route: <sip:55.55.55.55:5064>;transport=udp<br>
</div>
<div>Max-Forwards: 70<br>
</div>
<div>From: <sip:102@66.66.66.66>;tag=xUoVghM5syHc<br>
</div>
<div>To: "100" <sip:100@66.66.66.66>;tag=1720892352<br>
</div>
<div>Call-ID: 2583553127@192.168.1.123<br>
</div>
<div>CSeq: 1178415701 NOTIFY<br>
</div>
<div>Contact: <sip:102@66.66.66.66:5060><br>
</div>
<div>User-Agent: FreeSWITCH-mod_sofia/1.10.1-release-12-f9990221e6~64bit<br>
</div>
<div>Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, MESSAGE, INFO, UPDATE, REGISTER, REFER, NOTIFY, PUBLISH, SUBSCRIBE<br>
</div>
<div>Supported: timer, path, replaces<br>
</div>
<div>Event: dialog<br>
</div>
<div>Allow-Events: talk, hold, conference, presence, as-feature-event, dialog, line-seize, call-info, sla, include-session-description, presence.winfo, message-summary, refer<br>
</div>
<div>Subscription-State: active;expires=1800<br>
</div>
<div>Content-Type: application/dialog-info+xml<br>
</div>
<div>Content-Length: 149<br>
</div>
<div><br>
</div>
<div>xml version="1.0"?><br>
</div>
<div>dialog-info xmlns="urn:ietf:params:xml:ns:dialog-info" version="0" state="full" entity="sip:102@66.66.66.66"><br>
</div>
<span>dialog-info></span><br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span><span style="font-family: Calibri, Arial, Helvetica, sans-serif; background-color: rgb(255, 255, 255); display: inline !important">-----------------------------------------------------------------------------------------------------------</span><br>
</span></div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Should the message coming from Kamailio contain more data or is that not the issue. Should I be including other modules also?</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
All guidance would be appreciated.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
</body>
</html>