I wanted to build an awesome place for people to discuss module specific issues, but I don't have any more time for this, and there are much better places to discuss Perl-related issues. I'd recommend asking your question on Stack Overflow or on Perl Monks.
If you are looking for a Perl tutorial or Perl-related news, I hope these links will serve you well.
Posted on 2008-08-29 23:21:16-07 by mrkw
Sending Binary SMS using submit _sm
Hello, I am having trouble sending a binary SMS to the SIM card using the submit_sm command. I have done this many times with a Logica client with the same settings. What I am seeing from the TCP dump on my SMSC is that the data is being converted to 7-bit GSM encoding (30, 31, etc) instead of leaving it in the 8-bit format. I was hoping that is would just pass the data as is to the SMSC, but it is not.
my $download_data = '0270000031150A21F1F1000001000000000100e5f16b283041102ca0a40000023f00a0a4000002 +7f20a0a40000026f31a0d600000101'; $resp_pdu=$smpp->submit_sm( service_type => '', # default ok source_addr_ton => 0x01, # default ok source_addr_npi => 0x03, # default ok source_addr => 2299, # default ok dest_addr_ton => 0x01, # default ok dest_addr_npi => 0x01, # default ok destination_addr => 882351050097068, # mandatory esm_class => 0x40, # default ok protocol_id => 0x7f, # default ok on CDMA,TDMA # on GSM value needed priority_flag => 0x00, # default ok schedule_delivery_time => '', # default ok validity_period => '', # default ok registered_delivery => 0x01, # default ok replace_if_present_flag => 0x00, # default ok data_coding => 0xf6, # default ok sm_default_msg_id => 0x00, # default ok short_message => $download_data, # default ok, but # usually supplied ) or die;
Direct Responses: 13592 | 8783 | Write a response