Re: [Users] MMSBox and MM1 GPRS modem

2010-03-18 Thread Emmanuel CHANSON
Any chance to get a lead ?

Emmanuel

2010/3/18 Emmanuel CHANSON emmanuelchan...@gmail.com

 Thanks Cristian to help me.

 I did not modify this part of mmsbox.conf because I did not setup for the
 moment any mms service. So yes this directory does not exist but I don't
 need it for the moment, my aim is to send a MMS through GPRS mobile so no
 mms-service should be used in this case.

 I try different kannel/mbuni version as different config file but no way.

 Can some gurus of mbuni try to explain this error ? I have seen only one
 people one internet having this but no answers given.

 *ERROR: bearerbox.c:1525 sendMsg [MM7] [n/a] Retry later MMSBox Outgoing
 Queue MMS Send: From 100/TYPE=PLMN, to +x/TYPE=PLMN, msgsize=95:
 internal error, mm1 notify not started!

 *
 Mbuni does not shutdown the modem why ?
 *
 *Best regards,

 Emmanuel

 2010/3/17 Cristian Padilla Duff cpadi...@misp.cl

  Hi,



 Can you confirm that the directory /var/www/html/images and the
 apache_pb.gif exist ….



 Other thing that you can confirm is if the apache is up, or if you have an
 alias correct in httpd.conf file …..because in your configuration file you
 have the




 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



 maybe something in the mmsbos.conf is not correct, look the groups … or
 find other mmsbox.conf in internet … there is a lot of examples.


  --

 *De:* users-boun...@mbuni.org [mailto:users-boun...@mbuni.org] *En nombre
 de *Emmanuel CHANSON
 *Enviado el:* miércoles, 17 de marzo de 2010 15:36
 *Para:* users@mbuni.org
 *Asunto:* Re: [Users] MMSBox and MM1 GPRS modem



 I tried many things (even Mbuni CVS + Kannel recommended release) but I
 got always the same behavior, I am blocked since 3 days.

 I want to send a MMS from MMSbox to a phone, I used:
 lynx -dump 
 http://localhost:10001/?username=altmmspassword=altmmsto=%2Bx/TYPE=PLMNsubject=Testtext=MMS
 
Accepted: Mbuni-msg.4983.x1.49.32


 the logs show this (mmsbox.conf):

 2010-03-17 08:29:43 [25549] [3] DEBUG: HTTP: Creating HTTPClient for
 `127.0.0.1'.
 2010-03-17 08:29:43 [25549] [3] DEBUG: HTTP: Created HTTPClient area
 0xb5809688.
 2010-03-17 08:29:43 [25549] [13] DEBUG: WSP: Mapping `text/plain', WSP 1.2
 to 0x0003.
 2010-03-17 08:29:43 [25549] [13] INFO: mmsbox.c:1366 make_and_queue_msg
 [mmsbox] [n/a] MMSBox: Queued message from service [sendmms-user], [transid
 [Mbuni-msg.4983.x1.49.32]: 4-qf4983.1.x549.22
 2010-03-17 08:29:43 [25549] [13] INFO: *System error 2: No such file or
 directory*
 2010-03-17 08:29:43 [25549] [13] DEBUG: HTTP: Destroying HTTPClient area
 0xb5809688.
 2010-03-17 08:29:43 [25549] [13] DEBUG: HTTP: Destroying HTTPClient for
 `127.0.0.1'.
 2010-03-17 08:29:43 [25549] [13] INFO: mmsbox.c:1613
 dispatch_sendmms_recv [mmsbox] [n/a] MMSBox.mmssend: u=altmms, Queued
 [Accepted: Mbuni-msg.4983.x1.49.32]
 2010-03-17 08:29:47 [25549] [7] DEBUG: Queued to thread 0 for
 /var/spool/mbuni/mmsbox_outgoing/4/qf4983.1.x549.22, sendt=1268774983,
 tnow=1268774987
 2010-03-17 08:29:47 [25549] [18] ERROR: *bearerbox.c:1525 sendMsg [MM7]
 [n/a] Retry later MMSBox Outgoing Queue MMS Send: From 100/TYPE=PLMN, to
 +x/TYPE=PLMN, msgsize=95: internal error, mm1 notify not started!
 *

 Mbuni should stop SMSc but nothing happens:

 mmsbox.conf below:

 One thing strange, Kannel does not notice anything when receiving a MMS
 notification (I tried to send a MMS from a mobile to my modem Nokia 6230),
 MMS is received on the modem but not catched by Kannel/Mbuni and absolutely
 no logs.

 If it can help

 mmsbox.conf:

 group = core
 log-file = /var/log/mbuni/mmsbox.log
 access-log = /var/log/mbuni/mmsbox-access.log
 log-level = 0
 mmsbox-admin-port = 10020
 admin-password = password
 admin-port-ssl = false

 group = mbuni
 storage-directory = /var/spool/mbuni
 max-send-threads = 5
 maximum-send-attempts = 50
 default-message-expiry = 36
 queue-run-interval = 5
 send-attempt-back-off = 300
 sendmms-port = 10001
 sendsms-url = http://localhost:13013/cgi-bin/sendsms
 sendsms-username =xx
 sendsms-password = xx

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

 # Conf for MMSBox using a modem (MM1)
 group = mmsc
 id = nokiaphone
 type = custom
 custom-settings = smsc-on=lynx -dump '
 http://localhost:13000/start-smsc?password=xxsmsc=nokiaphone'http://localhost:13000/start-smsc?password=xxsmsc=nokiaphone%27
 ;\
  smsc-off=lynx -dump '
 http://localhost:13000/stop-smsc?password=xxsmsc=nokiaphone'http://localhost:13000/stop-smsc?password=xxsmsc=nokiaphone%27
 ;\
  gprs-on=pppd call gprs;gprs-pid=cat /var/run/ppp0.pid|head
 -1;port=13000;mmsc-url=
 

RE: [Users] MMSBox and MM1 GPRS modem

2010-03-18 Thread Nuno Freitas
Hi there Emmanuel,

Well from what you sent I can't have a hint of what is going wrong.

 

Could you please send the the pppd( chat file also) and kannel configuration
files, and beside this, send  /var/log/messages and the log that is on the
value log-file from the group = smsc group on the kannel conf file.

send only the log info of one of the times you try to send a mms : )

 

This may help give a hint on what is going wrong.

 

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