Hi,
Does openbsc support OTA messages? Is there any documentation about this subject ?
Hi Sami,
On Wed, Aug 24, 2016 at 03:55:01PM +0300, sami wrote:
Does openbsc support OTA messages? Is there any documentation about this subject ?
In case you're referring to over-the-air SIM card related messages: Those are either sent over SMS, Cell Broadcast or BIP. BIP operates over GPRS, so it is an application layer issue.
The least common denominator is typically SMS, and from the GSM network (and OsmoNITB) point of view, they are just normal SMSs. You can e.g. submit them via SMPP from an external program.
So: * yes you can use OpenBSC to transport OTA messages * no, we don't implement them as they are outsie of the scope and implemented as part of an external SMS-sending/receiving program tat implements SMPP.
Hi,
So if I understand it right, if I want to use SMS to send ota, I can either send it from an external program that implements SMPP or from another phone connected to openbsc (phone running an application that generates binary SMS).
Best regards, Sami,
On Aug 25, 2016, at 7:10 AM, Harald Welte laforge@gnumonks.org wrote:
Hi Sami,
On Wed, Aug 24, 2016 at 03:55:01PM +0300, sami wrote:
Does openbsc support OTA messages? Is there any documentation about this subject ?
In case you're referring to over-the-air SIM card related messages: Those are either sent over SMS, Cell Broadcast or BIP. BIP operates over GPRS, so it is an application layer issue.
The least common denominator is typically SMS, and from the GSM network (and OsmoNITB) point of view, they are just normal SMSs. You can e.g. submit them via SMPP from an external program.
So:
- yes you can use OpenBSC to transport OTA messages
- no, we don't implement them as they are outsie of the scope and
implemented as part of an external SMS-sending/receiving program tat implements SMPP.
--
- Harald Welte laforge@gnumonks.org http://laforge.gnumonks.org/
============================================================================ "Privacy in residential applications is a desirable marketing option." (ETSI EN 300 175-7 Ch. A6)
On Thu, Aug 25, 2016 at 10:41:03AM +0300, sami wrote:
So if I understand it right, if I want to use SMS to send ota, I can either send it from an external program that implements SMPP or from another phone connected to openbsc (phone running an application that generates binary SMS).
correct. Please see the OsmoNITB user manual chapter on SMPP configuration, and the smpp_mirror example we included in openbsc.git as a demo on how to use the SMPP interface from libsmpp34. There's also a python library for SMPP 3.4, as far as I remember.
I will check it. Thanks a lot !
Best regards, Sami,
On Aug 25, 2016, at 11:21 AM, Harald Welte laforge@gnumonks.org wrote:
On Thu, Aug 25, 2016 at 10:41:03AM +0300, sami wrote:
So if I understand it right, if I want to use SMS to send ota, I can either send it from an external program that implements SMPP or from another phone connected to openbsc (phone running an application that generates binary SMS).
correct. Please see the OsmoNITB user manual chapter on SMPP configuration, and the smpp_mirror example we included in openbsc.git as a demo on how to use the SMPP interface from libsmpp34. There's also a python library for SMPP 3.4, as far as I remember.
--
- Harald Welte laforge@gnumonks.org http://laforge.gnumonks.org/
============================================================================ "Privacy in residential applications is a desirable marketing option." (ETSI EN 300 175-7 Ch. A6)
Hi,
I found the smpp_mirror.c script but didn’t find any example about using it. Is it through telnet ? Also, in case I send ota messages to a certain phone, can I tell it to change some call related procedures, ex: auto-answer the incoming call, auto-reject certain numbers, do not ring ...
Best regards, Sami,
On Aug 25, 2016, at 11:21 AM, Harald Welte laforge@gnumonks.org wrote:
On Thu, Aug 25, 2016 at 10:41:03AM +0300, sami wrote:
So if I understand it right, if I want to use SMS to send ota, I can either send it from an external program that implements SMPP or from another phone connected to openbsc (phone running an application that generates binary SMS).
correct. Please see the OsmoNITB user manual chapter on SMPP configuration, and the smpp_mirror example we included in openbsc.git as a demo on how to use the SMPP interface from libsmpp34. There's also a python library for SMPP 3.4, as far as I remember.
--
- Harald Welte laforge@gnumonks.org http://laforge.gnumonks.org/
============================================================================ "Privacy in residential applications is a desirable marketing option." (ETSI EN 300 175-7 Ch. A6)
On 25 Aug 2016, at 13:07, sami sami.0jacob0@gmail.com wrote:
Hi,
I found the smpp_mirror.c script but didn’t find any example about using it. Is it through telnet ? Also, in case I send ota messages to a certain phone, can I tell it to change some call related procedures, ex: auto-answer the incoming call, auto-reject certain numbers, do not ring ...
SMPP:
use Net::SMPP; $smpp = Net::SMPP->new_transceiver('127.0.0.1', port=>2775, system_id=>'anID', password=> 'pingpong', system_type=>'GSM') or die;
$smpp->submit_sm( service_type => '', source_addr => '123', protocol_id => 0x00, destination_addr => '2623213213', dest_addr_ton => 0x1, dest_addr_npi => 0x1, short_message => 'bla', );
This is a perl example, you will need to change ton/npi to be something !IMSI for your case.
Settings:
Well, I don't know your phone or such to know if such things can be changed.
holger
Hi,
On Aug 25, 2016, at 3:40 PM, Holger Freyther holger@freyther.de wrote:
On 25 Aug 2016, at 13:07, sami sami.0jacob0@gmail.com wrote:
Hi,
I found the smpp_mirror.c script but didn’t find any example about using it. Is it through telnet ? Also, in case I send ota messages to a certain phone, can I tell it to change some call related procedures, ex: auto-answer the incoming call, auto-reject certain numbers, do not ring ...
SMPP:
use Net::SMPP; $smpp = Net::SMPP->new_transceiver('127.0.0.1', port=>2775, system_id=>'anID', password=> 'pingpong', system_type=>'GSM') or die;
$smpp->submit_sm( service_type => '', source_addr => '123', protocol_id => 0x00, destination_addr => '2623213213', dest_addr_ton => 0x1, dest_addr_npi => 0x1, short_message => 'bla', );
This is a perl example, you will need to change ton/npi to be something !IMSI for your case.
Settings:
Well, I don't know your phone or such to know if such things can be changed.
So it depends on the phone model ? Is it at least doable for any model ?
holger
On 25 Aug 2016, at 15:26, sami sami.0jacob0@gmail.com wrote:
Well, I don't know your phone or such to know if such things can be changed.
So it depends on the phone model ? Is it at least doable for any model ?
I have no idea. Tell us if you find something.
holger
Hi,
I have one final question. When the ota message is sent how can you make sure that the target phone has received it? Does it display anything ?
Best regards, Sami,
On Aug 25, 2016, at 11:21 AM, Harald Welte laforge@gnumonks.org wrote:
On Thu, Aug 25, 2016 at 10:41:03AM +0300, sami wrote:
So if I understand it right, if I want to use SMS to send ota, I can either send it from an external program that implements SMPP or from another phone connected to openbsc (phone running an application that generates binary SMS).
correct. Please see the OsmoNITB user manual chapter on SMPP configuration, and the smpp_mirror example we included in openbsc.git as a demo on how to use the SMPP interface from libsmpp34. There's also a python library for SMPP 3.4, as far as I remember.
--
- Harald Welte laforge@gnumonks.org http://laforge.gnumonks.org/
============================================================================ "Privacy in residential applications is a desirable marketing option." (ETSI EN 300 175-7 Ch. A6)