For some reason, Voicemail Notify messages coming from Asterisk Boxes - are not forwarded to the SIP Extensions by Kamailio.
This is the SIP Packet coming to the Kamailio:
2018/08/28 10:59:19.165644 1.1.1.1:5060 -> 2.2.2.2:5060 NOTIFY sip:11@3.3.3.3:21755;rinstance=e6369e13becab3ef;transport=tcp;alias=3.3.3.3~21755~2 SIP/2.0 Via: SIP/2.0/UDP 1.1.1.1:5060;branch=z9hG4bK5f628579;rport Max-Forwards: 70 Route: sip:2.2.2.2:5060;transport=tcp;ftag=0472e823;lr=on;nat=yes From: "asterisk" sip:asterisk@1.1.1.1;tag=as1833c329 To: sip:11@3.3.3.3:21755;rinstance=e6369e13becab3ef;transport=tcp;alias=3.3.3.3~21755~2;tag=0472e823 Contact: sip:asterisk@1.1.1.1:5060 Call-ID: 93183ZjE3YmI0OGYxMDNiMzhlNzVjZjRjNTc2NTMwZGNmYzk CSeq: 103 NOTIFY User-Agent: NUACOM Event: message-summary Content-Type: application/simple-message-summary Subscription-State: active Content-Length: 93
Messages-Waiting: no Message-Account: sip:asterisk@1.1.1.1 Voice-Message: 0/0 (0/0)
And this is the message which I'm receiving in the Kamailio logs: [RELAY] Error when forwarding Request ERROR: sl [sl_funcs.c:362]: sl_reply_error(): stateless error reply used: I'm terribly sorry, server error occurred (1/SL)
This is the Relay route: # Forwarding Statefully if ( ! t_relay()) { xlogl( "L_ERR" , "[RELAY] Error when forwarding Request \n " ); sl_reply_error(); } exit ;
Hi,
Is there any other explanation contextually, in the logs, besides this error? Could it be, for example, that t_relay() cannot resolve the next-hop destination, or that a listener is not available to match that routing destination or outgoing transport?
-- Alex
On Tue, Aug 28, 2018 at 01:26:09PM +0300, Soltanici Ilie wrote:
For some reason, Voicemail Notify messages coming from Asterisk Boxes - are not forwarded to the SIP Extensions by Kamailio.
This is the SIP Packet coming to the Kamailio:
2018/08/28 10:59:19.165644 1.1.1.1:5060 -> 2.2.2.2:5060 NOTIFY sip:11@3.3.3.3:21755;rinstance=e6369e13becab3ef;transport=tcp;alias=3.3.3.3~21755~2 SIP/2.0 Via: SIP/2.0/UDP 1.1.1.1:5060;branch=z9hG4bK5f628579;rport Max-Forwards: 70 Route: sip:2.2.2.2:5060;transport=tcp;ftag=0472e823;lr=on;nat=yes From: "asterisk" sip:asterisk@1.1.1.1;tag=as1833c329 To: sip:11@3.3.3.3:21755;rinstance=e6369e13becab3ef;transport=tcp;alias=3.3.3.3~21755~2;tag=0472e823 Contact: sip:asterisk@1.1.1.1:5060 Call-ID: 93183ZjE3YmI0OGYxMDNiMzhlNzVjZjRjNTc2NTMwZGNmYzk CSeq: 103 NOTIFY User-Agent: NUACOM Event: message-summary Content-Type: application/simple-message-summary Subscription-State: active Content-Length: 93
Messages-Waiting: no Message-Account: sip:asterisk@1.1.1.1 Voice-Message: 0/0 (0/0)
And this is the message which I'm receiving in the Kamailio logs: [RELAY] Error when forwarding Request ERROR: sl [sl_funcs.c:362]: sl_reply_error(): stateless error reply used: I'm terribly sorry, server error occurred (1/SL)
This is the Relay route: # Forwarding Statefully if ( ! t_relay()) { xlogl( "L_ERR" , "[RELAY] Error when forwarding Request \n " ); sl_reply_error(); } exit ;
Kamailio (SER) - Users Mailing List sr-users@lists.kamailio.org https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
Hi Alex,
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. Thank You for your hint.
Вторник, 28 августа 2018, 12:21 +01:00 от Alex Balashov abalashov@evaristesys.com:
Hi,
Is there any other explanation contextually, in the logs, besides this error? Could it be, for example, that t_relay() cannot resolve the next-hop destination, or that a listener is not available to match that routing destination or outgoing transport?
-- Alex
On Tue, Aug 28, 2018 at 01:26:09PM +0300, Soltanici Ilie wrote:
For some reason, Voicemail Notify messages coming from Asterisk Boxes - are not forwarded to the SIP Extensions by Kamailio.
This is the SIP Packet coming to the Kamailio:
2018/08/28 10:59:19.165644 1.1.1.1:5060 -> 2.2.2.2:5060 NOTIFY sip:11@3.3.3.3:21755;rinstance=e6369e13becab3ef;transport=tcp;alias=3.3.3.3~21755~2 SIP/2.0 Via: SIP/2.0/UDP 1.1.1.1:5060;branch=z9hG4bK5f628579;rport Max-Forwards: 70 Route: sip:2.2.2.2:5060;transport=tcp;ftag=0472e823;lr=on;nat=yes From: "asterisk" sip:asterisk@1.1.1.1;tag=as1833c329 To: sip:11@3.3.3.3:21755;rinstance=e6369e13becab3ef;transport=tcp;alias=3.3.3.3~21755~2;tag=0472e823 Contact: sip:asterisk@1.1.1.1:5060 Call-ID: 93183ZjE3YmI0OGYxMDNiMzhlNzVjZjRjNTc2NTMwZGNmYzk CSeq: 103 NOTIFY User-Agent: NUACOM Event: message-summary Content-Type: application/simple-message-summary Subscription-State: active Content-Length: 93
Messages-Waiting: no Message-Account: sip:asterisk@1.1.1.1 Voice-Message: 0/0 (0/0)
And this is the message which I'm receiving in the Kamailio logs: [RELAY] Error when forwarding Request ERROR: sl [sl_funcs.c:362]: sl_reply_error(): stateless error reply used: I'm terribly sorry, server error occurred (1/SL)
This is the Relay route: # Forwarding Statefully if ( ! t_relay()) { xlogl( "L_ERR" , "[RELAY] Error when forwarding Request \n " ); sl_reply_error(); } exit ;
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/
С уважением, Ilie Soltanici iliesh@mail.ru