beta
Hello developer. Login with your existing account. New to Vodafone Developer? Register your account.

+ Login or create an account

0

Hi List,
For last few days i was enjoying reading in this forum.
Thanks for the beautiful world u have made here.Can some one help and suggest me in right direction.

I m heading for a project which involves USSD.
my project in short is given bellow.
I m connected to internet through a wireless card.(SIM embeded).
I want to send USSD commands through my wireless modem/USB.
Is there any open source to do that.I have been playing with kannel since long and concluded that USSD is differnet than SMS.and now i bellive i can get in right direction from here.

My objective is to send USSD commands that can charge a mobile or transfer credit from one mobile to another.

Thanks in advance.
Br
Daf

20 Answers:

0
Hi Daf, Wader uses a GSM datacard to send / receive SMS + USSD, it does not use IP or the Internet. It might be possible to use your phone instead of a datacard, if you can connect it via USB or Bluetooth. Hope that helps, Andrew
0
Hi Andrew, Sorry for misleading again. i understand the way u mean we can send through wader. let me say i mable to send sms through my mobile. now i m connected to internet in my pc through my mobile. as i m able to send sms/ussd from my mobile so it should be possible to send sms/ussd in my pc using the mobile. now i want to send ussd/sms not from my mobile but from my pc using mobile but not through internet/ip. let me make the things simple. in my mobile i m able to go sms section,create new sms and than send. in my pc i have a text area where i can write sms and buton to send.now i want to send through my mobile not using internet but using mobile like i m able to send directly through my mobile.i understand this is out of box but still u can add to my learing curve. Br Daf
0
Hi Daf, Well as soon as you can get wader-core / python-messaging installed on Ubuntu Lucid, you should be able to do the following:
# bit of wader client code to get the device etc

# define the message
sms = {'number': '+34645454445', 'text': 'Hello there!'}

# tell the device to send it
device.Send(sms, dbus_interface=SMS_INTFACE)
See the code in wader-core's test_dbus.py file for detailed example and another for USSD Hope that helps, Andrew
0
Hi andrew, to make the things simple. i m connected to my modem with sim and i want to play sms/ussd not using modem plugin and ui or smsc but with some code in pyton/php etc.how do i do that? thanks for ur time friend.u did give enough. Br daf
0
Hi daf, Well the answer's slightly different for USSD and SMS. With USSD the message goes over the currently registered network so the only option is to use the SIM provider's USSD commands. With SMS it is possible to define the SMSC that the message will be routed through, but I have no experience of doing that, or know why you would want to use an SMSC other than that of the SIM provider. Hope that helps, Andrew
0
Hi andrew, thanks again. one qsn out of the box. if i m on linux machine connected to a modem having sim or usb and i need to send sms/ussd from pyton/php do i need a gateway or smssevr. i had been using kannel but if i do send sms/sim from sim how do i simulate without using gateway/server. FYI i can send it from the modem provider's pannel but i want to code it so that i can track.sny pointer? thanks agin. Br daf
0
Hi daffodil, I really do think you should test and develop on Ubuntu Lucid, and then if the wader-core software meets your needs, consider trying to get it to work on your favourite distro. Otherwise there might be lots of work to do before you can even begin to evaluate the software. Hope it helps, Andrew
0
Hi andrew, thanks for the detail info. so do u mean i shd use the os u sugested or there some work around? thanks again for the complete info and ur time Br daf
0
Hi daffodil, Yes but I suspect there'll be other issues too. Here's the requirements: wader-core ========== python (>= 2.5), python-twisted-core, python-serial, python-dbus, python-tz, python-messaging (>= 0.5.9), usb-modeswitch (>= 1.1.0), usb-modeswitch-data (>= 20100322), python-gudev, wvdial | network-manager (>=0.8), mobile-broadband-provider-info bcm === python (>= 2.5), wader-core (>= 0.5.0), python-messaging (>= 0.5.9), python-gtk2, python-glade2, python-gnome2, python-gnomekeyring, python-notify, wmctrl, network-manager-gnome python-messaging ================ python (>= 2.5) Hope that helps, Andrew
0
Hi Andrew, Thanks again. i can upgrade python to 2.5.does that sound ok to u. Thanks for ur time. Br Daf
0
Hi daffodil, System Linux appears to be a RHEL5 clone, that has a really old version of Python(2.4.3). You'll need to be using at least Python 2.5 to get the BCM / wader-core / python-messaging to run. If you are willing to swap distros, I'd recommend that you use Ubuntu Lucid(10.04), it's what we develop on at the moment and will ease your path considerably. Best regards, Andrew
0
Hi Andrew, Thanks for the reply and time. i m on System Linux, release 2.6.18-194.11.1.el5, version #1. bUt it shd not be an issue.i can try with other system too. Br daf
0
Hi daffodil, Ok, what distribution of Linux are you running on your Mac? Best regards, Andrew
0
hi andrew, sorry for misleading you. i meant i have a mac(machine) with linux as OS.
0
Hi daffodil, Ahh, I see what you mean now. I had assumed you meant that you had a Mac with Linux installed. Getting things working on a Mac with OS X is going to be difficult. I think there were plans to get Wader core working on MAC, but I'm not sure they were ever implemented. Unless you can have the modem on a machine under Linux I suspect that it might be very difficult to achieve what you need. Sorry I can't help much more, Andrew
0
sorry andrew. typo mistake. so fast u r. Br daf
0
Hi andrew, so fats u r. thanks. i just need to explore 2 things. how to use ussd command on linux where my mac is connected to a modem. by ussd i shd be able to tarnsfer minutes from one number to other. and may be same kind of functionality. thanks again for ur reply. Br daf
0
Hi daffodil, Sorry I'd assumed you'd be using Ubuntu, the debs are the installation packages for Ubuntu Lucid. If not you can check out the source code from the repository using the svn instructions here https://forge.betavine.net/scm/?group_id=76 The python source code for all packages is there, except python-messaging, which you can find here http://github.com/pmarti/python-messaging Hope that helps, Andrew
0
Hi andrew, Thanks for the reply. all i see from the link is those are debian stuffs. i m new may be in wrong direction. where can i find wader core? is this api free or licensed? as said i m experimening to do soem stuffs on linux mac connected to usb data card where i shd be able to do basically 2 things. transfer credit from one number to another. play ussd commands. pls help me. Br Daf
0
Hi daffodil, Yes, you've come to the right place :-) wader-core has a USSD implementation for this very purpose. Also if you look at BCM's TopUp feature you can see how we use it. For an idea how to use DBUS based API outside of BCM, see the unit tests in wader/test/test_dbus.py https://forge.betavine.net/frs/?group_id=76 Hope that helps, Andrew

Login and answer the question