Re: [Users] Unable to send MMS

2011-10-11 Thread Piotr Isajew
On Wed, Oct 12, 2011 at 12:46:19AM +, Wave Hood wrote:
> Hello all,
> 
> I am a bit new in using Mbuni so I hope someone can direct me here. I read
> the user guide and some days ago I decided to start testing my project which
> I devided in 2 parts. part 1 is sending the MMS and part is receiving via
> the mm1 interface.
> 
> Below is my configuration file:
> [...]
> mm1-gprs-on-command = "pppd call gprs-start"
> mm1-gprs-pid-command = "cat /var/run/ppp0-mbuni.pid|head -1"
> [...]
> 2011-10-12 05:23:05 [11202] [10] DEBUG: Queued to thread 0 for
> /var/spool/mbuni/mmsbox_outgoing/s/6h/qf8981.1.x202.81, sendt=1318378981,
> tnow=1318378985
> 
>Denied

that looks like a permissions problem. pppd should be running
with root privileges, so you should make it suid, or change
gprs-on-command to 'sudo pppd ...' or run mmsbox as root. The
third option isn't adequate for production, but lets you do a
fast check if there is no other problem than a permission-related
one. So I would suggest to start mmsbox by hand as root just to
check that everything else is fine.


pgprrBfmZGhTj.pgp
Description: PGP signature
___
Users mailing list
Users@mbuni.org
http://lists.mbuni.org/mailman/listinfo/users


[Users] Unable to send MMS

2011-10-11 Thread Wave Hood
Hello all,

I am a bit new in using Mbuni so I hope someone can direct me here. I read
the user guide and some days ago I decided to start testing my project which
I devided in 2 parts. part 1 is sending the MMS and part is receiving via
the mm1 interface.

Below is my configuration file:

group = core
log-file = "/usr/local/etc/log/mbuni.log"
log-level = 0
access-log = "/usr/local/etc/log/mbuni_access.log"
http-interface-name = "*"

group = mbuni
name = "TEST_MBUNI"
storage-directory = "/var/spool/mbuni"
hostname = localhost
max-send-threads = 2
maximum-send-attempts = 2
default-message-expiry = 36
queue-run-interval = 5
send-attempt-back-off = 300
sendmms-port = 10001
admin-allow-ip = "127.0.0.1"
allow-ip = "*.*.*.*"
mmsbox-admin-port = 10002
admin-password = admin

group = mmsc
id= HUAWEI
type = mm1
mm1-sms-on-command = lynx -dump '
http://localhost:14000/start-smsc?password=admin&smsc=Huawei-E220'
mm1-sms-off-command = lynx -dump '
http://localhost:14000/stop-smsc?password=admin&smsc=Huawei-E220'
incoming-port = 14014
mmsc-url = "MMSC_URL"
mm1-http-proxy = "proxyIP:8080"
mm1-msisdn = "My_Number"
mm1-gprs-on-command = "pppd call gprs-start"
mm1-gprs-pid-command = "cat /var/run/ppp0-mbuni.pid|head -1"

group = send-mms-user
username = test
password = admin

group = mms-service
name = testService
keyword = default
post-url = http://localhost/_scripts/mms.php
catch-all = true
#http-post-parameters = fx=true&images[]=%i&text[]=%t&skip=1
http-post-parameters = mms[]=%z
accept-x-mbuni-headers = true
omit-empty = no
suppress-reply = true

after running the mmsbox, I tried sending the mms using this command:

lynx -dump "
http://127.0.0.1:10001/cgi-bin/sendmms?username=test&password=admin&from=simCard&to=myMobile&subject=send&text=sending
"

The resulting output on mmsbox log file is shown below:

