I got this error in sending sms: gammu.ERR_GETTING_SMSC: {'Text': u'Failed to get SMSC number from phone.', 'Code': 69, 'Where': 'SendSMS'}
Here is the code I use
import gammu
sm = gammu.StateMachine()
sm.ReadConfig()
sm.Init()
message = {
'Text': 'python-gammu testing message',
'SMSC': {'Location': 1},
'Number': '+###############',
}
sm.SendSMS(message)
Most likely the SMSC is not set on the SIM card. You can verify this using gammu:
gammu getsmsc 1
To store it on SIM card, you can do:
gammu setsmsc 1 "+4208001234567"