[OpenSIPS-Users] No Redirection to VM on Busy/Decline

HS bullehs at gmail.com
Mon Jul 22 10:55:35 UTC 2024


This seems to happen due to a missing line - revert_uri(); the failure
route snippet needs to be:

if (t_check_status("487|408|486|480|603")){
revert_uri();
                 rewritehostport("VM.IP:5090");
                t_relay();
                exit;


On Thu, Jul 11, 2024 at 6:54 PM HS <bullehs at gmail.com> wrote:

> Hi all,
>
> Need some collective wisdom. I am using Opensips 3.0 and have the
> following snippet for failure_route:
>
> failure_route[missed_call] {
>         if (t_was_cancelled()) {
>         rtpengine_delete();
>         exit;
>         }
>
>
>         # redirect the failed to a different VM system
>         if (t_check_status("487|408|486|480|603")){
>                  rewritehostport("VM.IP:5090");
>                 t_relay();
>                 exit;
>
>                 # do not set the missed call flag again
>         }
> }
>
> The call is redirected successfully to the VM if the user is not online.
> However, if the user is busy/declines/times out - the call is not
> redirected. I get the following error. I have searched quite a few answers,
> but don't seem to cover what I seek. Thanks for the help in advance.
>
> Jul 11 12:56:42 ip /usr/sbin/opensips[12592]:
> ERROR:proto_tls:tls_conn_init: no TLS client domain found
> Jul 11 12:56:42 ip /usr/sbin/opensips[12592]: ERROR:core:tcp_conn_new:
> failed to do proto 3 specific init for conn 0x7f6f38860760
> Jul 11 12:56:42 ip /usr/sbin/opensips[12592]:
> ERROR:proto_tls:tls_sync_connect: tcp_conn_create failed, closing the socket
> Jul 11 12:56:42 ip /usr/sbin/opensips[12592]:
> ERROR:proto_tls:proto_tls_send: connect failed
> Jul 11 12:56:42 ip /usr/sbin/opensips[12592]: ERROR:tm:msg_send: send() to
> VM.IP:5090 for proto tls/3 failed
> Jul 11 12:56:42 ip /usr/sbin/opensips[12592]: ERROR:tm:t_forward_nonack:
> sending request failed
> Jul 11 12:56:42 ip /usr/sbin/opensips[12592]: ERROR:tm:w_t_relay:
> t_forward_nonack failed
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20240722/30dacc2a/attachment.html>


More information about the Users mailing list