13:59 Mon Sep  3, 2007
Cheap Hummer!

12:18 Tue Jul  4, 2006
Hummer Camp After

12:15 Tue Jul  4, 2006
Hummer Camp

Help Me Humpa
PHP and MMS Server Help
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


sending to other phones
Goto page 1, 2, 3  Next
 
Post new topic   Reply to topic    Help Me Humpa Forum Index -> MMS Pic Server by Humpa
View previous topic :: View next topic  
Author Message
dacool25



Joined: 29 Apr 2007
Posts: 60

PostPosted: Thu May 03, 2007 11:04 pm    Post subject: sending to other phones Reply with quote

Hello humpa, i've uploaded your mms server to my website and it seems like it is working pretty good. Right now whenever i try to upload something to pixplace(your mms server) it says that it failed, however it really does work. But when i try to send a picture to another phone, it also says that it failed and doesn't go to the phone, it ends up in the server. How can i fix this.

Right now i am using a sch-u740 and the strings that i have changed in the phone are:

PIC_MSG_SERVER:A> http://mms.vtext.com/servlets.mms
~to~
PIC_MSG_SERVER:A> http://mysite/mms

other things that i can change are:
MMS_USERNAME_COM:A> 8603197610@vzw3g.com
MMS_PASSWORD_COM:A> vzw
PIC_MSG_SERVER_T:A> http://vzpix.com/servlets/mms
PIC_MSG_SERVER_D:A> http://211.232.66.170/mms
^^those are the defaults in the phone

Thanks humpa!
Back to top
View user's profile Send private message
Humpa
Site Admin


Joined: 06 Nov 2005
Posts: 10258

PostPosted: Thu May 03, 2007 11:15 pm    Post subject: Reply with quote

I assume you changed your pic msg server to http://mysite/mms/send.php, right?

I'm not sure about not getting a message sent confirmation, that could be the way the 740 handles the response, or it could be an error in my script, but an error that doesn't affect the script from saving properly.

To determine what is wrong, you can try a few things.

