Hello all,

I have a problem using delivery reports in Mbuni. In my application, I collect 
mms messages and I deliver them to a mmsbox, to be sent further to a mmsc. 
Inside I process the mms messages and I keep a queue of the active ones, with 
all the messages that are still sending, have no response from mmsbox yet.... 
Every mms is identified by an ID. I use delivery reports to obtain the status 
of the sent messages, but I clearly need to match each delivery report request 
to a sent mms. I send each mms to mmsbox as the body of a http POST. I 
construct the POST url for each mms so my idea was to construct the dlr-url 
parameter like this: "http://<some_address>?MMS_ID=xxx", so that I could 
extract a mms ID from the dlr request, that comes back to my application and do 
something with the active message that has that ID in my internal queue. This 
came into my mind, because I know that for SMS messages, using Kannel, this is 
possible. With Mbuni I could not succeed. I
 get the following log entries in the mmsbox log:

2007-10-29 19:48:59 [9049] [11] INFO: Sent to MMC[...], code=[1000=>Success], 
msgid=[mmsc-p-4v-qf138.1.x65.37]
2007-10-29 19:48:59 [9049] [17] DEBUG: Parsing URL 
`http://localhost.localdomain:12346?MMS_ID=1':
2007-10-29 19:48:59 [9049] [17] DEBUG:   Scheme: http://
2007-10-29 19:48:59 [9049] [17] DEBUG:   Host: localhost.localdomain:12346
2007-10-29 19:48:59 [9049] [17] DEBUG:   Port: 12346
2007-10-29 19:48:59 [9049] [17] DEBUG:   Username: (null)
2007-10-29 19:48:59 [9049] [17] DEBUG:   Password: (null)
2007-10-29 19:48:59 [9049] [17] DEBUG:   Path: /
2007-10-29 19:48:59 [9049] [17] DEBUG:   Query: MMS_ID=1
2007-10-29 19:48:59 [9049] [17] DEBUG:   Fragment: (null)
2007-10-29 19:48:59 [9049] [17] ERROR: Error while gw_gethostbyname occurs.
2007-10-29 19:48:59 [9049] [17] ERROR: System error 1: Operation not permitted
2007-10-29 19:48:59 [9049] [17] ERROR: gethostbyname failed
2007-10-29 19:48:59 [9049] [17] ERROR: error connecting to server 
`localhost.localdomain:12346' at port `12346'
2007-10-29 19:48:59 [9049] [17] DEBUG: HTTP: Opening connection to 
`localhost.localdomain:12346:12346' (fd=0).
2007-10-29 19:48:59 [9049] [17] ERROR: Couldn't send request to 
<http://localhost.localdomain:12346?MMS_ID=1>

Does Mbuni even support this kind of thing? If so, do you have any idea what am 
I doing wrong? Or maybe you could give me some tips on how to solve this 
problem... 

Thank you!



__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
_______________________________________________
Users mailing list
[email protected]
http://lists.mbuni.org/mailman/listinfo/users

Reply via email to