How to make send and receive wap push

How to make send and receive wap push SearchSearch
Author Message
Anonymous
 
Posted on Thursday, August 26, 2004 - 07:43 am:   

Hi everyone

I am testing a MMS client program at lab. my environment is one machine is nowsms used as MMSC,one machine is wap gate. and the MMS program in my machine. i had send one MMS to the MMSC successful.but now i don't know how to receive the wap push message and the MMS. What else i need at these machines, how to make send and receive push message?...

plez help

thanks in advance
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 3361
Registered: 10-2002
Posted on Thursday, August 26, 2004 - 09:14 pm:   

Well, the challenge in such a setup is how to get an SMS message routed into your MMS client.

By default, NowSMS is going to try to route the MMS notification as a WAP push over SMS.

Here's a link that explains the two different options that you have ...

http://support.nowsms.com/discus/messages/485/4184.html

Basically, you can either configure NowSMS to route the MMS notification over IP ... or you can define an HTTP SMSC to NowSMS, which interfaces to a script that you supply that can get an SMS message into your client program.

-bn
Anonymous
 
Posted on Friday, August 27, 2004 - 02:46 am:   

thanks your reply so quickly,you are so kind

and i still have other two questions. one is where and how to configure the mmsc to make it send wap push over IP instead of SMS. another is that if wap push is send to the udp port 2948 on client straighly and if i listen for udp on port 2948 i can receiver the wap push. or wap push is sended to as sms and i received the sms on serial port and then send to the sms to udp port 2948. What's the difference when receive sms between the normal sms and wap push?(normal sms is received through serial port and wap push is received through udp port 2948?)

thanks again
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 3375
Registered: 10-2002
Posted on Friday, August 27, 2004 - 09:53 pm:   

The above thread references an [IPNotify] section that can be defined in the MMSC.INI. NowSMS will consult this file and send a WAP Push over IP (for MMS notification) for any phone numbers defined in this section.

If you were listening via SMS, you would be listening for an SMS received on port 2948, where the port number is carried in the UDH (user data header). Consult the Open Mobile Alliance (www.openmobilealliance.org) specifications for more information on these formats. Wireless Datagram Protocol (WDP) defines how WAP packets are sent over SMS, and how the UDH is encoded. You'll also want to refer to WSP for the connection-less push PDU format. Plus, MMS Encapsulation for the format of MMS notifications.