Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Python: Python

is it possible to write USSD / SMS /SS7 apps in python

 

 

Python python RSS feed   Index | Next | Previous | View Threaded


pyklass at gmail

Jul 3, 2009, 1:55 AM

Post #1 of 7 (274 views)
Permalink
is it possible to write USSD / SMS /SS7 apps in python

Can someone give me an insight into these?

developing ss7 or USSD or SMS apps in python.

is there any existing ones in this manner?

Thanks



--
http://mail.python.org/mailman/listinfo/python-list


clp2 at rebertia

Jul 3, 2009, 2:21 AM

Post #2 of 7 (255 views)
Permalink
Re: is it possible to write USSD / SMS /SS7 apps in python [In reply to]

On Fri, Jul 3, 2009 at 1:55 AM, Goksie Aruna<pyklass[at]gmail.com> wrote:
> Can someone give me an insight into these?
>
>   developing ss7 or USSD or SMS apps in python.
>
> is there any existing ones in this manner?

Advice for the future: STFW.

http://pypi.python.org/pypi?%3Aaction=search&term=sms&submit=search

Cheers,
Chris
--
http://blog.rebertia.com
--
http://mail.python.org/mailman/listinfo/python-list


pyklass at gmail

Jul 3, 2009, 2:31 AM

Post #3 of 7 (254 views)
Permalink
Re: is it possible to write USSD / SMS /SS7 apps in python [In reply to]

On Fri, Jul 3, 2009 at 10:21 AM, Chris Rebert <clp2[at]rebertia.com> wrote:

> On Fri, Jul 3, 2009 at 1:55 AM, Goksie Aruna<pyklass[at]gmail.com> wrote:
> > Can someone give me an insight into these?
> >
> > developing ss7 or USSD or SMS apps in python.
> >
> > is there any existing ones in this manner?
>
> Advice for the future: STFW.
>
> http://pypi.python.org/pypi?%3Aaction=search&term=sms&submit=search
>
> Cheers,
> Chris
> --
> http://blog.rebertia.com
>


thanks Chris,

however, i have checked all the packages there are specifics for a
particular company or device.

what am saying is reading the ITU info on USSD, is it possible to use python
to write the application SS7 with support for TCAP/MAP talking to E1 card to
do the ss7 signalling.

Thanks.

goksie


banibrata.dutta at gmail

Jul 4, 2009, 2:47 AM

Post #4 of 7 (245 views)
Permalink
Re: is it possible to write USSD / SMS /SS7 apps in python [In reply to]

QuoteGoke Aruna <pyklass[at]gmail.com>

what am saying is reading the ITU info on USSD, is it possible to use python

to write the application SS7 with support for TCAP/MAP talking to E1
card to do the ss7 signalling.

As Chris mentioned "possible, but probably not easy". AFAIK, not much of
what you might need exists in form of existing Python modules, if that's
what you were thinking -- and especially in the Open-source form. The only
open-source initiative in the SS7 domain that I am aware of, is the openss7
(http://www.openss7.org/), which has 'some' software available. No personal
experience though, API's are C/C++ AFAIR, and last I'd checked, the status
wasn't 'practically usable' in functionality terms. If they offer
functionality of the ITU-T SS7 stack upto the TCAP layer, exposing a C/C++
API to create dialogs, create components, populate and send them etc. (usual
TCAP Primitives), then as Chris mentions, you could have Python wrappers
(ctypes, swig...). Then, for the MAP layer, which is largely ASN.1 BER
encoding/decoding, you'd need such functionality in Python. There are some
ASN.1 BER codec implementations having Python API/bindings, but AFAIK, they
are largely domain/application specific (s.a. for SNMP), and not generic or
robust enough. Given the API's however, writing any application s.a. for
performing some "business-logic" on receiving or before sending USSD / SMS
message in Python, that's a no-brainer ! :-)
If however, you want to implement the whole SS7 stack in Python --
everything that Chris wrote is accurate, and that's potentially (and the
most obvious) way you'd have to implement it.

--
regards,
Banibrata
http://www.linkedin.com/in/bdutta


clp2 at rebertia

Jul 4, 2009, 2:50 AM

Post #5 of 7 (246 views)
Permalink
Re: is it possible to write USSD / SMS /SS7 apps in python [In reply to]

