[stunnel-users] Asterisk with stunnel

manjula hettiarachchi manjula_55 at yahoo.com
Sat Oct 13 04:03:07 CEST 2012


Hi List
 
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.
 
(server ip=x.x.x.x)
(client ip=y.y.y.y)
 
Client config:
cert=/etc/stunnel/stunnel.pem
client=yes
pid=/tmp/stunnel.pid
debug=7
output=/etc/stunnel/stunnel.log
 
[sip]
accept=16380
connect=x.x.x.x:17380
 
 
 
================================
Server Config:
cert=/etc/stunnel/stunnel.pem
#client=no
pid=/tmp/stunnel.pid
debug=7
output=/etc/stunnel/stunel.log
 
[sip-IN]
accept=17380
connect=5060

When tried 'telnet localhost 16380 from client machine i could see packets coming to server. 
However when Asterisk sends a sip request to port 16380, 
exten => _X.,1,Dial(SIP/${EXTEN}@y.y.y.y:16380,20,rt)
i dont see packets forwaded to the server.
 
Pls advise if anyone has used this scenario
 
Best Regards
Manjula
 
 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.stunnel.org/pipermail/stunnel-users/attachments/20121012/0547cad1/attachment.html>


More information about the stunnel-users mailing list