ATD*99 or 98?

ATD*99 or 98? SearchSearch
Author Message
JQL
Posted on Thursday, June 12, 2003 - 03:52 am:   

Hi BN,

When I send or receive MMS via GPRS, which number I need to dail, ATD*99*<wap>**1# or ATD*98*<wap>?

Pls tell me.

ThanX,

QL
Bryce Norwood - NowSMS Support
Posted on Thursday, June 12, 2003 - 05:09 pm:   

QL,

Can you please clarify your question?

If you're using NowSMS, you're not using either. (Although in the upcoming 5.0 release, you'll have some options in this area.)

*99# (e.g., ATDT *99#) is normally what you would dial for a GPRS connection using the preferred CID. Easiest to set the CID to an appropriate GPRS Access Point Name (APN) with an AT command before dialing.

-bn
QL
Posted on Friday, June 13, 2003 - 04:26 am:   

ThanX, I will research it again.

ql
Bryce Norwood - NowSMS Support
Posted on Monday, June 16, 2003 - 03:27 pm:   

QL,

I did a little more research on this, and basically, there are additional options that can be specified when you dial a GPRS connection.

You can specify the GPRS APN (access point name) that you want to connect with, the link protocol that you want to use (generally this would be PPP for an IP connection), and you can also specify the GPRS APN by CID value (the phone assigns a CID value to each GPRS APN setting defined in the phone).

The format of the dial command is:

ATDT *99[*GPRS_APN[*LinkProtocol[*CIDValue]]]#

The square brackets denote optional parameters, which may be ommitted ...

For example,

ATDT *99#

Initiates a GPRS connection using the default CID (usually 1, although it can be overrode with the AT+CGDCONT command).

ATDT *99*internet#

Initiates a GPRS connection to the "internet" GPRS APN.

ATDT *99***2#

Initiates a GPRS connection to the GPRS APN configured with CID=2 in the phone or modem.

There's normally no good reason to set the LinkProtocol to something other than PPP unless you have a very specialised connection and specialised terminal device.

And you normally would not specify both a GPRS APN and a CID, it would normally be one or the other.

-bn
ql
Posted on Friday, June 20, 2003 - 04:51 am:   

well, Do you know what AT command for setuping MMS's gateway IP address is?

QL
Bryce Norwood - NowSMS Support
Posted on Friday, June 20, 2003 - 11:01 pm:   

You can't specify that in an AT command.

(Well, some phones do allow settings to be configured on the phone via AT commands, which might be what you are asking about, but there is not a standard across all phones, and any commands that do exist are undocumented.)

That said, if you are dialing a GPRS connection, it really isn't logical to set the IP address of a WAP gateway, or the URL of an MMSC. Those are IP related settings ... once an IP connection is established (by the GPRS dial-up?), then any interaction with a WAP gateway or MMSC would take place over IP. Aside from the settings programming issue mentioned above, I can't see what it would mean to specify this as part of a dial-up.

-bn
QL
Posted on Tuesday, June 24, 2003 - 02:15 am:   

Well, my question is that I can not visit url of a MMS notification message when I dail up GPRS with two APN supplyed by operator using a GSM/GPRS module. I think that the reason is I do not setup the IP address of WAP gateway and the IP address of MMSC, is really? If is, can you tell me how I can setup them? Need I add a route when IP connection is established(by the GPRS dial up)?

QL
Bryce Norwood - NowSMS Support
Posted on Tuesday, June 24, 2003 - 03:49 am:   

QL,

It depends on your operator setup, but based on a few that I have checked out ... I doubt you'll be able to get to the MMSC with straight HTTP, even over the GPRS connection. (Before you mess with routing tables, try first disconnecting your LAN card and connect only with GPRS ... so that GPRS is your default route for getting to the internet.)

Anyway, what we've found is that in most of these scenarios, you have to talk as a WAP client through the operator's WAP gateway over the GPRS connection. That's what we're implementing in the next release of the Now SMS/MMS Gateway. Hopefully I'll be able to give a firm date on the beta release shortly.

-bn
ql
Posted on Tuesday, June 24, 2003 - 09:15 am:   

Great ThanX.

I love to see new version of NowSMS ASAP.

QL
ql
Posted on Monday, June 30, 2003 - 10:52 am:   

bn,

I know that original NowSM cann't receive MM from a mobile phone. I try to receive a MM via a UDP connection. In connection, I setup IP address of WAP gateway provided by operator to IP addresss of proxy server. Can you tell me, whether is the method correct?

QL
Bryce Norwood - NowSMS Support
Posted on Monday, June 30, 2003 - 02:56 pm:   

QL,

Sorry, I don't really understand. Could you explain in some more detail?

-bn
ql
Posted on Tuesday, July 01, 2003 - 02:10 am:   

bn,

Sorry, plz see detail below.

Once NowSMS receive a SM of notification and tell me what a MM's URL is. I download it by the URL via a UDP(User Datagram Protocol) connection as a WAP client. Is that I do this correct?

QL

Bryce Norwood - NowSMS Support
Posted on Tuesday, July 01, 2003 - 02:50 am:   

QL,

You'd actually have to have software that implements WAP over UDP to fetch the URL. The software would need to be configured with the IP address of the WAP gateway ... and the WAP requests are directed over UDP to that gateway.

When we finally put the v5.0 beta out here, it has configuration settings to point it to a dial-up networking profile that establishes a GPRS connection, a WAP gateway IP address, and an MMS message server URL.

-bn
nomano
Posted on Wednesday, July 30, 2003 - 09:12 am:   

funny guys :-)
Bryce Norwood - NowSMS Support
Posted on Wednesday, July 30, 2003 - 08:28 pm:   

Ok.

I'm not sure how funny we are. But as this thread has popped up to the top, I'll make one correction and one comment.

One correction is that where I stated that the format of the dial command was:

ATDT *99[*GPRS_APN[*LinkProtocol[*CIDValue]]]#

I was incorrect ... where I stated GPRS_APN, it is actually "CalledAddress", and I have no idea what that means.

You use the AT+CGDCONT command to set the GPRS APN, and associate it with a CIDValue.

Then you connect to a particular GPRS APN by referencing the CIDValue in the ATD*99# command (e.g., ATD*99***2# connects via GPRS to the APN configured as CIDValue=2).

Of course, my examples above always say "ATDT" instead of "ATD". You can use either ... the "T" is meaningless in a mobile environment. I just reference it out of habit.

-bn