On Sat, Jul 4, 2009 at 2:47 AM, Banibrata
Dutta<banibrata.dutta[at]gmail.com> wrote:
> QuoteGoke Aruna <pyklass[at]gmail.com>
>>
>> what am saying is reading the ITU info on USSD, is it possible to use
>> python
>>
>> to write the application SS7 with support for TCAP/MAP talking to E1 card
>> to do the ss7 signalling.
>
> As Chris mentioned "possible, but probably not easy". AFAIK, not much of

s/Chris/Dennis/

Credit where credit is due. I merely gave a PyPI link.

Cheers,
Chris
--
http://blog.rebertia.com
--
http://mail.python.org/mailman/listinfo/python-list


banibrata.dutta at gmail

Jul 4, 2009, 2:53 AM

Post #6 of 7 (245 views)
Permalink
Re: is it possible to write USSD / SMS /SS7 apps in python [In reply to]

BTW, if you just want to be able to send/receive SMS's in a Python
application, there are several alternatives.
1. Most operators, or 3rd party bulk-SMS vendors (who resell SMS capacity
from operators at a premium but in smaller bundles than what an operator
would sell), offer --
a. HTTP based mechanism to send/receive messages
b. SMPP protocol. OpenSMPP has a C API, and you could create Python
wrappers for same.

2. For very low volume application, you could use the Serial (or Serial
emulation over USB/Bluetooth) way, i.e. using "AT" commandset of a tethered
GSM mobile (with inbuilt GSM modem), or a separate GSM-modem (PCMCIA,
USB,...) via Python, to send / receive SMS's.

On Sat, Jul 4, 2009 at 3:17 PM, Banibrata Dutta
<banibrata.dutta[at]gmail.com>wrote:

> QuoteGoke Aruna <pyklass[at]gmail.com>
>
> what am saying is reading the ITU info on USSD, is it possible to use python
>
> to write the application SS7 with support for TCAP/MAP talking to E1 card to do the ss7 signalling.
>
> As Chris mentioned "possible, but probably not easy". AFAIK, not much of
> what you might need exists in form of existing Python modules, if that's
> what you were thinking -- and especially in the Open-source form. The only
> open-source initiative in the SS7 domain that I am aware of, is the openss7
> (http://www.openss7.org/), which has 'some' software available. No
> personal experience though, API's are C/C++ AFAIR, and last I'd checked, the
> status wasn't 'practically usable' in functionality terms. If they offer
> functionality of the ITU-T SS7 stack upto the TCAP layer, exposing a C/C++
> API to create dialogs, create components, populate and send them etc. (usual
> TCAP Primitives), then as Chris mentions, you could have Python wrappers
> (ctypes, swig...). Then, for the MAP layer, which is largely ASN.1 BER
> encoding/decoding, you'd need such functionality in Python. There are some
> ASN.1 BER codec implementations having Python API/bindings, but AFAIK, they
> are largely domain/application specific (s.a. for SNMP), and not generic or
> robust enough. Given the API's however, writing any application s.a. for
> performing some "business-logic" on receiving or before sending USSD / SMS
> message in Python, that's a no-brainer ! :-)
> If however, you want to implement the whole SS7 stack in Python --
> everything that Chris wrote is accurate, and that's potentially (and the
> most obvious) way you'd have to implement it.
>
> --
> regards,
> Banibrata
> http://www.linkedin.com/in/bdutta
>



--
regards,
Banibrata
http://www.linkedin.com/in/bdutta


banibrata.dutta at gmail

Jul 4, 2009, 2:54 AM

Post #7 of 7 (247 views)
Permalink
Re: is it possible to write USSD / SMS /SS7 apps in python [In reply to]

On Sat, Jul 4, 2009 at 3:20 PM, Chris Rebert <clp2[at]rebertia.com> wrote:

> On Sat, Jul 4, 2009 at 2:47 AM, Banibrata
> Dutta<banibrata.dutta[at]gmail.com> wrote:
> > QuoteGoke Aruna <pyklass[at]gmail.com>
> >>
> >> what am saying is reading the ITU info on USSD, is it possible to use
> >> python
> >>
> >> to write the application SS7 with support for TCAP/MAP talking to E1
> card
> >> to do the ss7 signalling.
> >
> > As Chris mentioned "possible, but probably not easy". AFAIK, not much of
>
> s/Chris/Dennis/
>
> Credit where credit is due. I merely gave a PyPI link.
>

Indeed. Thanks Chris, sorry Dennis.

--
regards,
Banibrata
http://www.linkedin.com/in/bdutta

Python python RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.