On 08.11.19 11:52, Konstantinos Merentitis wrote:
I added $du=$null; before route(RELAY) as you
suggested but I get the same results:
Nov 8 12:40:22 spock /usr/sbin/kamailio[21826]: ERROR: <script>: transaction
canceled
The log message suggests that the INVITE was cancelled -- can you look
at the sip traffic and see if there is a CANCEL request received from
caller UA? If yes, the transaction was terminated and cannot be re-routed.
Cheers,
Daniel
Nov 8 12:40:22 spock /usr/sbin/kamailio[21826]:
ERROR: <script>: #012 RDNIS = sip:297@192.168.1.134
Nov 8 12:40:22 spock /usr/sbin/kamailio[21826]: ERROR: <script>:
=============forwarding to voicemail1, RDNIS: sip:297@192.168.1.134 ===========
Nov 8 12:40:22 spock /usr/sbin/kamailio[21826]: ERROR: tm [tm.c:1679]: _w_t_relay_to():
t_forward_noack failed
Nov 8 12:40:22 spock /usr/sbin/kamailio[21826]: ERROR: sl [sl_funcs.c:392]:
sl_reply_error(): stateless error reply used: transaction canceled (487/SL)
Regards,
Konstantinos
On Fri Nov 8 10:24:06 CET 2019 Daniel Tryba
wrote:
On Thu, Nov 07, 2019 at 04:53:43PM +0200,
Konstantinos Merentitis wrote:
I tried to modify the failure route in order to also forward not answered (failed?)
calls to asterisk mailbox but i get the following error and the call is never forwarded:
You appear to do the same thing I do, except setting $du to null. If the user is
REGISTERed $du will be set to their endpoint, changing $ru will have no effect on routing.
So add $du=$null; in the TOVOICEMAIL route before route(RELAY) and see what happens.
_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users(a)lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
--
Daniel-Constantin Mierla --
www.asipto.com
www.twitter.com/miconda --
www.linkedin.com/in/miconda
Kamailio World Conference - April 27-29, 2020, in Berlin --
www.kamailioworld.com