DailyAsterisk


Testing of SIP TCP/TLS support

Posted on luglio 11, 2007 by beres

In -dev e’ apparsa un’interessante mail, riportata anche da SineApps, nella quale Russel Bryant spiega:

… working on various Asterisk bugs and new features. One of these has been working on TCP and TLS support for SIP. I think that there is still some work to be done to get the client side of TLS working, but it’s close. The TCP part appears to be working well in our tests here. Also, accepting TLS connections should be working, as well. I’d like to invite anyone interested to take a look and test it out.

Ecco come si porta’ usufruire del supporto TCP e TLS

Il TCP potra’ essere attivato da 3 opzioni nella sezione [general], tcpenable, tcpbinaddr e tcpbindport dai nomi piu che esaustivi.

Idem per il TLS con tlsenable, tlsbindaddr, tlsbindport, e tlscertfile.

Per quanto riguarda i peer ed i register, sara possibile specificare il tipo di protocollo in questo modo, per i peer inserendo come opzione “transport=tcp”, mentre per i register si scrivera’ :

register => tcp://russell:password@digium.com/1234

Sarebbe interessante capire se se un peer puo’ usufruire sia di TCP che di UDP, magari settando un transport=both, cosicche sia che utilizzi client UDP o TCP l’account sarebbe unico.


Leave a Reply




↑ Top