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 

SPV problems

 
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
trevi



Joined: 13 Nov 2003
Posts: 10

PostPosted: Mon Mar 29, 2004 1:49 am    Post subject: SPV problems Reply with quote

Hey Stephan,

I recently bought a SPV E 200 of orange but
it doesn't work fine with mms diary.
Is there something I can do with the headers?
Or is there a way that I can check the headers the phone is
sending?
Maybe I can connect to a script of yours and you can read out the headers.
My phone is connecting to the script because I can see the connection in my log file.

thx in advance!
Back to top
View user's profile Send private message
Peffis
Site Admin


Joined: 09 Sep 2003
Posts: 324
Location: Sweden

PostPosted: Mon Mar 29, 2004 4:35 pm    Post subject: Reply with quote

Well what you could do is to change the script so that it writes the $HTTP_RAW_POST_DATA variable to a file. Then you could analyze that one and see if something goes wrong with the script. Simply make a small PHP-script that you run locally on your machine that just invokes the parser. You can also change the mmslib and set debug to 1. It will then print out some log while it parses.

The actual HTTP headers are not important though. MMS Diary doesn't care about them as long as the Content-type is application/vnd.wap.mms-message
(if it's not it will simply reject the message, perhaps your phone is sending it with a weird content-type?)
Back to top
View user's profile Send private message Visit poster's website
trevi



Joined: 13 Nov 2003
Posts: 10

PostPosted: Mon Mar 29, 2004 4:57 pm    Post subject: Reply with quote

THX will try this later on today!
Back to top
View user's profile Send private message
trevi



Joined: 13 Nov 2003
Posts: 10

PostPosted: Tue Apr 13, 2004 12:17 am    Post subject: Reply with quote

Hey Stefan,

I tested it more then once but it will not work Sad
Now I am mailing it to an emailadres. Isn't there a possibilty to have
a script read the pop3 mailbox and then post it to send.php?
I have cronjob etc so that is not the problem. But is there a possibilty to have
it work that away?

Owyeah, I can only make a mailbox or a forwarder. I can not use the recmail.pl! Confused
Back to top
View user's profile Send private message
Peffis
Site Admin


Joined: 09 Sep 2003
Posts: 324
Location: Sweden

PostPosted: Tue Apr 13, 2004 8:51 am    Post subject: Reply with quote

I see.

Yes, it would be possible of course to pop the mail off a mail account. But, but, but...it would be a bit awkward to then post it towards send.php because you would have to encode the mime-multipart that is the email to the binary mms format because send.php accepts only that format - the format sent by the phones. So that would require much work from your side as my current mmslib does only do decoding and not encoding. Encoding is just as complicated as decoding so it would require much studying of the mms specifications at wapforum. Therefore I think that in that case your best bet is to avoid send.php altogether and simply just use some library that decodes an email instead (or use a program such as munpack that I use in Peffisaur) and, if you want to use MMS Diary or Peffisaur to display the messages, stores the parts as send.php does.
Back to top
View user's profile Send private message Visit poster's website
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