[Users] malformed MMS packet on Interface -- receiving MMS using GPRS Modem

2010-04-15 Thread aftab hussain
] [1] DEBUG:   data: 38 31 38 31 0d 0a 43 6f 6e 6e
65 63 74 69 6f 6e   8181..Connection
2010-04-14 15:34:34 [10672] [1] DEBUG:   data: 3a 20 6b 65 65 70 2d 61 6c 69
76 65 0d 0a 55 73   : keep-alive..Us
2010-04-14 15:34:34 [10672] [1] DEBUG:   data: 65 72 2d 41 67 65 6e 74 3a 20
4b 61 6e 6e 65 6c   er-Agent: Kannel
2010-04-14 15:34:34 [10672] [1] DEBUG:   data: 2f 31 2e 34 2e 33 0d 0a 0d
0a /1.4.3
2010-04-14 15:34:34 [10672] [1] DEBUG: Octet string dump ends.
2010-04-14 15:34:34 [10672] [1] DEBUG: HTTP: Status line: HTTP/1.1 403
Forbidden
2010-04-14 15:34:34 [10672] [1] DEBUG: HTTP: Received response:
2010-04-14 15:34:34 [10672] [1] DEBUG: Octet string at 0x815a438:
2010-04-14 15:34:34 [10672] [1] DEBUG:   len:  154
2010-04-14 15:34:34 [10672] [1] DEBUG:   size: 1024
2010-04-14 15:34:34 [10672] [1] DEBUG:   immutable: 0
2010-04-14 15:34:34 [10672] [1] DEBUG:   data: 53 65 72 76 65 72 3a 20 4b 61
6e 6e 65 6c 2f 31   Server: Kannel/1
2010-04-14 15:34:34 [10672] [1] DEBUG:   data: 2e 34 2e 33 0d 0a 44 61 74 65
3a 20 57 65 64 2c   .4.3..Date: Wed,
2010-04-14 15:34:34 [10672] [1] DEBUG:   data: 20 31 34 20 41 70 72 20 32 30
31 30 20 31 30 3a14 Apr 2010 10:
2010-04-14 15:34:34 [10672] [1] DEBUG:   data: 33 34 3a 33 34 20 47 4d 54 0d
0a 43 6f 6e 74 65   34:34 GMT..Conte
2010-04-14 15:34:34 [10672] [1] DEBUG:   data: 6e 74 2d 4c 65 6e 67 74 68 3a
20 34 37 0d 0a 43   nt-Length: 47..C
2010-04-14 15:34:34 [10672] [1] DEBUG:   data: 6f 6e 74 65 6e 74 2d 54 79 70
65 3a 20 74 65 78   ontent-Type: tex
2010-04-14 15:34:34 [10672] [1] DEBUG:   data: 74 2f 70 6c 61 69 6e 0d 0a 0d
0a 6d 6d 73 62 6f   t/plainmmsbo
2010-04-14 15:34:34 [10672] [1] DEBUG:   data: 78 2d 6d 6d 31 3a 20 6d 61 6c
2d 66 6f 72 6d 65   x-mm1: mal-forme
2010-04-14 15:34:34 [10672] [1] DEBUG:   data: 64 20 6d 6d 73 20 70 61 63 6b
65 74 20 6f 6e 20   d mms packet on
2010-04-14 15:34:34 [10672] [1] DEBUG:   data: 69 6e 74 65 72 66 61 63 65
21 interface!
2010-04-14 15:34:34 [10672] [1] DEBUG: Octet string dump ends.
2010-04-14 15:34:34 [10672] [7] INFO: No reply sent, denied.

Please have a look and guide me as to what is going wrong.

Best Regards
-- 
Aftab Hussain
Research Assistant,
High Performance Computing Lab, NUST SEECS
+923225046338
___
Users mailing list
Users@mbuni.org
http://lists.mbuni.org/mailman/listinfo/users


Re: [Users] Re:Sample Php script file

2010-04-05 Thread aftab hussain
Hi, please find the attached Php Script. This will solve your issue.

Best Regards

On Mon, Apr 5, 2010 at 5:12 AM, pramod b pramodbo...@gmail.com wrote:

 Hi All
 I am using a c program as cgi as mms-service in the http server.
 I am able to receive  the content length and content form MMSBox in my cgi
 using getenv(CONTENT_LENGTH).
 But i uanble to get X-Mbuni headers in the cgi Which were encoded by MMSC.

 How to get those headers(X-Mbuni-From ,x-Mbuni-To etc...) using c program
 or plz provide sample PHP script to decode all these headers and content.



 Regards
 Pramod


 ___
 Users mailing list
 Users@mbuni.org
 http://lists.mbuni.org/mailman/listinfo/users




-- 
Aftab Hussain
Research Assistant,
High Performance Computing Lab, NUST SEECS
+923225046338
attachment: upload.php
___
Users mailing list
Users@mbuni.org
http://lists.mbuni.org/mailman/listinfo/users


[Users] Low quality/low Resolution images reception with mbuni

2010-04-05 Thread aftab hussain
Dear All,
 I am trying to receive images using mbuni from mobile phones
(currently I am using Nokia N-70). I can receive and save the images
properly but the image resolution is not the same as it is actual in the
mobile phone. Can any one guide me in this regard.

