Control pins of serial port

Hi guys,
is it possible to use the serial port pin with NO/NC contacts in a routerboard ?

i need to send an sms when a contact is open or closed.

I think to use a RB411U board.

i hope that is possibile.

waiting for your answer!

Bye

No, the serial ports do not work that way.