Re: [Users] mbuni mmsc.conf | help

2011-03-29 Thread Emmanuel CHANSON
Hello,

2011-03-28 15:29:11 [5042] [0] PANIC: No Message supplied, or failed to
decode binary data!

It seems your mms is not in mms format.

try to use the one attached.

BR

Emmanuel

2011/3/29 ranjani kr ranjani14...@gmail.com

 Hi All,

 I'm trying to set up MMS gateway.
 With the help of some blogs and Mbuni guide I'm able to set mmsc to an
 extent. I'm almost near setting mbuni as mmsc but still something is
 missing. This is project work of my course but need some guidelines to
 finish in time. Can you please take some time to help me with this or guide
 me if I'm going wrong

 Here is my mmsc.config file

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

 group = mbuni
 #name = My MMSC
 hostname = *.*.*.*
 host-alias = mmsc
 local-prefixes = +91;037;+25637;25637
 storage-directory = /tmp/spool
 max-send-threads = 5
 #send-mail-prog = /usr/sbin/sendmail -f '%f' '%t'
 #unified-prefix = +25637,037,37
 #maximum-send-attempts = 50
 default-message-expiry = 36
 #queue-run-interval = 5
 #send-attempt-back-off = 300
 sendsms-url = http://*.*.*.*:3001/cgi-bin/sendsms?
 sendsms-username = **
 sendsms-password = **
 mms-port = 1981
 mm7-port = 1982
 optimize-notification-size = true

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

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

 group = mmsproxy
 name = A test mms proxy
 host = ds.co.ug
 allowed-prefix = +25635
 denied-prefix = 037


 Values of hostname, sendsms-username and sendsms-password are the one used
 in smskannel.conf.
 I dont know if group = mms-vasp and group = mmsproxy is required to send
 mms. Also I'm not sure
 if type = soap which is used in group = mmsc and in group = mms-vasp.

 I executed the following commands:
 mmsproxy /etc/mmsc.conf 

 [root@secondlinux ~]# 2011-03-28 15:24:19 [4989] [0] INFO: Debug_lvl = -1,
 log_file = none, log_lvl = 0
 2011-03-28 15:24:19 [4989] [0] INFO:
 
 2011-03-28 15:24:19 [4989] [0] INFO:  Mbuni MMSC Proxy version 1.4.0
 starting
 2011-03-28 15:24:19 [4989] [0] INFO: Added logfile
 `/tmp/log/mbuni-mmsc.log' with level `0'.
 2011-03-28 15:24:19 [4989] [0] INFO: Started access logfile
 `/tmp/log/mmsc-access.log'.
 2011-03-28 15:24:19 [4989] [0] INFO: HTTP: Opening server at port 1981.
 2011-03-28 15:24:19 [4989] [0] DEBUG: Started thread 1
 (gwlib/fdset.c:poller)
 2011-03-28 15:24:19 [4989] [0] DEBUG: Started thread 2
 (gwlib/http.c:server_thread)
 2011-03-28 15:24:19 [4989] [0] INFO: HTTP: Opening server at port 1982.
 2011-03-28 15:24:19 [4989] [0] DEBUG: Started thread 3
 (mmsproxy.c:(gwthread_func_t *)mm7proxy)
 2011-03-28 15:24:19 [4989] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) maps
 to pid 4989.
 2011-03-28 15:24:19 [4989] [2] DEBUG: Thread 2 (gwlib/http.c:server_thread)
 maps to pid 4989.
 2011-03-28 15:24:19 [4989] [3] DEBUG: Thread 3 (mmsproxy.c:(gwthread_func_t
 *)mm7proxy) maps to pid 4989.


 mmsrelay /etc/mmsc.conf 

 [root@secondlinux ~]# 2011-03-28 15:26:03 [5008] [0] INFO: Debug_lvl = -1,
 log_file = none, log_lvl = 0
 2011-03-28 15:26:03 [5008] [0] INFO:
 
 2011-03-28 15:26:03 [5008] [0] INFO:  Mbuni MMSC Relay  version 1.4.0
 starting
 2011-03-28 15:26:03 [5008] [0] INFO: Added logfile
 `/tmp/log/mbuni-mmsc.log' with level `0'.
 2011-03-28 15:26:03 [5008] [0] INFO: Started access logfile
 `/tmp/log/mmsc-access.log'.
 2011-03-28 15:26:03 [5008] [0] INFO: Starting Global Queue Runner...
 2011-03-28 15:26:03 [5008] [0] DEBUG: Started thread 1
 (mmsrelay.c:(gwthread_func_t *)mbuni_global_queue_runner)
 2011-03-28 15:26:03 [5008] [0] INFO: Starting Local Queue Runner...
 2011-03-28 15:26:03 [5008] [0] DEBUG: Started thread 2
 (mmsmobilesender.c:(gwthread_func_t *)receive_push_reply)
 2011-03-28 15:26:03 [5008] [0] DEBUG: Started thread 3
 (mms_queue.c:(gwthread_func_t *)tdeliver)
 2011-03-28 15:26:03 [5008] [0] DEBUG: Started thread 4
 (mms_queue.c:(gwthread_func_t *)tdeliver)
 2011-03-28 15:26:03 [5008] [0] DEBUG: Started thread 5
 (mms_queue.c:(gwthread_func_t *)tdeliver)
 2011-03-28 15:26:03 [5008] [0] DEBUG: Started thread 6
 (mms_queue.c:(gwthread_func_t *)tdeliver)
 2011-03-28 15:26:03 [5008] [0] DEBUG: Started thread 7
 (mms_queue.c:(gwthread_func_t *)tdeliver)
 2011-03-28 15:26:03 [5008] [1] DEBUG: Thread 1 (mmsrelay.c:(gwthread_func_t
 *)mbuni_global_queue_runner) maps to pid 5008.
 2011-03-28 15:26:03 [5008] [1] DEBUG: Started thread 8
 (mmsglobalsender.c:cdr_thread)
 2011-03-28 15:26:03 [5008] [1] DEBUG: Started thread 9
 (mms_queue.c:(gwthread_func_t *)tdeliver)
 2011-03-28 15:26:03 [5008] [1] DEBUG: Started thread 10
 (mms_queue.c:(gwthread_func_t *)tdeliver)
 2011-03-28 15:26:03 [5008] [7] DEBUG: Thread 7
 

Re: [Users] mbuni mmsc.conf | help

2011-03-29 Thread paul mwaniki
sorry friend mbuni is hell on earth,infact i quit a job when i was
told to work on mbuni. but i will forward you some helpful documents

On Tue, Mar 29, 2011 at 9:21 AM, ranjani kr ranjani14...@gmail.com wrote:
 Hi All,

 I'm trying to set up MMS gateway.
 With the help of some blogs and Mbuni guide I'm able to set mmsc to an
 extent. I'm almost near setting mbuni as mmsc but still something is
 missing. This is project work of my course but need some guidelines to
 finish in time. Can you please take some time to help me with this or guide
 me if I'm going wrong

 Here is my mmsc.config file

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

 group = mbuni
 #name = My MMSC
 hostname = *.*.*.*
 host-alias = mmsc
 local-prefixes = +91;037;+25637;25637
 storage-directory = /tmp/spool
 max-send-threads = 5
 #send-mail-prog = /usr/sbin/sendmail -f '%f' '%t'
 #unified-prefix = +25637,037,37
 #maximum-send-attempts = 50
 default-message-expiry = 36
 #queue-run-interval = 5
 #send-attempt-back-off = 300
 sendsms-url = http://*.*.*.*:3001/cgi-bin/sendsms?
 sendsms-username = **
 sendsms-password = **
 mms-port = 1981
 mm7-port = 1982
 optimize-notification-size = true

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

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

 group = mmsproxy
 name = A test mms proxy
 host = ds.co.ug
 allowed-prefix = +25635
 denied-prefix = 037


 Values of hostname, sendsms-username and sendsms-password are the one used
 in smskannel.conf.
 I dont know if group = mms-vasp and group = mmsproxy is required to send
 mms. Also I'm not sure
 if type = soap which is used in group = mmsc and in group = mms-vasp.

 I executed the following commands:
 mmsproxy /etc/mmsc.conf 

 [root@secondlinux ~]# 2011-03-28 15:24:19 [4989] [0] INFO: Debug_lvl = -1,
 log_file = none, log_lvl = 0
 2011-03-28 15:24:19 [4989] [0] INFO:
 
 2011-03-28 15:24:19 [4989] [0] INFO:  Mbuni MMSC Proxy version 1.4.0
 starting
 2011-03-28 15:24:19 [4989] [0] INFO: Added logfile `/tmp/log/mbuni-mmsc.log'
 with level `0'.
 2011-03-28 15:24:19 [4989] [0] INFO: Started access logfile
 `/tmp/log/mmsc-access.log'.
 2011-03-28 15:24:19 [4989] [0] INFO: HTTP: Opening server at port 1981.
 2011-03-28 15:24:19 [4989] [0] DEBUG: Started thread 1
 (gwlib/fdset.c:poller)
 2011-03-28 15:24:19 [4989] [0] DEBUG: Started thread 2
 (gwlib/http.c:server_thread)
 2011-03-28 15:24:19 [4989] [0] INFO: HTTP: Opening server at port 1982.
 2011-03-28 15:24:19 [4989] [0] DEBUG: Started thread 3
 (mmsproxy.c:(gwthread_func_t *)mm7proxy)
 2011-03-28 15:24:19 [4989] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) maps
 to pid 4989.
 2011-03-28 15:24:19 [4989] [2] DEBUG: Thread 2 (gwlib/http.c:server_thread)
 maps to pid 4989.
 2011-03-28 15:24:19 [4989] [3] DEBUG: Thread 3 (mmsproxy.c:(gwthread_func_t
 *)mm7proxy) maps to pid 4989.


 mmsrelay /etc/mmsc.conf 

 [root@secondlinux ~]# 2011-03-28 15:26:03 [5008] [0] INFO: Debug_lvl = -1,
 log_file = none, log_lvl = 0
 2011-03-28 15:26:03 [5008] [0] INFO:
 
 2011-03-28 15:26:03 [5008] [0] INFO:  Mbuni MMSC Relay  version 1.4.0
 starting
 2011-03-28 15:26:03 [5008] [0] INFO: Added logfile `/tmp/log/mbuni-mmsc.log'
 with level `0'.
 2011-03-28 15:26:03 [5008] [0] INFO: Started access logfile
 `/tmp/log/mmsc-access.log'.
 2011-03-28 15:26:03 [5008] [0] INFO: Starting Global Queue Runner...
 2011-03-28 15:26:03 [5008] [0] DEBUG: Started thread 1
 (mmsrelay.c:(gwthread_func_t *)mbuni_global_queue_runner)
 2011-03-28 15:26:03 [5008] [0] INFO: Starting Local Queue Runner...
 2011-03-28 15:26:03 [5008] [0] DEBUG: Started thread 2
 (mmsmobilesender.c:(gwthread_func_t *)receive_push_reply)
 2011-03-28 15:26:03 [5008] [0] DEBUG: Started thread 3
 (mms_queue.c:(gwthread_func_t *)tdeliver)
 2011-03-28 15:26:03 [5008] [0] DEBUG: Started thread 4
 (mms_queue.c:(gwthread_func_t *)tdeliver)
 2011-03-28 15:26:03 [5008] [0] DEBUG: Started thread 5
 (mms_queue.c:(gwthread_func_t *)tdeliver)
 2011-03-28 15:26:03 [5008] [0] DEBUG: Started thread 6
 (mms_queue.c:(gwthread_func_t *)tdeliver)
 2011-03-28 15:26:03 [5008] [0] DEBUG: Started thread 7
 (mms_queue.c:(gwthread_func_t *)tdeliver)
 2011-03-28 15:26:03 [5008] [1] DEBUG: Thread 1 (mmsrelay.c:(gwthread_func_t
 *)mbuni_global_queue_runner) maps to pid 5008.
 2011-03-28 15:26:03 [5008] [1] DEBUG: Started thread 8
 (mmsglobalsender.c:cdr_thread)
 2011-03-28 15:26:03 [5008] [1] DEBUG: Started thread 9
 (mms_queue.c:(gwthread_func_t *)tdeliver)
 2011-03-28 15:26:03 [5008] [1] DEBUG: Started thread 10
 (mms_queue.c:(gwthread_func_t *)tdeliver)
 2011-03-28 15:26:03 [5008] [7] DEBUG: Thread 7 

Re: [Users] mbuni mmsc.conf | help

2011-03-29 Thread jamo njoroge
@emmanuel how do you go about composing the mms's you attached? also do you
need to have a public ip address to send mms's via a gsm network as i have
tried sending them but on them from mbuni but on the handset it says,
message retrieval failed what could be the issue?

On Tue, Mar 29, 2011 at 9:37 AM, paul mwaniki paulmw...@gmail.com wrote:

 sorry friend mbuni is hell on earth,infact i quit a job when i was
 told to work on mbuni. but i will forward you some helpful documents

 On Tue, Mar 29, 2011 at 9:21 AM, ranjani kr ranjani14...@gmail.com
 wrote:
  Hi All,
 
  I'm trying to set up MMS gateway.
  With the help of some blogs and Mbuni guide I'm able to set mmsc to an
  extent. I'm almost near setting mbuni as mmsc but still something is
  missing. This is project work of my course but need some guidelines to
  finish in time. Can you please take some time to help me with this or
 guide
  me if I'm going wrong
 
  Here is my mmsc.config file
 
  group = core
  log-file = /tmp/log/mbuni-mmsc.log
  access-log = /tmp/log/mmsc-access.log
  log-level = 0
 
  group = mbuni
  #name = My MMSC
  hostname = *.*.*.*
  host-alias = mmsc
  local-prefixes = +91;037;+25637;25637
  storage-directory = /tmp/spool
  max-send-threads = 5
  #send-mail-prog = /usr/sbin/sendmail -f '%f' '%t'
  #unified-prefix = +25637,037,37
  #maximum-send-attempts = 50
  default-message-expiry = 36
  #queue-run-interval = 5
  #send-attempt-back-off = 300
  sendsms-url = http://*.*.*.*:3001/cgi-bin/sendsms?
  sendsms-username = **
  sendsms-password = **
  mms-port = 1981
  mm7-port = 1982
  optimize-notification-size = true
 
  group = mmsc
  id = local
  mmsc-url = http://mbuni:test@localhost:1982/soap
  incoming-username = user
  incoming-password = pass
  incoming-port = 12345
  type = soap
 
  group = mms-vasp
  vasp-id = newscorp
  type = soap
  short-code = 111
  vasp-username = mbuni
  vasp-password = test
  vasp-url = http://user:pass@localhost:12345/
 
  group = mmsproxy
  name = A test mms proxy
  host = ds.co.ug
  allowed-prefix = +25635
  denied-prefix = 037
 
 
  Values of hostname, sendsms-username and sendsms-password are the one
 used
  in smskannel.conf.
  I dont know if group = mms-vasp and group = mmsproxy is required to send
  mms. Also I'm not sure
  if type = soap which is used in group = mmsc and in group = mms-vasp.
 
  I executed the following commands:
  mmsproxy /etc/mmsc.conf 
 
  [root@secondlinux ~]# 2011-03-28 15:24:19 [4989] [0] INFO: Debug_lvl =
 -1,
  log_file = none, log_lvl = 0
  2011-03-28 15:24:19 [4989] [0] INFO:
  
  2011-03-28 15:24:19 [4989] [0] INFO:  Mbuni MMSC Proxy version 1.4.0
  starting
  2011-03-28 15:24:19 [4989] [0] INFO: Added logfile
 `/tmp/log/mbuni-mmsc.log'
  with level `0'.
  2011-03-28 15:24:19 [4989] [0] INFO: Started access logfile
  `/tmp/log/mmsc-access.log'.
  2011-03-28 15:24:19 [4989] [0] INFO: HTTP: Opening server at port 1981.
  2011-03-28 15:24:19 [4989] [0] DEBUG: Started thread 1
  (gwlib/fdset.c:poller)
  2011-03-28 15:24:19 [4989] [0] DEBUG: Started thread 2
  (gwlib/http.c:server_thread)
  2011-03-28 15:24:19 [4989] [0] INFO: HTTP: Opening server at port 1982.
  2011-03-28 15:24:19 [4989] [0] DEBUG: Started thread 3
  (mmsproxy.c:(gwthread_func_t *)mm7proxy)
  2011-03-28 15:24:19 [4989] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller)
 maps
  to pid 4989.
  2011-03-28 15:24:19 [4989] [2] DEBUG: Thread 2
 (gwlib/http.c:server_thread)
  maps to pid 4989.
  2011-03-28 15:24:19 [4989] [3] DEBUG: Thread 3
 (mmsproxy.c:(gwthread_func_t
  *)mm7proxy) maps to pid 4989.
 
 
  mmsrelay /etc/mmsc.conf 
 
  [root@secondlinux ~]# 2011-03-28 15:26:03 [5008] [0] INFO: Debug_lvl =
 -1,
  log_file = none, log_lvl = 0
  2011-03-28 15:26:03 [5008] [0] INFO:
  
  2011-03-28 15:26:03 [5008] [0] INFO:  Mbuni MMSC Relay  version 1.4.0
  starting
  2011-03-28 15:26:03 [5008] [0] INFO: Added logfile
 `/tmp/log/mbuni-mmsc.log'
  with level `0'.
  2011-03-28 15:26:03 [5008] [0] INFO: Started access logfile
  `/tmp/log/mmsc-access.log'.
  2011-03-28 15:26:03 [5008] [0] INFO: Starting Global Queue Runner...
  2011-03-28 15:26:03 [5008] [0] DEBUG: Started thread 1
  (mmsrelay.c:(gwthread_func_t *)mbuni_global_queue_runner)
  2011-03-28 15:26:03 [5008] [0] INFO: Starting Local Queue Runner...
  2011-03-28 15:26:03 [5008] [0] DEBUG: Started thread 2
  (mmsmobilesender.c:(gwthread_func_t *)receive_push_reply)
  2011-03-28 15:26:03 [5008] [0] DEBUG: Started thread 3
  (mms_queue.c:(gwthread_func_t *)tdeliver)
  2011-03-28 15:26:03 [5008] [0] DEBUG: Started thread 4
  (mms_queue.c:(gwthread_func_t *)tdeliver)
  2011-03-28 15:26:03 [5008] [0] DEBUG: Started thread 5
  (mms_queue.c:(gwthread_func_t *)tdeliver)
  2011-03-28 15:26:03 [5008] [0] DEBUG: Started thread 6
  (mms_queue.c:(gwthread_func_t *)tdeliver)
  2011-03-28 15:26:03 [5008] [0] DEBUG: Started thread 7
  (mms_queue.c:(gwthread_func_t *)tdeliver)
  

Re: [Users] mbuni mmsc.conf | help

2011-03-29 Thread Emmanuel CHANSON
Hello Jamo,

To compose MMS check on Nokia MMS forum.

You can also use the HTTP API from Mbuni to send MMS:

# lynx -dump 
http://localhost:10001/?username=altmmspassword=altmmsto=+687783548/TYPE=PLMNsubject=Test-MMStext=MMSTexte;

With a SMIL file:
# lynx -dump '
http://localhost:13501?username=password=from=xxxto=xxsubject=testesmil=http://localhost:84/main-allison.smil



The SMIL:

smil
head
meta name=title content=oi2 /
meta name=author content=MMS /
layout
root-layout width=160 height=160 /
region id=Image width=160 height=120 left=0 top=0 /
region id=Text width=160 height=20 left=0 top=120 /
/layout
/head
body
par dur=3s
img src=path_to_img region=Image /
/par
/body
/smil

Try to look on google and Mbuni list about this



If you want to use Mbuni as a MMS-C you will need a public IP address
because Mbuni will send a Notification to recipient (binary SMS) that will
make the recipient mobile connecting to GPRS/3G network and fetch the MMS
URL that will be something like http://mbuni_public_ip:port/path/to/mms

If you are using a gprs/3G modem to send your MMS then it is your MMS-C
provider who will deliver MMS to recipient and you don't need public IP
address, recipient mobile will fetch MMS stored on provider's MMS-C.

Regards,

Emmanuel

2011/3/29 jamo njoroge patja...@gmail.com

 @emmanuel how do you go about composing the mms's you attached? also do you
 need to have a public ip address to send mms's via a gsm network as i have
 tried sending them but on them from mbuni but on the handset it says,
 message retrieval failed what could be the issue?


 On Tue, Mar 29, 2011 at 9:37 AM, paul mwaniki paulmw...@gmail.com wrote:

 sorry friend mbuni is hell on earth,infact i quit a job when i was
 told to work on mbuni. but i will forward you some helpful documents

 On Tue, Mar 29, 2011 at 9:21 AM, ranjani kr ranjani14...@gmail.com
 wrote:
  Hi All,
 
  I'm trying to set up MMS gateway.
  With the help of some blogs and Mbuni guide I'm able to set mmsc to an
  extent. I'm almost near setting mbuni as mmsc but still something is
  missing. This is project work of my course but need some guidelines to
  finish in time. Can you please take some time to help me with this or
 guide
  me if I'm going wrong
 
  Here is my mmsc.config file
 
  group = core
  log-file = /tmp/log/mbuni-mmsc.log
  access-log = /tmp/log/mmsc-access.log
  log-level = 0
 
  group = mbuni
  #name = My MMSC
  hostname = *.*.*.*
  host-alias = mmsc
  local-prefixes = +91;037;+25637;25637
  storage-directory = /tmp/spool
  max-send-threads = 5
  #send-mail-prog = /usr/sbin/sendmail -f '%f' '%t'
  #unified-prefix = +25637,037,37
  #maximum-send-attempts = 50
  default-message-expiry = 36
  #queue-run-interval = 5
  #send-attempt-back-off = 300
  sendsms-url = http://*.*.*.*:3001/cgi-bin/sendsms?
  sendsms-username = **
  sendsms-password = **
  mms-port = 1981
  mm7-port = 1982
  optimize-notification-size = true
 
  group = mmsc
  id = local
  mmsc-url = http://mbuni:test@localhost:1982/soap
  incoming-username = user
  incoming-password = pass
  incoming-port = 12345
  type = soap
 
  group = mms-vasp
  vasp-id = newscorp
  type = soap
  short-code = 111
  vasp-username = mbuni
  vasp-password = test
  vasp-url = http://user:pass@localhost:12345/
 
  group = mmsproxy
  name = A test mms proxy
  host = ds.co.ug
  allowed-prefix = +25635
  denied-prefix = 037
 
 
  Values of hostname, sendsms-username and sendsms-password are the one
 used
  in smskannel.conf.
  I dont know if group = mms-vasp and group = mmsproxy is required to send
  mms. Also I'm not sure
  if type = soap which is used in group = mmsc and in group = mms-vasp.
 
  I executed the following commands:
  mmsproxy /etc/mmsc.conf 
 
  [root@secondlinux ~]# 2011-03-28 15:24:19 [4989] [0] INFO: Debug_lvl =
 -1,
  log_file = none, log_lvl = 0
  2011-03-28 15:24:19 [4989] [0] INFO:
  
  2011-03-28 15:24:19 [4989] [0] INFO:  Mbuni MMSC Proxy version 1.4.0
  starting
  2011-03-28 15:24:19 [4989] [0] INFO: Added logfile
 `/tmp/log/mbuni-mmsc.log'
  with level `0'.
  2011-03-28 15:24:19 [4989] [0] INFO: Started access logfile
  `/tmp/log/mmsc-access.log'.
  2011-03-28 15:24:19 [4989] [0] INFO: HTTP: Opening server at port 1981.
  2011-03-28 15:24:19 [4989] [0] DEBUG: Started thread 1
  (gwlib/fdset.c:poller)
  2011-03-28 15:24:19 [4989] [0] DEBUG: Started thread 2
  (gwlib/http.c:server_thread)
  2011-03-28 15:24:19 [4989] [0] INFO: HTTP: Opening server at port 1982.
  2011-03-28 15:24:19 [4989] [0] DEBUG: Started thread 3
  (mmsproxy.c:(gwthread_func_t *)mm7proxy)
  2011-03-28 15:24:19 [4989] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller)
 maps
  to pid 4989.
  2011-03-28 15:24:19 [4989] [2] DEBUG: Thread 2
 (gwlib/http.c:server_thread)
  maps to pid 4989.
  2011-03-28 15:24:19 [4989] [3] DEBUG: Thread 3
 (mmsproxy.c:(gwthread_func_t
  *)mm7proxy) maps to pid 4989.
 
 
  mmsrelay /etc/mmsc.conf 
 
  [root@secondlinux 

Re: [Users] mbuni mmsc.conf | help

2011-03-29 Thread Ammar Naamat Hameed
Hi Ranjani, 
The problem is with the test.txt, you have to make it MMS file, try this
sudo  mmssend -f +919 -t +919 -m test2.MMS -b  mmsc.conf
test2.MMS is attached, and if you wanna do it by yourself then go to this.
Please let me know the result, 
Hope this will solve the problem.
Cheers,
Ammar

--- On Tue, 3/29/11, ranjani kr ranjani14...@gmail.com wrote:

From: ranjani kr ranjani14...@gmail.com
Subject: [Users] mbuni mmsc.conf | help
To: users@mbuni.org
Date: Tuesday, March 29, 2011, 9:21 AM

Hi All,

I'm trying to set up MMS gateway.
With the help of some blogs and Mbuni guide I'm able to set mmsc to an extent. 
I'm almost near setting mbuni as mmsc but still something is missing. This is 
project work of my course but need some guidelines to finish in time. Can you 
please take some time to help me with this or guide me if I'm going wrong


Here is my mmsc.config file

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

group = mbuni
#name = My MMSC
hostname = *.*.*.*

host-alias = mmsc
local-prefixes = +91;037;+25637;25637
storage-directory = /tmp/spool
max-send-threads = 5
#send-mail-prog = /usr/sbin/sendmail -f '%f' '%t'
#unified-prefix = +25637,037,37

#maximum-send-attempts = 50
default-message-expiry = 36
#queue-run-interval = 5
#send-attempt-back-off = 300
sendsms-url = http://*.*.*.*:3001/cgi-bin/sendsms?
sendsms-username = **
sendsms-password = **

mms-port = 1981
mm7-port = 1982
optimize-notification-size = true

group = mmsc
id = local
mmsc-url = http://mbuni:test@localhost:1982/soap
incoming-username = user
incoming-password = pass
incoming-port = 12345

type = soap

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

group = mmsproxy
name = A test mms proxy

host = ds.co.ug
allowed-prefix = +25635
denied-prefix = 037


Values of hostname, sendsms-username and sendsms-password are the one used in 
smskannel.conf.

I dont know if group = mms-vasp and group = mmsproxy is required to send mms. 
Also I'm not sure 
if type = soap which is used in group = mmsc and in group = mms-vasp. 

I executed the following commands:
mmsproxy /etc/mmsc.conf 


[root@secondlinux ~]# 2011-03-28 15:24:19 [4989] [0] INFO: Debug_lvl = -1, 
log_file = none, log_lvl = 0
2011-03-28 15:24:19 [4989] [0] INFO: 
2011-03-28 15:24:19 [4989] [0] INFO:  Mbuni MMSC Proxy version 1.4.0 starting

2011-03-28 15:24:19 [4989] [0] INFO: Added logfile `/tmp/log/mbuni-mmsc.log' 
with level `0'.
2011-03-28 15:24:19 [4989] [0] INFO: Started access logfile 
`/tmp/log/mmsc-access.log'.
2011-03-28 15:24:19 [4989] [0] INFO: HTTP: Opening server at port 1981.

2011-03-28 15:24:19 [4989] [0] DEBUG: Started thread 1 (gwlib/fdset.c:poller)
2011-03-28 15:24:19 [4989] [0] DEBUG: Started thread 2 
(gwlib/http.c:server_thread)
2011-03-28 15:24:19 [4989] [0] INFO: HTTP: Opening server at port 1982.

2011-03-28 15:24:19 [4989] [0] DEBUG: Started thread 3 
(mmsproxy.c:(gwthread_func_t *)mm7proxy)
2011-03-28 15:24:19 [4989] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) maps to 
pid 4989.
2011-03-28 15:24:19 [4989] [2] DEBUG: Thread 2 (gwlib/http.c:server_thread) 
maps to pid 4989.

2011-03-28 15:24:19 [4989] [3] DEBUG: Thread 3 (mmsproxy.c:(gwthread_func_t 
*)mm7proxy) maps to pid 4989.


mmsrelay /etc/mmsc.conf 

[root@secondlinux ~]# 2011-03-28 15:26:03 [5008] [0] INFO: Debug_lvl = -1, 
log_file = none, log_lvl = 0

2011-03-28 15:26:03 [5008] [0] INFO: 
2011-03-28 15:26:03 [5008] [0] INFO:  Mbuni MMSC Relay  version 1.4.0 starting
2011-03-28 15:26:03 [5008] [0] INFO: Added logfile `/tmp/log/mbuni-mmsc.log' 
with level `0'.

2011-03-28 15:26:03 [5008] [0] INFO: Started access logfile 
`/tmp/log/mmsc-access.log'.
2011-03-28 15:26:03 [5008] [0] INFO: Starting Global Queue Runner...
2011-03-28 15:26:03 [5008] [0] DEBUG: Started thread 1 
(mmsrelay.c:(gwthread_func_t *)mbuni_global_queue_runner)

2011-03-28 15:26:03 [5008] [0] INFO: Starting Local Queue Runner...
2011-03-28 15:26:03 [5008] [0] DEBUG: Started thread 2 
(mmsmobilesender.c:(gwthread_func_t *)receive_push_reply)
2011-03-28 15:26:03 [5008] [0] DEBUG: Started thread 3 
(mms_queue.c:(gwthread_func_t *)tdeliver)

2011-03-28 15:26:03 [5008] [0] DEBUG: Started thread 4 
(mms_queue.c:(gwthread_func_t *)tdeliver)
2011-03-28 15:26:03 [5008] [0] DEBUG: Started thread 5 
(mms_queue.c:(gwthread_func_t *)tdeliver)
2011-03-28 15:26:03 [5008] [0] DEBUG: Started thread 6 
(mms_queue.c:(gwthread_func_t *)tdeliver)

2011-03-28 15:26:03 [5008] [0] DEBUG: Started thread 7 
(mms_queue.c:(gwthread_func_t *)tdeliver)
2011-03-28 15:26:03 [5008] [1] DEBUG: Thread 1 (mmsrelay.c:(gwthread_func_t 
*)mbuni_global_queue_runner) maps to pid 5008.

2011-03-28 15:26:03 [5008] [1] DEBUG: Started thread 8 
(mmsglobalsender.c:cdr_thread)
2011-03-28 15:26:03 [5008] [1]