Nuno Freitas, mentioned some changes in the code for the MM1 interface (
http://www.mail-archive.com/users@mbuni.org/msg01844.html), but I assume
that would work for the MMS reception via GSM modem, in my case, I specified
the global IP of the mbuni installed machine in the mobile phone so the
mobile phone directly sends the MMS to Mbuni, skipping operator's MMSC.

Here are my config for the MMSC and MMSBOX. Please find the logs files as
well.

**  MMSBOX Conf **
group = core
log-file = mmsbox.log
access-log = mmsbox-access.log
log-level = 0

group = mbuni
storage-directory = /mms
max-send-threads = 5
maximum-send-attempts = 50
default-message-expiry = 36
queue-run-interval = 5
send-attempt-back-off = 300
sendmms-port = 10001

group = mmsc
id = local
mmsc-url = http://mbuni:t...@localhost:1962/soap
incoming-username = user
incoming-password = pass
incoming-port = 12345
type = soap

group = mms-service
name = me
#post-url = http://10.3.17.35/uploader.php
post-url = http://localhost/mmsrecv.php
catch-all = true
http-post-parameters = fx=trueimages[]=%itext[]=%t
#skip=1
accept-x-mbuni-headers = true
pass-thro-headers = X-NOKIA-MMSC-Charging,X-NOKIA-MMSC-Charged-Party
keyword = test
omit-empty = no
#suppress-reply = true
service-code = regular

group = mms-service
name = fullmessage
get-url = http://localhost/images/apache_pb.gif
# http-post-parameters = fx=trueimage=%itext=%t
accept-x-mbuni-headers = true
keyword = thixs

group = send-mms-user
username = tester
password = foobar
faked-sender = 100

  MMSC Conf **

group = core
log-file = mbuni-mmsc.log
access-log = mmsc-access.log
log-level = 0

group = mbuni
name = My MMSC
hostname = ..edu.pk
local-prefixes = +92;
storage-directory = /mms
max-send-threads = 5
maximum-send-attempts = 50
default-message-expiry = 36
queue-run-interval = 5
send-attempt-back-off = 300
sendsms-url = http://10.3.17.35:13013/cgi-bin/sendsms?smsc=at;
sendsms-global-sender=00923225046352
allow-ip = *.*.*.*
#http://localhost:13013/cgi-bin/sendsms
sendsms-username = tester
sendsms-password = foobar
mms-port = 1961
mm7-port = 1962
optimize-notification-size=true
content-adaptation = false
notify-unprovisioned = yes
mms-notify-text = You have received a multimedia message.

group = mms-vasp
vasp-id = newscorp
type = soap
short-code = 111
vasp-username = mbuni
vasp-password = test
vasp-url = http://user:p...@localhost:12345/

Best Regards

-- 
Aftab Hussain
Research Assistant,
High Performance Computing Lab, NUST SEECS
+923225046338
___
Users mailing list
Users@mbuni.org
http://lists.mbuni.org/mailman/listinfo/users


[Users] Sending and Retrieving MMS from Operator MMSC with Mbuni

2010-04-03 Thread aftab hussain
Dear All,
 I want to send and retrieve MMS from Operator MMSC. Can any
give me some guidelines as to how to go for it and what components should I
use and what should be the configuration for the setup. Your urgent help
would be appreciated.

Thanks and best Regards

-- 
Aftab Hussain
Research Assistant,
High Performance Computing Lab, NUST SEECS
+923225046338
___
Users mailing list
Users@mbuni.org
http://lists.mbuni.org/mailman/listinfo/users


Re: [Users] List of Mobile Phones/GPRS modems that support forwarding SMS WAP Push messages

2010-02-22 Thread aftab hussain
Hi, look for correct AT+CNMI configurations. Some nokia phone does the
similar, you can send an sms through it, but can't pass the notification to
Kannel. Hope this helps.

Best Regards,

Aftab Hussain

On Wed, Feb 17, 2010 at 8:31 PM, Ben Hardill b.hard...@gmail.com wrote:

 Hi,

 Do we want to start a list devices that can be used with the MBuni to send
 and receive MMS messages over the air?

 I've tries with a couple of Sony Ericsson phones I have access to and so
 far had no joy as the handset seams to intercepting the messages and not
 passing them on to kannel (if anybody knows the AT commands to change this
 (if possible) I would be very grateful).

 So here is the start of a list

 Phone  | Send MMS | Receive MMS |
 Sony Ericsson W880i   |   yes| no   |
 Sony Ericsson T68i  |   yes| no   |


 Thanks

 Ben Hardill

 ___
 Users mailing list
 Users@mbuni.org
 http://lists.mbuni.org/mailman/listinfo/users




-- 
Aftab Hussain
Research Assistant,
High Performance Computing Lab, NUST SEECS
+923225046338
___
Users mailing list
Users@mbuni.org
http://lists.mbuni.org/mailman/listinfo/users


Re: [Users] Sending a Picture MMS from GSM Modem to handphone directly

2010-01-15 Thread aftab hussain
Hi, use mmslib, its a good conversion tool for creating binary mms files.

Best Regards,

Aftab Hussain

On Fri, Jan 15, 2010 at 2:32 AM, Dennis Low Weng Kin powered182...@live.com
 wrote:

  Hi,

 I am newbie in using Mbuni. What I want to accomplish with Mbuni is to be
 able generate a picture MMS and send the MMS to handphones through a GSM
 Modem connected to my Mbuni machine. The following are the lists of things
 that I want to clarify regarding Mbuni and I hope that you guys can help me
 out here.

1. Am I able to create and send out the picture MMS from my machine
through the GSM/GPRS modem using Mbuni?
2. I have setup and configured Mbuni in my machine and get the mmsproxy
and mmsrelay running. How can I send out a testing MMS? From what I read
from this site 
http://thilani.wordpress.com/2009/07/15/running-mbuni-as-a-mmsc/, I
can use the mmssend to send out the MMS. What I don't understand is what is
the file with the .mms extension? How to generate the MMS file? How do I
include the picture that I want into the MMS?



 Regards,
 Low

 --
 Windows 7: Simplify what you do everyday. Find the right PC for 
 you.http://windows.microsoft.com/shop

 ___
 Users mailing list
 Users@mbuni.org
 http://lists.mbuni.org/mailman/listinfo/users


___
Users mailing list
Users@mbuni.org
http://lists.mbuni.org/mailman/listinfo/users


[Users] OTA Settings problem, help required

2010-01-14 Thread aftab hussain
Dear All,
 I am trying to send OTA settings to mobile devices using
/cgi/bin/sendota interface from php. But I am getting the following error:

2010-01-14 15:50:31 [18727] [6] DEBUG: no match found: ^[ ]*(nop)[ ]*
2010-01-14 15:50:31 [18727] [6] DEBUG: no match found: ^[ ]*(hi)[ ]*
2010-01-14 15:50:31 [18727] [6] DEBUG: no match found: ^[ ]*(srv)[ ]*
2010-01-14 15:50:31 [18727] [6] DEBUG: no match found: ^[ ]*(mms)[ ]*
2010-01-14 15:50:31 [18727] [6] DEBUG: match found: ^[ ]*(ota)[ ]*
2010-01-14 15:50:31 [18727] [6] INFO: Starting to service Ota from
+923225046338 to 00923225046352
2010-01-14 15:50:31 [18727] [2] DEBUG: Queue contains 0 pending requests.
2010-01-14 15:50:31 [18727] [2] DEBUG: HTTPS URL; Using SSL for the
connection
2010-01-14 15:50:31 [18727] [2] DEBUG: Parsing URL `
https://10.3.20.136/interface/kannel_setup/ota_settings.php?sender=%2B923225046338
':
2010-01-14 15:50:31 [18727] [2] DEBUG:   Scheme: https://
2010-01-14 15:50:31 [18727] [2] DEBUG:   Host: 10.3.20.136
2010-01-14 15:50:31 [18727] [2] DEBUG:   Port: 443
2010-01-14 15:50:31 [18727] [2] DEBUG:   Username: (null)
2010-01-14 15:50:31 [18727] [2] DEBUG:   Password: (null)
2010-01-14 15:50:31 [18727] [2] DEBUG:   Path:
/interface/kannel_setup/ota_settings.php
2010-01-14 15:50:31 [18727] [2] DEBUG:   Query: sender=%2B923225046338
2010-01-14 15:50:31 [18727] [2] DEBUG:   Fragment: (null)
2010-01-14 15:50:31 [18727] [2] DEBUG: HTTP: Opening connection to `
10.3.20.136:443' (fd=28).
2010-01-14 15:50:31 [18727] [2] DEBUG: Socket connecting
2010-01-14 15:50:31 [18727] [1] DEBUG: Get info about connecting socket
2010-01-14 15:50:31 [18727] [1] DEBUG: HTTP: Sending request:
2010-01-14 15:50:31 [18727] [1] DEBUG: Octet string at 0x8156dc8:
2010-01-14 15:50:31 [18727] [1] DEBUG:   len:  153
2010-01-14 15:50:31 [18727] [1] DEBUG:   size: 1024
2010-01-14 15:50:31 [18727] [1] DEBUG:   immutable: 0
2010-01-14 15:50:31 [18727] [1] DEBUG:   data: 47 45 54 20 2f 69 6e 74 65 72
66 61 63 65 2f 6b   GET /interface/k
2010-01-14 15:50:31 [18727] [1] DEBUG:   data: 61 6e 6e 65 6c 5f 73 65 74 75
70 2f 6f 74 61 5f   annel_setup/ota_
2010-01-14 15:50:31 [18727] [1] DEBUG:   data: 73 65 74 74 69 6e 67 73 2e 70
68 70 3f 73 65 6e   settings.php?sen
2010-01-14 15:50:31 [18727] [1] DEBUG:   data: 64 65 72 3d 25 32 42 39 32 33
32 32 35 30 34 36   der=%2B923225046
2010-01-14 15:50:31 [18727] [1] DEBUG:   data: 33 33 38 20 48 54 54 50 2f 31
2e 31 0d 0a 48 6f   338 HTTP/1.1..Ho
2010-01-14 15:50:31 [18727] [1] DEBUG:   data: 73 74 3a 20 31 30 2e 33 2e 32
30 2e 31 33 36 3a   st: 10.3.20.136:
2010-01-14 15:50:31 [18727] [1] DEBUG:   data: 34 34 33 0d 0a 43 6f 6e 6e 65
63 74 69 6f 6e 3a   443..Connection:
2010-01-14 15:50:31 [18727] [1] DEBUG:   data: 20 6b 65 65 70 2d 61 6c 69 76
65 0d 0a 55 73 65keep-alive..Use
2010-01-14 15:50:31 [18727] [1] DEBUG:   data: 72 2d 41 67 65 6e 74 3a 20 4b
61 6e 6e 65 6c 2f   r-Agent: Kannel/
2010-01-14 15:50:31 [18727] [1] DEBUG:   data: 31 2e 34 2e 33 0d 0a 0d
0a1.4.3
2010-01-14 15:50:31 [18727] [1] DEBUG: Octet string dump ends.
2010-01-14 15:50:31 [18727] [4] DEBUG: HTTP: Creating HTTPClient for
`10.3.20.136'.
2010-01-14 15:50:31 [18727] [4] DEBUG: HTTP: Created HTTPClient area
0x81688a0.
2010-01-14 15:50:31 [18727] [5] INFO: smsbox: Got HTTP request
/cgi-bin/sendota from 10.3.20.136
2010-01-14 15:50:31 [18727] [5] INFO: sendsms used by OTA_sender
2010-01-14 15:50:31 [18727] [5] DEBUG: OTA service with XML document
2010-01-14 15:50:31 [18727] [5] ERROR: OTA: No document to parse. Probably
an error in OTA source
2010-01-14 15:50:31 [18727] [5] DEBUG: Status: 400 Answer: Erroneous ota
source, cannot compile

2010-01-14 15:50:31 [18727] [5] DEBUG: HTTP: Destroying HTTPClient area
0x81688a0.
2010-01-14 15:50:31 [18727] [5] DEBUG: HTTP: Destroying HTTPClient for
`10.3.20.136'.
2010-01-14 15:50:31 [18727] [1] DEBUG: HTTP: Status line: HTTP/1.1 200 OK
2010-01-14 15:50:31 [18727] [1] DEBUG: HTTP: Received response:
2010-01-14 15:50:31 [18727] [1] DEBUG: Octet string at 0x815e148:
2010-01-14 15:50:31 [18727] [1] DEBUG:   len:  201
2010-01-14 15:50:31 [18727] [1] DEBUG:   size: 1024
2010-01-14 15:50:31 [18727] [1] DEBUG:   immutable: 0
2010-01-14 15:50:31 [18727] [1] DEBUG:   data: 44 61 74 65 3a 20 54 68 75 2c
20 31 34 20 4a 61   Date: Thu, 14 Ja
2010-01-14 15:50:31 [18727] [1] DEBUG:   data: 6e 20 32 30 31 30 20 30 39 3a
34 31 3a 31 33 20   n 2010 09:41:13
2010-01-14 15:50:31 [18727] [1] DEBUG:   data: 47 4d 54 0d 0a 53 65 72 76 65
72 3a 20 41 70 61   GMT..Server: Apa
2010-01-14 15:50:31 [18727] [1] DEBUG:   data: 63 68 65 2f 32 2e 32 2e 31 30
20 28 4c 69 6e 75   che/2.2.10 (Linu
2010-01-14 15:50:31 [18727] [1] DEBUG:   data: 78 2f 53 55 53 45 29 0d 0a 58
2d 50 6f 77 65 72   x/SUSE)..X-Power
2010-01-14 15:50:31 [18727] [1] DEBUG:   data: 65 64 2d 42 79 3a 20 50 48 50
2f 35 2e 32 2e 39   ed-By: PHP/5.2.9
2010-01-14 15:50:31 [18727] [1] DEBUG:   data: 0d 0a 43 6f 6e 74 65 6e 74 2d
4c 65 6e 67 74 68   

[Users] Fwd: OTA Settings problem, help required

2010-01-14 Thread aftab hussain
Sorry I was suppose to post it on kannel users list, I mistakenly posted it
to mbuni users list. I apologize for this.

Any ways, I am trying to send OTA settings for my MMS module, and I am stuck
here. I would appreciate help from anyone on this list.


Best Regards,

Aftab Hussain

-- Forwarded message --
From: aftab hussain aftab.huss...@seecs.edu.pk
Date: Thu, Jan 14, 2010 at 2:31 AM
Subject: OTA Settings problem, help required
To: users@mbuni.org


Dear All,
 I am trying to send OTA settings to mobile devices using
/cgi/bin/sendota interface from php. But I am getting the following error:

2010-01-14 15:50:31 [18727] [6] DEBUG: no match found: ^[ ]*(nop)[ ]*
2010-01-14 15:50:31 [18727] [6] DEBUG: no match found: ^[ ]*(hi)[ ]*
2010-01-14 15:50:31 [18727] [6] DEBUG: no match found: ^[ ]*(srv)[ ]*
2010-01-14 15:50:31 [18727] [6] DEBUG: no match found: ^[ ]*(mms)[ ]*
2010-01-14 15:50:31 [18727] [6] DEBUG: match found: ^[ ]*(ota)[ ]*
2010-01-14 15:50:31 [18727] [6] INFO: Starting to service Ota from
+923225046338 to 00923225046352
2010-01-14 15:50:31 [18727] [2] DEBUG: Queue contains 0 pending requests.
2010-01-14 15:50:31 [18727] [2] DEBUG: HTTPS URL; Using SSL for the
connection
2010-01-14 15:50:31 [18727] [2] DEBUG: Parsing URL `
https://10.3.20.136/interface/kannel_setup/ota_settings.php?sender=%2B923225046338
':
2010-01-14 15:50:31 [18727] [2] DEBUG:   Scheme: https://
2010-01-14 15:50:31 [18727] [2] DEBUG:   Host: 10.3.20.136
2010-01-14 15:50:31 [18727] [2] DEBUG:   Port: 443
2010-01-14 15:50:31 [18727] [2] DEBUG:   Username: (null)
2010-01-14 15:50:31 [18727] [2] DEBUG:   Password: (null)
2010-01-14 15:50:31 [18727] [2] DEBUG:   Path:
/interface/kannel_setup/ota_settings.php
2010-01-14 15:50:31 [18727] [2] DEBUG:   Query: sender=%2B923225046338
2010-01-14 15:50:31 [18727] [2] DEBUG:   Fragment: (null)
2010-01-14 15:50:31 [18727] [2] DEBUG: HTTP: Opening connection to `
10.3.20.136:443' (fd=28).
2010-01-14 15:50:31 [18727] [2] DEBUG: Socket connecting
2010-01-14 15:50:31 [18727] [1] DEBUG: Get info about connecting socket
2010-01-14 15:50:31 [18727] [1] DEBUG: HTTP: Sending request:
2010-01-14 15:50:31 [18727] [1] DEBUG: Octet string at 0x8156dc8:
2010-01-14 15:50:31 [18727] [1] DEBUG:   len:  153
2010-01-14 15:50:31 [18727] [1] DEBUG:   size: 1024
2010-01-14 15:50:31 [18727] [1] DEBUG:   immutable: 0
2010-01-14 15:50:31 [18727] [1] DEBUG:   data: 47 45 54 20 2f 69 6e 74 65 72
66 61 63 65 2f 6b   GET /interface/k
2010-01-14 15:50:31 [18727] [1] DEBUG:   data: 61 6e 6e 65 6c 5f 73 65 74 75
70 2f 6f 74 61 5f   annel_setup/ota_
2010-01-14 15:50:31 [18727] [1] DEBUG:   data: 73 65 74 74 69 6e 67 73 2e 70
68 70 3f 73 65 6e   settings.php?sen
2010-01-14 15:50:31 [18727] [1] DEBUG:   data: 64 65 72 3d 25 32 42 39 32 33
32 32 35 30 34 36   der=%2B923225046
2010-01-14 15:50:31 [18727] [1] DEBUG:   data: 33 33 38 20 48 54 54 50 2f 31
2e 31 0d 0a 48 6f   338 HTTP/1.1..Ho
2010-01-14 15:50:31 [18727] [1] DEBUG:   data: 73 74 3a 20 31 30 2e 33 2e 32
30 2e 31 33 36 3a   st: 10.3.20.136:
2010-01-14 15:50:31 [18727] [1] DEBUG:   data: 34 34 33 0d 0a 43 6f 6e 6e 65
63 74 69 6f 6e 3a   443..Connection:
2010-01-14 15:50:31 [18727] [1] DEBUG:   data: 20 6b 65 65 70 2d 61 6c 69 76
65 0d 0a 55 73 65keep-alive..Use
2010-01-14 15:50:31 [18727] [1] DEBUG:   data: 72 2d 41 67 65 6e 74 3a 20 4b
61 6e 6e 65 6c 2f   r-Agent: Kannel/
2010-01-14 15:50:31 [18727] [1] DEBUG:   data: 31 2e 34 2e 33 0d 0a 0d
0a1.4.3
2010-01-14 15:50:31 [18727] [1] DEBUG: Octet string dump ends.
2010-01-14 15:50:31 [18727] [4] DEBUG: HTTP: Creating HTTPClient for
`10.3.20.136'.
2010-01-14 15:50:31 [18727] [4] DEBUG: HTTP: Created HTTPClient area
0x81688a0.
2010-01-14 15:50:31 [18727] [5] INFO: smsbox: Got HTTP request
/cgi-bin/sendota from 10.3.20.136
2010-01-14 15:50:31 [18727] [5] INFO: sendsms used by OTA_sender
2010-01-14 15:50:31 [18727] [5] DEBUG: OTA service with XML document
2010-01-14 15:50:31 [18727] [5] ERROR: OTA: No document to parse. Probably
an error in OTA source
2010-01-14 15:50:31 [18727] [5] DEBUG: Status: 400 Answer: Erroneous ota
source, cannot compile

2010-01-14 15:50:31 [18727] [5] DEBUG: HTTP: Destroying HTTPClient area
0x81688a0.
2010-01-14 15:50:31 [18727] [5] DEBUG: HTTP: Destroying HTTPClient for
`10.3.20.136'.
2010-01-14 15:50:31 [18727] [1] DEBUG: HTTP: Status line: HTTP/1.1 200 OK
2010-01-14 15:50:31 [18727] [1] DEBUG: HTTP: Received response:
2010-01-14 15:50:31 [18727] [1] DEBUG: Octet string at 0x815e148:
2010-01-14 15:50:31 [18727] [1] DEBUG:   len:  201
2010-01-14 15:50:31 [18727] [1] DEBUG:   size: 1024
2010-01-14 15:50:31 [18727] [1] DEBUG:   immutable: 0
2010-01-14 15:50:31 [18727] [1] DEBUG:   data: 44 61 74 65 3a 20 54 68 75 2c
20 31 34 20 4a 61   Date: Thu, 14 Ja
2010-01-14 15:50:31 [18727] [1] DEBUG:   data: 6e 20 32 30 31 30 20 30 39 3a
34 31 3a 31 33 20   n 2010 09:41:13
2010-01-14 15:50:31 [18727] [1] DEBUG:   data: 47 4d 54 0d 0a 53 65 72 76 65

Re: [Users] How to start?

2010-01-13 Thread aftab hussain
Hi,
 Have a look at this tutorial, you can send MMS without even GSM/GPRS
modem.

http://thilani.wordpress.com/2009/07/15/running-mbuni-as-a-mmsc/

Hope this helps.

Best Regards,

Aftab Hussain

On Wed, Jan 13, 2010 at 11:21 PM, Dennis Low Weng Kin 
powered182...@live.com wrote:

  Hi,

 I am new to Mbuni. I am desperately in need of and application to send a
 picture MMS from my web server to the client handphone through a GSM/GPRS
 modem.
 Can anyone tell me which part of documentation that I should follow for the
 Mbuni setup? Should I configure as MM1 or MM7?

 Thank you.

 Regards,
 Low

 --
 Windows 7: Simplify what you do everyday. Find the right PC for 
 you.http://windows.microsoft.com/shop

 ___
 Users mailing list
 Users@mbuni.org
 http://lists.mbuni.org/mailman/listinfo/users


___
Users mailing list
Users@mbuni.org
http://lists.mbuni.org/mailman/listinfo/users


Re: [Users] MMS Sending from mobile phone to Mbuni machine

2010-01-04 Thread aftab hussain
Thanks Thilani for your help. I made mms-vasp group with the short code and
also created an MMSC group in the mmsbox.conf and created a test service.
Mbuni receives the mms correctly and I think passes it onto mmsbox and then
teh php script. I am sending a simple text for testing and upon reception in
the php script I am saving it to the file but nothing happens in the script.
Now I have the following conf for mmsc.conf and mmsbox.conf.

---
MMSBOX.conf
--
group = core
log-file = mmsbox.log
access-log = mmsbox-access.log
log-level = 0

group = mbuni
storage-directory = /mms
max-send-threads = 5
maximum-send-attempts = 50
default-message-expiry = 36
queue-run-interval = 5
send-attempt-back-off = 300
sendmms-port = 10001

group = mmsc
id = local
mmsc-url = http://mbuni:t...@localhost:1962/soap
incoming-username = user
incoming-password = pass
incoming-port = 12345
type = soap

group = mms-service
name = me
post-url = http://localhost/mmsrecv.php
catch-all = true
http-post-parameters = fx=trueimages[]=%itext[]=%tskip=1
accept-x-mbuni-headers = true
pass-thro-headers = X-NOKIA-MMSC-Charging,X-NOKIA-MMSC-Charged-Party
keyword = test
omit-empty = no
#suppress-reply = true
service-code = regular

group = mms-service
name = fullmessage
get-url = http://localhost/images/apache_pb.gif
# http-post-parameters = fx=trueimage=%itext=%t
accept-x-mbuni-headers = true
keyword = thixs

group = send-mms-user
username = tester
password = foobar
faked-sender = 100

-
MMSC.conf
-
group = core
log-file = mbuni-mmsc.log
access-log = mmsc-access.log
log-level = 0

group = mbuni
name = My MMSC
hostname = barq.seecs.edu.pk
local-prefixes = +92;
storage-directory = /mms
maximum-send-attempts = 50
default-message-expiry = 36
queue-run-interval = 5
send-attempt-back-off = 300
sendsms-url = http://10.3.17.35:13013/cgi-bin/sendsms?smsc=at;
sendsms-global-sender=00923225046352
allow-ip = *.*.*.*
sendsms-username = tester
sendsms-password = foobar
mms-port = 1961
mm7-port = 1962
optimize-notification-size=true
content-adaptation = false
notify-unprovisioned = yes
mms-notify-text = You have received a multimedia message.

group = mms-vasp
vasp-id = newscorp
type = soap
short-code = 111
vasp-username = mbuni
vasp-password = test
vasp-url = http://user:p...@localhost:12345/

I have the following test code snippet in my php file. Kindly help me as to
what is going wrong here.

?php
   $txt = $_REQUEST[text];
   $fd = fopen('data.txt','w');
   fwrite($fd,$txt.\n);
   fclose($fd);
?

Best Regards,

Aftab Hussain


2009/12/30 තිලානි අබේසිංහ|Thilani Abeysinghe a.thil...@gmail.com


 You might need to configure vasp account with a specific short code.Then
 you can send mms to that short code

 Sample configuration for  mmsc.conf


 group = mms-vasp
 vasp-id = adlive
 type = soap
 short-code = 111
 vasp-username = mbuni
 vasp-password = test
 vasp-url = http://test.php


 On Wed, Dec 30, 2009 at 5:48 PM, aftab hussain aftab.huss...@seecs.edu.pk
  wrote:

 Dear All,
  I am interested to send mms from my mobile phone to mbuni. I
 have changed the mms settings in the mobile phone and the homepage url now
 points to the mbuni installed machine's global IP. When I send the mms, I
 specify a number in the 'To' field but actually I dont intend to send mms to
 the phone. what my intention is that when mbuni receives the MMS, it should
 save the incoming mms and trigger a php script and the mms contents should
 be passed to the php script.

 I have the following conf settings.

 group = core
 #log-file = /tmp/mbuni-mmsc.log
 #access-log = /tmp/mmsc-access.log
 log-level = 0

 group = mbuni
 name = My MMSC
 hostname = x.x.x.x
 local-prefixes = +92;
 storage-directory = /mms
 max-send-threads = 5
 maximum-send-attempts = 50
 default-message-expiry = 36
 queue-run-interval = 5
 send-attempt-back-off = 300
 sendsms-url = http://10.3.17.35:13013/cgi-bin/sendsms?smsc=at;
 sendsms-global-sender=00923225046352
 allow-ip = *.*.*.*
 sendsms-username = tester
 sendsms-password = foobar
 mms-port = 1961
 mm7-port = 1962
 optimize-notification-size=true
 content-adaptation = false
 notify-unprovisioned = yes
 mms-notify-text = You have received a multimedia message.

 I have also attached the log file.

 Can any one please explain whats going on here and is there any thing
 wrong with the settings. Do I have to do more in terms of conf settings.
 Your help will be highly appreciated.

 Best Regards

 Aftab Hussain

 ___
 Users mailing list
 Users@mbuni.org
 http://lists.mbuni.org/mailman/listinfo/users




 --

 ~Thilani Abeysinghe

 ~තිලානි අබේසිංහ
 Sent from Colombo, Sri Lanka

 ___
 Users mailing list
 Users@mbuni.org
 http://lists.mbuni.org/mailman/listinfo/users


___
Users mailing list

[Users] MMS Sending from mobile phone to Mbuni machine

2009-12-30 Thread aftab hussain
Dear All,
 I am interested to send mms from my mobile phone to mbuni. I
have changed the mms settings in the mobile phone and the homepage url now
points to the mbuni installed machine's global IP. When I send the mms, I
specify a number in the 'To' field but actually I dont intend to send mms to
the phone. what my intention is that when mbuni receives the MMS, it should
save the incoming mms and trigger a php script and the mms contents should
be passed to the php script.

I have the following conf settings.

group = core
#log-file = /tmp/mbuni-mmsc.log
#access-log = /tmp/mmsc-access.log
log-level = 0

group = mbuni
name = My MMSC
hostname = x.x.x.x
local-prefixes = +92;
storage-directory = /mms
max-send-threads = 5
maximum-send-attempts = 50
default-message-expiry = 36
queue-run-interval = 5
send-attempt-back-off = 300
sendsms-url = http://10.3.17.35:13013/cgi-bin/sendsms?smsc=at;
sendsms-global-sender=00923225046352
allow-ip = *.*.*.*
sendsms-username = tester
sendsms-password = foobar
mms-port = 1961
mm7-port = 1962
optimize-notification-size=true
content-adaptation = false
notify-unprovisioned = yes
mms-notify-text = You have received a multimedia message.

I have also attached the log file.

Can any one please explain whats going on here and is there any thing wrong
with the settings. Do I have to do more in terms of conf settings. Your help
will be highly appreciated.

Best Regards

Aftab Hussain
{\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fswiss\fcharset0 Arial;}}
{\*\generator Msftedit 5.41.15.1515;}\viewkind4\uc1\pard\f0\fs20 2009-12-30 
16:23:54 [7496] [15] DEBUG: HTTP: Creating HTTPClient for `203.124.30.2'.\par
2009-12-30 16:23:54 [7496] [15] DEBUG: HTTP: Created HTTPClient area 
0x81a7350.\par
2009-12-30 16:23:56 [7496] [0] DEBUG:  Request, ip=203.124.30.2, 
base_client_addr=203.124.30.2, client_addr=203.124.30.2/TYPE=IPv4, url=/mms\par
2009-12-30 16:23:56 [7496] [0] DEBUG: Started thread 17 
(mmsproxy.c:(gwthread_func_t *)sendmms_proxy)\par
2009-12-30 16:23:56 [7496] [17] DEBUG: Thread 17 (mmsproxy.c:(gwthread_func_t 
*)sendmms_proxy) maps to pid 7496.\par
2009-12-30 16:23:56 [7496] [17] DEBUG:  -- Enterred sendmms interface, 
blen=399 ---\par
2009-12-30 16:23:56 [7496] [17] DEBUG: WSP: decoding headers:\par
2009-12-30 16:23:56 [7496] [17] DEBUG: Octet string at 0x81895c0:\par
2009-12-30 16:23:56 [7496] [17] DEBUG:   len:  20\par
2009-12-30 16:23:56 [7496] [17] DEBUG:   size: 21\par
2009-12-30 16:23:56 [7496] [17] DEBUG:   immutable: 0\par
2009-12-30 16:23:56 [7496] [17] DEBUG:   data: 0b 83 81 ea 85 48 69 2e 74 78 74 
00 8e 48 69 2e   .Hi.txt..Hi.\par
2009-12-30 16:23:56 [7496] [17] DEBUG:   data: 74 78 74 00  
 txt.\par
2009-12-30 16:23:56 [7496] [17] DEBUG: Octet string dump ends.\par
2009-12-30 16:23:56 [7496] [17] DEBUG: WSP: decoded headers:\par
2009-12-30 16:23:56 [7496] [17] DEBUG: Content-Type: text/plain; charset=utf-8; 
name=Hi.txt\par
2009-12-30 16:23:56 [7496] [17] DEBUG: Content-Location: Hi.txt\par
2009-12-30 16:23:56 [7496] [17] DEBUG: WSP: End of decoded headers.\par
2009-12-30 16:23:56 [7496] [17] DEBUG: WSP: decoding headers:\par
2009-12-30 16:23:56 [7496] [17] DEBUG: Octet string at 0x8189608:\par
2009-12-30 16:23:56 [7496] [17] DEBUG:   len:  46\par
2009-12-30 16:23:56 [7496] [17] DEBUG:   size: 47\par
2009-12-30 16:23:56 [7496] [17] DEBUG:   immutable: 0\par
2009-12-30 16:23:56 [7496] [17] DEBUG:   data: 1e 61 70 70 6c 69 63 61 74 69 6f 
6e 2f 73 6d 69   .application/smi\par
2009-12-30 16:23:56 [7496] [17] DEBUG:   data: 6c 00 81 ea 85 70 72 65 73 2e 73 
6d 69 6c 00 c0   lpres.smil..\par
2009-12-30 16:23:56 [7496] [17] DEBUG:   data: 22 3c 31 32 37 37 32 37 32 32 32 
32 3e 00 127727.\par
2009-12-30 16:23:56 [7496] [17] DEBUG: Octet string dump ends.\par
2009-12-30 16:23:56 [7496] [17] DEBUG: WSP: decoded headers:\par
2009-12-30 16:23:56 [7496] [17] DEBUG: Content-Type: application/smil; 
charset=utf-8; name=pres.smil\par
2009-12-30 16:23:56 [7496] [17] DEBUG: Content-ID: 127727\par
2009-12-30 16:23:56 [7496] [17] DEBUG: WSP: End of decoded headers.\par
2009-12-30 16:23:56 [7496] [17] DEBUG:  Client sent us:\par
2009-12-30 16:23:56 [7496] [17] DEBUG: WSP: Mapping 
`application/vnd.wap.multipart.related', WSP 1.2 to 0x0033.\par
2009-12-30 16:23:56 [7496] [17] DEBUG: WSP: Mapping `start', WSP 1.2 to 
0x000a.\par
2009-12-30 16:23:56 [7496] [17] DEBUG: WSP: Mapping `type', WSP 1.2 to 
0x0009.\par
2009-12-30 16:23:56 [7496] [17] DEBUG: WSP: Mapping `text/plain', WSP 1.2 to 
0x0003.\par
2009-12-30 16:23:56 [7496] [17] DEBUG: WSP: Mapping `charset', WSP 1.2 to 
0x0001.\par
2009-12-30 16:23:56 [7496] [17] DEBUG: WSP: Mapping `name', WSP 1.2 to 
0x0005.\par
2009-12-30 16:23:56 [7496] [17] DEBUG: WSP: Mapping `Content-Location', WSP 1.3 
to 0x000e.\par
2009-12-30 16:23:56 [7496] [17] DEBUG: WSP: Mapping `Content-Type', WSP 1.3 to 
0x0011.\par
2009-12-30 16:23:56 [7496] [17] DEBUG: WSP: Mapping

Re: [Users] Possiblity of MO MMS to Mbuni machine skiping operator's MMSC

2009-12-15 Thread aftab hussain
so what should I specify in the 'to' address, should this be a number or the
address of the mbuni installed machine. What should I be the setup on the
mbuni side, how would mbuni know that it will have to fetch the MMS content
from the mobile phone but not from some address

Best Regards,

Aftab Hussain

On Thu, Nov 19, 2009 at 2:14 AM, Hakan Lager digi...@gmail.com wrote:

 Hi,

 You have to change the MMS configuration in your phone and point out your
 own server as MMSC

 The phone will send a ,m_send_req over HTTP to your server and expects a
 m_send_conf response.

 / Digiloo

 2009/11/18 aftab hussain aftab.huss...@seecs.edu.pk

 Hi all,
  Is it possible that I send an MMS from my mobile phone to Mbuni
 skiping Mobile Operator's MMSC. In what mode Mbuni should be used and what
 should be the required config parameters. Does it require some sort of
 special settings in mobile phone to do this. Has any one done this sort of
 thing.

 Best Regards,

 Aftab

 ___
 Users mailing list
 Users@mbuni.org
 http://lists.mbuni.org/mailman/listinfo/users



 ___
 Users mailing list
 Users@mbuni.org
 http://lists.mbuni.org/mailman/listinfo/users


___
Users mailing list
Users@mbuni.org
http://lists.mbuni.org/mailman/listinfo/users


[Users] Want to use Mbuni's Http interface

2009-12-06 Thread aftab hussain
Dear All,
I want to use mbuni's http/cgi interface using php. How do I go
for it and what should be the ideal config. From documentation I get
confused.

Best Regards,

Aftab Hussain
___
Users mailing list
Users@mbuni.org
http://lists.mbuni.org/mailman/listinfo/users


Re: [Users] MMS Sending Problem

2009-11-18 Thread aftab hussain
Hi,
 It is the URL from the logs because I can't see the MMS retrieval and
it is not visible in the notification received in the phone.

Best Regards,

Aftab Hussain

2009/11/18 Nikos Balkanas nbalka...@gmail.com

  Hi,

 What is the url you are trying to access from lynx? Is that the url you are
 notified in your phone or the url from your logs? The actual url is
 different from what appears in the phone.

 Please post both.

 BR,
 Nikos

 - Original Message -
 *From:* aftab hussain aftab.huss...@seecs.edu.pk
 *To:* users@mbuni.org
 *Sent:* Tuesday, November 17, 2009 11:24 AM
 *Subject:* Re: [Users] MMS Sending Problem

 Hi, one more thing that is annoying, I keep getting the MMS notifications.
 When I looked through the logs, mmsrelay try to send the notification after
 few minutes. What could be the reason for this.

 Best Regrads,

 Aftab Hussain

 On Tue, Nov 17, 2009 at 2:19 PM, aftab hussain aftab.huss...@seecs.edu.pk
  wrote:

 Hi all,
 I am quite stuck here. Please help me. I have even tried to access
 the URL sent by mmsrelay via mms notification sms to the mobile using
 'lynx', it gives 404 not found error. The mobile phone does recieve the
 notification sms and as Paul suggested that notification might not reach the
 mobile phone but I do get the SMS and the GPRS icon is also crossed out
 during the SMS reception.

 Doea any one know what mbuni component, MMSPROXY or MMSRELAY will show
 that the mobile phone is tryiing to fetch the MMS coontent. How should I
 further proceed from here. In my config file I only use 'core' and 'mbuni'
 groups. Do I have to use other groups as well and if yes what are the groups
 and what should be there configuration.

 Best Regards,

 Aftab Hussain

 2009/11/16 Nikos Balkanas nbalka...@gmail.com

  Hi,

 Listen, I am just a newbie, and haven't been able to run it yet. I am
 still trying to set up my MM4 interface to run it. I only give educated
 guesses on what might be wrong, I don't have the time to verify from
 sources.

 AFAIK mbuni will add a /mms/id path to the URL. I take hostname to be
 literal that: FQDN hostname. Otherwise it should be called URL. According to
 Paul, if mbuni adds a port to the hostname, and then a path, and you put a
 path instead of a host, the URL might look like:

 http://www.host.com/mms/mms1:9000/mms/id

 which will be very wrong. By analogy to kannel, hostalias (not hosalias)
 might be just a cute name to call it in the logs.
 I don't know much to comment on your configuration.

 BR,
 Nikos

  - Original Message -
 *From:* INSI mobile insimob...@gmail.com
  *To:* Nikos Balkanas nbalka...@gmail.com
 *Cc:* users@mbuni.org
   *Sent:* Monday, November 16, 2009 8:31 AM
 *Subject:* Re: [Users] MMS Sending Problem


 Thanks Nikos,

 One more question I have, as Paul suggested that the problem might be
 operator MMSC configuration in the mobile,
 so I thinking of changing the MMSC configuration of mobile,

 I have the following mmsc conf.

 Is it correct to give my public IP/mms/mm1 in my mobile as mmsc
 settings?

 group = mbuni
 name = INSI_MMSC
 hostname = my public IP
 hosalias =  same IP
 local-prefixes = 0
 storage-directory = /var/www/mms
 max-send-threads = 1
 send-mail-prog = /usr/sbin/sendmail -f '%f' '%t'
 maximum-send-attempts = 2
 default-message-expiry = 36
 queue-run-interval = 2
 send-attempt-back-off = 2
 sendsms-url = http://localhost:13013/cgi-bin/sendsms
 sendsms-username = tester
 sendsms-password = foobar
 mms-port = 1981
 mm7-port = 1982
 :
 :

 2009/11/16 Nikos Balkanas nbalka...@gmail.com

  Hi,

 Mbuni should have an internal HTTP server from kannel gwlib. It will
 post it to the URL it sends you. No need for external web server. If you
 cannot access it even from your browser, you probably have a firewall 
 issue.
 To confirm check the URL with lynx (or telnet to the port from the shell)
 from the server itself.

 BR,
 Nikos

 - Original Message -
 *From:* INSI mobile insimob...@gmail.com
 *To:* nbalka...@gmail.com
 *Cc:* users@mbuni.org
 *Sent:* Sunday, November 15, 2009 2:19 AM
 *Subject:* Re: [Users] MMS Sending Problem

 Hi Nikos,

 Even I am having the same issue, I  get the  notification, but my
 Motorola  phones(though I didn't try other brands) are
 unable to retrieve the URL, I have the questions:

 The URL doesn't work even from the browser.

 Do I need to run the web server on the box where MMSC is running, if not
 who is going to receive this URL
 request?

 How does this URL gets routed to MMSC process if WEB server is running?
 any configuration we need to make in
 the web server?


 regards,
 Insim.

 2009/11/14 Nikos Balkanas nbalka...@gmail.com

  Hi,

 Since you are receiving the notification OK, everything up to kannel
 part is working. I don't know much about mbuni, and do not have time to go
 through the sources. A couple of questions:

 1) Your smsc-id you are posting at_dummy=x, is this the smsc-id you
 have in kannel.conf? If it is the '=x' part

Re: [Users] MMS Sending Problem

2009-11-17 Thread aftab hussain
Hi all,
I am quite stuck here. Please help me. I have even tried to access
the URL sent by mmsrelay via mms notification sms to the mobile using
'lynx', it gives 404 not found error. The mobile phone does recieve the
notification sms and as Paul suggested that notification might not reach the
mobile phone but I do get the SMS and the GPRS icon is also crossed out
during the SMS reception.

Doea any one know what mbuni component, MMSPROXY or MMSRELAY will show that
the mobile phone is tryiing to fetch the MMS coontent. How should I further
proceed from here. In my config file I only use 'core' and 'mbuni' groups.
Do I have to use other groups as well and if yes what are the groups and
what should be there configuration.

Best Regards,

Aftab Hussain

2009/11/16 Nikos Balkanas nbalka...@gmail.com

  Hi,

 Listen, I am just a newbie, and haven't been able to run it yet. I am still
 trying to set up my MM4 interface to run it. I only give educated guesses on
 what might be wrong, I don't have the time to verify from sources.

 AFAIK mbuni will add a /mms/id path to the URL. I take hostname to be
 literal that: FQDN hostname. Otherwise it should be called URL. According to
 Paul, if mbuni adds a port to the hostname, and then a path, and you put a
 path instead of a host, the URL might look like:

 http://www.host.com/mms/mms1:9000/mms/id

 which will be very wrong. By analogy to kannel, hostalias (not hosalias)
 might be just a cute name to call it in the logs.
 I don't know much to comment on your configuration.

 BR,
 Nikos

 - Original Message -
 *From:* INSI mobile insimob...@gmail.com
 *To:* Nikos Balkanas nbalka...@gmail.com
 *Cc:* users@mbuni.org
 *Sent:* Monday, November 16, 2009 8:31 AM
 *Subject:* Re: [Users] MMS Sending Problem


 Thanks Nikos,

 One more question I have, as Paul suggested that the problem might be
 operator MMSC configuration in the mobile,
 so I thinking of changing the MMSC configuration of mobile,

 I have the following mmsc conf.

 Is it correct to give my public IP/mms/mm1 in my mobile as mmsc settings?

 group = mbuni
 name = INSI_MMSC
 hostname = my public IP
 hosalias =  same IP
 local-prefixes = 0
 storage-directory = /var/www/mms
 max-send-threads = 1
 send-mail-prog = /usr/sbin/sendmail -f '%f' '%t'
 maximum-send-attempts = 2
 default-message-expiry = 36
 queue-run-interval = 2
 send-attempt-back-off = 2
 sendsms-url = http://localhost:13013/cgi-bin/sendsms
 sendsms-username = tester
 sendsms-password = foobar
 mms-port = 1981
 mm7-port = 1982
 :
 :

 2009/11/16 Nikos Balkanas nbalka...@gmail.com

  Hi,

 Mbuni should have an internal HTTP server from kannel gwlib. It will post
 it to the URL it sends you. No need for external web server. If you cannot
 access it even from your browser, you probably have a firewall issue. To
 confirm check the URL with lynx (or telnet to the port from the shell) from
 the server itself.

 BR,
 Nikos

 - Original Message -
 *From:* INSI mobile insimob...@gmail.com
 *To:* nbalka...@gmail.com
 *Cc:* users@mbuni.org
 *Sent:* Sunday, November 15, 2009 2:19 AM
 *Subject:* Re: [Users] MMS Sending Problem

 Hi Nikos,

 Even I am having the same issue, I  get the  notification, but my
 Motorola  phones(though I didn't try other brands) are
 unable to retrieve the URL, I have the questions:

 The URL doesn't work even from the browser.

 Do I need to run the web server on the box where MMSC is running, if not
 who is going to receive this URL
 request?

 How does this URL gets routed to MMSC process if WEB server is running?
 any configuration we need to make in
 the web server?


 regards,
 Insim.

 2009/11/14 Nikos Balkanas nbalka...@gmail.com

  Hi,

 Since you are receiving the notification OK, everything up to kannel part
 is working. I don't know much about mbuni, and do not have time to go
 through the sources. A couple of questions:

 1) Your smsc-id you are posting at_dummy=x, is this the smsc-id you
 have in kannel.conf? If it is the '=x' part should be urlencoded. Better to
 use another smsc-id name.

 2) mmsrelay says that the url to fetch the MMS is:

 http://jaroka.seecs.edu.pk/mms/b-qf436.2.x199...@2/wx37

 Have you tried to access it from a browser from your PC?

 3) smsbox sends notification for the same url.

 4) mmsproxy gets HTTP request from mobile. However, your mobile sends an
 HTTP header:

 X-Mms-Status: Deferred

 I think this maybe a problem.

 Are you getting any DLRs from the attempt? Please post along with
 mmsproxy access log from the attempt.

 BR,
 Nikos



  - Original Message -
 *From:* aftab hussain aftab.huss...@seecs.edu.pk
 *To:* users@mbuni.org
   *Sent:* Friday, November 13, 2009 7:46 AM
 *Subject:* Re: [Users] MMS Sending Problem

 Hi,
 I have made the changes you asked. But still I am unable to retrieve
 the MMS after I get the notification on my mobile phone. I am attaching
 mmsrelay, mmsproxy, mmssend and smsbox log files. I dont know whats going
 wrong here. I

Re: [Users] MMS Sending Problem

2009-11-17 Thread aftab hussain
Hi, one more thing that is annoying, I keep getting the MMS notifications.
When I looked through the logs, mmsrelay try to send the notification after
few minutes. What could be the reason for this.

Best Regrads,

Aftab Hussain

On Tue, Nov 17, 2009 at 2:19 PM, aftab hussain
aftab.huss...@seecs.edu.pkwrote:

 Hi all,
 I am quite stuck here. Please help me. I have even tried to access
 the URL sent by mmsrelay via mms notification sms to the mobile using
 'lynx', it gives 404 not found error. The mobile phone does recieve the
 notification sms and as Paul suggested that notification might not reach the
 mobile phone but I do get the SMS and the GPRS icon is also crossed out
 during the SMS reception.

 Doea any one know what mbuni component, MMSPROXY or MMSRELAY will show that
 the mobile phone is tryiing to fetch the MMS coontent. How should I further
 proceed from here. In my config file I only use 'core' and 'mbuni' groups.
 Do I have to use other groups as well and if yes what are the groups and
 what should be there configuration.

 Best Regards,

 Aftab Hussain

 2009/11/16 Nikos Balkanas nbalka...@gmail.com

  Hi,

 Listen, I am just a newbie, and haven't been able to run it yet. I am
 still trying to set up my MM4 interface to run it. I only give educated
 guesses on what might be wrong, I don't have the time to verify from
 sources.

 AFAIK mbuni will add a /mms/id path to the URL. I take hostname to be
 literal that: FQDN hostname. Otherwise it should be called URL. According to
 Paul, if mbuni adds a port to the hostname, and then a path, and you put a
 path instead of a host, the URL might look like:

 http://www.host.com/mms/mms1:9000/mms/id

 which will be very wrong. By analogy to kannel, hostalias (not hosalias)
 might be just a cute name to call it in the logs.
 I don't know much to comment on your configuration.

 BR,
 Nikos

 - Original Message -
  *From:* INSI mobile insimob...@gmail.com
 *To:* Nikos Balkanas nbalka...@gmail.com
 *Cc:* users@mbuni.org
  *Sent:* Monday, November 16, 2009 8:31 AM
 *Subject:* Re: [Users] MMS Sending Problem


 Thanks Nikos,

 One more question I have, as Paul suggested that the problem might be
 operator MMSC configuration in the mobile,
 so I thinking of changing the MMSC configuration of mobile,

 I have the following mmsc conf.

 Is it correct to give my public IP/mms/mm1 in my mobile as mmsc
 settings?

 group = mbuni
 name = INSI_MMSC
 hostname = my public IP
 hosalias =  same IP
 local-prefixes = 0
 storage-directory = /var/www/mms
 max-send-threads = 1
 send-mail-prog = /usr/sbin/sendmail -f '%f' '%t'
 maximum-send-attempts = 2
 default-message-expiry = 36
 queue-run-interval = 2
 send-attempt-back-off = 2
 sendsms-url = http://localhost:13013/cgi-bin/sendsms
 sendsms-username = tester
 sendsms-password = foobar
 mms-port = 1981
 mm7-port = 1982
 :
 :

 2009/11/16 Nikos Balkanas nbalka...@gmail.com

  Hi,

 Mbuni should have an internal HTTP server from kannel gwlib. It will post
 it to the URL it sends you. No need for external web server. If you cannot
 access it even from your browser, you probably have a firewall issue. To
 confirm check the URL with lynx (or telnet to the port from the shell) from
 the server itself.

 BR,
 Nikos

 - Original Message -
  *From:* INSI mobile insimob...@gmail.com
 *To:* nbalka...@gmail.com
 *Cc:* users@mbuni.org
 *Sent:* Sunday, November 15, 2009 2:19 AM
 *Subject:* Re: [Users] MMS Sending Problem

 Hi Nikos,

 Even I am having the same issue, I  get the  notification, but my
 Motorola  phones(though I didn't try other brands) are
 unable to retrieve the URL, I have the questions:

 The URL doesn't work even from the browser.

 Do I need to run the web server on the box where MMSC is running, if not
 who is going to receive this URL
 request?

 How does this URL gets routed to MMSC process if WEB server is running?
 any configuration we need to make in
 the web server?


 regards,
 Insim.

 2009/11/14 Nikos Balkanas nbalka...@gmail.com

  Hi,

 Since you are receiving the notification OK, everything up to kannel
 part is working. I don't know much about mbuni, and do not have time to go
 through the sources. A couple of questions:

 1) Your smsc-id you are posting at_dummy=x, is this the smsc-id you
 have in kannel.conf? If it is the '=x' part should be urlencoded. Better to
 use another smsc-id name.

 2) mmsrelay says that the url to fetch the MMS is:

 http://jaroka.seecs.edu.pk/mms/b-qf436.2.x199...@2/wx37

 Have you tried to access it from a browser from your PC?

 3) smsbox sends notification for the same url.

 4) mmsproxy gets HTTP request from mobile. However, your mobile sends an
 HTTP header:

 X-Mms-Status: Deferred

 I think this maybe a problem.

 Are you getting any DLRs from the attempt? Please post along with
 mmsproxy access log from the attempt.

 BR,
 Nikos



  - Original Message -
  *From:* aftab hussain aftab.huss...@seecs.edu.pk
 *To:* users@mbuni.org

Re: [Users] .mms creation procedure.

2009-11-16 Thread aftab hussain
Hi,
try out mmslib. It is a php script who does binanry mms encoding for
you. I am using the same code.

Best Regards,

Aftab Hussain

On Sun, Nov 15, 2009 at 11:49 AM, INSI mobile insimob...@gmail.com wrote:

 Hi,

 How do we create .mms files on linux/windows, is there any open
 source/software to create a .mms files from media files?
 Iam looking for  the procedure to create them  and use  them for  mmssend
 command.

 thanks,
 insim

 ___
 Users mailing list
 Users@mbuni.org
 http://lists.mbuni.org/mailman/listinfo/users


___
Users mailing list
Users@mbuni.org
http://lists.mbuni.org/mailman/listinfo/users


Re: [Users] MMS Sending Problem

2009-11-13 Thread aftab hussain
Hi,
I have made the changes you asked. But still I am unable to retrieve the
MMS after I get the notification on my mobile phone. I am attaching
mmsrelay, mmsproxy, mmssend and smsbox log files. I dont know whats going
wrong here. I just followed the instructions in the tutorial I mentioned in
my first email. An urgent help will be appreciated.

Best Regards,

Aftab Hussain

2009/11/12 Nikos Balkanas nbalka...@gmail.com

  Correction: hostname should be FQDN.

 BR,
 Nikos

 - Original Message -
 *From:* Nikos Balkanas nbalka...@gmail.com
 *To:* users@mbuni.org
 *Sent:* Thursday, November 12, 2009 4:52 AM
 *Subject:* Re: [Users] MMS Sending Problem

 Hi,

 I am a newbie as well, so don't take my word as a gospel. I read your link,
 and i have several issues with it.
 In your configuration I see 3 problems:

 1) hostname: This is not a valid hostname. hostname is something like
 myserver.
 2) hostname-alias: A more readable form of the above. Why the /?
 3) sendsms-url: I know kannel and this is not a valid sendsms-url. Skip the
 trailing 

 Also forget about homepages. You should receive a push notification, which
 if you click it should get you to the correct url.

 To help you further you must post your logs.

 BR,
 Nikos


 - Original Message -
 *From:* aftab hussain aftab.huss...@seecs.edu.pk
 *To:* users@mbuni.org
 *Sent:* Wednesday, November 11, 2009 2:13 PM
 *Subject:* [Users] MMS Sending Problem

 Hi all,
 I am trying to use Mbuni and kannel to Send and Recieve SMS/MMS for
 our departmental work. For the time being I am interested in sending MMS to
 our faculty and staff. I have found the tutorial of how to send and MMS on
 the following link.

  http://thilani.wordpress.com/2009/07/15/running-mbuni-as-a-mmsc/

 What I am trying to do is to send MMS notification via kannel and this
 notification has MMS retrieval url. The mobile phone receives the MMS
 notification but it can't retrieve the MMS. MMS retrieval failed message is
 shown on the phone. I can see some thing in the mmsproxy log that the phone
 is trying to receive the content but I dont understand whats wrong. I am
 using the following configuration.

  mmsc.conf -

 group = core
 log-level = 0

 group = mbuni
 name = My MMSC
 hostname = my.mbuni.installed.machine/mms

 host-alias = my.mbuni.installed.machine/mms/mm1
 local-prefixes = +92;
 storage-directory = /mms
 max-send-threads = 5
 maximum-send-attempts = 50
 default-message-expiry = 36
 queue-run-interval = 5
 send-attempt-back-off = 300
 sendsms-url =
 http://my.kannel.installed.machine:13013/cgi-bin/sendsms?smsc=at;
 allow-ip = *.*.*.*
 sendsms-username = tester
 sendsms-password = foobar
 mms-port = 1951
 mm7-port = 1952
 optimize-notification-size=true
 content-adaptation = true
 notify-unprovisioned = yes
 mms-notify-text = You have received a multimedia message.

 here /mms is the directory in my webserver's htdocs directory. I change the
 multimetida message settings in the phone and I use specify in the home url
 as given below:

 homepage = my.mbuni.installed.machine/mms

 Can any help me as to what is wrong with my configuration.

 Best Regards,

 Aftab


  --

 ___
 Users mailing list
 Users@mbuni.org
 http://lists.mbuni.org/mailman/listinfo/users


 ___
 Users mailing list
 Users@mbuni.org
 http://lists.mbuni.org/mailman/listinfo/users


2009-11-13 10:33:38 [7151] [0] INFO: Debug_lvl = -1, log_file = none, log_lvl = 0
2009-11-13 10:33:38 [7151] [0] INFO: 
2009-11-13 10:33:38 [7151] [0] INFO:  Mbuni MMSC Proxy version 1.4.0 starting
2009-11-13 10:33:38 [7151] [0] INFO: HTTP: Opening server at port 1951.
2009-11-13 10:33:38 [7151] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) maps to pid 7151.
2009-11-13 10:33:38 [7151] [0] DEBUG: Started thread 1 (gwlib/fdset.c:poller)
2009-11-13 10:33:38 [7151] [2] DEBUG: Thread 2 (gwlib/http.c:server_thread) maps to pid 7151.
2009-11-13 10:33:38 [7151] [0] DEBUG: Started thread 2 (gwlib/http.c:server_thread)
2009-11-13 10:33:38 [7151] [0] INFO: HTTP: Opening server at port 1952.
2009-11-13 10:33:38 [7151] [3] DEBUG: Thread 3 (mmsproxy.c:(gwthread_func_t *)mm7proxy) maps to pid 7151.
2009-11-13 10:33:38 [7151] [0] DEBUG: Started thread 3 (mmsproxy.c:(gwthread_func_t *)mm7proxy)
2009-11-13 10:36:36 [7151] [2] DEBUG: HTTP: Creating HTTPClient for `203.124.28.1'.
2009-11-13 10:36:36 [7151] [2] DEBUG: HTTP: Created HTTPClient area 0x8165a38.
2009-11-13 10:36:36 [7151] [0] DEBUG:  Request, ip=203.124.28.1, base_client_addr=203.124.28.1, client_addr=203.124.28.1/TYPE=IPv4, url=/mms 
2009-11-13 10:36:36 [7151] [4] DEBUG: Thread 4 (mmsproxy.c:(gwthread_func_t *)sendmms_proxy) maps to pid 7151.
2009-11-13 10:36:36 [7151] [4] DEBUG:  -- Enterred sendmms interface, blen=51 --- 
2009-11-13 10:36:36 [7151] [4] DEBUG:  Client sent us: 
2009-11-13 10

