<div dir="ltr">Hi All , <div><br></div><div>I am using openisp version : 3.2 </div><div><br></div><div>I have an opensips config on which I was listening on UDP port only and hence using sethostport to route calls to a particular destination . like below . </div><div><br></div><div>          if(is_from_gw() || ($rp=~"5505"))<br>                   {<br>                  sethostport("<a href="http://freeswitch-test.xyz.com:6080">freeswitch-test.xyz.com:6080</a>");<br>                   route(inbound);<br>                    exit;<br>                   }</div><div><br></div><div>Now I have to accept a call on TLS and send that to some other destination on UDP . I have enabled the tls module and also the dependent modules like tls_openssl,  tls_mgm . </div><div><br></div><div>socket=udp:192.168.0.y:5060 <br>socket=tls:192.168.0.y:5061 <br>socket=tcp:192.168.0.y:5060 <br><br></div><div>          if(is_from_gw() || ($rp=~"5505"))<br>                   {<br>                  sethostport("<a href="http://freeswitch-test.xyz.com:6080">freeswitch-test.xyz.com:6080</a>");<br>                   route(inbound);<br>                    exit;<br>                   }<br></div><div><br></div><div>This above configuration is not working . I am getting "477 Send Failed "</div><div><br><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><b><i>Thanks & Regards</i></b><div><i>Sasmita Panda</i></div><div><i>Senior Network Testing and Software Engineer</i></div><div><i>3CLogic , ph:07827611765</i></div></div></div></div></div></div></div></div>