Hello,

After successfully having configured mmsbox to handle MM1 through GPRS modem
(mm1-send-req), I try to configure DLR-URL:

*How to handle DLR correctly ? I have some missundertanding.
- What is the IP address to set in dlr-url parameter ?
- How can I handle successful or failed status of an incoming MMS DLR in a
PHP script (some examples ?)*

I am using the following command to test the service:
lynx -dump "
http://localhost:10003/?username=tester&password=foobar&mmsc=nokiaphone&to=%2B687783548/TYPE=PLMN+%2B687773502/TYPE=PLMN&subject=Test&content-url=http://localhost/mms/mms-2.smil
*&dlr-url=http://xxx.xxx.xxx.xxx/playsms/plugin/gateway/mbuni/dlr.php*

What IP address do I have to set in order to trig the url ? Is it the one
obtain after successfull pppd connection ? exemple below 10.152.227.254 ?

*local  IP address 10.152.227.254
remote IP address 10.6.6.6
*
mmsbox.log after mms is sent:
---------------------------------------------
...
2010-08-19 11:52:13 [8178] [5] INFO: mmsbox_mm1.c:543 <handle_mm1>
[mmsbox-mm1] [n/a] GPRS turned off returned: 0
2010-08-19 11:52:15 [8178] [0] DEBUG: Queued to thread 3 for
/var/spool/mbuni/mmsbox_incoming/qf9131.7.x178.53, sendt=0, tnow=1282179135
2010-08-19 11:52:15 [8178] [25] DEBUG: Queue contains 0 pending requests.
2010-08-19 11:52:15 [8178] [25] DEBUG: Parsing URL `
http://10.152.227.254/playsms/plugin/gateway/mbuni/dlr.php':
2010-08-19 11:52:15 [8178] [25] DEBUG:   Scheme: http://
2010-08-19 11:52:15 [8178] [25] DEBUG:   Host: 10.152.227.254
2010-08-19 11:52:15 [8178] [25] DEBUG:   Port: 80
2010-08-19 11:52:15 [8178] [25] DEBUG:   Username: (null)
2010-08-19 11:52:15 [8178] [25] DEBUG:   Password: (null)
2010-08-19 11:52:15 [8178] [25] DEBUG:   Path:
/playsms/plugin/gateway/mbuni/dlr.php
2010-08-19 11:52:15 [8178] [25] DEBUG:   Query: (null)
2010-08-19 11:52:15 [8178] [25] DEBUG:   Fragment: (null)
2010-08-19 11:52:15 [8178] [25] DEBUG: Connecting nonblocking to
<10.152.227.254>
2010-08-19 11:52:15 [8178] [25] DEBUG: HTTP: Opening connection to `
10.152.227.254:80' (fd=65).
2010-08-19 11:52:15 [8178] [25] DEBUG: Socket connecting
2010-08-19 11:52:36 [8178] [24] DEBUG: Get info about connecting socket
2010-08-19 11:52:36 [8178] [24] DEBUG: Socket not connected
2010-08-19 11:52:36 [8178] [24] ERROR: *Couldn't fetch <
http://10.152.227.254/playsms/plugin/gateway/mbuni/dlr.php>*

Regards,

-- 
Emmanuel
_______________________________________________
Users mailing list
[email protected]
http://lists.mbuni.org/mailman/listinfo/users

Reply via email to