SIM respond to AT+CIPSEND with “+CME ERROR: operation not allowed” after IP address and TCP connection established

I am working with a team to send data from Raspberry Pi over 2G network to a server using a GSM module called “SIM800L EBV”. We encountered an AT+CIPSEND error that has only occurred in Zambia, Africa while having been working correctly in the US (Arkansas, Colorado, and Washington state) for two years.

Below is a picture of our SIM log. We noticed from our log that the AT+CIFSR to request an IP address is working. And when AT+CIPSTART is run to start the TCP connection to the server “obfuscated.org” at port 11002, the response is OK and CONNECT OK indicating that the TCP connection to the server has been established. However, when AT+CIPSEND is run, we received an “+CME ERROR: operation not allowed”.

Has anyone encountered this problem before? Does anyone know about any supporting information that might help solve the problem? Is there any suggestion on how to get around this CME error? Is there any other command to replace this AT+CIPSEND command? Why does it work fine in America but not in Zambia?

Many thanks!

Wrote to sim: AT+CIFSR

Bytes to read: 26

Sim response: AT+CIFSR

172.50.216.113

Wrote to sim: AT+CIPSTART=“TCP”,“redacted.org”,“11002”

Bytes to read: 58

Sim response: AT+CIPSTART=“TCP”,“redacted.org”,“11002”

OK

CONNECT OK

Wrote to sim: AT+CIPSEND

Bytes to read: 47

SIM response: AT+CIPSEND

+CME ERROR: operation not allowed

maybe different firmware in the SIM800L ?

Hi thanks for the response. We’'ll look into that. Do you have any other suggestions? It’s hard for us to test if any solution truly works until its implemented in Zambia so we’re trying to compile a list of possible solutions that we can run through during implementation.

I second updating the firmware on the SIM card. Beyond that the only other suggestion I can provide is to look through the open source code for sakis3g (google it), they’re able to establish an internet connection over sim through a ppp interface and their code might be helpful.