UPDATE: I have been trying to get support from bluevia company for weeks. I use these two simple example codes with prepaid sim cards and I am able to send and receive sms with no problem. When using the bluevia sim cards, IT WILL NOT WORK. I cannot get in contact with bluevia. If I do not fix this problem I am going to call my credit card company and open up a dispute against all the money I spent on bluevia service. I am frustrated with them not having any customer service for their services!
Does bluevia terms of service allow what you are trying to do? I know some SIM card vendors expressly prohibit use of their cards for other than use with phones and products they sell.
6. STRAIGHT TALK UNLIMITED TALK, TEXT AND DATA PLAN INTENDED USE: Straight Talk Unlimited Talk, Text and Data Plans may ONLY be used with a Straight Talk handset or SIM Card for the following purposes: (i) Person to Person Voice Calls (ii) Text and Picture Messaging, and (iii) Internet browsing and ordinary content Downloads. The Straight Talk Unlimited Plan MAY NOT be used for unauthorized uses that adversely impact our service. Examples of unauthorized uses include, without limitation, the following: (i) continuous uninterrupted mobile to mobile or mobile to landline voice calls; (ii) automated text or picture messaging to another mobile device or e-mail address; (iii) uploading, downloading or streaming of uninterrupted continuous video; (iv) server devices or host computer applications, including, but not limited to, Web camera posts or broadcasts, automatic data feeds, automated machine-to-machine connections or peer-to-peer (P2P) file sharing; or (v) as a substitute or backup for private lines or dedicated data connections. A person engaged in unauthorized uses may have his/her service throttled and/or terminated. In some circumstances, Customers may be provided notice and an opportunity to take corrective action with respect to unauthorized uses before their service is terminated.
Unlimited voice services may not be used for monitoring services, data transmission, transmission of broadcasts, transmission of recorded material, interconnection to other networks, telemarketing activity or autodialed calls or robocalls. Straight Talk reserves the right to cancel or deactivate service, and/or reduce data throughput in order to protect the Carrier’s network from harm due to any cause including, without limitation, the excessive and/or unauthorized use of Straight Talk service. Straight Talk reserves the right to limit or reduce data throughput speeds or the amount of data transferred, and to deny or terminate Service, to anyone Straight Talk believes is using the Straight Talk Unlimited Talk, Text and Data Plan in an unauthorized manner or whose usage, in Straight Talk’s sole discretion, adversely impacts the Carrier’s network or customer service levels. Straight Talk will presume you are engaging in an unauthorized use in violation of these Terms and Conditions if in Straight Talk’s sole opinion, you are placing an abnormally high number of calls, or repeatedly placing calls of unusually long duration, or if your talk, text or Mobile Web usage is harmful or disruptive to the Carrier’s network or service levels. If we determine, at our sole discretion, that you are using an unlimited service in violation of the Straight Talk Terms and Conditions of Service, or in any other manner that we deem to be unreasonable or excessive, then we may terminate individual calls, terminate or reduce the speed of data connection throughput, Mobile Web Access or terminate your service, decline to renew your service, or offer you a different service plan with no unlimited usage component.