hellkvist.org Forum Index hellkvist.org
Discussions about the free software on hellkvist.org
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

MMS Diary additions

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    hellkvist.org Forum Index -> MMS Diary
View previous topic :: View next topic  
Author Message
jonnydeath
Guest





PostPosted: Tue Nov 30, 2004 2:47 pm    Post subject: MMS Diary additions Reply with quote

Hello,
I was able to set up my LG VX6100 verizon phone to use mms diary.
http://www.howardforums.com/showthread.php?s=&threadid=507467

I am having trouble adding a hook to convert the sound file (a .3g2) to a wave ( i have the conversion program). The problem is I don't know what content type/extension it is sent as to create a hook. It is displayed as a .bin in mms diary, so I tried that as well as .3g2. Is there a way to do a dump to see what is actually in the message? The .smil and the info.txt just says its audio file, no extension:

<smil><head><layout><root-layout width="128px" height="115px" /><region id="Imag
e" width="128px" height="102px" top="37px" left="0px" fit="hidden" /><region id=
"Text" width="128px" height="13px" top="24px" left="0px" fit="hidden" /></layout
></head><body><par dur="0ms" ><audio src="Nov 27,8:20 pm" /></par></body></smil>

also, it would be great to have a hook that would email this out to the send to address if it is different than the sender number.
Back to top
Peffis
Site Admin


Joined: 09 Sep 2003
Posts: 324
Location: Sweden

PostPosted: Fri Dec 03, 2004 1:53 pm    Post subject: Reply with quote

First of all. The extension the phone sends is not important. The extension is simply to tell MMS Diary what it should add on the file name. So add the extension .3g2 if that's what these files use most of the time.

As for the media type you will need to try and find out someway or the other what it is. Either search on the internet (mime type 3g2 and so on) or write the whole data you receive from the phone to a file (edit send.php and do an fwrite of the whole HTTP_RAW_POST_DATA to a file). Then look through the file for something like audio/3g2 or something like that.
Back to top
View user's profile Send private message Visit poster's website
jonnydeath
Guest





PostPosted: Fri Dec 03, 2004 3:34 pm    Post subject: Reply with quote

thank for the responce. I found it:
audio/vnd.qcelp

It was really a Qualcom Pure Voice file.

Now I am just trying to decode the $md->to field so I can use MMS diary to forward messages to emails. It seems when I try to send an MMS to multiple email address the adresses $md->to field returns one long word. I need to figure out if this is my phone's doing or what.

Also if the email address is bogus I get $md->to = XXX/TYPE=PLMN where XXX is the bogus email address.

I will try writing out the entire HTTP_RAW_POST_DATA and see what I can find.

thanks for this nice piece of code
Back to top
v710user



Joined: 02 Mar 2005
Posts: 3

PostPosted: Wed Mar 02, 2005 7:23 pm    Post subject: Reply with quote

let us know if you figure out how to send MMS via email. I cannot get this.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    hellkvist.org Forum Index -> MMS Diary All times are GMT + 1 Hour
Page 1 of 1

 
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


Powered by phpBB © 2001, 2005 phpBB Group