openBSC OTA

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/OpenBSC@lists.osmocom.org/.

Holger Freyther holger at freyther.de
Thu Aug 25 12:40:30 UTC 2016


> On 25 Aug 2016, at 13:07, sami <sami.0jacob0 at 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


More information about the OpenBSC mailing list