Sending MMS | Search |
NowSMS Support Forums ⬆ NowSMS Support - MMS & Advanced Issues ⬆ Archive through April 05, 2007 ⬆ |
◄ ► |
Author | Message | |||||||||||
dev1 New member Username: Dev1 Post Number: 1 Registered: 12-2006 |
Hi there, I just installed the trial product and i'm using a siemen mc 56 gsm modem with a us tmobile sim card as my smsc. Im trying to configure nowsms to use operator mmsc (tmobile us) to deliver mms and i keep getting Error: Internal Error (unable to connect to MMSC) the following is my mmscdebuglog. 17:16:28:359 [1] MoveMMSCUsersFiles: Thread started 17:16:30:375 [1] MoveMMSCUsersFiles: Thread ended 17:16:28:375 [0] main: Error 10013 from socket bind Help would be highly appreciated. thanks. | |||||||||||
Bryce Norwood - NowSMS Support Board Administrator Username: Bryce Post Number: 6877 Registered: 10-2002 |
Hi, That error code is a new one to me. Normally, if this error message is triggered, it is error "10048", which means that another server has already bound to the same port. This would mean that you need to change the "HTTP Port Number" configured for the "MMSC". (Note that this port number must be different from the "port number for web interface" configured on the "Web" page of the NowSMS setup ... which is a bit confusing.) According to the documentation for that error code, this error could be triggered for the same reason. But as I don't recall ever seeing this error code before, I'm a bit suspicious. I'm thinking that a virus scanner / internet security product is blocking the MMSC from being able to listen to connections on the port. -bn | |||||||||||
dev1 New member Username: Dev1 Post Number: 2 Registered: 12-2006 |
ok, i changed the port for the mmsc and now it stated that the message is sent but i never received the mms. how do i know if the mms is actually being sent or not? | |||||||||||
Malcolm - Now Support New member Username: Malcolm Post Number: 4 Registered: 12-2006 |
Hi, I'd be curious to see your MMSC-yyyymmdd.LOG as a starting point. That should show "MMSOUT" entries if the messages were successfully dispatched to an operator MMSC connection. If NowSMS is configured for direct delivery as an MMSC, then you would see SMS messages being sent in the SMSOUT-yyyymmdd.LOG file. (For more information on the distinction between the two methods of MMS delivery, please see http://www.nowsms.com/howmmsworks.htm.) For more complete diagnosis, enable the MMSWAPDEBUG.LOG, and we can take a closer look at that. The most common problems when using an operator MMSC connection (MM1) over a GPRS modem connection are: 1.) Recipient phone number is listed in the "MMSC Users" table. By default, this will cause the MMSC to attempt to perform direct delivery for the recipient instead of using a "Default Route". 2.) MM1/GPRS modem connection is not selected as the "Default Route" on the "MMSC Routing" page of the configuration dialog. 3.) In the "MMSC Routing" definition for the "MM1/GPRS" connection, make sure that "Default Sender Address" is blank ... and that "Allow Sender Address Override" is NOT checked ... otherwise this could cause the operator MMSC to silently reject messages. If it's not one of the above 3 conditions, then enable the MMSWAPDEBUG.LOG, and let's take a closer look at what is going on. -- Malcolm Now Wireless Support | |||||||||||
dwi widayana New member Username: Dwi Post Number: 10 Registered: 09-2006 |
hi Mr. Bryce here's my problems: - i tried to send MMS from the web interface through itegno GSM/GPRS modem, but i never received the MMS in my mobile phone. here's all the setting that i've done:
sorry if there's too many 4 u 2 see - then i tried 2send MMS to the modem, it seems the modem didn't receive anything. i use Telkomsel Indonesia - i want to know how "2-way" actually works coz none of the examples that u've shown work in my hand - could u plz tell me variable that i can use in my php u've ever told me that the variable of the sender number is $_REQUEST ['sender']. i need the variables for incoming msg and outgoing msg.coz this variables depends on the gateway right?? thank you b4 | |||||||||||
dwi widayana New member Username: Dwi Post Number: 11 Registered: 09-2006 |
can anybody help me plz????? | |||||||||||
Malcolm - Now Support Frequent Contributor Username: Malcolm Post Number: 58 Registered: 12-2006 |
Hi, I do not know why the MMS message was never received by the recipient. All indications in the logs are that the MMS message was accepted for delivery by the operator MMSC. I would suggest trying to move the SIM card from the modem into a phone, and verify that you can successfully send MMS using that SIM in a phone, as opposed to in the modem.
The logs above don't show any SMS messages actually being received by the modem. However, looking at your INI file, I do see a problem. Edit the commands, and remove the "Receive Phone Number(s)" field, and just leave this field blank, which indicates any receive phone number. Otherwise, if you do not leave that field blank, it must match the phone number assigned to one of your modems. (Allowing you to have different commands that apply for messages received for different modems/phone numbers.)
I'm sorry, but I don't understand the question. -- Malcolm Now Wireless Support | |||||||||||
dwi widayana New member Username: Dwi Post Number: 12 Registered: 09-2006 |
hi malcolm, what i mean with variables are the parameters which the gateway use such as the parameters for the recipient phone number, the content of d sms, phone number that will receive sms,etc. hope u understand my lang thanks b4 ^_^ | |||||||||||
dwi widayana New member Username: Dwi Post Number: 13 Registered: 09-2006 |
hi malcolm, what i mean with variables are the parameters which the gateway use such as the parameters for the recipient phone number, the content of d sms, phone number that will receive sms,etc. hope u understand my question thanks b4 ^_^ | |||||||||||
Malcolm - Now Support Moderator Username: Malcolm Post Number: 67 Registered: 12-2006 |
For SMS, the variables are dependent upon the 2-way URL that you define in NowSMS. For example, your INI file above included the following 2-way command definition: http://127.0.0.1:8800/de/2way.php?sender=@@SENDER@@&message=@@FULLSMS@@&id=@@MESSAGEID@@ So the sender of the message would come in the "sender" variable. If you want to include the recipient phone number (meaning the phone number of the modem that received the message), you would need to edit the URL definition and include @@RECIP@@. For received MMS messages that are routed to a PHP script, the variable names are hard-coded, as described in http://support.nowsms.com/discus/messages/485/18694.html Does that answer your question? -- Malcolm Now Wireless Support | |||||||||||
dwi widayana New member Username: Dwi Post Number: 14 Registered: 09-2006 |
so in my php script the senders variable would be $sender? again i need a simple explanation bout how 2 way works. does it always return the reply to sender phone number? | |||||||||||
dwi widayana New member Username: Dwi Post Number: 15 Registered: 09-2006 |
btw malcolm, thatx b4 ^_^ | |||||||||||
dwi widayana New member Username: Dwi Post Number: 16 Registered: 09-2006 |
hi malcolm i've already resetting d gateway.here are the settings:
still i cant send mms i use my sim card on mobile phone. Everything is OK. I can send mms to another person. Is the trouble comes from d modem (itegno 3000)???? here's the debug:
my mmsc 2006-12-09 is something like this (it was deleted) 2006-12-09 13:15:37,MMSRETRIEVE,+6281342562502,D7CEBDB7.mms,2349276 In MMSCDATA folder, i found .MMS file
and mmsc 2007-01-08. In MMSCDATA folder, i found no .MMS file
what's d difference??? Here's my mms outbound routing setting :
| |||||||||||
Malcolm - Now Support Moderator Username: Malcolm Post Number: 88 Registered: 12-2006 |
Hi dwi widayana, Let me try to address these problems separately. For the outbound MMS problem, I think the issue is that your MMS message is too big. Most mobile operators have limits on the size of MMS message that they will accept. 2MB is definitely bigger than I have seen an operator MMSC accept. Most have limits of either 100KB or 250KB. For the 2-way PHP script, assuming that we are talking about receiving an MMS message, the MMS sender would be in the "MMSFrom" variable ($_REQUEST ['MMSFrom'] in a PHP script). For 2-way SMS, the variable name is dependent on the URL that you configure for 2-way SMS. The URL example above (with sender=@@SENDER@@) would put the sender in the "sender" variable ($_REQUEST ['sender']). -- Malcolm Now Wireless Support | |||||||||||
dwi widayana New member Username: Dwi Post Number: 17 Registered: 09-2006 |
hi malcolm, the 2-way problem is solved ^_^ big thanx bout the mms, i tried to send with smaller size, but still i cannot received it. in MMSC:
i use internal MMSC (Direct Delivery). this SMSOUT:
what's the meaning? i want to send MMS from modem,means ii should setting gateway to mm1 right? how? because i tried mm1 but here i got: 13:47:39:484 [1] ThreadProcessVASPQ: mm1 - timeout waiting for response 13:47:39:484 [1] ThreadProcessVASPQ: Outbound route phpscript: setting retry for D7CEBDB7.MMS 13:47:39:500 [1] ThreadProcessVASPQ: Before WSPRasDial - Modem: iTegno GPRS Wireless Modem 13:47:41:375 [1] ThreadProcessVASPQ: After WSPRasDial - OK 13:47:42:203 [1] ThreadProcessVASPQ: POST http://mms.telkomsel.com/ HTTP/1.1 Content-Length: 357 Content-Type: application/vnd.wap.mms-message Accept: application/vnd.wap.mms-message Cache-Control: No-Cache Host: mms.telkomsel.com plz plz help me thanx | |||||||||||
Malcolm - Now Support Moderator Username: Malcolm Post Number: 107 Registered: 12-2006 |
You most likely do not want to use direct delivery. You want to use the "MMSC Routing" definition for MM1/GPRS connection via the modem. (Make this your default route in the "MMSC Routing" screen.) One thing that can cause confusion in this setup occurs if you are sending an MMS to a phone number that is listed in the "MMSC Users" list. NowSMS assumes that it should use direct delivery as an MMSC to any phone number that is in the "MMSC Users" list. So make sure your recipient is not in this list. If you are still having problems, I would like to see the MMSWAPDEBUG.LOG, which should show details of the message being transmitted to the MMSC over the GPRS modem. -- Malcolm Now Wireless Support | |||||||||||
dwi widayana New member Username: Dwi Post Number: 18 Registered: 09-2006 |
we're successed sending MMS, but... we didn't receive the image properly. my cellphone cannot perform the image. but i receive the text part well. here's the MMSWAPDEBUG:
i see something bout adobe there?what's that mean? y i couldn't see the image that i've sent in my cellphone? i've tried to send MMS to gateway, i receive nothing. then i put SIM card to my cellphone, i found sms from 5012. i assume that is my MMS that i've trying to send, but it change into SMS. here's the SMS: @u*application/vnd.wap.mms-message@AYO0JXGTorv$VAGaP@ 0 6281342562502/TYPE=PLMN@$J e YLQa http://mmsc/1$2?AYO0JXGTorv$VAGaP@
the last MMS that i've send is success. i waiting 4 ur reply soon thanx b4 | |||||||||||
Malcolm - Now Support Moderator Username: Malcolm Post Number: 135 Registered: 12-2006 |
I don't know why the image could not be displayed on the cell phone. I would suggest trying other images to see if this is a general problem, or a problem with a specific image. The encoding of the MMS message structure appears correct. Regarding the receiving of the MMS. The SMS message that you see looks like an MMS notification message. The MMS message delivery process is triggered by a specially formatted SMS message. However, this notification was never presented to NowSMS for it to be processed. Do you have the "SMS Message Storage" = "Direct to Modem" setting configured under "Properties" for the modem in NowSMS? Some dedicated modem devices require this setting to be configured before they will forward binary SMS messages to NowSMS. -- Malcolm Now Wireless Support | |||||||||||
tiberth New member Username: Tiberth Post Number: 1 Registered: 01-2007 |
Hi Bruce, For the 2-way MMS, I have successfully receive the MMS but I can't seem to get the sending of MMS to the php upload script to work. Below is the MMSCDEBUG log
Does it got to do with some of my settings? Thanks in advance | |||||||||||
dwi widayana New member Username: Dwi Post Number: 19 Registered: 09-2006 |
hi Mr. Malcolm I've success receive MMS in my Nokia. maybe there's something wrong with my samsung... btw i want to send MMS as reply from SMS but i ever read that the gateway won't generate SMIL file if i don't send MMS via the web interface. do you have the exampple of that php script that probably i can use? or i just modified the Send%20MMS%20Message script? in that script, is there any command that make the gatewaygenerate SMIL file and trigger the MMSCOMP? thanx for the answer ^_^ | |||||||||||
dwi widayana New member Username: Dwi Post Number: 20 Registered: 09-2006 |
hi, again i have php script for now sms or sending mms through the mms interface. that script work very well. it just i need more flexible one because on that script i should put a real phone number, while i want put a variable there so it can send mms back to the sender. when i put the variable there, it said invalid parameters. do u have any suggestion plz?? so if there's an incoming sms with a prefix match with prefix thati set in the gateway, it'll reply an mms contain picture and text. the pic and the text of the mms will depend on what the sms ask. the data wouldbe taken from a database. really need our help right now... thanx for d answer ^_^ |