You'll find your answer here: https://lists.kamailio.org/pipermail/sr-users/2020-November/111075.html

On Mon, Nov 9, 2020 at 11:25 PM ahmed moghazy <ahmed.m.moghazi@gmail.com> wrote:
I know i should do it but how what is the code ?

> On 09/11/2020, at 5:41 PM, Alex Balashov <abalashov@evaristesys.com> wrote:
>
> You should do it!
>
>> On 11/9/20 9:04 AM, ahmed moghazy wrote:
>> I want to check if callee is registered or not before routing call because this made error and make caller unregistered untill i restarted the linphone
>> _______________________________________________
>> Kamailio (SER) - Users Mailing List
>> sr-users@lists.kamailio.org
>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>
> --
> Alex Balashov | Principal | Evariste Systems LLC
>
> Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free)
> Web: http://www.evaristesys.com/, http://www.csrpswitch.com/
>
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users@lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users