LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   QPage setup for Sprint - SOLVED (https://www.linuxquestions.org/questions/linux-software-2/qpage-setup-for-sprint-solved-568526/)

lefty.crupps 07-11-2007 04:50 PM

QPage setup for Sprint - SOLVED
 
edit: this was solved before posting, but it may be helpful for others so I will continue to post, along with the solution

I am trying to set up QPage so that it connects via a USRobotics modem to the Sprint/Nextel TAP/IXO protocol network. Basically, QPage connects and sends a message which is sent like a SMS (text message). This would be used for network emergencies, when email wouldn't be an option; it must be via an analog phone line.

I have QPage installed on a Debian Sarge system and it can call out fine, and the Sprint numbers that I have tried do pick up. Its that, I cannot seem to get them to connect and the message to send.

I think the issue is that I need to set the databits to 7e1 (7 databits, 1 even parity) for /dev/ttyS0 but I don't know how to do that. (edit: wasn't a concern, just the phone was wrong)

Here is my /etc/qpage.cf file (in brief):

Code:

modem=ttyS0
        device=/dev/ttyS0
        initcmd=ATZ
        dialcmd=ATDT

service=Sprint
        device=ttyS0
        baudrate=1200
        parity=even
        allowpid=yes
        maxtries=6
        phone=952-###-6683

This is what Sprint had said about it. The phone support people were useless (they wanted to sell me software for $49.00/month), and TMobile wanted a business account for 50+ users before they would allow us to use it. :(

SOLUTION it turns out that I just had to use a different phone number, as such:

Code:

service=Sprint
        device=ttyS0
        baudrate=2400
        parity=even
        allowpid=yes
        maxtries=6
        phone=18886561727

Also, make sure to edit the /etc/qpage.server to ONLY have the line, 'localhost' so that it knows that this system is the one with the modem (I suppose it could go out to another part of the network, but...)

To send a page, at a command line:
lefty@linux$ qpage user message however you want it

where 'user' is one of the setup user names in /etc/qpage.cf More useful information here.

Thanks for reading!


All times are GMT -5. The time now is 10:04 AM.