1. change your setting to http://www.humpa.com/humpa_mms/send.php and see if that gives you the message sent message (my test/demo page won't forward to an email/phonenumber, so don't bother trying that.
2. try the send_test.php file. unzip the send_test.zip and put the send_test.php file in your mms folder and point your browser to it (don't send to it, just go to the send_test.php from internet explorer). See if you see an error message.

For your mail issue, unzip the mail_test.zip and put the mail_test.php file in your mms folder and point your browser to it. Tell me what it says/what happens.
Back to top
View user's profile Send private message
dacool25



Joined: 29 Apr 2007
Posts: 60

PostPosted: Fri May 04, 2007 10:58 am    Post subject: Reply with quote

Okay, well i did those two tests, and they both came back with no errors. I also realized that in the config.php file the email that i told it to be sending to, wasn't actually an email address.

Now i can send pictures to an email address from my phone and it says "message sent" however when i try to send one to another phone it says that it failed. (keep in mind it also says this when i upload to pix place[mms] and it really works) So i really have no ideas left. I think that it may be the settings in which i told it to use the pic server, because on the u740 you go through a secret dialog window to customize everything as opposed to seem editing everything, and there are a few that i could of used and i wasn't sure if they were correct. Right now i am using

Code:
PIC_MSG_SERVER:A> http://mms.vtext.com/servlets.mms

^that was what it was set for default. I changed it to my pic server. (P.S. what is .mms?)

But some other pic server related ones are:

Code:
MMS_USERNAME_COM:A> 8603197610@vzw3g.com
MMS_PASSWORD_COM:A> vzw
PIC_MSG_SERVER_T:A> http://vzpix.com/servlets/mms
PIC_MSG_SERVER_D:A> http://211.232.66.170/mms


Now as of right now, those are all left the way that they appear in my phone. Should i change back the first one and try pic_msg_server_T or D?

Thanks for all of your help humpa.

EDIT- I just noticed that the picture that i tried to send to the other verizon phone showed up in my index.php file, with the text that i wanted it to send. Should i be sending picture messages to 10digit#@vzw.com instead of just their numbers?
Back to top
View user's profile Send private message
Humpa
Site Admin


Joined: 06 Nov 2005
Posts: 10258

PostPosted: Fri May 04, 2007 11:11 am    Post subject: Reply with quote

you should be able to send to 10digitnumber, so long as you have that setup correctly in your config.php
Code:
$save_forwarded_mms = "yes"; // set this to "no" if you don't want your mms messages saved to your site when they are being sent to an email address!


                     // Set this to "yes" if you want to forward all ten digit numbers to the same email suffix/domain
                     //   this is for when you put a 10digit number in the "To" field when you Send as Message
                     //    be advised, you can only set this up for one carrier at a time
$forward_10digit_number_to_email_address = "yes";

      // this is the email suffix for Verizon Wireless - you can change it to another provider
$ten_digit_number_email_suffix = "@vzwpix.com";

But, you can simply send to 10digitnumber@vzwpix.com if that is working.

And unless you set the save_forwarded_mms = "no"; then all your forwarded mms messages are still going to also save to your webpage.

Do you get Message Sent if you send to pix place using http://www.humpa.com/humpa_mms/send.php ?

And you asked what "mms" is. Multimedia Messaging Service
Back to top
View user's profile Send private message
dacool25



Joined: 29 Apr 2007
Posts: 60

PostPosted: Fri May 04, 2007 11:44 am    Post subject: Reply with quote

well i misread the config.php file and i had my mobile phone number there before the @vzwpix.com, so i changed it to just "@vzwpix.com".

Also, i tried sending it to your test server, and it said that it failed, however it worked. I also can recieve picture messages from people (all i've tested is verizon) but cannot send them.

I'm officially puzzled.
Back to top
View user's profile Send private message
dacool25



Joined: 29 Apr 2007
Posts: 60

PostPosted: Fri May 04, 2007 12:56 pm    Post subject: Reply with quote

Okay everything is officially resolved. You can now add this to supported phones if you wish.

The instructions to change the pix server are messaging> settings> picture-video message> *> 740667>MMSC Domain> Your Humpa MMS server address!

Thats it, and just keep in mind that it says that sending failed, however it really does work.
Back to top
View user's profile Send private message
Humpa
Site Admin


Joined: 06 Nov 2005
Posts: 10258

PostPosted: Fri May 04, 2007 1:16 pm    Post subject: Reply with quote

But when you send to an email address, you do get a message sent success?

There is a small function in my code that is responsible for sending the message received code to the phone. The fact that the phone reads it correctly when you are forwarding to an email address as opposed to forwarding an email address is strange.

Is that what is happening?
Back to top
View user's profile Send private message
dacool25



Joined: 29 Apr 2007
Posts: 60

PostPosted: Fri May 04, 2007 1:25 pm    Post subject: Reply with quote

Well now that i've changed all of the settings, when sending to an email it also gives me an error. I'm not sure which setting that i changed that caused this, but it may be something to look into.
Back to top
View user's profile Send private message
Humpa
Site Admin


Joined: 06 Nov 2005
Posts: 10258

PostPosted: Fri May 04, 2007 1:38 pm    Post subject: Reply with quote

dacool25 wrote:
Well now that i've changed all of the settings, when sending to an email it also gives me an error. I'm not sure which setting that i changed that caused this, but it may be something to look into.
so, exactly when did it give you the message sent?
And when it did give you the message sent, was it actually saving the file to your webpage?

Send me your url and I'll try sending one from my phone this weekend if you want. Might as well at least try to fix that one issue! Wink
Back to top
View user's profile Send private message
dacool25



Joined: 29 Apr 2007
Posts: 60

PostPosted: Fri May 04, 2007 3:03 pm    Post subject: Reply with quote

I was just wondering, i am trying to get it to work to send to other cell phones besides verizon (i have verizon) and if we were to add another line to the config.php, would this work...

Code:
$forward_10digit_number_to_email_address = "yes";

      // this is the email suffix for Verizon Wireless - you can change it to another provider
$ten_digit_number_email_suffix = "@vzwpix.com";


To something like this:
Code:
$forward_10digit_number_to_email_address = "yes";

      // this is the email suffix for Verizon Wireless - you can change it to another provider
$ten_digit_number_email_suffix = "@vzwpix.com";
$ten_digit_number_email_suffix = "@mobile.mycingular.com";


Well atleast the code works in my head, it would try to send the picture message to every provider until it finds the one that works, and since there is only one version of your phone number you wouldn't be sending it to everyone.

So should this work?
Back to top
View user's profile Send private message
Humpa
Site Admin


Joined: 06 Nov 2005
Posts: 10258

PostPosted: Fri May 04, 2007 4:13 pm    Post subject: Reply with quote

No, with that code it would simply use the one you put second.
There is no way to determine what carrier someone is using - my code simply sends an email. If the email address is invalid, it will simply bounce back to the email address that is in the From field (the From field of the email that my code sends out - it is the admin_email that you filled out in the config.php).

The way real MMS servers work is that they pay for service - they are actually connected to the provider's cell phone MMS network somehow. We get around it by simply sending the mms message as an email, the email arrives at the provider and then the provider puts it on their MMS server and sends it to the phone.

I would use the provider you use the most. And then for the other providers, just put the persons phone's email address in your phonebook.
Back to top
View user's profile Send private message
dacool25



Joined: 29 Apr 2007
Posts: 60

PostPosted: Fri May 04, 2007 9:58 pm    Post subject: Reply with quote

Thats really a bummer. I wish there were some easier way to send to other providers. Now, i know close to nothing about PHP but would there be any way to write a code that does what i said. Basically write an email to other providers as well as verizon? If it's too much of a pain to research can you point me in the right direction?

Also, as of right now people from other services besides the service i am using cannot send me messages, is that right? Or is something wrong?
Back to top
View user's profile Send private message
Humpa
Site Admin


Joined: 06 Nov 2005
Posts: 10258

PostPosted: Fri May 04, 2007 10:13 pm    Post subject: Reply with quote

dacool25 wrote:
Thats really a bummer. I wish there were some easier way to send to other providers.

Also, people from other services cannot send to me..is that right?
If you want to send to numbers, like you can with text messages, then undo everything you've done and use your provider's service - just get a messaging package. That is exactly what it is for. Or, start up your own MMSC server - but I suspect that will cost an awful lot of money. MMS messages are not sent over the www like email is. They are sent over private cell networks.

It is rather easy to store their email address in your phonebook - you just have to do that once, and then you can use that and don't have to type anything ... or am I missing something?

And as far as people sending you mms messages, this workaround has absolutely no affect on that. This is strictly for the sending of MMS messages. You will receive MMS messages normally, along with all the normal rates/charges.
Back to top
View user's profile Send private message
dacool25



Joined: 29 Apr 2007
Posts: 60

PostPosted: Fri May 04, 2007 10:49 pm    Post subject: Reply with quote

I've gone back to defaults, but pixplace does not work =/ I'll check to see in the morning if i can still send and receive from people.

I guess messing around with this stuff is one of the many risks =P
Back to top
View user's profile Send private message
dacool25



Joined: 29 Apr 2007
Posts: 60

PostPosted: Sat May 05, 2007 9:05 am    Post subject: Reply with quote

Humpa, i hate to sound like a broken record, but i am trying to figure out how we can set up a humpa MMS server that will be able to use other providers. Now since you said that there is no way that you can get the code to send to multiple suffixes at once, perhaps we could make our own.

Is there any way that we could write a code in which you put the suffix of your choice, say @humpa.com, and then from there a code would handle the incoming message and then from there dispatch the message to all of the services until the right one is reached. Much like how a real MMS server works.

Thanks.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Help Me Humpa Forum Index -> MMS Pic Server by Humpa All times are GMT - 5 Hours
Goto page 1, 2, 3  Next
Page 1 of 3

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum