MMS problem-(using Commandline)

MMS problem-(using Commandline) SearchSearch
Author Message
melodyincognito
New member
Username: Mango

Post Number: 1
Registered: 02-2010
Posted on Tuesday, February 23, 2010 - 10:45 am:   

Hello all,
I've been trying to send mms through nowSMS from my PC. I found the commandline utility described in the link :
http://blog.nowsms.com/2007/07/sending-mms-from-command-line.html
But when I run the script using the commandline I get the following error :
current_directory>\sendmms.vbs(325,3):The system can not locate the resource specified

Any idea on wats wrong ?
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 1835
Registered: 08-2008
Posted on Tuesday, February 23, 2010 - 05:25 pm:   

Hi,

This error usually means that the script cannot connect to the server specified in the DestURL that is defined near the top of the script.

The default value is:

Const DestURL = "http://127.0.0.1:8800/?user=test&password=test"

This assumes that NowSMS is installed and running on the same PC as the script using the default "port number for web interface" of 8800.

If NowSMS is running on a different PC or a different port, then the script needs to be edited to point to the correct server.

The script also uses a default username and password of "test". Those values should be changed to match a valid account name defined under "SMS Users" in your NowSMS installation. If it is not set to a valid account name, a similar error is displayed but with "Access is denied" instead of "The system cannot locate the resource specfied".

--
Des
NowSMS Support
melodyincognito
New member
Username: Mango

Post Number: 2
Registered: 02-2010
Posted on Wednesday, February 24, 2010 - 06:44 am:   

thanks a bunch for quick reply!
But I've installed nowSMS on the same PC, with default "port number for web interface" of 8800, still when I use netstat to see the ports I don't seen it in the result.

Could u plz explain how to properly launch nowSMS (and verify if its running)
melodyincognito
New member
Username: Mango

Post Number: 3
Registered: 02-2010
Posted on Wednesday, February 24, 2010 - 08:05 am:   

hello,

1)I am unable to run the sms gateway service on my PC,nowSMS keeps showing service not installed when I check "run as service " :S

wats the problem ?
melodyincognito
New member
Username: Mango

Post Number: 4
Registered: 02-2010
Posted on Wednesday, February 24, 2010 - 08:10 am:   

correction: it shows service "not active" ...
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 1842
Registered: 08-2008
Posted on Wednesday, February 24, 2010 - 04:40 pm:   

Do you get an error when you check "run as service"?

(Error 1067 perhaps? If so, it means that SMSGWS.EXE is missing. Old versions of ESET incorrectly block this file thinking it is a virus. Update your ESET virus signature file and run the NowSMS install again.)
melodyincognito
New member
Username: Mango

Post Number: 5
Registered: 02-2010
Posted on Thursday, February 25, 2010 - 05:54 am:   

wow that was great help ! thanks !

one more question please... I had had run the nowSMS, and when I used the script to send a MMS, a message holding a link to the PC running nowSMS was delivered to the mobile. Also when I tried the web interface for sending MMS , a message from operator (Telenor in my case) was delivered to the mobile, pointing to a link at operator's mmsc was delivered to my mobile. I was wondering whether I could directly send MMS to a mobile (without this message pointing to a link being delivered) ? Is that possible? If yes then how ?
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 1856
Registered: 08-2008
Posted on Thursday, February 25, 2010 - 08:32 pm:   

Hi,

Sending an MMS message via the web interface or via the script should yield the same results. (The script actually performs an automated web form submission.)

Are you sure that one of the links was pointing to the operator MMSC? I'm guessing that both of the links were pointing to NowSMS.

Let me explain...

There are two different ways to configure NowSMS to send MMS messages using a GSM modem.

The default configuration is for NowSMS to function as its own MMSC. However, this configuration is not recommended for installations with a GSM modem. (If you are curious read http://www.nowsms.com/howmmsworks.htm.)

Instead, you'll want to configure NowSMS to send message via the operator MMSC. There's a good description of how to configure this here: http://www.nowsms.com/documentation/quickstartguide/NowSMSQuickStart3.pdf

If the messages are still arriving as a link pointing to the operator MMSC ... remove the SIM from your modem and put it into a phone ... verify that you can send/receive MMS using that SIM card in a phone.

It could also be a receive-side issue. Some mobile operators need to manually enable MMS reception for a phone. (Others automatically enable the first time a device sends an MMS message.)

--
Des
NowSMS Support
melodyincognito
New member
Username: Mango

Post Number: 6
Registered: 02-2010
Posted on Friday, February 26, 2010 - 07:13 am:   

yes I'm sure that the mms sent by using the script points to the oprators MMSC (mmstelenor.com.pk/mms/ specifically) and requires a pincode for retrieving the mms. Also the notification containing this link asks me to send sms to a number to retrieve MMS settings to directly receive the mms on my phone. Afterwards I have tried to send a mms manually to the same number, and I received it directly...

So... the question remains: how do i send and receive mms directly on the phone ?
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 1875
Registered: 08-2008
Posted on Friday, February 26, 2010 - 05:15 pm:   

Hmm...that does not logically make sense to me.

What if you remove the SIM card from the modem and put it in a phone? Can you send an MMS ok using that SIM in a phone?

Perhaps the operator's logic is confused and it is the sending SIM that has not been provisioned for sending MMS.

--
Des
NowSMS Support