[stunnel-users] Asterisk with stunnel

Ludovic LEVET llevet at ludosoft.org
Mon Oct 15 12:25:32 CEST 2012


Asterisk SIP is UDP protocol not TCP. So it will not work.

Ludovic.


Le 13/10/2012 04:03, manjula hettiarachchi a écrit :
> 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 
> <mailto:SIP/$%7BEXTEN%7D at 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
>
>
>
>
> _______________________________________________
> stunnel-users mailing list
> stunnel-users at stunnel.org
> https://www.stunnel.org/cgi-bin/mailman/listinfo/stunnel-users

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


More information about the stunnel-users mailing list