Hi,

On Aug 25, 2016, at 3:40 PM, Holger Freyther <[email protected]> wrote:

> 
>> On 25 Aug 2016, at 13:07, sami <[email protected]> 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

Reply via email to