From ovoshlook@gmail.com Tue Oct 3 22:58:31 2017 From: Yuriy Gorlichenko To: sr-users@lists.kamailio.org Subject: Re: [SR-Users] presentce handly_subscribe() protocol/port mismatch to WS endpoint Date: Tue, 03 Oct 2017 23:58:22 +0300 Message-ID: In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1214127428==" --===============1214127428== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Found that at the tm:local-request $ru modifies but anyway - request sent to old RURI. INFO: NOTIFY to WS, update RURI -- here is making $ru =3D $ru+";transport=3Dws"; --- INFO: NOTIFY to WS, new RURI: sip:94e51c30bdf28de52519(a)93.81.99.68:54733 ;gr=3Durn:uuid:88b3033f-e65d-4694-ac45-2a1d1a44501c;transport=3Dws --- for now $ru is updated -- but here also same result: INFO: presence [notify.c:1619]: send_notify_request(): NOTIFY sip:94e51c30Bdf28de52519(a)d0c20d13-e5b4-4649-821e-9ab8ec94b141 via sip:94e51c30bdf28de52519(a)93.81.99.68:54733;gr=3Durn:uuid:88b3033f-e65d-4694= -ac45-2a1d1a44501c on behalf of sip:8dc08f881f2105dD3d75(a)d0c20d13-e5b4-4649-821e-9ab8ec94b141 for event presence : 3biad4n635ugovv7vmjv 2017-10-03 21:31 GMT+03:00 Yuriy Gorlichenko : > Can not find any entry of this device at the active watchers. > Suppose after module found sockets mistmatch and didnt got NOTIFY response > it removes entry from active watchers... > > I added handling at the event route as you sugested and tried to do next > > Firs i tried fix $ru here but it does not work > Also tried to force socket but same > > > I see at the logs that first kamailio says about proto mistmatch and only > then calling event_route[tm:local-request]... > > This is my log with most important variables for understanding > > INFO: