[SR-Users] _w_t_relay_to(): t_forward_noack failed when forwarding call
Konstantinos Merentitis
merentitis at gmail.com
Fri Nov 8 13:43:57 CET 2019
Right, apparently the incoming trunk sends a CANCEL request approx 20secs after the initial INVITE, i suppose because the kamailio subscriber is not answering, so the flow in my logs is normal.
I should now rephrase my question and ask if there is a way to forward calls that are not answered - is there a timer for this? can you please point me to any direction?
Regards,
Konstantinos
> On 8 Nov 2019, at 1:19 PM, Daniel-Constantin Mierla <miconda at gmail.com> wrote:
>
>
> 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 at 192.168.1.134
>> Nov 8 12:40:22 spock /usr/sbin/kamailio[21826]: ERROR: <script>: =============forwarding to voicemail1, RDNIS: sip:297 at 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 at lists.kamailio.org <mailto:sr-users at lists.kamailio.org>
>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users <https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users>
>
> --
> Daniel-Constantin Mierla -- www.asipto.com <http://www.asipto.com/>
> www.twitter.com/miconda <http://www.twitter.com/miconda> -- www.linkedin.com/in/miconda <http://www.linkedin.com/in/miconda>
> Kamailio World Conference - April 27-29, 2020, in Berlin -- www.kamailioworld.com <http://www.kamailioworld.com/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20191108/32b89642/attachment.html>
More information about the sr-users
mailing list