<HTML><BODY>Hi Alex,<br><br>Not, in the logs, I can see only these errors, but - the error was because I had the same extension registered on the Kamailio from 2 different devices and with 2 different protocols - one was using udp and the other one tls. Disabling the one with tls - solved the problem. <br>Thank You for your hint.<br><br><br><blockquote style="border-left:1px solid #0857A6; margin:10px; padding:0 0 0 10px;">
        Вторник, 28 августа 2018, 12:21 +01:00 от Alex Balashov <abalashov@evaristesys.com>:<br>
        <br>
        <div id="">






<div class="js-helper js-readmsg-msg">
        <style type="text/css"></style>
        <div>
                <base target="_self" href="https://e.mail.ru/">
                
            <div id="style_15354552680000000462_BODY">Hi, <br>
<br>
Is there any other explanation contextually, in the logs, besides this<br>
error? Could it be, for example, that t_relay() cannot resolve the<br>
next-hop destination, or that a listener is not available to match that<br>
routing destination or outgoing transport?<br>
<br>
-- Alex<br>
<br>
On Tue, Aug 28, 2018 at 01:26:09PM +0300, Soltanici Ilie wrote:<br>
<br>
> For some reason, Voicemail Notify messages coming from Asterisk Boxes - are not forwarded to the SIP Extensions by Kamailio.<br>
> <br>
> This is the SIP Packet coming to the Kamailio:<br>
> <br>
> 2018/08/28 10:59:19.165644 1.1.1.1:5060 -> 2.2.2.2:5060<br>
> NOTIFY sip:11@3.3.3.3:21755;rinstance=e6369e13becab3ef;transport=tcp;alias=3.3.3.3~21755~2 SIP/2.0<br>
> Via: SIP/2.0/UDP 1.1.1.1:5060;branch=z9hG4bK5f628579;rport<br>
> Max-Forwards: 70<br>
> Route: <sip:2.2.2.2:5060;transport=tcp;ftag=0472e823;lr=on;nat=yes><br>
> From: "asterisk" <sip:asterisk@1.1.1.1>;tag=as1833c329<br>
> To: <sip:11@3.3.3.3:21755;rinstance=e6369e13becab3ef;transport=tcp;alias=3.3.3.3~21755~2>;tag=0472e823<br>
> Contact: <sip:asterisk@1.1.1.1:5060><br>
> Call-ID: 93183ZjE3YmI0OGYxMDNiMzhlNzVjZjRjNTc2NTMwZGNmYzk<br>
> CSeq: 103 NOTIFY<br>
> User-Agent: NUACOM<br>
> Event: message-summary<br>
> Content-Type: application/simple-message-summary<br>
> Subscription-State: active<br>
> Content-Length: 93<br>
> <br>
> Messages-Waiting: no<br>
> Message-Account: sip:asterisk@1.1.1.1<br>
> Voice-Message: 0/0 (0/0)<br>
> <br>
> And this is the message which I'm receiving in the Kamailio logs:<br>
> [RELAY] Error when forwarding Request<br>
> ERROR:  sl [sl_funcs.c:362]: sl_reply_error(): stateless error reply used: I'm terribly sorry,  server error occurred (1/SL)<br>
> <br>
> This is the Relay route:<br>
> # Forwarding Statefully<br>
>    if ( ! t_relay()) {<br>
> xlogl( "L_ERR" ,  "[RELAY] Error when forwarding Request \n " );<br>
>     sl_reply_error();<br>
>   }<br>
>    exit ;<br>
> <br>
> <br>
> <br>
<br>
> _______________________________________________<br>
> Kamailio (SER) - Users Mailing List<br>
> <a href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a><br>
> <a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
<br>
<br>
-- <br>
Alex Balashov | Principal | Evariste Systems LLC<br>
<br>
Tel: <span class="js-phone-number">+1-706-510-6800</span> / <span class="js-phone-number">+1-800-250-5920</span> (toll-free) <br>
Web: <a href="http://www.evaristesys.com/" target="_blank">http://www.evaristesys.com/</a>, <a href="http://www.csrpswitch.com/" target="_blank">http://www.csrpswitch.com/</a><br>
</div>
            
        
                <base target="_self" href="https://e.mail.ru/">
        </div>

        
</div>


</div>
</blockquote> <br>
<br>С уважением,<br>Ilie Soltanici<br>iliesh@mail.ru<br></BODY></HTML>