[asterisk-users] Asterisk -rx, how expensive is it? Should you avoid "spamming" it?
A J Stiles
asterisk_list at earthshod.co.uk
Fri Apr 25 05:48:42 CDT 2014
On Thursday 24 Apr 2014, Mikael Fredin wrote:
> I will look into netcat as well, thank you
There's not much to look into, really! It's just a command-line tool for
connecting STDIN and STDOUT to a network socket.
$ echo -e "WIBBLE\nWIBBLE\nWIBBLE" | nc somehost.co.uk 3245
to port 3245 of host somehost.co.uk , and display any response coming back on
STDOUT. It really is that simple!
$ echo -e "USER fred\nPASS b00bies\nQUIT" | nc pop3.myisp.co.uk 110
will quickly login to your POP3 server and then logout without retrieving any
messages; this can be useful if you need to make a POP3 connection before you
can send mail using SMTP.
Note: Originating address only accepts e-mail from list! If replying off-
list, change address to asterisk1list at earthshod dot co dot uk .
More information about the asterisk-users