Re: [Users] MMS Sending Problem

2009-11-14 Thread Nikos Balkanas
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 
  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 
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 
  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 
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






--


  

Re: [Users] [MMSBox] sendmms CGI script and Kannel sendsms notification/ Nothing received on the mobile

2009-11-14 Thread Paul Bagyenda
The SMS is binary coded, and Mbuni has no hand in the splitting. All MMS to be 
retrieved via the MM1 interface result (first of all) in a notification via 
SMS. You should look at your kannel conf.

P.

On Nov 12, 2009, at 16:08, Nikos Balkanas wrote:

 Hi,
  
 In the first case the push is 132 B and fits 1 SMS
  
 In the 2nd case push is 148 B and is split in 2 SMS. I don't know what coding 
 mbuni is using, but if the push is 8-bit or 7-bit + Udh length  160, then it 
 should split.
  
 As far as notification goes, I imagine that in the first case, that you have 
 a picture, you get a notification to get it. In the second case that you 
 don't have anything, what to be notified for?
  
 BR,
 Nikos
 - Original Message -
 From: Emmanuel CHANSON
 To: users@mbuni.org
 Sent: Wednesday, November 11, 2009 11:24 PM
 Subject: [Users] [MMSBox] sendmms CGI script and Kannel sendsms notification/ 
 Nothing received on the mobile
 
 Dears,
 
 I am testing MMSBox and MMSC (both Mbuni gateway) but I am faced to an issue 
 regarding the use of the sendmms CGI script.
 The issue for me is located on Kannel side but I would like your confirmation 
 first before asking Kannel users.
 
 I have send a MMS using mmssend I receive the notification:
 # mmssend -f  -t 687850850 -m /home/manu/softs/Mbuni/cat.mms 
 /etc/mmsc.conf
 
 == /var/log/mbuni/mmsc-access.log ==
 2009-11-10 10:36:39 Notify MMS [INT:MM1] [ACT:] [MMSC:] [from:system] 
 [to:+687850850/TYPE=PLMN] [msgid:qf9794.1.x412...@61.5.221.52/mmsc/mm1] 
 [size=-1] [UA:] [MMBox:]
 
 == smsbox.log ==
 2009-11-10 10:36:39 [23490] [2] DEBUG: HTTP: Creating HTTPClient for 
 `127.0.0.1'.
 2009-11-10 10:36:39 [23490] [2] DEBUG: HTTP: Created HTTPClient area 
 0x8e18a58.
 2009-11-10 10:36:39 [23490] [3] INFO: smsbox: Got HTTP request 
 /var/www/kannel/sendsms from 127.0.0.1
 2009-11-10 10:36:39 [23490] [3] INFO: sendsms used by alt
 2009-11-10 10:36:39 [23490] [3] INFO: sendsms sender:alt:687971204 
 (127.0.0.1) to:+687850850 msg:^N^F^CΎ―~D~L~B~X61.5.221.
 52/mmsc/mm1-qf9798.14.x178.77
 2009-11-10 10:36:39 [23490] [3] DEBUG: Stored UUID 
 7a0fe62d-4ed3-4a61-ad7c-80e240c6dc6b
 2009-11-10 10:36:39 [23490] [3] DEBUG: message length 132, sending 1 messages
 2009-11-10 10:36:39 [23490] [3] DEBUG: Status: 202 Answer: Sent.
 2009-11-10 10:36:39 [23490] [3] DEBUG: Delayed reply - wait for bearerbox
 2009-11-10 10:36:39 [23490] [0] DEBUG: Got ACK (0) of 
 7a0fe62d-4ed3-4a61-ad7c-80e240c6dc6b
 2009-11-10 10:36:39 [23490] [0] DEBUG: HTTP: Resetting HTTPClient for 
 `127.0.0.1'.
 
 
 
 But using sendmms CGI script I got no notification:
 # lynx -dump 
 http://localhost:10001/?username=altmmspassword=altmmsto=687850850/TYPE=PLMNsubject=Testtext=MMS;
 
 == /var/log/mbuni/mmsc-access.log ==
 2009-11-10 10:21:08 Notify MMS [INT:MM1] [ACT:] [MMSC:] [from:system] 
 [to:687850850/TYPE=PLMN] [msgid:d-h8-qf8864.9.x172...@61.5.221.52/mmsc/mm1] 
 [size=-1] [UA:] [MMBox:]
 
 == smsbox.log ==
 2009-11-10 10:21:08 [23490] [3] INFO: smsbox: Got HTTP request 
 /var/www/kannel/sendsms from 127.0.0.1
 2009-11-10 10:21:08 [23490] [3] INFO: sendsms used by alt
 2009-11-10 10:21:08 [23490] [3] INFO: sendsms sender:alt:687971204 
 (127.0.0.1) to:+687850850 
 msg:^M^F^CΎ―~D~L~B~X61.5.221.52/mmsc/mm1-3-g5-qf8868.13.x178.73
 2009-11-10 10:21:08 [23490] [3] DEBUG: Stored UUID 
 d990d9bf-1d19-47e8-b1a5-32b4a87c99ad
 2009-11-10 10:21:08 [23490] [3] DEBUG: message length 148, sending 2 messages
 2009-11-10 10:21:08 [23490] [3] DEBUG: Status: 202 Answer: Sent. Message 
 splits: 2
 2009-11-10 10:21:08 [23490] [3] DEBUG: Delayed reply - wait for bearerbox
 2009-11-10 10:21:08 [23490] [0] DEBUG: Got ACK (0) of 
 d990d9bf-1d19-47e8-b1a5-32b4a87c99ad
 2009-11-10 10:21:08 [23490] [0] DEBUG: HTTP: Resetting HTTPClient for 
 `127.0.0.1'.
 
 Note in one case message is not split...
 
 MMS is each case are dfferent (text+picture for first test, only text in 
 second test).
 
 Regards,
 
 -- 
 Emmanuel
 @email : emmanuelchan...@gmail.com
 
 
 ___
 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


Re: [Users] Re: MM4 help

2009-11-14 Thread Paul Bagyenda
It will get the body of the message from standard input, the rest of the flags 
(required) are in the doc :)

P.

On Nov 13, 2009, at 11:39, Nikos Balkanas wrote:

 Thanks,
  
 I am new to this. What kind of flags do i need to pass to mmsfromemail? From 
 what I read, mmsfromemail, when not run from shell, will get whatever it 
 needs from the mail itself. Else how can I pass these flags from sendmail? Is 
 it possible?
  
 I am considering replacing sendmail with postfix. Will that work?
  
 Nikos
 - Original Message -
 From: Paul Bagyenda
 To: users@mbuni.org
 Sent: Thursday, November 12, 2009 6:06 PM
 Subject: Re: [Users] Re: MM4 help
 
 The easiest way is to ask sendmail (or whatever MTA) to hand over all mail 
 for the MM4 domain to mmsfromemail (with relevant flags). 
 On Nov 12, 2009, at 04:53, Nikos Balkanas wrote:
 
 Hi,
  
 I actually have made progress to most points. Indeed mbuni needs sendmail to 
 work and abides by all its quirks. In other words a FQDN is needed to work. 
 The only thing I still haven't manage to do is describe the alias needed for 
 MM4 to work with sendmail:
  
 3069xxx/TYPE=PLMN: | mmsfromemail ...
  
 Any example? The msisdn part should probably be a wildcard.
  
 Thanks,
 Nikos
 - Original Message -
 From: Nikos Balkanas
 To: users@mbuni.org
 Sent: Wednesday, November 11, 2009 6:05 PM
 Subject: MM4 help
 
 Hi,
  
 I am an mbuni newbie and have just compiled latest mbuni release. I have 
 read the documentation (at least tried to :-)) and I am trying to establish 
 an MM4 - MM4 link between 2 mbunies.
  
 I have configured the following to mbuni1:
  
 group = mmsproxy
 name = test proxy
 host = x.x.x.x
 allowed-prefix = 3069
  
 And in the mmsrelay logs from mbuni1 I am getting:
  
 2009-11-11 17:49:09 [10475] [6] DEBUG: Content-ID: 1940197759
 2009-11-11 17:49:09 [10475] [6] DEBUG: WSP: End of decoded headers.
 2009-11-11 17:49:09 [10475] [6] INFO: mmsc for 3069xx resolved to: 
 x.x.x.x
 2009-11-11 17:49:09 [10475] [6] DEBUG: preparing to execute 
 /usr/sbin/sendmail -f 'x.x.x.x/TYPE=IPv4' '3069x/type=p...@x.x.x.x' to 
 send to email:
 2009-11-11 17:49:10 [10475] [6] INFO: Queued Global Queue MMS Send 
 [w-82-qf4247.2.x469.56]: From x.x.x.x/TYPE=IPv4, to 3069x/TYPE=PLMN, 
 msgsize=53134: err=(null)
  
 But i am seeing nothing to mbuni2 logs. In mbuni2 I run mmsproxy  mmsrelay.
  
 I have read in the guide something about running mmsfromemail should be 
 called from your MTA (SMTP Mailer). I am not doing it. 
  
 2 questions:
  
 1) Does host need to be a DNS fqdn? If it tries to send the email to 
 3069/type=p...@x.x.x.x it will fail.
 2) Do I need to run mmsfromemail from sendmail for MM4 to work? To do that 
 with sendmail I need to configure an email account with shell capabilities. 
 If the recipient number changes, how can I specify that? Any example?
  
 Thanks,
 Nikos
  
 
  
 
 ___
 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 mailing list
Users@mbuni.org
http://lists.mbuni.org/mailman/listinfo/users


Re: [Users] Question MMS link

2009-11-14 Thread Paul Bagyenda
Mbuni will insert the port for you, unless you set a host-alias in the conf 
file. 
On Nov 13, 2009, at 11:14, INSI mobile wrote:

 Hi,
 
 I got the following link as a part of MMS notification 
 'http://public-IP/c-lc-qf4650.1.x57...@2/wx81'
 My mobile is unable to download MMS from the aove link.
 
 
 obviously  the above request is received by httpd as the there is no port 
 part in the URL, which is unable to decode 'c-lc-qf4650.1.x57...@2/wx81'.
 
 Which variable should I configure so that the URL would be redirected to the 
 appropriate port?
 Or is there any apache configuration with which this request is redirected to 
 mmsc?
 
 
 
 thanks.
 
 
 
 ___
 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] [MMSBox] sendmms CGI script and Kannel sendsms notification/ Nothing received on the mobile

2009-11-14 Thread Paul Bagyenda
Sending smil is easy using sendmms via CGI: Just provide a POST/GET CGI 
parameter 'smil' with the SMIL content.


On Nov 13, 2009, at 07:32, Emmanuel CHANSON wrote:

 Hello Nikos,
 
 Ok so you mean in case of an MMS that includes only text, we do not receive 
 any notification?
 
 Why is the second message size bigger than the first one including a picture?
 Has anybody an example of how to send a content (SMIL or whatever) using CGI 
 parameter? I don't see anything in the Mbuni documentation.
 
 Regards,
 
 Emmanuel
 
 2009/11/13 Nikos Balkanas nbalka...@gmail.com
 Hi,
  
 In the first case the push is 132 B and fits 1 SMS
  
 In the 2nd case push is 148 B and is split in 2 SMS. I don't know what coding 
 mbuni is using, but if the push is 8-bit or 7-bit + Udh length  160, then it 
 should split.
  
 As far as notification goes, I imagine that in the first case, that you have 
 a picture, you get a notification to get it. In the second case that you 
 don't have anything, what to be notified for?
  
 BR,
 Nikos
 - Original Message -
 From: Emmanuel CHANSON
 To: users@mbuni.org
 Sent: Wednesday, November 11, 2009 11:24 PM
 Subject: [Users] [MMSBox] sendmms CGI script and Kannel sendsms notification/ 
 Nothing received on the mobile
 
 Dears,
 
 I am testing MMSBox and MMSC (both Mbuni gateway) but I am faced to an issue 
 regarding the use of the sendmms CGI script.
 The issue for me is located on Kannel side but I would like your confirmation 
 first before asking Kannel users.
 
 I have send a MMS using mmssend I receive the notification:
 # mmssend -f  -t 687850850 -m /home/manu/softs/Mbuni/cat.mms 
 /etc/mmsc.conf
 
 == /var/log/mbuni/mmsc-access.log ==
 2009-11-10 10:36:39 Notify MMS [INT:MM1] [ACT:] [MMSC:] [from:system] 
 [to:+687850850/TYPE=PLMN] [msgid:qf9794.1.x412...@61.5.221.52/mmsc/mm1] 
 [size=-1] [UA:] [MMBox:]
 
 == smsbox.log ==
 2009-11-10 10:36:39 [23490] [2] DEBUG: HTTP: Creating HTTPClient for 
 `127.0.0.1'.
 2009-11-10 10:36:39 [23490] [2] DEBUG: HTTP: Created HTTPClient area 
 0x8e18a58.
 2009-11-10 10:36:39 [23490] [3] INFO: smsbox: Got HTTP request 
 /var/www/kannel/sendsms from 127.0.0.1
 2009-11-10 10:36:39 [23490] [3] INFO: sendsms used by alt
 2009-11-10 10:36:39 [23490] [3] INFO: sendsms sender:alt:687971204 
 (127.0.0.1) to:+687850850 msg:^N^F^CΎ―~D~L~B~X61.5.221.
 52/mmsc/mm1-qf9798.14.x178.77
 2009-11-10 10:36:39 [23490] [3] DEBUG: Stored UUID 
 7a0fe62d-4ed3-4a61-ad7c-80e240c6dc6b
 2009-11-10 10:36:39 [23490] [3] DEBUG: message length 132, sending 1 messages
 2009-11-10 10:36:39 [23490] [3] DEBUG: Status: 202 Answer: Sent.
 2009-11-10 10:36:39 [23490] [3] DEBUG: Delayed reply - wait for bearerbox
 2009-11-10 10:36:39 [23490] [0] DEBUG: Got ACK (0) of 
 7a0fe62d-4ed3-4a61-ad7c-80e240c6dc6b
 2009-11-10 10:36:39 [23490] [0] DEBUG: HTTP: Resetting HTTPClient for 
 `127.0.0.1'.
 
 
 
 But using sendmms CGI script I got no notification:
 # lynx -dump 
 http://localhost:10001/?username=altmmspassword=altmmsto=687850850/TYPE=PLMNsubject=Testtext=MMS;
 
 == /var/log/mbuni/mmsc-access.log ==
 2009-11-10 10:21:08 Notify MMS [INT:MM1] [ACT:] [MMSC:] [from:system] 
 [to:687850850/TYPE=PLMN] [msgid:d-h8-qf8864.9.x172...@61.5.221.52/mmsc/mm1] 
 [size=-1] [UA:] [MMBox:]
 
 == smsbox.log ==
 2009-11-10 10:21:08 [23490] [3] INFO: smsbox: Got HTTP request 
 /var/www/kannel/sendsms from 127.0.0.1
 2009-11-10 10:21:08 [23490] [3] INFO: sendsms used by alt
 2009-11-10 10:21:08 [23490] [3] INFO: sendsms sender:alt:687971204 
 (127.0.0.1) to:+687850850 
 msg:^M^F^CΎ―~D~L~B~X61.5.221.52/mmsc/mm1-3-g5-qf8868.13.x178.73
 
 2009-11-10 10:21:08 [23490] [3] DEBUG: Stored UUID 
 d990d9bf-1d19-47e8-b1a5-32b4a87c99ad
 2009-11-10 10:21:08 [23490] [3] DEBUG: message length 148, sending 2 messages
 2009-11-10 10:21:08 [23490] [3] DEBUG: Status: 202 Answer: Sent. Message 
 splits: 2
 2009-11-10 10:21:08 [23490] [3] DEBUG: Delayed reply - wait for bearerbox
 2009-11-10 10:21:08 [23490] [0] DEBUG: Got ACK (0) of 
 d990d9bf-1d19-47e8-b1a5-32b4a87c99ad
 2009-11-10 10:21:08 [23490] [0] DEBUG: HTTP: Resetting HTTPClient for 
 `127.0.0.1'.
 
 Note in one case message is not split...
 
 MMS is each case are dfferent (text+picture for first test, only text in 
 second test).
 
 Regards,
 
 -- 
 Emmanuel
 @email : emmanuelchan...@gmail.com
 
 
 ___
 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
 
 
 
 
 -- 
 Emmanuel
 
 CHANSON Emmanuel
 Mobile Nouvelle-Calédonie: +687 850.850
 Mobile France: +33 (0) 6.68.03.89.56
 @email : emmanuelchan...@gmail.com
 ___
 Users mailing list
 Users@mbuni.org
 http://lists.mbuni.org/mailman/listinfo/users

___
Users mailing list
Users@mbuni.org