Search Results for 'SMS API'
-
Search Results
-
I need to manage the mailboxes using the AEP HTTP API. I cannot find any documents indications if or how I can do so. Has anyone been able to do such a thing? We’re calling the API from a C program using an HTTP client library.
Topic: User level to send SMS
Hello,
Sending SMS requires to be logged as highest level (even with API). Is it possible to decrease this requirement to level 1 (engineer) ?Hi,
We have a few MTCAP-LEU1 gateways using SIM cards to connect to the internet and everything is working fine. However, more recently we bought the MTCAP-L4E1-868-001A and we’re not able to connect it to the cellular network.
Here are the logs from
/var/log/messages/
:2020-11-20T21:07:31.208145+01:00 mtcap admin: ppp Unable to pull configurations from API 2020-11-20T21:07:35.568746+01:00 mtcap admin: ppp Unable to pull configurations from API 2020-11-20T21:07:48.859126+01:00 mtcap lora-network-server: GW:00-80-00-00-00-01-62-71|FRAME-RX|Parsing 1 packets 2020-11-20T21:07:48.862063+01:00 mtcap lora-network-server: GW:00-80-00-00-00-01-62-71|FRAME-RX|REJECTED|REASON: Message received from unknown device 1f-bd-2b-19 VALUE: 45 2020-11-20T21:07:59.796578+01:00 mtcap pppd[7990]: pppd 2.4.7 started by root, uid 0 2020-11-20T21:08:00.966693+01:00 mtcap chat[7999]: info: Attempting Basic Radio Communication 2020-11-20T21:08:00.967932+01:00 mtcap chat[7999]: send (AT^M) 2020-11-20T21:08:01.031988+01:00 mtcap chat[7999]: expect (OK) 2020-11-20T21:08:01.033570+01:00 mtcap chat[7999]: AT^M^M 2020-11-20T21:08:01.036449+01:00 mtcap chat[7999]: OK 2020-11-20T21:08:01.038247+01:00 mtcap chat[7999]: -- got it 2020-11-20T21:08:01.039461+01:00 mtcap chat[7999]: info: Checking if SIM is inserted 2020-11-20T21:08:01.040349+01:00 mtcap chat[7999]: send (AT#SIMDET?^M) 2020-11-20T21:08:01.268813+01:00 mtcap chat[7999]: expect (#SIMDET: 2,1) 2020-11-20T21:08:01.272808+01:00 mtcap chat[7999]: ^M 2020-11-20T21:08:01.275824+01:00 mtcap chat[7999]: AT#SIMDET?^M^M 2020-11-20T21:08:01.278385+01:00 mtcap chat[7999]: #SIMDET: 2,1 2020-11-20T21:08:01.279829+01:00 mtcap chat[7999]: -- got it 2020-11-20T21:08:01.281456+01:00 mtcap chat[7999]: info: Checking if SIM is locked 2020-11-20T21:08:01.284029+01:00 mtcap chat[7999]: send (AT+CPIN?^M) 2020-11-20T21:08:01.475645+01:00 mtcap chat[7999]: expect (READY) 2020-11-20T21:08:01.476012+01:00 mtcap chat[7999]: ^M 2020-11-20T21:08:01.476968+01:00 mtcap chat[7999]: ^M 2020-11-20T21:08:01.480297+01:00 mtcap chat[7999]: OK^M 2020-11-20T21:08:01.482378+01:00 mtcap chat[7999]: AT+CPIN?^M^M 2020-11-20T21:08:01.483312+01:00 mtcap chat[7999]: +CPIN: READY 2020-11-20T21:08:01.485938+01:00 mtcap chat[7999]: -- got it 2020-11-20T21:08:01.486238+01:00 mtcap chat[7999]: info: SIM was unlocked 2020-11-20T21:08:01.486467+01:00 mtcap chat[7999]: info: Waiting for minimum signal strength 2020-11-20T21:08:01.486695+01:00 mtcap chat[7999]: send (AT+CSQ^M) 2020-11-20T21:08:01.630986+01:00 mtcap chat[7999]: expect (+CSQ: ) 2020-11-20T21:08:01.631341+01:00 mtcap chat[7999]: ^M 2020-11-20T21:08:01.632368+01:00 mtcap chat[7999]: ^M 2020-11-20T21:08:01.633282+01:00 mtcap chat[7999]: OK^M 2020-11-20T21:08:01.638062+01:00 mtcap chat[7999]: AT+CSQ^M^M 2020-11-20T21:08:01.640059+01:00 mtcap chat[7999]: +CSQ: 2020-11-20T21:08:01.642075+01:00 mtcap chat[7999]: -- got it 2020-11-20T21:08:01.643307+01:00 mtcap chat[7999]: expect (99,99) 2020-11-20T21:08:01.644613+01:00 mtcap chat[7999]: 22,5^M 2020-11-20T21:08:01.646526+01:00 mtcap chat[7999]: ^M 2020-11-20T21:08:01.649734+01:00 mtcap chat[7999]: OK^M 2020-11-20T21:08:02.644814+01:00 mtcap chat[7999]: alarm 2020-11-20T21:08:02.645496+01:00 mtcap chat[7999]: send (AT^M) 2020-11-20T21:08:02.708186+01:00 mtcap chat[7999]: expect (OK) 2020-11-20T21:08:02.709320+01:00 mtcap chat[7999]: AT^M^M 2020-11-20T21:08:02.710227+01:00 mtcap chat[7999]: OK 2020-11-20T21:08:02.711042+01:00 mtcap chat[7999]: -- got it 2020-11-20T21:08:02.711335+01:00 mtcap chat[7999]: send (AT^M) 2020-11-20T21:08:02.773873+01:00 mtcap chat[7999]: abort on (NO CARRIER) 2020-11-20T21:08:02.776050+01:00 mtcap chat[7999]: abort on (BUSY) 2020-11-20T21:08:02.777302+01:00 mtcap chat[7999]: abort on (ERROR) 2020-11-20T21:08:02.779426+01:00 mtcap chat[7999]: expect (OK) 2020-11-20T21:08:02.780983+01:00 mtcap chat[7999]: ^M 2020-11-20T21:08:02.782881+01:00 mtcap chat[7999]: AT^M^M 2020-11-20T21:08:02.784324+01:00 mtcap chat[7999]: OK 2020-11-20T21:08:02.785772+01:00 mtcap chat[7999]: -- got it 2020-11-20T21:08:02.786490+01:00 mtcap chat[7999]: send (AT+CSQ^M) 2020-11-20T21:08:02.932063+01:00 mtcap chat[7999]: expect (OK) 2020-11-20T21:08:02.933621+01:00 mtcap chat[7999]: ^M 2020-11-20T21:08:02.935482+01:00 mtcap chat[7999]: AT+CSQ^M^M 2020-11-20T21:08:02.938532+01:00 mtcap chat[7999]: +CSQ: 22,5^M 2020-11-20T21:08:02.940299+01:00 mtcap chat[7999]: ^M 2020-11-20T21:08:02.942018+01:00 mtcap chat[7999]: OK 2020-11-20T21:08:02.943914+01:00 mtcap chat[7999]: -- got it 2020-11-20T21:08:02.945139+01:00 mtcap chat[7999]: send (AT+COPS=2^M) 2020-11-20T21:08:03.151826+01:00 mtcap chat[7999]: expect (OK) 2020-11-20T21:08:03.152662+01:00 mtcap chat[7999]: ^M 2020-11-20T21:08:03.185199+01:00 mtcap chat[7999]: AT+COPS=2^M^M 2020-11-20T21:08:03.186485+01:00 mtcap chat[7999]: OK 2020-11-20T21:08:03.187633+01:00 mtcap chat[7999]: -- got it 2020-11-20T21:08:03.188836+01:00 mtcap chat[7999]: send (AT+CGDCONT=1,\"IP\",\"soracom.io\"^M) 2020-11-20T21:08:03.828315+01:00 mtcap chat[7999]: expect (OK) 2020-11-20T21:08:03.830156+01:00 mtcap chat[7999]: ^M 2020-11-20T21:08:03.916131+01:00 mtcap chat[7999]: AT+CGDCONT=1,"IP","soracom.io"^M^M 2020-11-20T21:08:03.917916+01:00 mtcap chat[7999]: OK 2020-11-20T21:08:03.919559+01:00 mtcap chat[7999]: -- got it 2020-11-20T21:08:03.921478+01:00 mtcap chat[7999]: send (AT+COPS=0^M) 2020-11-20T21:08:04.129338+01:00 mtcap chat[7999]: expect (OK) 2020-11-20T21:08:04.129700+01:00 mtcap chat[7999]: ^M 2020-11-20T21:08:04.187331+01:00 mtcap chat[7999]: AT+COPS=0^M^M 2020-11-20T21:08:04.190374+01:00 mtcap chat[7999]: OK 2020-11-20T21:08:04.192060+01:00 mtcap chat[7999]: -- got it 2020-11-20T21:08:04.193824+01:00 mtcap chat[7999]: send (ATDT*99***1#^M) 2020-11-20T21:08:04.463372+01:00 mtcap chat[7999]: expect (CONNECT) 2020-11-20T21:08:04.464940+01:00 mtcap chat[7999]: ^M 2020-11-20T21:08:04.472993+01:00 mtcap chat[7999]: ATDT*99***1#^M^M 2020-11-20T21:08:04.475347+01:00 mtcap chat[7999]: CONNECT 2020-11-20T21:08:04.479104+01:00 mtcap chat[7999]: -- got it 2020-11-20T21:08:04.482018+01:00 mtcap pppd[7990]: Script chat -v -t 90 -f /var/run/config/ppp_chat -c finished (pid 7999), status = 0x0 2020-11-20T21:08:04.482585+01:00 mtcap pppd[7990]: Serial connection established. 2020-11-20T21:08:04.488213+01:00 mtcap pppd[7990]: using channel 6 2020-11-20T21:08:04.501515+01:00 mtcap pppd[7990]: Using interface ppp0 2020-11-20T21:08:04.505082+01:00 mtcap pppd[7990]: Connect: ppp0 <--> /dev/modem_at0 2020-11-20T21:08:05.474830+01:00 mtcap pppd[7990]: rcvd [LCP ConfReq id=0x10 <asyncmap 0x0> <auth chap MD5> <magic 0x275c5a35> <pcomp> <accomp>] 2020-11-20T21:08:05.476302+01:00 mtcap pppd[7990]: sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0x86b0fab4> <pcomp> <accomp>] 2020-11-20T21:08:05.486840+01:00 mtcap pppd[7990]: sent [LCP ConfAck id=0x10 <asyncmap 0x0> <auth chap MD5> <magic 0x275c5a35> <pcomp> <accomp>] 2020-11-20T21:08:05.509485+01:00 mtcap pppd[7990]: rcvd [LCP ConfAck id=0x1 <asyncmap 0x0> <magic 0x86b0fab4> <pcomp> <accomp>] 2020-11-20T21:08:05.514391+01:00 mtcap pppd[7990]: rcvd [LCP DiscReq id=0x11 magic=0x275c5a35] 2020-11-20T21:08:05.516021+01:00 mtcap pppd[7990]: rcvd [CHAP Challenge id=0x1 <67bdf261479215e4247e45efe5668770>, name = "UMTS_CHAP_SRVR"] 2020-11-20T21:08:05.518045+01:00 mtcap pppd[7990]: sent [CHAP Response id=0x1 <0ac2a89084cd453793a2c6eff85ff45c>, name = "mtcap"] 2020-11-20T21:08:05.520545+01:00 mtcap pppd[7990]: rcvd [CHAP Success id=0x1 ""] 2020-11-20T21:08:05.521046+01:00 mtcap pppd[7990]: CHAP authentication succeeded 2020-11-20T21:08:05.521809+01:00 mtcap pppd[7990]: CHAP authentication succeeded 2020-11-20T21:08:05.522447+01:00 mtcap pppd[7990]: sent [IPCP ConfReq id=0x1 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns2 0.0.0.0>] 2020-11-20T21:08:05.558922+01:00 mtcap pppd[7990]: Hangup (SIGHUP) 2020-11-20T21:08:05.559584+01:00 mtcap pppd[7990]: Modem hangup 2020-11-20T21:08:05.561995+01:00 mtcap pppd[7990]: Connection terminated. 2020-11-20T21:08:05.812167+01:00 mtcap monitorppp: Starting Monitoring 2020-11-20T21:08:06.642487+01:00 mtcap pppd[7990]: Connection terminated. 2020-11-20T21:08:08.835599+01:00 mtcap after-switch-inet: executing after-switch-inet hooks with [ -a -i -a eth0] arguments 2020-11-20T21:08:08.918944+01:00 mtcap after-switch-inet: restarting dnsmasq 2020-11-20T21:08:09.254522+01:00 mtcap ppp-rx-monitor: PPP Rx Monitor: Starting The Application 2020-11-20T21:08:16.361896+01:00 mtcap after-switch-inet: calling ddns checkip 2020-11-20T21:08:17.158857+01:00 mtcap after-switch-inet: triggering WANFAILOVER alert 2020-11-20T21:08:17.347973+01:00 mtcap after-switch-inet: restarting annex client 2020-11-20T21:08:17.669612+01:00 mtcap annexcd: [NOTICE] main.cc:wait_signals_loop:609: SIGTERM caught 2020-11-20T21:08:17.894308+01:00 mtcap after-switch-inet: done. 2020-11-20T21:08:20.583119+01:00 mtcap annexcd: [INFO] main.cc:detect_device_type_by_eeprom:437: eeprom vendor-id: Multi-Tech Systems 2020-11-20T21:08:20.584748+01:00 mtcap annexcd: [INFO] main.cc:detect_device_type_by_eeprom:438: eeprom product-id: MTCAP-L4E1-868-001A
PPP configuration (db.json):
"ppp" : { "__v" : 1, "authentication" : { "password" : "", "type" : "NONE", "username" : "" }, "connectTimeout" : 90, "dialOnDemand" : false, "diversity" : true, "enabled" : true, "idleTimeout" : 180, "keepAlive" : { "dataRecv" : { "enabled" : true, "window" : 60 }, "enabled" : false, "hostname" : "", "icmpCount" : 4, "pingInterval" : 60, "radioReboot" : { "enabled" : false }, "tcpPort" : 80, "type" : "ICMP" }, "maxRetries" : 0, "modem" : { "apnString" : "soracom.io", "baudRate" : 115200, "commands" : [], "connectString" : "CONNECT", "contextId" : 1, "dialNumber" : "*99***1#", "dialPrefix" : "ATDT", "fwSwitch" : "auto", "initStrings" : [ "AT+CSQ", "", "", "" ], "simPin" : "" }, "nat" : true, "powerOnInitString" : "", "protocol" : "PPP", "wakeUpOnCall" : { "ackString" : "", "callerIds" : [], "delay" : 10, "enabled" : false, "fromLan" : false, "initStrings" : [], "onCallerId" : false, "onRing" : false, "onSms" : false } },
sudo ifconfig:
eth0 Link encap:Ethernet HWaddr 00:08:00:4A:B0:DB inet addr:172.20.223.78 Bcast:172.20.223.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:3931 errors:0 dropped:0 overruns:0 frame:0 TX packets:3392 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:350356 (342.1 KiB) TX bytes:783300 (764.9 KiB) Interrupt:23 Base address:0xc000 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:65536 Metric:1 RX packets:32090 errors:0 dropped:0 overruns:0 frame:0 TX packets:32090 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1 RX bytes:2019387 (1.9 MiB) TX bytes:2019387 (1.9 MiB)
As you can see, there’s no ppp0 interface in the output of the
ifconfig
. We configured the gateway using the Web UI.Any ideas on how to solve this problem?
Thanks,
Rafael
I’m contemplating upgrading my modems to 4.0.5, but would like some more details on this, from the release notes:
– SMS Command API ignores 6 character password limit, does not fail if SMS is
longer than 160 characters, has issues depending on location of spaces and can
not view view/delete inbox/outbox.Please clarify “does not fail if SMS is longer than 160 characters”. Does that mean that it still passes it onto the provider? Or does it break it into chunks (multiple messages) and send those, like the SMS spec seems to indicate?
Also, “has issues depending on location of spaces” doesn’t sound good. Does this mean that I can expect seemingly-random SMS delivery failures depending on the content of the message?
…Steve
Hello,
I ‘m using Send API to send sms. If i sent sms to not correct number (for example 0000037529000000000) time for process such sms can be 10 mins
Dec 29 11:48:10 boa[4920]: httplivelog: MultiModem iSMS To HTTP API
HTTP/1.0 200 OK
ID: 313 Status: 2
….. 10mins …..
ec 29 11:59:24 boa[4920]: httplivelog: MultiModem iSMS To HTTP API
HTTP/1.0 200 OK
ID: 313 Status: 4[Fri Dec 29 11:48:05 2017] : [MSG ID] : 313 [STATUS] : In Progress
[Fri Dec 29 11:50:26 2017] : [MSG ID] : 314 [STATUS] : Request Received>>> AT Logs :
Dec 29 11:51:58 modem: livelog: [SEND] : AT+CMGS=7897987900375298788622
Dec 29 11:52:00 modem: livelog: [RECV] :
>
+CMS ERROR: 305Dec 29 11:52:00 modem: livelog: [SEND] : sms text
Dec 29 11:53:01 modem: livelog: [SEND] : AT+CFUN=0
Dec 29 11:53:02 modem: livelog: [SEND] : AT+CFUN=0
Dec 29 11:53:03 modem: livelog: [RECV] :
+CME ERROR: 515>>> AT Logs :
It seems like gsm provider tries to find out recipient.
Is it possible to change this delay on modem side?
Cause if i send 2 sms (on not corrrect and one correct) – the second sms will be delivered in +10mins.Hi Multitech!
I’m trying to develop a web based sms system in w/c it will accept/receive text message from client using PHP as front end and Mysql is the backend.
I tried to google it but I wasn’t able to find a better answer. Please help me.
Thanks in advance.
I try to send or to get SMS messages in my application. So I am using RESTful JSON API http://www.multitech.net/developer/software/mtr-software/mtr-api-reference
And it works only for english text but i need to use other languages in the unicode format.I see only this one
http://192.168.2.1/api/sms/outbox?data={“recipients”:[“12345678900″],”message”:”Hello World”}&token=2442CB0CB60B2EE9F5A35DF5ED8C33&method=POST’Also I didn’t find how I can send and get response with AT commands
I tried to use api/command/radio_cmd for this but for some reason it’s doesn’t work for me.If MTR API doesn’t support unicode messages, I want to send command AT+CSCS=”UCS2″ in modem
Can you give me any examples?
Dear all,
I have a problem with my rCell 100. I’m reading and sending SMS messages with the help of a custom Windows services. I created a separate user for each service, like this
POST [rcell_ip]/users?token=[token]
Message body {"name": "someUsername", "password": "somePassword"}
This functions well and users get created, until the next time the rCell gets restarted (via [rcell_ip]/api/command/restart or due to power outage). Then the rCell just forgets about these users and remembers only default admin/admin user.
In place where we host the rCell there’s very unreliable power supply, as well as very bad internet connection, but I don’t have any influence on that.
So, my question is, how could I prevent forgetting these users? I could write a new service that would use default admin user and check whether there are required users and if not, create them. But I’d prefer not to go down this way, since it’s hacky and time consuming.
Topic: Non-Polling rCell or other
Dear,
We have now a few iSMS modems for some projects in use. But it isn’t available anymore. The only thing we need is SMS receiving to HTTP server request (Non-Polling please). The supplier suggest a rCell 100 serie. But i found no information on the forum if non-polling is possible on this device (like in iSMS). On the internet i found only information about receiving SMS with REST API.
We like to send a http request when a SMS is received on the device to a configured web server. (NON-Polling)
Topic: Error in iSMS
Hello,
Im working in a windows service using VS2012, but there is an error when I send the request (im sending this “http://192.168.2.1:5000/querymsg?user=admin&passwd=admin&apimsgid=0”). This is my code:
HttpWebRequest oHttpRequest = (HttpWebRequest)WebRequest.Create(strUrl);
HttpWebResponse oHttpResponse = (HttpWebResponse)oHttpRequest.GetResponse();The second line throw this exception:
“The server committed a protocol violation. Section=ResponseStatusLine”
If you want or need to delete a sent message from the outbox, you can do so by referring to the guid of the message in question
{ https://cell_modem_ip/api/sms/outbox/guid?token=access_token&method=DELETE }
The response will show a success status with a 200 code