[Users] MMS Sending Problem

2009-11-11 Thread aftab hussain
Hi all,
I am trying to use Mbuni and kannel to Send and Recieve SMS/MMS for
our departmental work. For the time being I am interested in sending MMS to
our faculty and staff. I have found the tutorial of how to send and MMS on
the following link.

 http://thilani.wordpress.com/2009/07/15/running-mbuni-as-a-mmsc/

What I am trying to do is to send MMS notification via kannel and this
notification has MMS retrieval url. The mobile phone receives the MMS
notification but it can't retrieve the MMS. MMS retrieval failed message is
shown on the phone. I can see some thing in the mmsproxy log that the phone
is trying to receive the content but I dont understand whats wrong. I am
using the following configuration.

 mmsc.conf -

group = core
log-level = 0

group = mbuni
name = My MMSC
hostname = my.mbuni.installed.machine/mms

host-alias = my.mbuni.installed.machine/mms/mm1
local-prefixes = +92;
storage-directory = /mms
max-send-threads = 5
maximum-send-attempts = 50
default-message-expiry = 36
queue-run-interval = 5
send-attempt-back-off = 300
sendsms-url =
http://my.kannel.installed.machine:13013/cgi-bin/sendsms?smsc=at;
allow-ip = *.*.*.*
sendsms-username = tester
sendsms-password = foobar
mms-port = 1951
mm7-port = 1952
optimize-notification-size=true
content-adaptation = true
notify-unprovisioned = yes
mms-notify-text = You have received a multimedia message.

here /mms is the directory in my webserver's htdocs directory. I change the
multimetida message settings in the phone and I use specify in the home url
as given below:

homepage = my.mbuni.installed.machine/mms

Can any help me as to what is wrong with my configuration.

Best Regards,

Aftab
___
Users mailing list
Users@mbuni.org
http://lists.mbuni.org/mailman/listinfo/users