MMS processed on delay?

MMS processed on delay? SearchSearch
Author Message
Mike Conway
New member
Username: Mconway

Post Number: 1
Registered: 02-2011
Posted on Wednesday, February 23, 2011 - 04:41 pm:   

I hope this is an easy answer. I have NowSMS all set up to receive and process MMS messages via a PHP script. Everything is working fine, except it seems to take forever before the PHP script is actually invoked. Running tests, I have seen it take between 1 minute and 9 minutes before NowSMS marks the MMS as processed. Is there a reason in this time delay?

thanks!
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 2947
Registered: 08-2008
Posted on Wednesday, February 23, 2011 - 07:31 pm:   

Hi Mike,

I'm unclear about the timing issue ... whether it is on the front end or the back end of the PHP script.

In other words, if you look at the timing from the perspective of the PHP script, is there a long delay before the PHP script sees the message?

Or does the PHP script actually get processed in a timely fashion, but it takes a long time before NowSMS recognizes that the message has been processed and moves on to the next one?

It would probably help me understand if I could see an MMSCDEBUG.LOG that shows a message being processed. (This log gets enabled by a checkbox option on the "Serial #" page.) Either post the MMSCDEBUG.LOG in reply here, or send it to nowsms@nowsms.com with Attention: Des in the subject line of the message. (If you do send it via e-mail, post a follow-up reply here so that I know to go look for it.)

We did recently have a problem reported with our "Send MMS" PHP script where some versions were generating a "Content-Length:" header incorrectly which was causing some delays (http://support.nowsms.com/discus/messages/485/69868.html). But that doesn't sound like it is related, unless by some chance you are calling this other PHP script during your processing.

--
Des
NowSMS Support
Mike Conway
New member
Username: Mconway

Post Number: 2
Registered: 02-2011
Posted on Wednesday, February 23, 2011 - 07:44 pm:   

Des:

I just sent you my log files via email. The delay is happening before the MMS gets sent to PHP. NowSMS shows 2 sms messages received, then a delay of 1-9 minutes or more before the message is "processed" and forwarded to PHP. I hope that helps clarify.
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 2948
Registered: 08-2008
Posted on Wednesday, February 23, 2011 - 09:25 pm:   

Hi Mike,

Ok ... this might be simple after all.

Try changing the WAP Gateway IP address in the "Receive MMS Settings" from:

66.209.11.61

to

http://66.209.11.32:8080

Be sure to include that "http://" prefix as it signals the type of connection to be made.

Make a similar change on the sending side in the "MMSC Routing" area once you confirm this is working well.

It seems that more and more operators are shutting down or not maintaining their old WAP/WSP proxies as well, but this new address should work more reliably for AT&T.

--
Des
NowSMS Support
Mike Conway
New member
Username: Mconway

Post Number: 3
Registered: 02-2011
Posted on Wednesday, February 23, 2011 - 09:35 pm:   

It seems like things are much faster now, I'll do some more tests, but i would say its looking good at this point. Thanks!