Unable to dial GPRS connection - RasDial errors

Unable to dial GPRS connection - RasDial errors SearchSearch
Author Message
Balazs
Posted on Wednesday, August 06, 2003 - 06:52 pm:   

Hello,

I spent some days trying to send messages after a fix has been posted for WAP gateway redirection. In my NowSMS settings I use a pre-created dial-up profile, to initialize the modem, and to set the APN. Testing the connection is working fine, but I can not send messages.

MMSWAPDEBUG.LOG has the following entry:
19:14:04:092 WSPRasDial: Before RasDial MMS GPRS
19:14:11:143 WSPRasDial: Error 734 (2DE) from RasDial

As found: "734: The PPP link control protocol terminated."

But if I connect first, and try to send a message, it works.
There should be some probleam with the Windows XP I am using, or it is a NowSMS issue?
Another problem when I try to modify the dial-up profile NowSMS created, after a restart all changes are lost and the default settings are restored. I would like to modify it, because my Falcom Twist GPRS modem uses eg. "*99***1#" format to dial.
Bryce Norwood - NowSMS Support
Posted on Wednesday, August 06, 2003 - 09:01 pm:   

I saw this on one network which required a username and password to connect to the APN. The username and password needed to be configured in NowSMS.

Your example there looks like it is using a dial-up networking connection named "MMS GPRS". If NowSMS uses a dial-up networking connection, then it dials the phone number specified in that profile. It won't override it. The only thing it will override in the profile is the username and password (remember that NowSMS runs as a service, so the service account does not have access to the remembered username and password in a dial-up configuration).

When you tell NowSMS to use a "Modem:" connection, it dynamically creates a profile. The profile that it creates has "*99#" as the phone number. But in reality, we actually override the dial phone number each time, so NowSMS would dial "*99***1#" (or it would substitue the appropriate CID number for "1").

From what you describe, it really sounds like a "username" / "password" issue. Where the service account doesn't have access to the remembered username/password. Try using the dynamically created profile that NowSMS creates (select "Modem:" entry and configure all of the details) ... I think it will work better.

If it is still failing, could you e-mail me (nowsms@now.co.uk) the MMSWAPDEBUG.LOG file, so that I could see if I notice something else?
Anonymous
 
Posted on Friday, October 24, 2003 - 07:35 am:   

Hi,bryce,
In NowSMS,How could you Connect to gprs with RasDial api? how to set the APN with RAS api?
i mean, how to write the code? thanx.
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 978
Registered: 10-2002
Posted on Tuesday, October 28, 2003 - 03:21 pm:   

Sorry, I can't give away all of our tricks.