in reply to how can I send AT command

You could start by searching CPAN for serial port or modem.

--
edan