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

Răzvan Crainea razvan at opensips.org
Mon Jul 22 06:22:48 UTC 2024


Your VM is probably reachable over UDP, not TLS - you need to make sure 
that your $ru has a UDP transport, rather than what is leftover from the 
client's uri.

Best regards,

Răzvan Crainea
OpenSIPS Core Developer / SIPhub CTO
http://www.opensips-solutions.com / https://www.siphub.com

On 7/11/24 4:54 PM, HS 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
> 
> 
> 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
> 
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users



More information about the Users mailing list