Question about how to read / send SMS from an external program

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 Hans Peter Freyther holger at freyther.de
Sat Jul 2 14:19:29 UTC 2011


On 07/02/2011 03:35 PM, Kang-min Liu wrote:
> Hi all,

Hi Kang-min,

Our gsm_7bit_encode has some issues (e.g. see the archive of this
mailinglist), from a quick look at the sms_from_text routine you mention, and
the store inside the db.c i would assume your perl code is doing something wrong.


Can you share your perl code? Alternatively the following debug hint might be
useful:
	1.) send a SMS through the telnet interface..
	2.) osmo_hexdump the sms->user_data in the sms_from_text
	3.) also directly decode the string there... (in C)
	4.) dump the BLOB for the database in db_sms_store

good luck
	holger






More information about the OpenBSC mailing list