From ovoshlook@gmail.com Thu Oct 12 22:32:15 2017 From: Yuriy Gorlichenko To: sr-users@lists.kamailio.org Subject: Re: [SR-Users] presentce handly_subscribe() protocol/port mismatch to WS endpoint Date: Thu, 12 Oct 2017 23:32:04 +0300 Message-ID: In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0215855786==" --===============0215855786== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hi. I added set_contact_alias() insead process i described previously if(is_method("SUBSCRIBE")) { xlog("L_INFO", "{$rm} . from external sources contact : $ct . proto is {$pr} "); set_contact_alias(); handle_subscribe(); t_release(); } But i got next error: presence engine tries to check domain of contact via DNS. Offcource it can not because it is lust an ID So set_contact_alias() works but not in this case (works well for all SUBSCRIBES where domain of contact is an IP address:port pair or real domain name) INFO: