Connect to Modem

Hi All!

I’m developing a java application wich is going to access a Port Server, place a call (through phone lines), send an inquiry and receive some data. The modem is connected to the lan. I want to know if I need some special application for the computer to see the modem or if I just need to write the appropiate AT commands (accesing the port by an ip address) in my application in order to get connected.

I use the following AT command sequence but I get the NO DIALTONE error.

Sending to Modem ATE1
Receive from Modem ATE1
Receive from Modem OK
Sending to Modem AT&F
Receive from Modem AT&F
Receive from Modem OK
Sending to Modem ATDT the.port.ip.address:50001
Receive from Modem ATDT the.port.ip.address:50001
Receive from Modem NO DIALTONE
Sending to Modem ATDT97871234567
Receive from Modem ATDT97871234567
Receive from Modem NO DIALTONE

Thanks!

It all depends how capable your java application is. If it can talk to an IP address/tcp port, you can use the Portserver in native mode. If it has to see an actual serial port such as a com port in Windows or tty in Unix, you’ll need to install our Realport driver (come with the product or can be obtained from website). You’d then point your java app at the serial port.