Help - Search - Members - Calendar
Full Version: SMS message status notification
Skype Community > English > Development, Betas and Skype Garage > Skype Public API
pmjo
I wonder if it's possible to get a notification when a SMS message changes status, or am I forced to poll the getStatus-method of the SMS object?

I am using Skype4Java.

Regards, Pär
Mirje
Skype is always sending notifications when SMS is changing status. For example below I tried sending an SMS:

> ALTER SMS 16140 SEND
> SMS 16140 STATUS SENDING_TO_SERVER
> SMS 16140 TIMESTAMP 1174988957
> SMS 16140 TARGET_STATUSES +123456789=TARGET_ACCEPTABLE
> SMS 16140 TARGET_STATUSES +123456789=TARGET_DELIVERY_PENDING
> SMS 16140 STATUS SENT_TO_SERVER
> SMS 16140 TARGET_STATUSES +123456789=TARGET_DELIVERY_SUCCESSFUL
> SMS 16140 STATUS DELIVERED

You can also query for the status by using the command "GET SMS <id> STATUS"

More information about SMS can be found from here - https://developer.skype.com/Docs/DevNotes?a...otes2.6beta.pdf

Regards,
Mirje
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.