<table cellspacing="0" cellpadding="0" border="0" ><tr><td valign="top" style="font: inherit;"><DIV>Hi List</DIV>
<DIV> </DIV>
<DIV>I am new to stunnel, Just tried today to send Asterisk SIP request to stunnel client and forward to stunnel-server --> asterisk on another machine.</DIV>
<DIV> </DIV>
<DIV>(server ip=x.x.x.x)<BR>(client ip=y.y.y.y)</DIV>
<DIV> </DIV>
<DIV>Client config:</DIV>
<DIV>cert=/etc/stunnel/stunnel.pem<BR>client=yes<BR>pid=/tmp/stunnel.pid<BR>debug=7<BR>output=/etc/stunnel/stunnel.log</DIV>
<DIV> </DIV>
<DIV>[sip]<BR>accept=16380<BR>connect=x.x.x.x:17380</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>================================</DIV>
<DIV>Server Config:</DIV>
<DIV>cert=/etc/stunnel/stunnel.pem<BR>#client=no<BR>pid=/tmp/stunnel.pid<BR>debug=7<BR>output=/etc/stunnel/stunel.log</DIV>
<DIV> </DIV>
<DIV>[sip-IN]<BR>accept=17380<BR>connect=5060<BR></DIV>
<DIV>When tried 'telnet localhost 16380 from client machine i could see packets coming to server. </DIV>
<DIV>However when Asterisk sends a sip request to port 16380, </DIV>
<DIV>exten => _X.,1,Dial(<A href="mailto:SIP/${EXTEN}@y.y.y.y:16380,20,rt">SIP/${EXTEN}@y.y.y.y:16380,20,rt</A>)</DIV>
<DIV>i dont see packets forwaded to the server.</DIV>
<DIV> </DIV>
<DIV>Pls advise if anyone has used this scenario</DIV>
<DIV> </DIV>
<DIV>Best Regards</DIV>
<DIV>Manjula</DIV>
<DIV> </DIV>
<DIV> <BR><BR></DIV></td></tr></table>