2011-10-12 05:21:05 [11202] [0] INFO: Debug_lvl = -1, log_file = ,
log_lvl = 0
2011-10-12 05:21:05 [11202] [0] INFO: Added logfile
`/usr/local/etc/log/mbuni.log' with level `0'.
2011-10-12 05:21:05 [11202] [0] INFO: Started access logfile
`/usr/local/etc/log/mbuni_access.log'.
2011-10-12 05:21:05 [11202] [0] DEBUG: Started thread 1 (mmsbox_cdr.c:(void
*)cdr_logger_func)
2011-10-12 05:21:05 [11202] [1] DEBUG: Thread 1 (mmsbox_cdr.c:(void
*)cdr_logger_func) maps to pid 11202.
2011-10-12 05:21:05 [11202] [0] INFO: HTTP: Opening server at port 10001.
2011-10-12 05:21:05 [11202] [0] DEBUG: Started thread 2
(gwlib/fdset.c:poller)
2011-10-12 05:21:05 [11202] [0] DEBUG: Started thread 3
(gwlib/http.c:server_thread)
2011-10-12 05:21:05 [11202] [0] INFO: mmsbox_cfg.c:699
 [mmsbox] [n/a] Loaded MMSC[HUAWEI], allow=[(null)],
deny=[(null)] group_id=[HUAWEI]
2011-10-12 05:21:05 [11202] [0] INFO: HTTP: Opening server at port 14014.
2011-10-12 05:21:05 [11202] [0] DEBUG: Started thread 4
(mmsbox_cfg.c:(gwthread_func_t *)handle_mm1_mt_requests)
2011-10-12 05:21:05 [11202] [0] DEBUG: Started thread 5
(mmsbox_cfg.c:mmsc_receiver_func)
2011-10-12 05:21:05 [11202] [0] INFO: mmsbox_cfg.c:634
 [mmsbox] [n/a] Startup for mmsc [HUAWEI] complete
2011-10-12 05:21:05 [11202] [5] DEBUG: Thread 5
(mmsbox_cfg.c:mmsc_receiver_func) maps to pid 11202.
2011-10-12 05:21:05 [11202] [0] INFO: HTTP: Opening server at port 10002.
2011-10-12 05:21:05 [11202] [5] DEBUG: Started thread 6
(bearerbox.c:(gwthread_func_t *)dispatch_mm7_recv)
2011-10-12 05:21:05 [11202] [3] DEBUG: Thread 3 (gwlib/http.c:server_thread)
maps to pid 11202.
2011-10-12 05:21:05 [11202] [4] DEBUG: Thread 4
(mmsbox_cfg.c:(gwthread_func_t *)handle_mm1_mt_requests) maps to pid 11202.
2011-10-12 05:21:05 [11202] [0] DEBUG: Started thread 7
(mmsbox_cfg.c:(gwthread_func_t *)admin_handler)
2011-10-12 05:21:05 [11202] [0] INFO: mmsbox.c:757  [mmsbox] [n/a]

2011-10-12 05:21:05 [11202] [0] INFO: mmsbox.c:758  [mmsbox] [n/a]
 Mbuni MMSBox  version cvs-20110727 starting
2011-10-12 05:21:05 [11202] [4] INFO: bearerbox.c:2657
 [MM7] [HUAWEI] handle_mm1 [HUAWEI] started
2011-10-12 05:21:05 [11202] [7] DEBUG: Thread 7
(mmsbox_cfg.c:(gwthread_func_t *)admin_handler) maps to pid 11202.
2011-10-12 05:21:05 [11202] [5] DEBUG: Started thread 8
(bearerbox.c:(gwthread_func_t *)dispatch_mm7_recv)
2011-10-12 05:21:05 [11202] [0] DEBUG: Started thread 9
(mmsbox.c:(gwthread_func_t *)sendmms_func)
2011-10-12 05:21:05 [11202] [9] DEBUG: Thread 9 (mmsbox.c:(gwthread_func_t
*)sendmms_func) maps to pid 11202.
2011-10-12 05:21:05 [11202] [2] DEBUG: Thread 2 (gwlib/fdset.c:poller) maps
to pid 11202.
2011-10-12 05:21:05 [11202] [6] DEBUG: Thread 6
(bearerbox.c:(gwthread_func_t *)dispatch_mm7_recv) maps to pid 11202.
2011-10-12 05:21:05 [11202] [8] DEBUG: Thread 8
(bearerbox.c:(gwthread_func_t *)dispatch_mm7_recv) maps to pid 11202.
2011-10-12 05:21:05 [11202] [7] INFO: mmsbox_cfg.c:1195 
[mmsbox] [n/a] Admin Interface -- startup on port 10002
2011-10-12 05:21:05 [11202] [0] DEBUG: Started thread 10
(mmsbox.c:(gwthread_func_t *)mmsbox_outgoing_queue_runner)
2011-10-12 05:21:05 

[Users] Unable to send MMS Notification to Nokia Series 60 2nd ed. phones

2008-02-28 Thread Andrew B
I have tried with two phones, and thinking it might be an issue with the 
concatenated messages being delivered out of order, I applied Alex's 
patch to force in-order sending of pdu's, and that had no effect.
On the phone, I have multimedia reception set to "always on", and I have 
it set to defer retrieval of messages.
I get no indication that the phone received an mms notification.  The 
phone can, however, receive concatenated SMS messages just fine.


I don't even know where to begin looking, thanks!
___
Users mailing list
Users@mbuni.org
http://lists.mbuni.org/mailman/listinfo/users


Re: [Users] unable to send MMS from specific number (sender)

2006-08-11 Thread Anton
Hi Paul,

For example, IP address of the CELL operator's SMSC is 
1.2.3.4, while sending SMS through it from KANNEL, SMS 
comes from the number 1117 (I receive SMS on the mobile 
as "SMS from 1117" . While sending WAP pushes from MBUNI - 
this pushes comes "MMS from 1.2.3.4". I can't find how to 
make MBUNI and/OR KANNEL to send that WAP PUSHES from 1117.
One more detail, I operate MBUNI as MMSC - so I do send an 
MMS message from my mobile - to my mobile - this mms comes 
to MBUNI - than MBUNI sends WAP PUSH over KANNEL to an 
operators SMSC and I'm getting notification MESSAGE FROM 
1.2.3.4 (operator's SMSC IP address) - And while paying 
with the settings mms-client-msisdn-header
and mms-client-ip-header - I can change that 1.2.3.4 to a 
127001 (localhost's IP) - but I do not actually need it, I 
need to turn it to a number, to 1117.

Regards,
Anton.

On 11 August 2006 15:30, Paul Bagyenda wrote:
> Hi Anton,
>Could you explain a little more your setup and what
> you are trying to do. Not quite sure how to parse your
> problem description.
>
> P.
>
> On Aug 11, 2006, at 08:34, Anton wrote:
> > One more question, Every time I do get an MMS available
> > notification message, it says it comes from certain IP
> > address (An IP address of the CELL operator SMSC).
> > While playing with parameters
> >
> > mms-client-msisdn-header
> > mms-client-ip-header
> >
> > and trying to adjust it to a number - (I have to send
> > it from certain number - 1117) - I was able to make it
> > send only from 127001 - irrespectively what is setup
> > there. Somehow MBUNI/KANNEL sends thins MMS this way.
> > Any help how to fix that and make it send an MMS notify
> > from a number I need - would be highly appreciated! My
> > configs are attached.
> >
> > Sicerely,
> > Anton.
> > 
> > 
> > ___
> > Users mailing list
> > Users@mbuni.org
> > http://mbuni.org/mailman/listinfo/users_mbuni.org
>
> ___
> Users mailing list
> Users@mbuni.org
> http://mbuni.org/mailman/listinfo/users_mbuni.org

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


Re: [Users] unable to send MMS from specific number (sender)

2006-08-11 Thread Paul Bagyenda
Hi Anton,
   Could you explain a little more your setup and what you are trying  
to do. Not quite sure how to parse your problem description.

P.

On Aug 11, 2006, at 08:34, Anton wrote:

> One more question, Every time I do get an MMS available
> notification message, it says it comes from certain IP
> address (An IP address of the CELL operator SMSC). While
> playing with parameters
>
> mms-client-msisdn-header
> mms-client-ip-header
>
> and trying to adjust it to a number - (I have to send it
> from certain number - 1117) - I was able to make it send
> only from 127001 - irrespectively what is setup there.
> Somehow MBUNI/KANNEL sends thins MMS this way. Any help how
> to fix that and make it send an MMS notify from a number I
> need - would be highly appreciated! My configs are
> attached.
>
> Sicerely,
> Anton.
> 
> 
> ___
> Users mailing list
> Users@mbuni.org
> http://mbuni.org/mailman/listinfo/users_mbuni.org


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


[Users] unable to send MMS from specific number (sender)

2006-08-10 Thread Anton
One more question, Every time I do get an MMS available 
notification message, it says it comes from certain IP 
address (An IP address of the CELL operator SMSC). While 
playing with parameters

mms-client-msisdn-header
mms-client-ip-header

and trying to adjust it to a number - (I have to send it 
from certain number - 1117) - I was able to make it send 
only from 127001 - irrespectively what is setup there. 
Somehow MBUNI/KANNEL sends thins MMS this way. Any help how 
to fix that and make it send an MMS notify from a number I 
need - would be highly appreciated! My configs are 
attached.

Sicerely,
Anton.
#
# Sample configuration file for Kannel bearerbox on Debian.
# See the documentation for explanations of fields.
#

# HTTP administration is disabled by default. Make sure you set the
# password if you enable it.

group = core
admin-port = 13000
admin-password = bar
wapbox-port = 13002
smsbox-port = 13001
wdp-interface-name = "*"
log-file = "/var/log/kannel/bearerbox.log"
log-level = 1
store-file = "/var/log/kannel/kannel.store"

group = wapbox
bearerbox-host = localhost
log-file = "/var/log/kannel/wapbox.log"
timer-freq = 20
map-url = "http://mmsc/* http://localhost:1981/*";
map-url = "http://* http://localhost:1981/*";

group = smsbox
bearerbox-host = localhost
sendsms-port = 13013
global-sender = 1117
log-file = "/var/log/kannel/smsbox.log"
access-log = "/var/log/kannel/sms-access.log"

group = smsc
smsc = smpp
host = (CENSORED IP ADDRESS)
port = 
receive-port = 
smsc-username = "user"
smsc-password = "pass"
system-type = "SMS"
address-range = ""
my-number = 1117
interface-version = 34
dest-addr-ton = 0
dest-addr-npi = 1
source-addr-ton = 0
source-addr-npi = 1

group = sendsms-user
username = sms1
password = send1

group = sms-service
name = nothing
keyword = nop
aliases = "noppy;niente"
text = "You asked nothing and I did it!"
concatenation =  true
max-messages = 2


group = sms-service
name = Maarouf
keyword = man
aliases = "man"
text = "Hello MAN! How Are You?"

# PPG CORE SETUP, for defining the push request interface

group = ppg
ppg-url = /cgi-bin/wap-push.cgi
ppg-port = 8080
#ppg-ssl-port = 8081
concurrent-pushes = 100
trusted-pi = true
users = 1024
ppg-allow-ip = "*.*.*.*"

# PPG USER SETUP, for authorizing a specific push user

group = wap-push-user
wap-push-user = sms1
ppg-username = sms1
ppg-password = send1

group = core
log-file = /var/log/kannel/mbuni.log
access-log = /var/log/kannel/mbuni-access.log
log-level = 0

group = mbuni
name = "MY MMSC"
hostname = mmsc.myhost.net
host-alias = mmsc
local-mmsc-domains = myhost.net
local-prefixes = 992;+992;00992;505
storage-directory = /tmp/spool
max-send-threads = 5
send-mail-prog = /usr/sbin/sendmail -f '%f' '%t'
unified-prefix = "+99293,93"
maximum-send-attempts = 50
default-message-expiry = 36
queue-run-interval = 0.1
send-attempt-back-off = 300
sendsms-url = http://sms.myhost.net:13013/cgi-bin/sendsms
sendsms-username = sms1
sendsms-password = send1
mms-port = 1981
mm7-port = 1982
email2mms-relay-hosts = "mail.myhost.net"
billing-module-parameters = "/var/log/kannel/mbuni-cdr.log"
content-adaptation = true
notify-unprovisioned = yes
mms-notify-text = "You have received a multimedia message from %S, go to XXX to 
view it"
mm-box-host = local.ds.co.ug
mms-notify-unprovisioned-text = "This is a test"
mms-to-email-txt = "This is a multimedia message (HTML suppressed)"
mms-to-email-html = "This is a multimedia message powered by Digital 
Solutions"
mms-message-too-large-txt = "You have received a multimedia message from %S 
that is too large for your phone. Go to xxx to view it"
sendmms-port = 10001

group = send-mms-user
username = tester
password = foobar

group = send-mms-user
username = binary
password = "user"
faked-sender = 111

group = mms-service
name = fullmessage
get-url = http://www.myhost.net/images/news/bulletin.jpg
accept-x-mbuni-headers = true
keyword = try
text = Hi! This is MBUNI
faked-sender = 1117
catch-all = true

group = mmsproxy
name = "A test mms proxy"
host = mmsc.myhost.net
allowed-prefix = "+99293;5"
___
Users mailing list
Users@mbuni.org
http://mbuni.org/mailman/listinfo/users_mbuni.org