--
Ngwenya
--
You received this message because you are subscribed to the Google Groups "rapidsms" group.
To post to this group, send email to rapi...@googlegroups.com.
To unsubscribe from this group, send email to rapidsms+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rapidsms?hl=en.
I modified a version of rapidsms+pygsm to add USSD functionality a
while back. Not sure if it will take care of your needs, but i'm happy
to help with any questions.
Basically, I added a little function to the gsm backend:
https://github.com/ewheeler/rapidsms-core/blob/master/lib/rapidsms/backends/gsm.py#L139
And added a run_ussd method to gsmmodem.py:
https://github.com/ewheeler/pygsm/blob/master/lib/pygsm/gsmmodem.py#L441
Here is an example of some USSD functionality implemented as a
rapidsms app: https://github.com/ewheeler/rapidsms-ussd-app/blob/master/app.py#L147
This code allows you to check the balance of SIM cards in the gsm
modem, load credit from scratch cards, and transfer credit to other
numbers.
Please don't hesitate if you have any questions!
Best,
Evan
--
You received this message because you are subscribed to the Google Groups "rapidsms" group.
To post to this group, send email to rapi...@googlegroups.com.
To unsubscribe from this group, send email to rapidsms+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rapidsms?hl=en.