MMS and Gemalto EHS6 | Search |
NowSMS Support Forums ⬆ NowSMS NextGen Support ⬆ |
◄ ► |
Author | Message | |||
Axel Wilsson New member Username: Axelwilsson24 Post Number: 1 Registered: 01-2021 |
Hi, I have a Gemalto EHS6 modem. Firstly: Can I use this modem to send MMS messages? Second: How can I configure MMS APN username and password? When trying to send MMS, I get the following message: "Error: MMSC Service Not Active". What am I doing wrong? Thanks! Axel | |||
Des - NowSMS Support Board Administrator Username: Desosms Post Number: 6221 Registered: 08-2008 |
Hi Axel, The "Error: MMSC Service Not Active" error occurs when the MM1/MM7 port is not active in the MMSC settings. This was not an intentional restriction/requirement. We have posted an update that fixes this problem. In the web interface, go to Admin/System Configuration, and near the top of the page, there should be an option available to download this update. We don't have any experience with that particular modem, but I think there's a good chance it will work. Were you able to successfully define the MMS APN and MMS Server URL (and MMS Proxy if required)? Or did you get an error about being unable to connect to the server? We did discover a problem where a connection error was occurring in many Linux environments, and this update also fixes that problem. Which mobile operator and what settings are you using? Regarding your question about being able to configure an.MMS username and password ... there are hidden settings, but we have not been able to test them ... as most operators do not require these settings. To manually define them, scroll down to Advanced Settings, where there is an option to edit SMSGW.INI. Under the modem section header (e.g., [Modem - /dev/ttyUSB0]), manually add: APNLogin=username APNPass=password Regards, Des NowSMS Support | |||
Axel Wilsson New member Username: Axelwilsson24 Post Number: 2 Registered: 01-2021 |
Hi, Thanks for the update. I'm trying to connect to test the connection to my MMS APN, and I see the following in SMSDEBUG.lOG: ``` 07:49:40:949 [425141824] m=69,0 SendModemCommand: ATD*99# 07:49:40:950 [425141824] m=69,0 SendModemData: Modem sent 8 bytes 07:49:40:984 [425141824] m=69,0 ReceiveModemCommand: CONNECT 07:49:42:861 [443995712] m=69,0 ThreadListenForConnections: Before accept 07:49:42:862 [443995712] m=69,0 ThreadListenForConnections: After accept 07:49:42:862 [426194496] m=69,0 AssignThreadNumber: ThreadProcessConnection 07:49:42:862 [426194496] m=69,0 ThreadProcessConnection: Processing connection from 172.30.30.1... 07:49:42:862 [426194496] m=70,0 InternalProcessConnection: GET /ADMIN/STATUS?SMSCStatusInfo=Yes HTTP/1.1 07:49:42:863 [426194496] m=71,0 ProcessAdminRequest: All Connections OK 07:49:42:985 [415696448] m=71,0 AssignThreadNumber: ThreadPPPReceive 07:49:42:985 [415696448] m=71,0 PPPReceive: PPP Received 90 bytes 07:49:42:994 [425141824] m=71,0 SendModemData: Modem sent 45 bytes 07:49:43:006 [415696448] m=71,0 PPPReceive: PPP Received 46 bytes 07:49:44:008 [415696448] m=71,0 PPPReceive: PPP Received 45 bytes 07:49:44:017 [424089152] m=71,0 SendModemData: Modem sent 46 bytes 07:49:44:025 [424089152] m=71,0 SendModemData: Modem sent 35 bytes 07:49:44:027 [424089152] m=71,0 SendModemData: Modem sent 21 bytes ``` But the test never completes... it seems like it is stuck... Any suggestions? | |||
Bryce Norwood - NowSMS Support Board Administrator Username: Bryce Post Number: 8386 Registered: 10-2002 |
Hi Axel, I think we're going to need to add more debug. Does this APN require a username/password, and did you manually configure these settings? Is there another APN that you could try that does not require a username/password? Even if it won't work for MMS, I am wondering if the PPP connection would successfully complete so that we could confirm the problem is related to username/password authentication. At the point that your debug info stops, NowSMS is trying to negotiate a PPP connection. Here is a typical sequence: 07:38:40:665 [3007222816] h=43 m=509,0 SendModemCommand: ATD*99# 07:38:40:667 [3007222816] h=43 m=509,0 SendModemData: Modem sent 8 bytes 07:38:40:678 [3007222816] h=43 m=509,0 ReceiveModemCommand: CONNECT 115200 07:38:40:678 [3055522848] h=43 m=510,0 AssignThreadNumber: ThreadPPPReceive 07:38:40:681 [3007222816] h=43 m=510,0 SendModemData: Modem sent 46 bytes 07:38:40:705 [3055522848] h=44 m=511,0 PPPReceive: PPP Received 98 bytes 07:38:40:707 [3005117472] h=44 m=511,0 SendModemData: Modem sent 23 bytes 07:38:40:721 [3055522848] h=44 m=511,0 PPPReceive: PPP Received 44 bytes 07:38:40:724 [3005117472] h=44 m=511,0 SendModemData: Modem sent 43 bytes 07:38:40:726 [3005117472] h=44 m=511,0 SendModemData: Modem sent 35 bytes 07:38:40:728 [3005117472] h=44 m=511,0 SendModemData: Modem sent 21 bytes 07:38:40:737 [3055522848] h=44 m=511,0 PPPReceive: PPP Received 20 bytes 07:38:41:138 [3055522848] h=44 m=511,0 PPPReceive: PPP Received 26 bytes 07:38:41:140 [3005117472] h=44 m=511,0 SendModemData: Modem sent 18 bytes 07:38:41:143 [3005117472] h=44 m=511,0 SendModemData: Modem sent 29 bytes 07:38:41:153 [3055522848] h=44 m=511,0 PPPReceive: PPP Received 38 bytes 07:38:41:155 [3005117472] h=44 m=511,0 SendModemData: Modem sent 11 bytes 07:38:41:159 [3005117472] h=44 m=511,0 SendModemData: Modem sent 29 bytes 07:38:41:169 [3055522848] h=44 m=511,0 PPPReceive: PPP Received 28 bytes 07:38:41:171 [3005117472] h=44 m=511,0 ppp_status_cb: status_cb: Connected 07:38:41:172 [3005117472] h=44 m=511,0 ppp_status_cb: our_ipaddr = 6.36.24.251 07:38:41:172 [3005117472] h=44 m=511,0 ppp_status_cb: his_ipaddr = 10.64.64.64 07:38:41:172 [3005117472] h=44 m=511,0 ppp_status_cb: netmask = 255.255.255.255 07:38:41:172 [3005117472] h=44 m=511,0 ppp_status_cb: dns1 = 10.177.0.34 07:38:41:172 [3005117472] h=44 m=511,0 ppp_status_cb: dns2 = 10.177.0.210 07:38:41:172 [3005117472] h=44 m=511,0 ppp_status_cb: our6_ipaddr = :: 07:38:41:182 [3007222816] h=44 m=511,0 PPPConnect: Connected 07:38:41:185 [3007222816] h=44 m=511,0 SendModemData: Modem sent 48 bytes 07:38:41:370 [3055522848] h=44 m=511,0 PPPReceive: PPP Received 49 bytes 07:38:41:373 [3005117472] h=44 m=511,0 SendModemData: Modem sent 45 bytes 07:38:41:373 [3007222816] h=44 m=511,0 PPPConnectToINetServer: connected to 10.175.85.147:80 07:38:41:376 [3007222816] h=44 m=511,0 SendModemData: Modem sent 44 bytes 07:38:41:379 [3007222816] h=44 m=511,0 SendModemData: Modem sent 28 bytes 07:38:41:393 [3055522848] h=44 m=511,0 PPPReceive: PPP Received 18 bytes 07:38:41:393 [3005117472] h=44 m=511,0 ppp_status_cb: User interrupt 07:38:41:493 [3055522848] h=44 m=511,0 ReleaseThreadNumber: Exit Regards, Bryce Norwood NowSMS Support | |||
Axel Wilsson New member Username: Axelwilsson24 Post Number: 3 Registered: 01-2021 |
I don't have an APN which doesn't require username/password. I set the APNLogin and APNPass variables as you described... No luck... | |||
Bryce Norwood - NowSMS Support Board Administrator Username: Bryce Post Number: 8387 Registered: 10-2002 |
Hi Axel, What Linux platform and version? I've verified that the authentication headers are being sent if the APNLogin & APNPass SMSGW.INI settings are present. So that should be working. However, we have observed that our error handling and connection timeouts are being handled inconsistently across platforms. I recreated a problem similar to what you describe where the connection hangs most consistently on a Raspberry Pi ... when I disconnected the external antenna from the modem, any connection attempts would hang indefinitely. We fixed this particular issue in a newly posted update, and are continuing to investigate more platforms. In this case, the underlying connectivity problem was low signal strength. To see your signal strength, search for AT+CSQ in the debug log. In my case, I'd see 15,99 with the antenna. Without the antenna, the 15 would change to 2 or 1 or 0, which is definitely too low. If you continue to experience problems, I'd like to see a more complete SMSDEBUG.LOG. There is a new setting for SMSGW.INI, under the [SMSGW] header, add DebugPPP=Yes to log details about the data connection. If you prefer to email the log, send to nowsms@nowsms.com. Please include Attention: Bryce in the subject line. Regards, Bryce Norwood NowSMS Support | |||
Axel Wilsson New member Username: Axelwilsson24 Post Number: 4 Registered: 01-2021 |
After updating to the 2021.01.08 version, MMS now works!!! Thanks! | |||
Bryce Norwood - NowSMS Support Board Administrator Username: Bryce Post Number: 8388 Registered: 10-2002 |
Thanks for following up. We will look at adding the APN username & password settings to the configuration interface, so in the future it will hopefully not require manually editing the SMSGW.INI configuration file. |