Thanks for the mail-archive ¨Paul,

I tried configuring pppd like Nuno did but same result:

mmsbox.log:
--------------------
2010-03-15 15:30:06 [28823] [3] DEBUG: HTTP: Creating HTTPClient for
`127.0.0.1'.
2010-03-15 15:30:06 [28823] [3] DEBUG: HTTP: Created HTTPClient area
0xb56128b0.
2010-03-15 15:30:06 [28823] [13] DEBUG: WSP: Mapping `text/plain', WSP 1.2
to 0x0003.
2010-03-15 15:30:06 [28823] [13] INFO: mmsbox.c:1366 <make_and_queue_msg>
[mmsbox] [n/a] MMSBox: Queued message from service [sendmms-user], [transid
[Mbuni-msg.7406.x1.23.53]: b-qf7406.1.x823.70
2010-03-15 15:30:06 [28823] [13] INFO: *System error 2: No such file or
directory*
2010-03-15 15:30:06 [28823] [13] DEBUG: HTTP: Destroying HTTPClient area
0xb56128b0.
2010-03-15 15:30:06 [28823] [13] DEBUG: HTTP: Destroying HTTPClient for
`127.0.0.1'.
2010-03-15 15:30:06 [28823] [13] INFO: mmsbox.c:1613 <dispatch_sendmms_recv>
[mmsbox] [n/a] MMSBox.mmssend: u=altmms, Queued [Accepted:
Mbuni-msg.7406.x1.23.53]
2010-03-15 15:30:08 [28823] [7] DEBUG: Queued to thread 0 for
/var/spool/mbuni/mmsbox_outgoing/b/qf7406.1.x823.70, sendt=1268627406,
tnow=1268627408
2010-03-15 15:30:08 [28823] [18] ERROR: bearerbox.c:1525 <sendMsg> [MM7]
[n/a] Retry later MMSBox Outgoing Queue MMS Send: From 100/TYPE=PLMN, to
+687XXXXXX/TYPE=PLMN, msgsize=95: *internal error, mm1 notify not started!*

mbunibox.conf:
----------------------
# 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=m...@c0m!&smsc=at'; \
# smsc-off=lynx -dump '
http://localhost:13000/stop-smsc?password=m...@c0m!&smsc=at'; \
# gprs-on=/usr/bin/pon o2; \
# gprs-pid=cat /var/run/ppp0.pid | head -1;port=13014;\
# mmsc-url=http://www.mobitag.nc/mmsc;proxy=192.168.39.201:3130;msisdn=100";
custom-settings = "smsc-on=lynx -dump '
http://localhost:13000/start-smsc?password=m...@c0m!&smsc=nokiaphone'; \
 smsc-off=lynx -dump '
http://localhost:13001/stop-smsc?password=m...@c0m!&smsc=nokiaphone'; \
 gprs-on=pppd call gprs; \
# gprs-on=/usr/bin/wvdial; \
 gprs-pid=cat /var/run/ppp0.pid | head -1;port=13014;\
 mmsc-url=http://iwww.mobitag.nc/mmsc;proxy=192.168.39.201:313;msisdn=100";;
mmsc-library = /usr/local/lib/libmmsbox_mm1.so

I have several question to understand better how it should work:
- For what is used the port parameter inside custom-settings -> *
;port=13014;* ?
- Should I use *ppd call gprs* or *wvdial* ? should it provide the same
result ie a pppd connection to my operator ?
- Is it normal to get the error:
     2010-03-15 15:30:06 [28823] [13] INFO: *System error 2: No such file or
directory
*is it linked to the issue?*
*- I do not see the smsc-id shutting down, why? because of a
missconfiguration of mmsbox.conf? pppd or wvdial ?*
*
In fact mbuni does not start shutting down smsc-id = at... can we
investiguate further ? how ? :(

Regards,

Emmanuel


2010/3/15 Paul Bagyenda <bagye...@dsmagic.com>

> Take a look at this:
> http://www.mail-archive.com/users@mbuni.org/msg01844.html
>
>
> On Mar 15, 2010, at 03:50, Emmanuel CHANSON wrote:
>
> Hello,
>
> Trying to send a MMS through GPRS modem, I am faced to an issue:
>
> Mbuni CVS-20100125 with extras/mmbox-mm1 library compiled
> Kannel CVS working and handling SMS
>
> I am not sure about the custom config in mmsbox.conf, expecially how to
> configure wvdial...
> If I stop my smsc through Kannel then I use wvdial I got this thinking the
> config is Ok...
>
> [r...@kannel mbuni]# wvdial
> --> WvDial: Internet dialer version 1.60
> --> Cannot get information for serial port.
> --> Initializing modem.
> --> Sending: AT+CGDCONT=1,"IP","mms"
> OK
> --> Modem initialized.
> --> Sending: ATDT*99***1#
> --> Waiting for carrier.
> CONNECT
> ~[7f...@!}!} } }2}...@#}!}$}%\}"}&} }*} } g}%~
> --> Carrier detected.  Starting PPP immediately.
> --> Starting pppd at Mon Mar 15 11:46:09 2010
> --> Pid of pppd: 23512
> --> Using interface ppp0
> --> local  IP address 10.152.57.32
> --> remote IP address 10.6.6.6
>
> so PPP connection seems Ok
>
> But how to send an MMS through this ?
>
> I sent my MMS using HTTP interface:
> lynx -dump "
> http://localhost:10001/?username=altmms&password=altmms&to=%2BXXXXXXXXX/TYPE=PLMN&subject=Test&text=MMS
> "
>
> mmsbox.log
> ------------------
> ...
>
> 2010-03-15 11:35:48 [22395] [3] DEBUG: HTTP: Creating HTTPClient for
> `127.0.0.1'.
> 2010-03-15 11:35:48 [22395] [3] DEBUG: HTTP: Created HTTPClient area
> 0xb5803ab0.
> 2010-03-15 11:35:48 [22395] [14] DEBUG: WSP: Mapping `text/plain', WSP 1.2
> to 0x0003.
> 2010-03-15 11:35:48 [22395] [14] INFO: mmsbox.c:1366 <make_and_queue_msg>
> [mmsbox] [n/a] MMSBox: Queued message from service [sendmms-user], [transid
> [Mbuni-msg.3348.x3.95.5]: 7-5z-qf3348.3.x395.71
> 2010-03-15 11:35:48 [22395] [14] INFO: *System error 2: No such file or
> directory*
> 2010-03-15 11:35:48 [22395] [14] DEBUG: HTTP: Destroying HTTPClient area
> 0xb5803ab0.
> 2010-03-15 11:35:48 [22395] [14] DEBUG: HTTP: Destroying HTTPClient for
> `127.0.0.1'.
> 2010-03-15 11:35:48 [22395] [14] INFO: mmsbox.c:1613
> <dispatch_sendmms_recv> [mmsbox] [n/a] MMSBox.mmssend: u=altmms, Queued
> [Accepted: Mbuni-msg.3348.x3.95.5]
> 2010-03-15 11:35:49 [22395] [7] DEBUG: Queued to thread 0 for
> /var/spool/mbuni/mmsbox_outgoing/7/5z/qf3348.3.x395.71, sendt=1268613348,
> tnow=1268613349
> 2010-03-15 11:35:49 [22395] [16] ERROR: bearerbox.c:1525 <sendMsg> [MM7]
> [n/a] Retry later MMSBox Outgoing Queue MMS Send: From 100/TYPE=PLMN, to
> +XXXXXXXXX/TYPE=PLMN, msgsize=98: *internal error, mm1 notify not started!
> *
> --------------------------
>
> mmsbox.conf
> --------------------
>
> group = core
> log-file = /var/log/mbuni/mmsbox.log
> access-log = /var/log/mbuni/mmsbox-access.log
> log-level = 0
> 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 = 360000
> queue-run-interval = 5
> send-attempt-back-off = 300
> sendmms-port = 10001
>
> #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=******&smsc=at'; \
> # smsc-off=lynx -dump '
> http://localhost:13000/stop-smsc?password=******&smsc=at'; \
> # gprs-on=/usr/bin/pon o2; \
> # gprs-pid=cat /var/run/ppp0.pid | head -1;port=13014;\
> # mmsc-url=
> http://www.mobitag.nc/mmsc;proxy=192.168.xxx.xxx:3130;msisdn=100";
> custom-settings = "smsc-on=lynx -dump '
> http://localhost:13000/start-smsc?password=******&smsc=nokiaphone'; \
>  smsc-off=lynx -dump '
> http://localhost:13001/stop-smsc?password=******&smsc=nokiaphone'; \
> # gprs-on=pppd call gprs; \
>  gprs-on=/usr/bin/wvdial; \
>  gprs-pid=cat /var/run/ppp0.pid | head -1;port=13014;\
>  mmsc-url=
> http://iwww.mobitag.nc/mmsc;proxy=192.168.xxx.xxx:3130;msisdn=100";;
> mmsc-library = /usr/local/lib/libmmsbox_mm1.so
>
> group = mms-service
> name = me
> post-url = 
> http://localhost/~bagyenda/test-mbuni.php<http://localhost/%7Ebagyenda/test-mbuni.php>
> catch-all = true
> http-post-parameters = fx=true&images[]=%i&text[]=%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=true&image=%i&text=%t
> accept-x-mbuni-headers = true
> keyword = thixs
>
> group = send-mms-user
> username = altmms
> password = altmms
> faked-sender = 100
>
> Thanks by advance for your help...
>
> --
> 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.77.35.02
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

Reply via email to