Re: [Users] connect to operator MMS proxy
1. Only mmsbox. 2. You need only configure the mmsc and mms-service group as a start On Dec 10, 2012, at 22:08, moz...@gmail.com wrote: I am new to mbuni and want to know few things. 1. to run mbuni in gateway mode do I need to use both mmsbox and mmsc? 2. What configuration required to integrate mbuni to an operator MM7 proxy server using proxy URL - Ali ___ 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
Re: [Users] Connection to MMSC fails - MM1
Thanks for the heads-up. On Jul 12, 2012, at 17:02, HARLOW Peter wrote: Further poking reveals that mbuni is trying to connect before the link is properly established and routing set up. Using a 'fiddle' lockfile invoked by ip-up as described in : http://www.mail-archive.com/users@mbuni.org/msg02098.html (also need to remove it in ip-down) and putting 'nodetach' in the pppd peers file vastly improves things. [@@THALES GROUP RESTRICTED@@] De : users-boun...@mbuni.org [mailto:users-boun...@mbuni.org] De la part de HARLOW Peter Envoyé : 04 July 2012 15:29 À : users@mbuni.org Objet : Re: [Users] Connection to MMSC fails - MM1 De : users-boun...@mbuni.org [mailto:users-boun...@mbuni.org] De la part de HARLOW Peter Envoyé : 04 July 2012 13:53 À : users@mbuni.org Objet : Re: [Users] Connection to MMSC fails - MM1 On further investigation this appears to be a local routing problem - I think the data for http://mms.bouyguestelecom.fr/mms/wapenc is going through eth0, not ppp0. On turning off eth0, the problem now shifts to reaching the network. Starting the network with pon and then accessing the mmsc with a web browser with the proxy set appropriately works. Mbuni frequently, but not always, fails to connect. 2012-07-04 15:16:37 [3118] [5] DEBUG: WSP: Mapping `Content-ID', WSP 1.3 to 0x0040. 2012-07-04 15:16:37 [3118] [5] DEBUG: WSP: Mapping `Content-Type', WSP 1.3 to 0x0011. 2012-07-04 15:16:37 [3118] [5] ERROR: mmsbox_mm1.c:681 fetch_content [mmsbox-mm1] [n/a] failed to fetch/post content to host http://mms.bouyguestelecom.fr/mms/wapenc [proxy: 62.201.129.226:8080] [http_status=7] : Failed to connect to 62.201.129.226: Network is unreachable 2012-07-04 15:16:38 [3118] [5] DEBUG: Octet string at 0x112ad4f8: 2012-07-04 15:16:38 [3118] [5] DEBUG: len: 0 2012-07-04 15:16:38 [3118] [5] DEBUG: size: 0 2012-07-04 15:16:38 [3118] [5] DEBUG: immutable: 0 ___ 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
Re: [Users] Starting mbuni mmsbox
What version of gcc do you have? Works perfectly fine on my SuSE 12.1 On Jun 28, 2012, at 17:00, HARLOW Peter wrote: De : Paul Bagyenda [mailto:bagye...@dsmagic.com] Envoyé : 28 June 2012 16:40 À : HARLOW Peter Objet : Re: [Users] Starting mbuni mmsbox Is this on Amazon EC2 by any chance? We've had a similar problem and can't quite work out what has caused it. On Jun 28, 2012, at 16:26, HARLOW Peter wrote: No, I'm running this on Kubuntu 12.04 LTS (Precise Pangolin) on an IBM/Lenovo ThinkCenter i386 box. Regards, Pete. ___ Users mailing list Users@mbuni.org http://lists.mbuni.org/mailman/listinfo/users
Re: [Users] Starting mbuni mmsbox
What version of Kannel's libs are you using? Paul. On Jun 27, 2012, at 11:14, HARLOW Peter wrote: I have been trying to use mmsbox on a PC running Kubuntu. I have Kannel installed and operating. On starting mmsbox, it just returns (unless I start it non - root, when it segfaults). There is no output. I have tried Kannel from the Ububtu repository, and compiling from source, the same for cURL. I have tried the latest Mbuni, and also the cvs version. I have tried with and without configuration files, and command line switches. I have disabled seLinux. What is the obvious thing I am doing wrong? Regards, ___ 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
Re: [Users] mm4 addressing and headers
Likely an issue to do with the unified-prefix setting. Are you using mmsbox or mmsc? Please explain what you did in more detail. Paul. On Jun 04, 2012, at 18:00, Ren Hutchinson wrote: Hello, I am in the process of testing some mm4 features and had a question about several of the headers used (To, From, and Sender). The mm4 spec indicates that the addressing for these fields (when destined for an e164 recipient) should be: SMTP-address = MMS-address @ domain MMS-address = + E.164 /TYPE=PLMN E.164 = 1*DIGIT domain = dom-fragment *( . dom-fragment ) dom-fragment = ( ALPHA | DIGIT ) *( ALPHA | DIGIT | - ) A couple of traces show that the none of the fields mentioned above contain the '+' prefix for the e164 address. Is there a configuration that would need to be modified to set this prefix? Thanks in advance. ___ 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
Re: [Users] Mbuni m-retrieve-conf dates
Indeed we do use Kannel's libs for these conversions. It is possible that there is a switch in timezones. Let us know if you can track it down. Paul. On May 04, 2012, at 16:18, Margaret Ladlow wrote: When the sender inserts a date, the date is altered. I have the date in a m-send-req as 4F746F93 and in the corresponding retrieve as 4F74A7D3 (basically goes from 14:20 GMT - correct to 18:20 GMT - incorrect). I didn't really communicate this well in the original post, but it's very weird to me that most phones continue to display the correct timestamp. This only causes difficulty on *one* of my test phones. I was going to try and find the place in the code where it applies this offset and play around with it there but I'm having trouble doing finding it since all the time conversion code (from HTML to long and vice versa) seems to convert without the application of any offset whatsoever. Meggie Ladlow Software Engineer II TECORE Networks Phone: +1 410 872 6323 Fax: +1 410 872 6010 email: mlad...@tecore.com You need to look at the original m-send-req transaction as well. Does the sender insert a date? If not, the server will insert its own local time. On May 04, 2012, at 15:38, Margaret Ladlow wrote: Paul, Thanks. I'm aware that no timezone information is explicitly included. My understanding from the spec was that GMT is assumed in the long integer. So if mbuni is sending that second value (1336063655), the phone should think it is receiving 16:47 GMT, but this would be incorrect. Then, if the phone applied the local offset (GMT-4), it would display 12:47, which would be the incorrect date and time for the message (8:47), but it wouldn't have any way of knowing otherwise. So I'm still not sure why mbuni is sending 4FA2B6A7 instead of 1336049255. Meggie Ladlow Software Engineer II TECORE Networks Phone: +1 410 872 6323 Fax: +1 410 872 6010 email: mlad...@tecore.com Users list is the right place to ask, but the answer is this: The date is sent to the phone as a long integer. No timezone information is included. Therefore the phone must work out the correct time zone. I believe this is where the problem lies. Paul. On May 03, 2012, at 21:34, Margaret Ladlow wrote: Hi, I'm not sure if the users list or the devel list would be more appropriate than this one for this question, so please let me know if I should subscribe to one of them and post there instead. I have noticed in wireshark that when my phones get m-retrieve-conf from the MMSC that the date seems to be wrong. My understanding from the spec is that the date should be encoded in the message as seconds since the epoch in GMT. One scenario I have is a message sent at 8:47:35 (local time). This comes out to 1336049255 seconds since the epoch (GMT 12:47:35). However in the m-retrieve-conf message the date is 1336063655 (4FA2B6A7), which is 12:47:35 in localtime and 16:47:35 with gmtime_r. All of the phones except one I'm using for testing display the correct (local) timestamp regardless. The one that doesn't work displays the timestamp in GMT instead of local time. I am not sure if the phones are just displaying the time they received the message and the phone that doesn't work is the only one using the timestamp from the message or if the rest of the phones expect the weird time and are compensating for it. Is there any way someone who's worked on Mbuni could point me in the direction where this date switching happens or let me know why it is happening? Thank you, Meggie Ladlow Software Engineer II TECORE Networks Phone: +1 410 872 6323 Fax: +1 410 872 6010 email: mlad...@tecore.com This e-mail may contain privileged, confidential, copyrighted or other legally protected information, and is intended exclusively for the intended recipient. If you are not the intended recipient (even if the e-mail address above is yours), you may not review, store, use, copy, disclose or retransmit it in any form. If you are not the intended recipient or otherwise have received this by mistake, please immediately notify the sender by return e-mail (or sysad...@tecore.com), then delete the message in its entirety. Thank you. This e-mail may contain privileged, confidential, copyrighted or other legally protected information, and is intended exclusively for the intended recipient. If you are not the intended recipient (even if the e-mail address above is yours), you may not review, store, use, copy, disclose or retransmit it in any form. If you are not the intended recipient or otherwise have received this by mistake, please immediately notify the sender by return e-mail (or sysad...@tecore.com), then delete the message in its entirety. Thank you. ___ Users mailing list Users@mbuni.org
Re: [Users] Mbuni m-retrieve-conf dates
You need to look at the original m-send-req transaction as well. Does the sender insert a date? If not, the server will insert its own local time. On May 04, 2012, at 15:38, Margaret Ladlow wrote: Paul, Thanks. I'm aware that no timezone information is explicitly included. My understanding from the spec was that GMT is assumed in the long integer. So if mbuni is sending that second value (1336063655), the phone should think it is receiving 16:47 GMT, but this would be incorrect. Then, if the phone applied the local offset (GMT-4), it would display 12:47, which would be the incorrect date and time for the message (8:47), but it wouldn't have any way of knowing otherwise. So I'm still not sure why mbuni is sending 4FA2B6A7 instead of 1336049255. Meggie Ladlow Software Engineer II TECORE Networks Phone: +1 410 872 6323 Fax: +1 410 872 6010 email: mlad...@tecore.com Users list is the right place to ask, but the answer is this: The date is sent to the phone as a long integer. No timezone information is included. Therefore the phone must work out the correct time zone. I believe this is where the problem lies. Paul. On May 03, 2012, at 21:34, Margaret Ladlow wrote: Hi, I'm not sure if the users list or the devel list would be more appropriate than this one for this question, so please let me know if I should subscribe to one of them and post there instead. I have noticed in wireshark that when my phones get m-retrieve-conf from the MMSC that the date seems to be wrong. My understanding from the spec is that the date should be encoded in the message as seconds since the epoch in GMT. One scenario I have is a message sent at 8:47:35 (local time). This comes out to 1336049255 seconds since the epoch (GMT 12:47:35). However in the m-retrieve-conf message the date is 1336063655 (4FA2B6A7), which is 12:47:35 in localtime and 16:47:35 with gmtime_r. All of the phones except one I'm using for testing display the correct (local) timestamp regardless. The one that doesn't work displays the timestamp in GMT instead of local time. I am not sure if the phones are just displaying the time they received the message and the phone that doesn't work is the only one using the timestamp from the message or if the rest of the phones expect the weird time and are compensating for it. Is there any way someone who's worked on Mbuni could point me in the direction where this date switching happens or let me know why it is happening? Thank you, Meggie Ladlow Software Engineer II TECORE Networks Phone: +1 410 872 6323 Fax: +1 410 872 6010 email: mlad...@tecore.com This e-mail may contain privileged, confidential, copyrighted or other legally protected information, and is intended exclusively for the intended recipient. If you are not the intended recipient (even if the e-mail address above is yours), you may not review, store, use, copy, disclose or retransmit it in any form. If you are not the intended recipient or otherwise have received this by mistake, please immediately notify the sender by return e-mail (or sysad...@tecore.com), then delete the message in its entirety. Thank you. This e-mail may contain privileged, confidential, copyrighted or other legally protected information, and is intended exclusively for the intended recipient. If you are not the intended recipient (even if the e-mail address above is yours), you may not review, store, use, copy, disclose or retransmit it in any form. If you are not the intended recipient or otherwise have received this by mistake, please immediately notify the sender by return e-mail (or sysad...@tecore.com), then delete the message in its entirety. Thank you. ___ 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
Re: [Users] mms legacy experience
For the MMSC you must configure a script with prov-server-sub-status-script which the server will call to check if the user's device supports MMS, then you must configure the *notify directives with the message to send. On Mar 05, 2012, at 16:43, Oltion Kola wrote: Hi, Thank you for the fast reply. Could you please let me know which of the options should I modify? I'm using the last version but I can not find the relevant info in the documentation. Thank you, Olti On Mon, 05 Mar 2012 06:03:02 +0100, Paul Bagyenda bagye...@dsmagic.com wrote: It does indeed. Paul. On Mar 03, 2012, at 16:53, Oltion Kola wrote: Hi, Does Mbuni support legacy experience? If a mobile phone does not support mms it should receive an sms with the URL and a password (pin code) where he can see the mms content. Is it supported? Has anyone implemented such functionality? Thanks. -- Using Opera's revolutionary email client: http://www.opera.com/mail/ ___ Users mailing list Users@mbuni.org http://lists.mbuni.org/mailman/listinfo/users -- Using Opera's revolutionary email client: http://www.opera.com/mail/ ___ Users mailing list Users@mbuni.org http://lists.mbuni.org/mailman/listinfo/users
Re: [Users] mms legacy experience
It does indeed. Paul. On Mar 03, 2012, at 16:53, Oltion Kola wrote: Hi, Does Mbuni support legacy experience? If a mobile phone does not support mms it should receive an sms with the URL and a password (pin code) where he can see the mms content. Is it supported? Has anyone implemented such functionality? Thanks. -- Using Opera's revolutionary email client: http://www.opera.com/mail/ ___ 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
Re: [Users] Comverse MMSC SMIL problem
Piotr, A trace of what works and what doesn't might be useful here. Paul. On Dec 19, 2011, at 17:58, Piotr Isajew wrote: Hi, About a month ago I started to have problems with one of operators when sending via MM1 interface... They accept m-send-reqs and properly respond with m-send-confs. The problem is that when message contains SMIL it isn't delivered to the destination address. If I send plain text, or image message (without SMIL) it's being delivered correctly. SMIL messages sent via other operators' MMSCs are handled correctly. I suspect that the problem here is caused by a kind of software upgrade/reconfiguration on the operator's side. I'm unable to verify this with them however. It appears that their Customer Care Department has been hired as a firewall between the customer and the rest of the company. My most successful conversation with them resulted in sending me configuration messages for MMS service ;/ I've spent a lot of time experimenting with various combinations of m-send-req and SMIL contents. It appears that whether the message is being handled properly or not depends on SMIL presence. Maybe someone had similar problems and would like to comment on this? Response headers tell me that their current gateway is Comverse 4.5 Regards, Piotr ___ 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
Re: [Users] Best way to put all received MMS into a db?
Hi Franz, Indeed. It is an easy change as well on the mmsc side: All you need to change is the function match_short_codes(). If you'd like to take a stab at it, can help check out your solution. P. On Nov 01, 2011, at 11:34, Franz Schwartau wrote: Hi Paul, it would help a lot if we would be able to configure something like that in the mmsc config: group = mms-vasp [...] prefix = +1;+43;+44 [...] instead of fixed numbers group = mms-vasp [...] short-codes = ;; [...] Another idea is to extend the short-codes directive to accept regular expressions: group = mms-vasp [...] short-codes = 111[1-5];\+1.+ [...] It would be really nice if the routing capabilities would be more flexible than they are now. :-) Best regards Franz On 01.11.2011 04:41, Paul Bagyenda wrote: Hi Franz, For the VASP configuration presumably you mean on the mmsc side? Then yes, there is no other way for now to route other than using the short codes. What did you have in mind in terms of routing? Paul. On Oct 31, 2011, at 14:38, Franz Schwartau wrote: Hi, basically we would like to put all received MMS into a database (from, to, attachements aso). Adding a VASP and a MMS service allows us to access all relevant data using post-url in a convenient way. Unfortunately the VASP configuration allows specific numbers (short-codes) only which doesn't fit our needs. We need a prefix based configuration. Before we start to change the source code to add a new directive for group = mms-vasp we would like to ask if there is another way of accessing all incoming MMS. Has anyone done something like this before? Best regards Franz ___ Users mailing list Users@mbuni.org http://lists.mbuni.org/mailman/listinfo/users
Re: [Users] Best way to put all received MMS into a db?
Hi Franz, For the VASP configuration presumably you mean on the mmsc side? Then yes, there is no other way for now to route other than using the short codes. What did you have in mind in terms of routing? Paul. On Oct 31, 2011, at 14:38, Franz Schwartau wrote: Hi, basically we would like to put all received MMS into a database (from, to, attachements aso). Adding a VASP and a MMS service allows us to access all relevant data using post-url in a convenient way. Unfortunately the VASP configuration allows specific numbers (short-codes) only which doesn't fit our needs. We need a prefix based configuration. Before we start to change the source code to add a new directive for group = mms-vasp we would like to ask if there is another way of accessing all incoming MMS. Has anyone done something like this before? Best regards Franz ___ 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
Re: [Users] Parameter confirmed-delivery
Hello Deborah, When a message is forwarded by Mbuni MMSC over MM4, we can ask the receiving server to send back an Ack when the message is delivered to the final receiving server. This is the purpose of this flag. In this case a DLR Ack is sent back to us so that we do not retry sending the message. Paul. On Jul 21, 2011, at 02:18, Deborah Pisani wrote: Hello, May someone please explain the expected function of the parameter “confirmed-delivery” (defined as part of the MM4 configuration under the “group = mmsproxy” within the Mbuni MMSC configuration file) as this is not clear enough from the description provided in the Mbuni User Guide? Thank you. Best Regards, Deborah and Andrew ___ 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
Re: [Users] Retrieval Report for MMS sent over MM4
The report might be different for all kinds of reasons. The report contains information about the recipient, the message ID, etc. If any of those fields changes, then the report will be different. What matters is that the sender is able to match the report to what was sent. On Jul 21, 2011, at 04:47, Deborah Pisani wrote: Dear all, We are currently testing MM4 between two Mbuni MMSCs by sending MMS from the originator in one domain to the recipient in another domain. We are using the fakesmsc simulator and are observing the following trace corresponding to the Push Notification from the terminating Mbuni MMSC towards the recipient: 2011-07-18 16:03:35 [3243] [0] DEBUG: Got message 27: 654321 +35699123456 udh %06%05%04%0B%84%23%F0 %01%06%03%BE%AF%84%8C%82%98mmsc-qf7597.1.x378.83%00%8D%90%89%18%80%2B35679637963%2FTYPE%3DPLMN%00%8A%80%8E%02%01%87%88%04%81%02%01%82%83http%3A%2F%2Fmmsc%2Fqf7597.1.x378.83%402%2Fy%00 After the recipient retrieves the MMS, the following SMS traces corresponding to the retrieval report are generated from the originating Mbuni MMSC towards the MMS originator: 2011-07-18 16:05:38 [3412] [0] DEBUG: Got message 111: 54321 +35679637963 udh %0B%05%04%0B%84%23%F0%00%03%3E%02%01 %01%06%03%BE%AF%84%8C%86%98%2B35679637963%2FTYPE%3DPLMN-mmsc-qf7838.2.x378.5%22%00%8D%90Return-Path%00%3C%2B35699123456%2FTYPE%3DPLMN%40mmsc.sp1.com.mt%3E%00X-Mbuni-User-Agent%00 2011-07-18 16:05:38 [3412] [0] DEBUG: Got message 112: 54321 +35679637963 udh %0B%05%04%0B%84%23%F0%00%03%3E%02%02 OPWV-SDK+UP.Browser%2F7.0.2.3.119+(GUI)+MMP%2F2.0+Push%2FPO%00X-Mbuni-Profile-Url%00http%3A%2F%2Fdevgate2.openwave.com%2Fuaprof%2FOPWVSDK70.xml%00X-Mb We noted that this retrieval report is different when compared to the retrieval report generated when the MMS originator and recipient belong to the same domain. In the latter case, the retrieval report consists of a single rather than two SMS and the content is also different. Kindly let us know whether: (a)The retrieval report is expected to be different when an MMS is exchanged between two domains (b) We are interpreting the SMS traces correctly in saying that they correspond to the retrieval report as otherwise the traces would indicate that the originating Mbuni MMSC is not generating a retrieval report Best Regards, Deborah and Andrew ___ 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
Re: [Users] mbuni+huawei e220+ubuntu 10.04 help
Hi, I am not familiar with that modem, but in general if you can start a normal PPP link with it, and can also send/receive MMS, then it'll work with Mbuni. I would trawl the mailing list archives for a post by Nuno Freitas on how to get that all setup. Paul. On Jul 20, 2011, at 20:21, jamo njoroge wrote: is there anyone out there who can help me with the configs for the modem mentioned above? seriously ive bin stuck 4 days am willing 2 give a reward... sent from my android ___ 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
Re: [Users] Retrieval Report for MMS sent over MM4
The SMS actually contains the DLR as an MMS. Size will vary depending on the content of the DLR. On Jul 21, 2011, at 06:16, Deborah Pisani wrote: Hi Paul, Thank you for your response. However, what is still not clear to us (as also described in our earlier query) is that while normally only one SMS is generated corresponding to the retrieval report, in the case of MMS exchanged between users in different domains, two SMSs are instead being generated corresponding to a single retrieval report. We appreciate your feedback also on this aspect. Thank you. Best Regards, Deborah and Andrew From: bagye...@infocom.co.ug [mailto:bagye...@infocom.co.ug] On Behalf Of Paul Bagyenda Sent: 21 July 2011 11:58 To: Deborah Pisani Cc: users@mbuni.org Subject: Re: [Users] Retrieval Report for MMS sent over MM4 The report might be different for all kinds of reasons. The report contains information about the recipient, the message ID, etc. If any of those fields changes, then the report will be different. What matters is that the sender is able to match the report to what was sent. On Jul 21, 2011, at 04:47, Deborah Pisani wrote: Dear all, We are currently testing MM4 between two Mbuni MMSCs by sending MMS from the originator in one domain to the recipient in another domain. We are using the fakesmsc simulator and are observing the following trace corresponding to the Push Notification from the terminating Mbuni MMSC towards the recipient: 2011-07-18 16:03:35 [3243] [0] DEBUG: Got message 27: 654321 +35699123456 udh %06%05%04%0B%84%23%F0 %01%06%03%BE%AF%84%8C%82%98mmsc-qf7597.1.x378.83%00%8D%90%89%18%80%2B35679637963%2FTYPE%3DPLMN%00%8A%80%8E%02%01%87%88%04%81%02%01%82%83http%3A%2F%2Fmmsc%2Fqf7597.1.x378.83%402%2Fy%00 After the recipient retrieves the MMS, the following SMS traces corresponding to the retrieval report are generated from the originating Mbuni MMSC towards the MMS originator: 2011-07-18 16:05:38 [3412] [0] DEBUG: Got message 111: 54321 +35679637963 udh %0B%05%04%0B%84%23%F0%00%03%3E%02%01 %01%06%03%BE%AF%84%8C%86%98%2B35679637963%2FTYPE%3DPLMN-mmsc-qf7838.2.x378.5%22%00%8D%90Return-Path%00%3C%2B35699123456%2FTYPE%3DPLMN%40mmsc.sp1.com.mt%3E%00X-Mbuni-User-Agent%00 2011-07-18 16:05:38 [3412] [0] DEBUG: Got message 112: 54321 +35679637963 udh %0B%05%04%0B%84%23%F0%00%03%3E%02%02 OPWV-SDK+UP.Browser%2F7.0.2.3.119+(GUI)+MMP%2F2.0+Push%2FPO%00X-Mbuni-Profile-Url%00http%3A%2F%2Fdevgate2.openwave.com%2Fuaprof%2FOPWVSDK70.xml%00X-Mb We noted that this retrieval report is different when compared to the retrieval report generated when the MMS originator and recipient belong to the same domain. In the latter case, the retrieval report consists of a single rather than two SMS and the content is also different. Kindly let us know whether: (a)The retrieval report is expected to be different when an MMS is exchanged between two domains (b) We are interpreting the SMS traces correctly in saying that they correspond to the retrieval report as otherwise the traces would indicate that the originating Mbuni MMSC is not generating a retrieval report Best Regards, Deborah and Andrew ___ 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
Re: [Users] mms content
Hi, This is currently not possible. Paul On Jul 04, 2011, at 19:32, Cif Malek wrote: Is the coding of Mbuni such that through http post it displays the content of the mms (media attachment) and not only output a link to download or retrieved the content ? Many thanks Cif ___ 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
Re: [Users] MMS User Provisioning
Hello Andrew, answers inline: On 27 May 2011 15:32, Andrew Caruana andrew.caru...@go.com.mt wrote: Hi, Thanks for feedback. It is now clear that subscriber control may be achieved through the use of a script as defined by the variable prov-server-notify-script as referred to in the Mbuni User Guide. In this respect, and in view the user guide lacks such information, we would appreciate that you share with information about: (i) The name and syntax of the Mbuni output variables that the script requires in order to be able to populate the subscriber database; and You can use detokenizer-library for this. Set this to builtin:shell Then set detokenizer-module-parameters to the (full path of the) shell script. This script will be called for each received request. The first parameter is not used for shell scripts, the second is the request IP. The script should return the MSISDN on standard output if the subscriber is allowed access, otherwise it should fail (i.e. abort). (ii) The name and syntax of the input variables that Mbuni requires from the script following a query to the subscriber database in order not to allow the processing of MMS requests originating from subscriber whose MSISDNs do not exist in the subscriber database. For this, use prov-server-notify-script which will be called with parameters (in order): - command type (notification type) - event (sent,received, etc) - msisdn - msg ID - user-agent - UAProf Thanks and regards, Andrew Deborah -Original Message- From: kitand...@gmail.com on behalf of Paul Bagyenda Sent: Thu 5/26/2011 1:50 PM To: Andrew Caruana Cc: users@mbuni.org Subject: Re: [Users] MMS User Provisioning User provisioning is entirely outside of Mbuni. All that's required is that for each incoming MMS Mbuni can determine the sender. This is typically done using special HTTP headers added by your WAP GW. For billing, again we call a configured script, which can prevent delivery as needed based on user status (as determined by a separate database). P. On 26 May 2011 14:27, Andrew Caruana andrew.caru...@go.com.mt wrote: Hello, We would appreciate if someone may shed us some light on the topic of MMS user provisioning on Mbuni. Neither the user guide nor the archives cover this topic. Thanks and regards, Andrew Deborah This email and any files or content transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited. The Company and the originator of this email accept no liability for the content of this email, or for the consequences of any actions taken on the basis of the information provided, unless that information is subsequently confirmed in writing. If you are not the intended recipient you are notified that disclosing, copying, distributing or taking any action in reliance on the contents of this information is strictly prohibited. Warning: Although the Company and the originator have taken reasonable precautions to ensure no viruses are present in this email, the company cannot accept responsibility for any loss or damage arising from the use of this email or attachments. ___ 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 ___ Users mailing list Users@mbuni.org http://lists.mbuni.org/mailman/listinfo/users
Re: [Users] Push Notification DLRs
Hi, If you are running Mbuni as MMSC only, then there is no need for Mbuni to receive responses from Kannel. If the push message is successfully delivered, then the MMS Client (phone) will fetch the MMS and Mbuni will stop sending notifications. P. On 26 May 2011 14:25, Deborah Pisani deborah.pis...@go.com.mt wrote: Hello, We are currently testing Mbuni as a MMSC and would appreciate whether someone may help to clarify the following regarding the above subject. In our setup, Mbuni MMSC makes use of Kannel both as a WAP GW (wapbox) for MMS origination and as a Push Proxy GW (smsbox) for the SMS-based MMS notifications. Also, it is to be noted that Mbuni is not currently being used as a VAS GW. Now our question is, how does Mbuni MMSC need to be configured so that it accepts and processes a MMS Push Notification delivery report from Kannel smsbox (which smsbox would have in turn received from SMSC with respect to a corresponding MMS Push Notification)? We understand that the Mbuni MMSC requires the receipt of this MMS Push Notification delivery report for the purpose of avoiding the resending of a successful MMS Push Notification. Thank you. Best Regards, Deborah and Andrew ___ 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
Re: [Users] Fetching of MMS fails
Can you share you confs. Looks like a kannel misconfiguration, or the sendsms URL is wrong in your Mbuni conf On 5 May 2011 15:10, Jan Riedinger riedin...@sns.eu wrote: By the further examination of the problem, we found probably an explanation for the problem, but no fix until now. For the MMS below we found in the kannel log file: 2011-05-05 10:49:32 [67656] [3] INFO: sendsms sender:XXX:13013 () to:+4915152 msg:^A^F^C\xbe\xaf\x84\x8c\x82\x98mmsc.XXX.eu-3-up-qf5127.2.x512.6 Obviously kannel didn't send the full SMS notification, but only a part of it. It aborts exactly, where the http get request contains a %00. It seems that avoiding the usage of '@' in the fetch URL could circumvent the problem. Any other ideas? BR Jan Am 05.05.2011 11:34, schrieb Jan Riedinger: For testing purposes I'm trying to send a MMS to myself via mbuni. It seems that the sending of the MMS and the SMS notification are working, but the the fetch URL seems to get truncated anywhere. In the console log I see: mmsmobilesender.c:306 sendNotify [MM1] [n/a] Preparing to notify client to fetch message at URL: http://mmsc.XXX.eu/3-up-qf5127.2.x512.6@2/wx74 The SMS notifications, which is sent for the MMS notificaton contains the string wx74 of the URL: 2011-05-05 10:49:32 [25512] [18] DEBUG: data: 47 45 54 20 2f 63 67 69 2d 62 69 6e 2f 73 65 6e GET /cgi-bin/sen 2011-05-05 10:49:32 [25512] [18] DEBUG: data: 64 73 6d 73 3f 5f 64 75 6d 6d 79 3d 78 26 75 73 dsms?_dummy=xus 2011-05-05 10:49:32 [25512] [18] DEBUG: data: xxx ername= 2011-05-05 10:49:32 [25512] [18] DEBUG: data: xxx password=xxx 2011-05-05 10:49:32 [25512] [18] DEBUG: data: 32 26 74 65 78 74 3d 25 30 31 25 30 36 25 30 33 2text=%01%06%03 2011-05-05 10:49:32 [25512] [18] DEBUG: data: 25 42 45 25 41 46 25 38 34 25 38 43 25 38 32 25 %BE%AF%84%8C%82% 2011-05-05 10:49:32 [25512] [18] DEBUG: data: 39 38 6d 6d 73 63 2f 74 2f 73 2e 65 75 2d 33 2d 98mmsc.XXX.eu-3- 2011-05-05 10:49:32 [25512] [18] DEBUG: data: 75 70 2d 71 66 35 31 32 37 2e 32 2e 78 35 31 32 up-qf5127.2.x512 2011-05-05 10:49:32 [25512] [18] DEBUG: data: 2e 36 25 30 30 25 38 44 25 39 30 25 38 39 25 31 .6%00%8D%90%89%1 2011-05-05 10:49:32 [25512] [18] DEBUG: data: 39 25 38 30 38 30 2e 31 38 37 2e 31 30 33 2e 35 9%8080.187.103.5 2011-05-05 10:49:32 [25512] [18] DEBUG: data: 37 25 32 46 54 59 50 45 25 33 44 49 50 76 34 25 7%2FTYPE%3DIPv4% 2011-05-05 10:49:32 [25512] [18] DEBUG: data: 30 30 25 39 36 57 47 25 33 41 2b 54 65 73 74 2b 00%96WG%3A+Test+ 2011-05-05 10:49:32 [25512] [18] DEBUG: data: 35 25 30 30 25 38 41 25 38 30 25 38 45 25 30 32 5%00%8A%80%8E%02 2011-05-05 10:49:32 [25512] [18] DEBUG: data: 25 45 44 25 44 30 25 38 38 25 30 35 25 38 31 25 %ED%D0%88%05%81% 2011-05-05 10:49:32 [25512] [18] DEBUG: data: 30 33 25 30 39 39 25 38 36 25 38 33 68 74 74 70 03%099%86%83http 2011-05-05 10:49:32 [25512] [18] DEBUG: data: 25 33 41 25 32 46 25 32 46 6d 6d 73 63 2f 74 2f %3A%2F%2Fmmsc.xx 2011-05-05 10:49:32 [25512] [18] DEBUG: data: 74 2e 65 75 25 32 46 33 2d 75 70 2d 71 66 35 31 x.eu%2F3-up-qf51 2011-05-05 10:49:32 [25512] [18] DEBUG: data: 32 37 2e 32 2e 78 35 31 32 2e 36 25 34 30 32 25 27.2.x512.6%402% 2011-05-05 10:49:32 [25512] [18] DEBUG: data: 32 46 77 78 37 34 25 30 30 26 74 6f 3d 25 32 42 2Fwx74%00to=%2B 2011-05-05 10:49:32 [25512] [18] DEBUG: data: 34 39 31 35 31 35 32 32 35 37 36 37 37 26 75 64 4915152257677ud 2011-05-05 10:49:32 [25512] [18] DEBUG: data: 68 3d 25 30 36 25 30 35 25 30 34 25 30 42 25 38 h=%06%05%04%0B%8 2011-05-05 10:49:32 [25512] [18] DEBUG: data: 34 25 32 33 25 46 30 20 48 54 54 50 2f 31 2e 31 4%23%F0 HTTP/1.1 2011-05-05 10:49:32 [25512] [18] DEBUG: data: 0d 0a 48 6f 73 74 3a 20 31 39 34 2e 32 39 2e 32 ..Host: 194.29.2 2011-05-05 10:49:32 [25512] [18] DEBUG: data: 33 35 2e 31 36 31 3a 31 33 30 31 33 0d 0a 43 6f 35.161:13013..Co 2011-05-05 10:49:32 [25512] [18] DEBUG: data: 6e 6e 65 63 74 69 6f 6e 3a 20 6b 65 65 70 2d 61 nnection: keep-a 2011-05-05 10:49:32 [25512] [18] DEBUG: data: 6c 69 76 65 0d 0a 43 6f 6e 6e 65 63 74 69 6f 6e live..Connection 2011-05-05 10:49:32 [25512] [18] DEBUG: data: 3a 20 63 6c 6f 73 65 0d 0a 55 73 65 72 2d 41 67 : close..User-Ag 2011-05-05 10:49:32 [25512] [18] DEBUG: data: 65 6e 74 3a 20 4d 62 75 6e 69 2f 63 76 73 2d 32 ent: Mbuni/cvs-2 2011-05-05 10:49:32 [25512] [18] DEBUG: data: 30 31 31 30 33 32 38 0d 0a 0d 0a 0110328 But my HTC phone tries to fetch the message without this appendix and the MMS isn't found: 2011-05-05 10:49:49 [25512] [3] DEBUG: HTTP: Creating HTTPClient for `80.187.103.109'. 2011-05-05 10:49:49 [25512] [3] DEBUG: HTTP: Created HTTPClient area 0x91f1690. 2011-05-05 10:49:49 [25512] [0] DEBUG: Request,
Re: [Users] Faulty address [0049170123456/TYPEPLMN]
No mistake on your part. There is a bug in 1.5.0 where it fails to parse the (rare) case in which From/To/Cc are RFC 2047 encoded. I have fixed this in latest CVS. Please use that and let me know Paul. On 4 May 2011 12:20, Jan Riedinger riedin...@sns.eu wrote: I'm trying to send an MMS from my HTC Legend to mbuni. For the received message I see in the console output: 2011-04-29 10:30:24 [2388] [12] WARNING: mms_msg.c:326 mms_unpack_well_known_field [mms_msg] [n/a] Faulty address [=?UTF-8?q?0049170123456/TYPE=PLMN?=] format in field To! What I'm doing wrong? Thank you in advance Jan BTW: I send this e-mail to users@mbuni.org already on the 29.4.2011, but obviously it didn't reach the mailing list. -- Jan Riedinger Phone : +49-30-39 73 19 66 Dipl.-Inf. | Managing Director Fax : +49-30-39 73 19 64 E-Mail: riedin...@sns.eu SNS Consult GmbHICQ : 163-237-041 Südwestkorso 49aMSN : j...@sns-consult.de 14197 Berlin GERMANYSkype : Jan Riedinger AG Charlottenburg - HRB 71973 ___ 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
Re: [Users] Huawei config
When you send MMS to the modem, you should see an incoming SMS in Kannel's logs. This contains the notification. One would have to see the logs (both kannel and mbuni) to understand what's going on. On Apr 18, 2011, at 10:32, Stanisław Czech wrote: Hi again, ___ kannel.conf group = smsc smsc-id = moj smsc = at port = 1 modemtype = huawei_e220_00 device = /dev/ttyUSB0 sms-center = +48601000310 my-number = +48663837206 connect-allow-ip = 127.0.0.1;192.168.*.* For Huawei modems, as they appear as 3 usb devices (ttyUSB0,1,2) I had to change config to: device = /dev/ttyUSB2 for SMS to get recieved. I have no problems sending and recieving sms, and sending MMS but i can't recieve any MMS. Does anyone have some clues where there can be a problem? smsbox see's nothing when I send mms from a mobile to the mbuni's modem. In kannel.conf I have: group = sms-service keyword-regex = .* catch-all = true max-messages = 0 get-url = http://localhost/run.php concatenation = true group = sms-service keyword = default catch-all = true get-url = http://localhost:13014/?text=%b max-messages = 0 concatenation = true group = wapbox bearerbox-host = localhost log-file = /var/log/kannel/wapbox.log #log-level = 0 #syslog-level = 0 timer-freq = 10 map-url = http://mmsc/* http://localhost:13014; In mmsbox.conf: group = mms-service #name = me post-url = http://localhost/run.php catch-all = true http-post-parameters = fx=trueimages[]=%itext[]=%tskip=1 accept-x-mbuni-headers = true keyword = I run bearbox, smsbox, wapbox and mmsbox... There is nothing I can see in logs when sending the mms to modem. Pozdrawiam Stanislaw Czech NOWATEL Sp. z o.o. tel. +48 58 732 25 91 fax. +48 58 732 25 94 mob. +48 693 059 058 http://www.tygrys.net http://www.nowatel.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
Re: [Users] Huawei config
I don't think there is a secret. Receipt of the notification is *purely* via SMS. Which means that Mbuni hasn't even kicked in yet. Basically MMS reception at the network works like this: The operator MMSC checks (HLR, whatever) if receiving subscriber's device is MMS-capable. If not, subscriber receive SMS (as you have done). This is the important bit. Typically the operator can flag your account so MMS is *always* sent to you as MMS, whether or not your device is known to support MMS. P. On Apr 18, 2011, at 12:49, Piotr Isajew wrote: Maybe there is some secret knowledge needed for making Huawei modem work with this. I don't know :-( On 2011-04-18, at 11:20, Stanisław Czech wrote: It seems Huawei is incapable of recieving MMS. Is there a way to check it to be sure? I found on other forums: http://broadbandforum.in/bsnl-3g/63542-mms-setting-bsnl-3g-huawei/ Seems like no one has been successfully able to use MMS functionality using Huawei modem On the other hand, NOWSMS seems to support it: http://www.nowsms.com/sms-and-mms-with-the-huawei-e160-usb-modem ___ 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
Re: [Users] Huawei config
In 1.5.0 this is no longer (necessarily) a custom MMSC. So you could add something like this: group = mmsc id=modem type = mm1 mm1-sms-on-command = lynx -dump 'http://localhost:13000/start-smsc?password=barsmsc=modemsmsc' mm1-sms-off-command = lynx -dump 'http://localhost:13000/stop-smsc?password=barsmsc=modemsmsc' incoming-port = 13014 mmsc-url = http://mms.orange.pl mm1-http-proxy = 192.168.6.104:8080 mm1-msisdn=0048505505505 mm1-gprs-on-command = /usr/local/mbuni/sbin/start-mms-gprs mm1-gprs-pid-command = cat /var/run/ppp-mms.pid|head -1 On Apr 15, 2011, at 21:45, Piotr Isajew wrote: As for mmsc settings, here are mine: custom-settings = smsc-on=lynx -dump 'http://localhost:13000/start-smsc?password=barsmsc=modemsmsc';smsc-off=lynx -dump 'http://localhost:13000/stop-smsc?password=barsmsc=modemsmsc';gprs-on=/usr/local/mbuni/sbin/start-mms-gprs;gprs-pid=cat /var/run/ppp-mms.pid|head -1;port=13014;mmsc-url=http://mms.orange.pl;proxy=192.168.6.104:8080;msisdn=0048505505505; those work well for Orange, and similar ones work with P4. I use CVS versions for kannel mbuni (but mbuni recently advanced to next release, so it's better to start with it). Also note, that kannel is only relevant if you want to receive mms messages or send push notifications to mobile phones. For sending mms messages you don't need running kannel. You only need it's gwlib to compile mbuni. I had no chance to play with Huawei, but I can tell that Option modems work without problems. On Fri, Apr 15, 2011 at 08:25:34PM +0200, Stanisław Czech wrote: I haven't upgrade to current stable yet, so I don't know if my comment will be appropriate for you, however, I think in mmsc section you should uncomment custom settings, and provide setting for port (i.e. port=8976). That's the port on which MM1 module will listen for incoming notifications, and perhaps lack of this setting makes it impossible for notify thread to start. I did. It was commented since I wanted to know if it makes any difference. With and without custom settings parameter the same error occurs. What kind of version setup is known to be the most stable/proven (kannel/mbuni) ? Maybe you could suggest any known to work combination of mm1 modem and kannel/mbuni version that is available on polish market? Greetings, Stanislaw Czech NOWATEL Sp. z o.o. http://www.nowatel.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 ___ Users mailing list Users@mbuni.org http://lists.mbuni.org/mailman/listinfo/users
Re: [Users] [ANNOUNCE] Mbuni 1.5.0
There are only new conf parameters, so your conf from the last release should still work just fine. This release is advised as it has many bug fixes. On Apr 14, 2011, at 19:16, Cristian Padilla D. wrote: Hi, Someone has tested the new Mbuni 1.5.0 running as VAS gateway ?? …. The configuration is to different ??, I am thinking in update my server … so ... if someone had … please … enlighten me … THK… De: users-boun...@mbuni.org [mailto:users-boun...@mbuni.org] En nombre de Emmanuel CHANSON Enviado el: jueves, 31 de marzo de 2011 18:31 Para: users@mbuni.org Asunto: Re: [Users] [ANNOUNCE] Mbuni 1.5.0 Thanks Paul ! Emmanuel 2011/3/31 Paul Bagyenda bagye...@dsmagic.com Hi All, It's been a couple of years since we had a new release out. This does not mean that nothing much has been happening with Mbuni (ChangeLog is out witness). We thought the time was right for another release, so here goes. 1.5.0 is out. More here:www.mbuni.org Enjoy, and of course keep the bug reports and patches coming! Paul ___ Users mailing list Users@mbuni.org http://lists.mbuni.org/mailman/listinfo/users -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. ___ 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
Re: [Users] libsqlite.so.0
Hi, Best you install Kannel-1.4.3 onwards. You may then likely not see this problem. On Apr 11, 2011, at 15:01, Andrew Caruana wrote: Dear all, We’re in the process of installing Mbuni on CentOS (5.5 in this case) and from the User Guide we read that in order to install Mbuni we first need to install (besides other things) Kannel. In this respect, we have download the latest stable RPM and on trying to install it, we are being given the following error: Error: Failed dependencies: libsqlite.so.0 is needed by kannel-1.4.0.-3.1.fc3.fr.i386 Now, our question (as newbies) is under what package name (in the case of CentOS) is this module available. We also noted that there already exists the libsqlite3.so.0.8.6 module, but we do not yet know if this is a newer version, for which Kannel is not happy with. Any help shall be greatly appreciates since we’re currently stuck. Thanks and regards, Andrew Deborah ___ 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
[Users] [ANNOUNCE] Mbuni 1.5.0
Hi All, It's been a couple of years since we had a new release out. This does not mean that nothing much has been happening with Mbuni (ChangeLog is out witness). We thought the time was right for another release, so here goes. 1.5.0 is out. More here: www.mbuni.org Enjoy, and of course keep the bug reports and patches coming! Paul ___ Users mailing list Users@mbuni.org http://lists.mbuni.org/mailman/listinfo/users
Re: [Users] compile failure
Well, we can't help you with such an error log. Can you send the complete output you got while compiling? On Jan 12, 2011, at 14:34, paul mwaniki wrote: please help when i apply make install cmd to mbuni1.4 i get make[2]: *** [libmms_pgsql_queue.la] Error 1 make[2]: Leaving directory `/home/poll/Downloads/mbuni-1.4.0/extras/pgsql-queue' make[1]: *** [install-recursive] Error 1 make[1]: Leaving directory `/home/poll/Downloads/mbuni-1.4.0/extras' make: *** [install-recursive] Error 1 whats wrong? please help,i have to install mbuni to get this job. ___ 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
Re: [Users] utf-8 subject in outgoing messages
How should the charset information be encoded? On Nov 25, 2010, at 12:34, Piotr Isajew wrote: Hi, Is there any way to properly use Send MMS service to send MMS message with UTF-8 encoded subject? I tried both passing raw utf-8 string as 'subject' parameter of get request and encoding it according to RFC-2047 before. From tcpdump it looks for me that no charset information is encoded in Subject field. Regards, Piotr ___ 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
Re: [Users] utf-8 subject in outgoing messages
Should work. Can you test it and advise if it works? Then I'll apply your patch. On Nov 25, 2010, at 18:01, Piotr Isajew wrote: On Thu, Nov 25, 2010 at 11:19:32AM +0100, Piotr Isajew wrote: 0x16 0xea: looks like encoding indication for me, doesn't match utf-8 above, I'm not sure, why 0xEA is an indication of UTF-8 charset (i'm not sure why it differs from the value I quoted before) and 0x16 is a number of octets in subject including charset octet and null-terminator. I think the fix would need to modify mms_pack_well_known_field(), create separate case for MMS_HEADER_SUBJECT and push those two octets into os before call to wsp_pack_text() Paul, what do you think about this? ___ 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
[Users] surveillance using Mbuni
Came across this link. Thanks, Ben Hardill. http://www.hardill.me.uk/wordpress/?p=17 ___ Users mailing list Users@mbuni.org http://lists.mbuni.org/mailman/listinfo/users
Re: [Users] kannel support long messages using payload
Hi, Not sure what you mean by long messages or payload. Can you explain a little more? On Aug 31, 2010, at 11:34, Anas Alnaffar wrote: Does kannel support long messages using payload? and how we can use this feature? Thanks Anas ___ 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
[Users] MM1 modems
I am compiling a list of modems that have been successfully used with the Mbuni MM1 mmsbox plugin (i.e. works fully for message exchange). Kindly let me know, those who have used these. I will then put up a list that can be of use to others. Thanks Paul. ___ Users mailing list Users@mbuni.org http://lists.mbuni.org/mailman/listinfo/users
Re: [Users] X-Mms-Message-Size field
According to the MMS encoding spec, this field should be a Long-integer. The encoding for this is defined in WAP-203-WSP Section 8.1.2: 8.1.2 Variable Length Unsigned Integers Many fields in the data unit formats are of variable length. Typically, there will be an associated field that specifies the size of the variable length field. In order to keep the data unit formats as small as possible, a variable length unsigned integer encoding is used to specify lengths. The larger the unsigned integer, the larger the size of its encoding. Each octet of the variable length unsigned integer is comprised of a single Continue bit and 7 bits of payload as shown in Figure 27. To encode a large unsigned integer, split it into 7-bit fragments and place them in the payloads of multiple octets. The most significant bits are placed in the first octets with the least significant bits ending up in the last octet. All octets MUST set the Continue bit to 1 except the last octet, which MUST set the Continue bit to 0. On Aug 28, 2010, at 00:29, Rennard Hutchinson wrote: Hello, I was wondering if anyone could help me with the X-Mms-Message-Size field. I have looked over the mms encapsulation spec an it indicates that this value is a Long-integer. I have also seen some other places, like wireshark decoders, that list this as a 32 bit unsigned integer. Yet another method seems to use and encoding of 0x8E(for the field name), lengthInBytes(lets say 2), 0xXX(first byte), 0xYY(second byte). My problem is that in wireshark traces from notifications being generated by Mbuni, this field doesn't seem to follow any of these encodings routinely. If it is using a 32bit encoding I would expect to see 4 bytes for the size in each message. Sometimes it is 3, sometimes 2. How is Mbuni setting this field? ___ 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
Re: [Users] From Header value mmsbox with MM1 m-send-req
When you use the mm1 module of mmsbox to send an MMS, you obviously cannot fake the sender. The MMSC pretty much always inserts a sender address for you, hence Mbuni removes the sender address and tells the MMSC to insert one. On Aug 19, 2010, at 23:53, Emmanuel CHANSON wrote: Yes, I know that in SMS messaging it is restricted, but in MMS I am quite sure it is possible by setting the From header inside a MMS to a given string. (test done in another context without Mbuni). The thing is that I ask some info about how Mbuni handle these different parameters (sender, faked-sender, ...) because I have a behavior I don't understand where: - I have the string let's say Sender set in my config file, - I send my MMS - Inside mbuni logs I do see 'from sen...@unknown' - In the pcap trace I don't see any value in From Header !! the field is empty - On my mobile phone I receive the MMS with +123456789 from value I think because the From value inside pcap trace is empty then MMS-C put the Sender modem MSISDN. So is there a problem when the sender is not a MSISDN address ? In mmlib/mms_util.c I found: if (isphonenum(*address) || (typ octstr_str_case_compare(typ, /TYPE=PLMN) == 0)) { mms_normalize_phonenum(address, unified_prefix, strip_prefixes); octstr_append(*address, keep_suffix ? octstr_imm(/TYPE=PLMN) : octstr_imm()); } else if (typ) octstr_append(*address, keep_suffix ? typ : octstr_imm()); else octstr_append(*address, keep_suffix ? octstr_imm(@unknown) : octstr_imm()); octstr_destroy(typ); } Not being an expert in C I wonder if Mbuni is able to replace a MSISDN address by a string and why it should add '@unknown' after the string. In any case even with this it don't seems to work as my From field value is empty... Maybe some Mbuni experts a some clues about this ? Regards, Emmanuel 2010/8/19 Alvaro Cornejo cornejo.alv...@gmail.com Emmanuel Don't know much about mbuni, but for sms messaging with gsm modems it is no possible to set the From variable. It allways will be the SIM phone number (MSISDN). This feature is restricted by the operators in general. You can do that with SMPP. As you connect through GPRS, it might be different. Better ask your provider if it is possible. Regards Alvaro |-| Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier celular y Nextel en el Perú, México y en mas de 180 paises. Use aplicaciones 2 vias via SMS y GPRS online Visitenos en www.perusms.NET www.smsglobal.com.mx y www.pravcom.com On Wed, Aug 18, 2010 at 11:39 PM, Emmanuel CHANSON emmanuelchan...@gmail.com wrote: One question about the sender value in mmsbox: Mbuni CVS + GPRS modem as mmsc. How mmsbox handle the From value from if the value is not an MSISDN like +x/TYPE=PLMN ? I do see in logs that mbuni seems to send a MMS with my string value in From Header BUT: - From value is empty in a pcap trace token when mmsbox sent the MMS to MMSC - I receive on my destination mobile sender info like my real modem SIM number ie +123456789 My purpose is to send a MMS with from=string received like this on destination mobile for instance recipient will receive a MMS coming from MYCOMPANY. In mmsbox.conf: group = send-mms-user username = tester password = foobar faked-sender = Sender Test sendmms command: - lynx -dump http://localhost:10003/?username=testerpassword=foobarmmsc=nokiaphonefrom=Senderto=%2Bx/TYPE=PLMNsubject=Testcontent-url=http://localhost/mms/mms-2.smil; mmsbox.log: ... bearerbox.c:1519 sendMsg [MM7] [n/a] Sent MMSBox Outgoing Queue MMS Send: From sen...@unknown, to +x/TYPE=PLMN, msgsize=96880: msgid=[725F16D40E89735B8F6FE52B698E4CB4] Regards, Emmanuel ___ 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 ___ Users mailing list Users@mbuni.org http://lists.mbuni.org/mailman/listinfo/users
Re: [Users] Mbuni MM1 behavior regarding ppp connection and MMS stored in queue
Patch is on cvs. On Aug 09, 2010, at 11:29, Piotr Isajew wrote: On Mon, Aug 09, 2010 at 06:52:01PM +1100, Emmanuel CHANSON wrote: I already reported this behavior but I think it is better to open a new thread for this. I notice that in my config, Mbuni connect and disconnect from ppp GPRS connection for each MMS stored in queue. Is it a normal behavior ? Piotr told me that in its config: *With settings similar to yours I get the behaviour when mbuni sends everything that is queued and then disconnects. Maybe if you patch mmsbox_mm1.c to add a 2 second sleep at end of inner loop in handle_mm1 function that will solve your problem.* So should Mbuni connect and disconnect for each MMS ? Or can we set an options to keep the ppp connection open until all MMS stored are sent ? Others options: - patch Mbuni to add a 2 second sleep ? If Piotr you can show me which function to add in order to have the sleep ? Or anybody else :) Try patch I sent to devel list last week: http://www.mail-archive.com/de...@mbuni.org/msg00427.html If you try it please let me know if it solves your problem. - manage pppd and ignore SIGTERM sent by Mbuni ? How to do this ? - ... Note: I am not a C expert :) -- Regards, Emmanuel ___ 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 ___ Users mailing list Users@mbuni.org http://lists.mbuni.org/mailman/listinfo/users
Re: [Users] Re: Mbuni website down ?
We had a power outtage at the data centre. This has now been resolved. On Jul 30, 2010, at 06:31, Emmanuel CHANSON wrote: It is working now... Maybe an issue with the server. Sorry for the post BR 2010/7/30 Emmanuel CHANSON emmanuelchan...@gmail.com Hello, Does anyone know why the mbuni web site is down? BR, -- Emmanuel CHANSON Emmanuel @email : emmanuelchan...@gmail.com -- 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 ___ Users mailing list Users@mbuni.org http://lists.mbuni.org/mailman/listinfo/users
Re: [Users] PANIC: gwlib/octstr.c:1470: octstr_delete: Assertion `!ostr1-immutable' failed.
Fixed on CVS. Thanks for catching this. On Jul 02, 2010, at 11:51, sokha pen wrote: Hi List, I have setup mbuni as VAS Gateway and runing without problem but when i Mbuni receive MM7 message from operator it give error as below: 2010-07-02 10:48:40 [7150] [3] DEBUG: XML sent is: ?xml version=1.0 encoding=UTF-8? env:Envelope xmlns:env=http://schemas.xmlsoap.org/soap/envelope/; env:Header TransactionID xmlns=http://www.3gpp.org/ftp/Specs/archive/23_series/23.140/schema/REL-5-MM7-1-2; env:mustUnderstand=12010070209 4346-8b0ce...@192.168.210.191/TransactionID /env:Header env:Body DeliverReq xmlns=http://www.3gpp.org/ftp/Specs/archive/23_series/23.140/schema/REL-5-MM7-1-2; MM7Version5.3.0/MM7Version Recipients To Number+1234153370/Number /To /Recipients PriorityNormal/Priority Subjecttest mms/Subject Content href=cid:mms_cid / /DeliverReq /env:Body /env:Envelope! 2010-07-02 10:48:40 [7150] [3] INFO: parse.soap, h=TransactionID, v=20100702094346-8b0ce...@192.168.210.191! 2010-07-02 10:48:40 [7150] [3] INFO: parse.soap, h=MessageType, v=DeliverReq! 2010-07-02 10:48:40 [7150] [3] INFO: parse.soap, h=MM7Version, v=5.3.0! 2010-07-02 10:48:40 [7150] [3] INFO: parse.soap, h=To, v=+ +1234153370/TYPE=PLMN! 2010-07-02 10:48:40 [7150] [3] INFO: parse.soap, h=Priority, v=Normal! 2010-07-02 10:48:40 [7150] [3] INFO: parse.soap, h=Subject, v=test mms! 2010-07-02 10:48:40 [7150] [3] INFO: parse.soap, h=Content, v=cid:mms_cid! 2010-07-02 10:48:40 [7150] [3] DEBUG: -- Enterred mm7dispatch interface, mreq=[Ok] mtype=[DeliverReq] -- 2010-07-02 10:48:40 [7150] [3] PANIC: gwlib/octstr.c:1470: octstr_delete: Assertion `!ostr1-immutable' failed. 2010-07-02 10:48:40 [7150] [3] PANIC: mmsbox(gw_panic+0x9e) [0x8084bce] 2010-07-02 10:48:40 [7150] [3] PANIC: mmsbox(octstr_delete+0xb3) [0x8089f6b] 2010-07-02 10:48:40 [7150] [3] PANIC: mmsbox(get_mmsbox_queue_dir+0x261) [0x8058d4d] 2010-07-02 10:48:40 [7150] [3] PANIC: mmsbox(mmsc_receive_func+0x7f8) [0x805a72c] 2010-07-02 10:48:40 [7150] [3] PANIC: mmsbox [0x807c31b] 2010-07-02 10:48:40 [7150] [3] PANIC: /lib/tls/libpthread.so.0 [0xb773cc] 2010-07-02 10:48:40 [7150] [3] PANIC: /lib/tls/libc.so.6(__clone+0x5e) [0xa00c3e] 2010-07-02 10:49:35 [7171] [3] PANIC: gwlib/octstr.c:1470: octstr_delete: Assertion `!ostr1-immutable' failed. 2010-07-02 10:49:35 [7171] [3] PANIC: mmsbox(gw_panic+0x9e) [0x8084bce] 2010-07-02 10:49:35 [7171] [3] PANIC: mmsbox(octstr_delete+0xb3) [0x8089f6b] 2010-07-02 10:49:35 [7171] [3] PANIC: mmsbox(get_mmsbox_queue_dir+0x261) [0x8058d4d] 2010-07-02 10:49:35 [7171] [3] PANIC: mmsbox(mmsc_receive_func+0x7f8) [0x805a72c] 2010-07-02 10:49:35 [7171] [3] PANIC: mmsbox [0x807c31b] 2010-07-02 10:49:35 [7171] [3] PANIC: /lib/tls/libpthread.so.0 [0xb773cc] 2010-07-02 10:49:35 [7171] [3] PANIC: /lib/tls/libc.so.6(__clone+0x5e) [0xa00c3e] 2010-07-02 11:47:29 [7191] [3] PANIC: gwlib/octstr.c:1470: octstr_delete: Assertion `!ostr1-immutable' failed. 2010-07-02 11:47:29 [7191] [3] PANIC: mmsbox(gw_panic+0x9e) [0x8084bce] 2010-07-02 11:47:29 [7191] [3] PANIC: mmsbox(octstr_delete+0xb3) [0x8089f6b] 2010-07-02 11:47:29 [7191] [3] PANIC: mmsbox(get_mmsbox_queue_dir+0x261) [0x8058d4d] 2010-07-02 11:47:29 [7191] [3] PANIC: mmsbox(mmsc_receive_func+0x7f8) [0x805a72c] 2010-07-02 11:47:29 [7191] [3] PANIC: mmsbox [0x807c31b] 2010-07-02 11:47:29 [7191] [3] PANIC: /lib/tls/libpthread.so.0 [0xb773cc] 2010-07-02 11:47:29 [7191] [3] PANIC: /lib/tls/libc.so.6(__clone+0x5e) [0xa00c3e] 2010-07-02 17:43:20 [7579] [3] PANIC: gwlib/octstr.c:1470: octstr_delete: Assertion `!ostr1-immutable' failed. 2010-07-02 17:43:20 [7579] [3] PANIC: mmsbox(gw_panic+0x9e) [0x8084bce] 2010-07-02 17:43:20 [7579] [3] PANIC: mmsbox(octstr_delete+0xb3) [0x8089f6b] 2010-07-02 17:43:20 [7579] [3] PANIC: mmsbox(get_mmsbox_queue_dir+0x261) [0x8058d4d] 2010-07-02 17:43:20 [7579] [3] PANIC: mmsbox(mmsc_receive_func+0x7f8) [0x805a72c] 2010-07-02 17:43:20 [7579] [3] PANIC: mmsbox [0x807c31b] 2010-07-02 17:43:20 [7579] [3] PANIC: /lib/tls/libpthread.so.0 [0xb773cc] 2010-07-02 17:43:20 [7579] [3] PANIC: /lib/tls/libc.so.6(__clone+0x5e) [0xa00c3e] below is from etherial Trace POST /mm7 HTTP/1.1 Authorization: Basic enhtZTp6eG1l Host: 192.168.53.127:8088 SOAPAction: Content-Length: 1666 Content-Type: multipart/related; boundary=---mime-boundary-17DCD0D2.7667C8D3---; type=text/xml; start=mm7_msg -mime-boundary-17DCD0D2.7667C8D3--- Content-Type: text/xml; charset=utf-8 Content-ID: mm7_msg ?xml version=1.0 encoding=UTF-8? env:Envelope xmlns:env=http://schemas.xmlsoap.org/soap/envelope/; env:Header TransactionID xmlns=http://www.3gpp.org/ftp/Specs/archive/23_series/23.140/schema/REL-5-MM7-1-2; env:mustUnderstand=120100702164233-a3958...@192.168.210.191/TransactionID /env:Header env:Body DeliverReq xmlns=http://www.3gpp.org/ftp/Specs/archive/23_series/23.140/schema/REL-5-MM7-1-2;
Re: [Users] disable reports
There isn't at the moment. On Jun 23, 2010, at 07:04, sms...@gmail.com wrote: Hi Bagyenda, Wanted to know if its possible to disable/deactivate MMS delivery report and read report via some kind of MMSC.conf settings? Basically dont want to send delivery notifications and read receipts to mm1 clients. Kindly let me know Thanks Vishal ___ 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
Re: [Users] Re: Alternative MMSBox service
There is no limit set, your system limits you. On Apr 28, 2010, at 10:21, pramod b wrote: Hi Paul, I have one query. What is the max traffic rate,max media file size mbuni supports? Regards, Pramod -- Forwarded message -- From: pramod b pramodbo...@gmail.com Date: Tue, Apr 27, 2010 at 2:25 PM Subject: Re: [Users] Re: Alternative MMSBox service To: users@mbuni.org We haven't tried with debug turn off . We are using kontron card , Linux configuration is - Linux golden 2.6.18-128.1.6.el5 #1 SMP Tue Mar 24 12:05:57 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux On Tue, Apr 27, 2010 at 12:57 PM, Paul Bagyenda bagye...@dsmagic.com wrote: There isn't. But 10 tps really is not significant. Have you tried turning off debug logging? What hardware are you using? On Apr 27, 2010, at 10:18, pramod b wrote: Paul, currently we are running with 10 msg/sec.Is there any option to write the received Http post parameters into a file without invoking cgi or executable. On Tue, Apr 27, 2010 at 12:24 PM, Paul Bagyenda bagye...@dsmagic.com wrote: You can also call an executable in the mms-service, to receive the MMS data on standard input, but then you would have to parse the MMS yourself. How much traffic are you processing per sec? On Apr 27, 2010, at 09:21, pramod b wrote: help needed... i can able to receive and store the content using cgi as mms-service but our reuirement is like we need a faster mms-serivce appln rather than cgi. On Mon, Apr 26, 2010 at 12:07 PM, pramod b pramodbo...@gmail.com wrote: Hi Is there any alternate mms service(MMSBOX ) rather than PHP or CGI etc..? Is mmsbox supports any fast mms service rather than CGI or PHP ? As of now we are using cgi as mms service url but it is very slow when we run mbuni as mmsbox in load. Plz let me know ASAP. Regards Pramod ___ 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 ___ 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 ___ 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
Re: [Users] Re: Alternative MMSBox service
You can also call an executable in the mms-service, to receive the MMS data on standard input, but then you would have to parse the MMS yourself. How much traffic are you processing per sec? On Apr 27, 2010, at 09:21, pramod b wrote: help needed... i can able to receive and store the content using cgi as mms-service but our reuirement is like we need a faster mms-serivce appln rather than cgi. On Mon, Apr 26, 2010 at 12:07 PM, pramod b pramodbo...@gmail.com wrote: Hi Is there any alternate mms service(MMSBOX ) rather than PHP or CGI etc..? Is mmsbox supports any fast mms service rather than CGI or PHP ? As of now we are using cgi as mms service url but it is very slow when we run mbuni as mmsbox in load. Plz let me know ASAP. Regards Pramod ___ 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
Re: [Users] Re: Alternative MMSBox service
There isn't. But 10 tps really is not significant. Have you tried turning off debug logging? What hardware are you using? On Apr 27, 2010, at 10:18, pramod b wrote: Paul, currently we are running with 10 msg/sec.Is there any option to write the received Http post parameters into a file without invoking cgi or executable. On Tue, Apr 27, 2010 at 12:24 PM, Paul Bagyenda bagye...@dsmagic.com wrote: You can also call an executable in the mms-service, to receive the MMS data on standard input, but then you would have to parse the MMS yourself. How much traffic are you processing per sec? On Apr 27, 2010, at 09:21, pramod b wrote: help needed... i can able to receive and store the content using cgi as mms-service but our reuirement is like we need a faster mms-serivce appln rather than cgi. On Mon, Apr 26, 2010 at 12:07 PM, pramod b pramodbo...@gmail.com wrote: Hi Is there any alternate mms service(MMSBOX ) rather than PHP or CGI etc..? Is mmsbox supports any fast mms service rather than CGI or PHP ? As of now we are using cgi as mms service url but it is very slow when we run mbuni as mmsbox in load. Plz let me know ASAP. Regards Pramod ___ 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 ___ 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
Re: [Users] Re:Mutliple receipients
It does not yet support multiple recipients. On Apr 19, 2010, at 18:43, pramod b wrote: Hi All, Is the current version of mbuni supports the multiple receipients in a single Soap MM7-Submit request . From the earlier mail archieve Paul mentioned that mbuni wont support multiple receipients in a single Soap MM7-Submit request it will intiate a seperate soap request for each receipient. Regards, Pramod ___ 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
Re: [Users] MMSBox and MM1 GPRS modem
You need to have the start/stop script in there, since Mbuni must be able to start and stop Kannel's hold on the modem. If the PPP link comes up and you are not able to send, you need to check that you are using the correct APN. P. On Mar 23, 2010, at 23:49, Emmanuel CHANSON wrote: I come again to this thread to get some help from you guys, Does anyone of you already got these alarms? ERROR: mmsbox_mm1.c:628 fetch_content [mmsbox-mm1] [n/a] failed to fetch/post content: couldn't connect to host and Mar 21 15:47:05 kannel pppd[18110]: Serial line is looped back. or Mar 21 15:47:44 kannel pppd[18129]: PAP authentication succeeded Mar 21 15:47:46 kannel pppd[18129]: LCP terminated by peer Thanks by advance, Emmanuel 2010/3/21 Emmanuel CHANSON emmanuelchan...@gmail.com I succeed to get something interresting :) I set mbuni to use wvdial but I shutdown kannel first and remove start/stop smsc from custom-settings command in mmsbox.conf to set only mmsbox gprs-on script: == /var/log/mbuni/mmsbox.log == 2010-03-21 14:56:15 [16018] [13] DEBUG: Thread 13 (mms_queue.c:(gwthread_func_t *)tdeliver) maps to pid 16018. 2010-03-21 14:56:39 [16018] [3] DEBUG: HTTP: Creating HTTPClient for `127.0.0.1'. 2010-03-21 14:56:39 [16018] [3] DEBUG: HTTP: Created HTTPClient area 0xb4f005b0. 2010-03-21 14:56:39 [16018] [14] DEBUG: WSP: Mapping `text/plain', WSP 1.2 to 0x0003. 2010-03-21 14:56:39 [16018] [14] INFO: mmsbox.c:1366 make_and_queue_msg [mmsbox] [n/a] MMSBox: Queued message from service [sendmms-user], [transid [Mbuni-msg.3799.x1.18.40]: h-jj-qf3799.1.x18.83 2010-03-21 14:56:39 [16018] [14] INFO: System error 2: No such file or directory 2010-03-21 14:56:39 [16018] [14] DEBUG: HTTP: Destroying HTTPClient area 0xb4f005b0. 2010-03-21 14:56:39 [16018] [14] DEBUG: HTTP: Destroying HTTPClient for `127.0.0.1'. 2010-03-21 14:56:39 [16018] [14] INFO: mmsbox.c:1613 dispatch_sendmms_recv [mmsbox] [n/a] MMSBox.mmssend: u=altmms, Queued [Accepted: Mbuni-msg.3799.x1.18.40] 2010-03-21 14:56:40 [16018] [7] DEBUG: Queued to thread 0 for /var/spool/mbuni/mmsbox_outgoing/h/jj/qf3799.1.x18.83, sendt=1269143799, tnow=1269143800 2010-03-21 14:56:45 [16018] [5] INFO: mmsbox_mm1.c:379 handle_mm1 [mmsbox-mm1] [n/a] start_gprs returned PID: 16054 2010-03-21 14:56:45 [16018] [5] DEBUG: WSP: Mapping `text/plain', WSP 1.2 to 0x0003. 2010-03-21 14:57:06 [16018] [5] ERROR: mmsbox_mm1.c:628 fetch_content [mmsbox-mm1] [n/a] failed to fetch/post content: couldn't connect to host 2010-03-21 14:57:06 [16018] [5] DEBUG: Octet string at 0xb4f02f10: 2010-03-21 14:57:06 [16018] [5] DEBUG: len: 0 2010-03-21 14:57:06 [16018] [5] DEBUG: size: 0 2010-03-21 14:57:06 [16018] [5] DEBUG: immutable: 0 2010-03-21 14:57:06 [16018] [5] DEBUG: Octet string dump ends. 2010-03-21 14:57:06 [16018] [5] ERROR: mmsbox_mm1.c:499 handle_mm1 [mmsbox-mm1] [n/a] Sending failed: (none), (none)! 2010-03-21 14:57:06 [16018] [5] INFO: mmsbox_mm1.c:524 handle_mm1 [mmsbox-mm1] [n/a] GPRS turned off returned: 0 2010-03-21 14:57:06 [16018] [13] INFO: mmsbox_mm1.c:345 send_msg [mmsbox-mm1] [n/a] sent message, type=m-send-req, result=(none) 2010-03-21 14:57:06 [16018] [13] INFO: bearerbox.c:1519 sendMsg [MM7] [n/a] Retry later MMSBox Outgoing Queue MMS Send: From 100/TYPE=PLMN, to +687773502/TYPE=PLMN, msgsize=97: msgid=[N/A] /var/log/messages: --- Mar 21 14:56:42 kannel pppd[16054]: pppd 2.4.5 started by root, uid 0 Mar 21 14:56:42 kannel pppd[16054]: Using interface ppp0 Mar 21 14:56:42 kannel pppd[16054]: Connect: ppp0 -- /dev/ttyACM0 Mar 21 14:56:45 kannel pppd[16054]: PAP authentication succeeded Mar 21 14:56:46 kannel pppd[16054]: not replacing existing default route via 192.168.0.254 Mar 21 14:56:46 kannel pppd[16054]: local IP address 10.152.146.153 Mar 21 14:56:46 kannel pppd[16054]: remote IP address 10.6.6.6 Mar 21 14:56:48 kannel ntpd[1285]: Listening on interface #9 ppp0, 10.152.146.153#123 Enabled Mar 21 14:57:06 kannel pppd[16054]: Terminating on signal 15 Mar 21 14:57:06 kannel pppd[16054]: Connect time 0.4 minutes. Mar 21 14:57:06 kannel pppd[16054]: Sent 0 bytes, received 0 bytes. Mar 21 14:57:06 kannel pppd[16054]: Connection terminated. Mar 21 14:57:06 kannel pppd[16054]: Exit. Mar 21 14:57:08 kannel ntpd[1285]: Deleting interface #9 ppp0, 10.152.146.153#123, interface stats: received=0, sent=0, dropped=0, active_time=20 secs Using pppd (without mbuni) I got this: Mar 21 15:47:02 kannel pppd[18110]: pppd 2.4.5 started by root, uid 0 Mar 21 15:47:03 kannel chat[18112]: abort on (BUSY) Mar 21 15:47:03 kannel chat[18112]: abort on (NO CARRIER) Mar 21 15:47:03 kannel chat[18112]: abort on (ERROR) Mar 21 15:47:03 kannel chat[18112]: send (AT^M) Mar 21 15:47:03 kannel chat[18112]: expect (OK) Mar 21 15:47:03 kannel chat[18112]: AT^M^M Mar 21 15:47:03 kannel chat[18112]: OK Mar 21
Re: [Users] MMSBox and MM1 GPRS modem
Please post your full Kannel and Mbuni conf files. On Mar 17, 2010, at 22:36, Emmanuel CHANSON wrote: 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';\ smsc-off=lynx -dump 'http://localhost:13000/stop-smsc?password=xxsmsc=nokiaphone';\ gprs-on=pppd call gprs;gprs-pid=cat /var/run/ppp0.pid|head -1;port=13000;mmsc-url=http://mms.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 catch-all = true http-post-parameters = fx=trueimages[]=%itext[]=%tskip=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=trueimage=%itext=%t accept-x-mbuni-headers = true keyword = thixs group = send-mms-user username = altmms password = altmms faked-sender = 100 Regards, Emmanuel 2010/3/16 Paul Bagyenda bagye...@dsmagic.com Answers inline. On Mar 16, 2010, at 00:08, Emmanuel CHANSON wrote: Thanks Nuno for your help, First thing is that the text I sent before is for receiving a mms, for that you use the mmsbox exec, so I do not speak of the mmsc exec neither is configuration file, but I do believe that you must use BOTH exec to be able to send a mms (not really sure on this). - Need a confirmation from Paul B maybe because I don’t have any clue about this. mmsc is not needed for what you want to do. mmsbox is sufficient For what is used the port parameter inside custom-settings - ;port=13014; ? I am eating my brain out about that, worst is one of the few things I don’t have any notes about. - Maybe Paul can answer to this as well This is the port to which kannel must get/post incoming mms notification (sms). Should I use ppd call gprs or wvdial ? should it provide the same result ie a pppd connection to my operator ? In my opinion wvdial is a easy fast way a user control a gprs modem
Re: [Users] MMSBox and MM1 GPRS modem
Answers inline. On Mar 16, 2010, at 00:08, Emmanuel CHANSON wrote: Thanks Nuno for your help, First thing is that the text I sent before is for receiving a mms, for that you use the mmsbox exec, so I do not speak of the mmsc exec neither is configuration file, but I do believe that you must use BOTH exec to be able to send a mms (not really sure on this). - Need a confirmation from Paul B maybe because I don’t have any clue about this. mmsc is not needed for what you want to do. mmsbox is sufficient For what is used the port parameter inside custom-settings - ;port=13014; ? I am eating my brain out about that, worst is one of the few things I don’t have any notes about. - Maybe Paul can answer to this as well This is the port to which kannel must get/post incoming mms notification (sms). Should I use ppd call gprs or wvdial ? should it provide the same result ie a pppd connection to my operator ? In my opinion wvdial is a easy fast way a user control a gprs modem, and I know that pppd looked scary at first, but after a few configurations you will have a great tool that your mbuni will use with ease, and I recommend you use the pppd script, the pppd mechanism saved me a few times already. - I will check for the ppd script but where can I found it? I remember I saw pppd script on the internet, but maybe there is some scripts coming with the pppd library in linux? 2010-03-15 15:30:06 [28823] [13] INFO: System error 2: No such file or directory I’ve came across that error a few times, but not in a command you are doing. Are you executing mbuni with sudo(root permitions) ? Does /var/spool/mbuni exist and has write permitions? - without sudo command, directly with root account And Yes /var/spool.mbuni have the write permission (at least for root account): drwxr-x---. 5 root root 4096 mars 15 15:21 mbuni # ll /var/spool/mbuni/ total 12 -rw-r--r--. 1 root root0 mars 15 15:21 mmsbox-cdr.asc drwxr-x---. 38 root root 4096 mars 15 15:21 mmsbox_dlr drwxr-x---. 38 root root 4096 mars 15 15:21 mmsbox_incoming drwxr-x---. 38 root root 4096 mars 16 06:09 mmsbox_outgoing In fact mbuni does not start shutting down smsc-id = at... can we investiguate further ? how ? :( To this I may have a hint, you have a typo, either on the mail or the conf file - I don't understand, what is a typo, can you reformulate? (sorry for my English)? Both commands must be addressed to the same port http://localhost:13001, and check if 13001 is the admin-port on kannel conf file - Yes I made a mistake, kannel admin-port is 13000 and I put 13001 in, the mmsbox.conf file but Mbuni did not succeed to work until this part of the process as it did not try to shutdown smsc in the log, I expected to see some errors saying it can not access admin-port of Kannel. I have modified my conf file as follow: # 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=nokiaphone';\ smsc-off=lynx -dump 'http://localhost:13000/stop-smsc?password=**smsc=nokiaphone';\ gprs-on=pppd call gprs;gprs-pid=cat /var/run/ppp0.pid|head -1;port=13014;mmsc-url=http://mms.xxx.tld/mmsc;proxy=192.168.xx.xx:3130;msisdn=100; mmsc-library = /usr/local/lib/libmmsbox_mm1.so Thanks for your time, I really need to succeed to send a MMS through GPRS. BTW Does anyone succeeded to do this before? Not only receiving a MMS through GPRS I mean but also send one? Regards, Emmanuel 2010/3/15 Nuno Freitas nuno.frei...@nabiasolutions.com Hi there Emmanuel, First thing is that the text I sent before is for receiving a mms, for that you use the mmsbox exec, so I do not speak of the mmsc exec neither is configuration file, but I do believe that you must use BOTH exec to be able to send a mms (not really sure on this). One thing, I don't have the same version of libcurl: curl-7.19.7-7.fc12.i686 libcurl-7.19.7-7.fc12.i686 libcurl-devel-7.19.7-7.fc12.i686 I have a newer version, is it a problem? I do not believe that would be a problem, and from the log at first glance there is no indication curl is the problem. I have several question to understand better how it should work: - For what is used the port parameter inside custom-settings - ;port=13014; ? I am eating my brain out about that, worst is one of the few things I don’t have any notes about. - Should I use ppd call gprs or wvdial ? should it provide the same result ie a pppd connection to my operator ? In my opinion wvdial is a easy fast way a user control a gprs modem, and I know that pppd looked scary at first, but after a few configurations you will have a great tool that your mbuni will use with ease, and I recommend you use the pppd script, the pppd mechanism saved me a few times already. -
Re: [Users] MMSBox and MM1 GPRS modem
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=altmmspassword=altmmsto=%2BX/TYPE=PLMNsubject=Testtext=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 +X/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 = 36 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 catch-all = true http-post-parameters = fx=trueimages[]=%itext[]=%tskip=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=trueimage=%itext=%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
Re: [Users] Re: [sendmms interface] Missing msgid ?
Two possible errors: SMIL content is not url encoded, and the referenced content (logo.gif) probably needs to be provided as a full URL so Mbuni can find it. On Dec 09, 2009, at 05:39, Emmanuel CHANSON wrote: Any help? Regards, Emmanuel 2009/12/3 Emmanuel CHANSON emmanuelchan...@gmail.com Hello everyone, Have you ever seen this kind of error when trying to use the sendmms interface of MBuni ? # lynx -dump http://localhost:10001/?username=altmmspassword=altmmsfrom=%2B687971204to=%2B687773502subject=testesmil= smilmeta name=\title\ content=\oi2\ /meta name=\author\ content=\MMS\ /layoutroot-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/headbodypar dur=\3s\img text=\logo.gif\ region=\Image\ //par/body/smil Error in message conversion: MMSBox: Error parsing SMIL response from service[sendmms-user], msgid (none)! # Mbuni logs: 2009-12-03 20:22:42 [12402] [4] INFO: MMSBox.mmssend: u=altmms, Not Queued [Error in message conversion: MMSBox: Error parsing SMIL response from service[sendmms-user], msgid (none)!] 2009-12-03 20:22:42 [12402] [4] ERROR: MMSBox: Error parsing SMIL response from service[sendmms-user], msgid (none)! What is wrong in my request? Regards, -- Emmanuel CHANSON Emmanuel Mobile Nouvelle-Calédonie: +687.77.35.02 Mobile France: +33 (0) 6.68.03.89.56 @email : emmanuelchan...@gmail.com -- 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 ___ Users mailing list Users@mbuni.org http://lists.mbuni.org/mailman/listinfo/users
Re: [Users] problem with receiving the mms.
Please provide logs to help troubleshoot this. On Dec 09, 2009, at 06:14, auhmyho wrote: I’m using the web browser to send the MMS. I am expecting that the mobile device will display the webpage wap.google.com. I can see that this web page is stored correctly in the Mbuni storage. The mobile device receives the ‘MMS notification’, I click on download on the phone and it does download something but it is not displayed on the device screen. I go to the phones MMS menu and can see the ‘wap.google.com’ as an object. This is what i typed at the web browser : localhost:3334/cgi-bin/sendmms?username=*password=*from=010***to=012***subject=hellocontent-url=http://wap.google.com ive followed the general config files. Ive tried sending to two different phones, Nokia N97 and Windows based phone - both received as mentioned above. Also, how can I show a small picture, e.g. a jpg instead of a webpage? Thank u, Amal ___ 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
[Users] Re: MMS notification problem
What we do in Mbuni conforms to the MMS spec published by the Open Mobile Alliance, so we didn't just make the decision ourselves. Like I said, forget PPG. MMS spec does not use that stuff. My guess is the other phones do not like the IP address as a sender. You need to tell Mbuni how to resolve IP addresses to MSISDNs at the time of MM1 sending (docs, mailing list...). P. On Nov 20, 2009, at 09:53, Nikos Balkanas wrote: Hi, Interesting. I just printed the notification mbuni sends. It is just a collection of X-mms headers. No body whatsoever. Further investigation shows that notification is dropped only by certain phones. I did my tests on a Nokia 73 mobile. Logs from kannel's PPG are ppg 1.2.1 SI. I still haven't met a phone that doesn't support it. Any reason you have gone with the MIME format instead of the PPG? Is the spec, as usually, vague on that? Do you think that it would be useful to replace that part of the code for si encoding from kannel's lib? P.S. I am relaying the MMS from another mbuni over MM4 (Remember my last week's MTA questions?). That's where you are getting that IP address. Thanks, Nikos - Original Message - From: Paul Bagyenda To: Nikos Balkanas Cc: users@mbuni.org Sent: Friday, November 20, 2009 8:05 AM Subject: Re: MMS notification problem What I meant was that the from address in the MMS (94.143.177.172/TYPE=IPv4) is an IP address. What kind of message are you sending using Kannel's PPG? Note that the MMS notification is not wbxml formatted. Rather, the MMS spec uses a format adapted from the WAP compressed MIME format from the WAP-203-WSP spec. Therefore you can't compare the two cases exactly. On Nov 19, 2009, at 18:35, Nikos Balkanas wrote: Hi, I fully agree that it shouldn't be happenning. But I have no other option than to verify with the debugger. Everything else matches: udh, from, to. So the only offending part *must* be the wbxml-encoded text. By the way the from: field in the notification is AMD not an IP address. I also checked the optimize flag you mentioned. Same behaviour, mobile receives it, but doesn't display it. BR, Nikos - Original Message - From: Paul Bagyenda To: Nikos Balkanas Cc: users@mbuni.org Sent: Thursday, November 19, 2009 11:23 AM Subject: Re: MMS notification problem Like I said: This part has worked since the beginning, so the problem is not in Mbuni. Some phones are a little picky about notifications: I see that the sender in your case is an IP address. This can cause problems. Also try the Mbuni optimize-notification flag (set to true) and see if your mileage improves On Nov 19, 2009, at 12:15, Nikos Balkanas wrote: Sure. Here are my log excerpts: ** mbuni.log * 2009-11-18 21:01:51 [17508] [8] INFO: Preparing to notify client to fetch message at URL: http://localhost/n-qf605.1.x508...@2/wx96 Note: I don't have DNS setup yet, so I am not trying to retrieve the MMS. I am only concerned about the failed notification part: 2009-11-18 21:01:51 [17508] [8] DEBUG: Sending notification: 2009-11-18 21:01:51 [17508] [8] INFO: mms2mobile.startpush: notification to 306979230022 2009-11-18 21:01:51 [17508] [8] INFO: Sent Mobile Queue MMS Send Notify: From=94.143.177.172/TYPE=IPv4, to=306979230022/TYPE=PLMN, msgsize=853, reason= 2009-11-18 21:01:51 [17508] [15] DEBUG: Queue contains 0 pending requests. 2009-11-18 21:01:51 [17508] [15] DEBUG: Parsing URL `http://localhost:15010/cgi-bin/sendsms?dlr-mask=63_dummy=xusername=password=xtext=%03%06%03%BE%AF%84%8C%82%98localhost-n-qf605.1.x508.91%00%8D%90%89%1A%8094.143.177.172%2FTYPE%3DIPv4%00%96%7F%CE%B3%00%8A%80%8E%02%03U%88%05%81%03%05%7D%0A%83http%3A%2F%2Flocalhost%2Fn-qf605.1.x508.91%402%2Fwx96%00to=306979230022udh=%06%05%04%0B%84%23%F0': * bearerbox access log * 2009-11-18 21:01:51 Sent SMS [SMSC:smpp_cla] [SVC:simple] [ACT:] [BINF:] [FID:12508ac13715d9e4e043a66456a47adf] [META:] [from:AMD] [to:306979230022] [flags:-1:1:-1:-1:63] [msg:128:030603BEAF848C82986C6F63616C686F73742D6E2D71663630352E312E783530382E3931008D90891A8039342E3134332E3137372E3137322F545950453D4950763400967FCEB3008A808E02035588058103057D0A83687474703A2F2F6C6F63616C686F73742F6E2D71663630352E312E783530382E393140322F7778393600] [udh:7:0605040B8423F0] 2009-11-18 21:01:51 Receive DLR [SMSC:smpp_cla] [SVC:simple] [ACT:] [BINF:] [FID:12508ac13715d9e4e043a66456a47adf] [META:] [from:AMD] [to:306979230022] [flags:-1:-1:-1:-1:8] [msg:4:ACK/] [udh:0:] 2009-11-18 21:01:58 Receive DLR [SMSC:smpp_cla] [SVC:simple] [ACT:AMD2_gw140] [BINF:] [FID:12508abffe25d9e4e043a66456a47967] [META:?smpp?dlr_err=000] [from:AMD] [to:306979230022] [flags:-1:-1:-1:-1:1] [msg:144:id:12508abffe25d9e4e043a66456a47967 sub:001 dlvrd:001 submit date:0911182001 done date:0911182002 stat:DELIVRD err:000 text:] [udh:0:] Notification never
Re: [Users] MMS Sending Problem-new issue
The fetch URL that comes into mbuni is truncated for some reason. Is message concatenation turned on in Kannel for that send-sms user? URL http://global IP:1961/mms/qf9067.1.x668...@2/wx40 should be fetch-able in a browser (firefox, etc). Also please remove the host-alias setting you seem to have as it is screwing things up. On Nov 20, 2009, at 11:05, aftab hussain wrote: Hi, Now I am using the CVS version as suggested by Paul. But still I am unable to receive the MMS on the mobile phone. I get a message syaing from system-u...@my-mbuni-installed-machine, Message not found. I am attaching the mmsc log file. Kindly have a look and advise if there is any error on my part and what could be the solution. Best Regards, Aftab On Thu, Nov 19, 2009 at 8:38 AM, Paul Bagyenda bagye...@dsmagic.com wrote: Your phone *fetches* the message according to these logs, then promptly rejects it. Many possible reasons for this. I suggest you use a simpler message and see what happens. No need to create a .mms, simply send a message from the phone to itself. On Nov 18, 2009, at 15:02, aftab hussain wrote: Hi all, I mentioned my problem in my previous threads. My mobile phone was unable to connect to the Mbuni installed machine for fecthing the MMS contents. This time my mobile phone is able to connect to the mbnui installed machine but still it is unable to retreive the MMS from Mbuni. When I checked the 'mmsproxy' logs it shows that mobile phone is trying to fetch the contents but still Mbuni is not able to send the content to the mobile phone. The mmsproxy log is as follows: MMS Proxy Log - # ./mmsproxy ../conf/mmsc.conf 2009-11-18 16:23:53 [11294] [0] INFO: Debug_lvl = -1, log_file = none, log_lvl = 0 2009-11-18 16:23:53 [11294] [0] INFO: 2009-11-18 16:23:53 [11294] [0] INFO: Mbuni MMSC Proxy version 1.4.0 starting 2009-11-18 16:23:53 [11294] [0] INFO: Added logfile `/tmp/mbuni-mmsc.log' with level `0'. 2009-11-18 16:23:53 [11294] [0] INFO: Started access logfile `/tmp/mmsc-access.log'. 2009-11-18 16:23:53 [11294] [0] DEBUG: Dumping profile for http://nds1.nds.nokia.com/uaprof/NN70-1r100-VF2G.xml 2009-11-18 16:23:53 [11294] [0] DEBUG: MaxMsgSize: 307200 2009-11-18 16:23:53 [11294] [0] DEBUG: MaxRes: 1600x1200 2009-11-18 16:23:53 [11294] [0] DEBUG: Accept content: application/java-archive, application/smil, application/vnd.nokia.ringing-tone, application/vnd.oma.drm.content, application/vnd.oma.drm.message, application/vnd.symbian.install, application/x-java-archive, audio/3gpp, audio/aac, audio/amr, audio/amr-wb, audio/basic, audio/midi, audio/mp3, audio/mpeg, audio/rmf, audio/sp-midi, audio/x-amr, audio/x-mid, audio/x-rmf, audio/x-wav, image/gif, image/jpeg, image/jpg, image/jp2, image/png, image/vnd.wap.wbmp, image/x-bmp, text/plain, text/vnd.sun.j2me.app-descriptor, text/vnd.wap.wml, text/x-vCalendar, text/x-vCard, video/3gpp, video/mp4, 2009-11-18 16:23:53 [11294] [0] DEBUG: Accept encodings: 2009-11-18 16:23:53 [11294] [0] DEBUG: Accept language: en-US, 2009-11-18 16:23:53 [11294] [0] DEBUG: Accept charset: ISO-8859-1, ISO-10646-UCS-2, US-ASCII, UTF-8, 2009-11-18 16:23:53 [11294] [0] DEBUG: Mms Version: 1.2, 2009-11-18 16:23:53 [11294] [0] INFO: HTTP: Opening server at port 1961. 2009-11-18 16:23:53 [11294] [0] DEBUG: Started thread 1 (gwlib/fdset.c:poller) 2009-11-18 16:23:53 [11294] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) maps to pid 11294. 2009-11-18 16:23:53 [11294] [2] DEBUG: Thread 2 (gwlib/http.c:server_thread) maps to pid 11294. 2009-11-18 16:23:53 [11294] [0] DEBUG: Started thread 2 (gwlib/http.c:server_thread) 2009-11-18 16:23:53 [11294] [0] INFO: HTTP: Opening server at port 1962. 2009-11-18 16:23:53 [11294] [0] DEBUG: Started thread 3 (mmsproxy.c:(gwthread_func_t *)mm7proxy) 2009-11-18 16:23:53 [11294] [3] DEBUG: Thread 3 (mmsproxy.c:(gwthread_func_t *)mm7proxy) maps to pid 11294. 2009-11-18 16:24:23 [11294] [2] DEBUG: HTTP: Creating HTTPClient for `203.124.28.1'. 2009-11-18 16:24:23 [11294] [2] DEBUG: HTTP: Created HTTPClient area 0x818e838. 2009-11-18 16:24:23 [11294] [0] DEBUG: Request, ip=203.124.28.1, base_client_addr=203.124.28.1, client_addr=203.124.28.1/TYPE=IPv4, url=/mms 2009-11-18 16:24:23 [11294] [0] DEBUG: Started thread 4 (mmsproxy.c:(gwthread_func_t *)sendmms_proxy) 2009-11-18 16:24:23 [11294] [4] DEBUG: Thread 4 (mmsproxy.c:(gwthread_func_t *)sendmms_proxy) maps to pid 11294. 2009-11-18 16:24:23 [11294] [4] DEBUG: -- Enterred sendmms interface, blen=53 --- 2009-11-18 16:24:23 [11294] [4] DEBUG: Client sent us: 2009-11-18 16:24:23 [11294] [4] DEBUG: Dumping HTTP headers: 2009-11-18 16:24:23 [11294] [4] DEBUG: Octet string at 0x8165978: 2009-11-18 16:24:23 [11294] [4] DEBUG:len: 36 2009-11
[Users] Re: MMS notification problem
Like I said: This part has worked since the beginning, so the problem is not in Mbuni. Some phones are a little picky about notifications: I see that the sender in your case is an IP address. This can cause problems. Also try the Mbuni optimize-notification flag (set to true) and see if your mileage improves On Nov 19, 2009, at 12:15, Nikos Balkanas wrote: Sure. Here are my log excerpts: ** mbuni.log * 2009-11-18 21:01:51 [17508] [8] INFO: Preparing to notify client to fetch message at URL: http://localhost/n-qf605.1.x508...@2/wx96 Note: I don't have DNS setup yet, so I am not trying to retrieve the MMS. I am only concerned about the failed notification part: 2009-11-18 21:01:51 [17508] [8] DEBUG: Sending notification: 2009-11-18 21:01:51 [17508] [8] INFO: mms2mobile.startpush: notification to 306979230022 2009-11-18 21:01:51 [17508] [8] INFO: Sent Mobile Queue MMS Send Notify: From=94.143.177.172/TYPE=IPv4, to=306979230022/TYPE=PLMN, msgsize=853, reason= 2009-11-18 21:01:51 [17508] [15] DEBUG: Queue contains 0 pending requests. 2009-11-18 21:01:51 [17508] [15] DEBUG: Parsing URL `http://localhost:15010/cgi-bin/sendsms?dlr-mask=63_dummy=xusername=password=xtext=%03%06%03%BE%AF%84%8C%82%98localhost-n-qf605.1.x508.91%00%8D%90%89%1A%8094.143.177.172%2FTYPE%3DIPv4%00%96%7F%CE%B3%00%8A%80%8E%02%03U%88%05%81%03%05%7D%0A%83http%3A%2F%2Flocalhost%2Fn-qf605.1.x508.91%402%2Fwx96%00to=306979230022udh=%06%05%04%0B%84%23%F0': * bearerbox access log * 2009-11-18 21:01:51 Sent SMS [SMSC:smpp_cla] [SVC:simple] [ACT:] [BINF:] [FID:12508ac13715d9e4e043a66456a47adf] [META:] [from:AMD] [to:306979230022] [flags:-1:1:-1:-1:63] [msg:128:030603BEAF848C82986C6F63616C686F73742D6E2D71663630352E312E783530382E3931008D90891A8039342E3134332E3137372E3137322F545950453D4950763400967FCEB3008A808E02035588058103057D0A83687474703A2F2F6C6F63616C686F73742F6E2D71663630352E312E783530382E393140322F7778393600] [udh:7:0605040B8423F0] 2009-11-18 21:01:51 Receive DLR [SMSC:smpp_cla] [SVC:simple] [ACT:] [BINF:] [FID:12508ac13715d9e4e043a66456a47adf] [META:] [from:AMD] [to:306979230022] [flags:-1:-1:-1:-1:8] [msg:4:ACK/] [udh:0:] 2009-11-18 21:01:58 Receive DLR [SMSC:smpp_cla] [SVC:simple] [ACT:AMD2_gw140] [BINF:] [FID:12508abffe25d9e4e043a66456a47967] [META:?smpp?dlr_err=000] [from:AMD] [to:306979230022] [flags:-1:-1:-1:-1:1] [msg:144:id:12508abffe25d9e4e043a66456a47967 sub:001 dlvrd:001 submit date:0911182001 done date:0911182002 stat:DELIVRD err:000 text: ] [udh:0:] Notification never shows in my mobile. I ran a test with wapbox and the ppg came fine in the same phone (same DLRs). So it is not a phone problem. From the ppg: 2009-11-18 20:33:48 Sent SMS [SMSC:smpp_cla] [SVC:ppg] [ACT:] [BINF:] [FID:] [META:] [from:Nikos] [to:+306979230022] [flags:-1:1:-1:-1:0] [msg:117:00060DAEA9677720312E35008DE5C39302056A0045C60D0374726176656C3263616E616461008503706963732F686964652F646565722E6A70670011033140776972616C2E636F6D00080AC3072009103010231510C3042010123001034578616D706C65205050472028616B61204D4D5329000101] [udh:7:0605040B8423F0] UDH is the same in both cases. Text, of course, is different. From my experience a lot of mobiles won't display ppg if they receive corrupted wbxml. There is a difference in the dlr-mask, but it is not important. mbuni's notification is not received whether dlr-mask is set to 0 or 63. BTW: Why the _dummy=x variable that mbuni inserts in the URL? Thanx, Nikos - Original Message - From: Paul Bagyenda To: users@mbuni.org Sent: Thursday, November 19, 2009 5:35 AM Subject: Re: [Users] MMS Sending Problem This part of Mbuni has worked for the last six years, so it is unlikely that there is a bug. What is the URL from the logs? On Nov 18, 2009, at 22:37, Nikos Balkanas wrote: I dunno. It seems to be an mmsrelay problem. I am in the middle of something similar now, seems that mbuni (mmsrelay) might be generating bad wbxml. In my phone I never see the notification, despite receiving it (verified by DLR). Tomorrow i will look more into it. BR, Nikos [...snip...] ___ Users mailing list Users@mbuni.org http://lists.mbuni.org/mailman/listinfo/users
Re: [Users] How do I send an mms file using URL
yes: Content URLs with URL spec 'file://' are supported. On Nov 19, 2009, at 14:00, INSI mobile wrote: Currently I could send up to the subject, Is it possible to give file name in the URL, In that case I guess the file format has to be only mms, right? http://192.168.1.52:10001/?username=testerpassword=foobarfrom=+0888/TYPE=PLMNto=+0/TYPE=PLMNtext=test_subject regards, Insim. ___ 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
Re: [Users] Encoding of MMS Subject
Probably a character set issue. No conversion takes place on the subject field, which must mean that either the device does not understand the charset sent, or the MMSC is performing a conversion On Nov 10, 2009, at 22:20, Nuno Freitas wrote: Hi again list. I would like to know if I can apply a encoding to the subject of the mms, I am able to do so to the text on the mms, but on the X-Mbuni-Subject I haven't been able to do so. So when I receive a message with the subject irmãos the output comes out has irmãos. I haven't seen any configuration about this, but something could have missed my eyes. Thanks in advance. A. Nuno Freitas ___ 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
Re: [Users] MMS Sending Problem
There is a sample conf file for running Mbuni as MMSC in the sources (folder doc/examples). We will gladly answer questions on each conf parameter. On Nov 16, 2009, at 13:42, aftab hussain wrote: Dear All, I am kinda of lost here. I was just following the tutorial on the following link. http://thilani.wordpress.com/2009/07/15/running-mbuni-as-a-mmsc/ Is this a correct way of implementing MMSC using Mbuni. Now I want to start from the scratch, and I want to have help in it. My requirement is that I want to send an MMS from my Mbuni installed machine to different mobile phones. Where should I start from. Can any one give me a detailed info and configuration needed for this. What should be the configuration model of the Mbuni, either VAS or MMSC, I am confused here. Let say my mubuni installed machine name would be myhost.edu.pk. how many and what groups should I be iincluding in my configuration file. Your help will be highly appreciated. Best Regards, Aftab Hussain On Sun, Nov 15, 2009 at 5:19 AM, INSI mobile insimob...@gmail.com wrote: Hi Nikos, Even I am having the same issue, I get the notification, but my Motorola phones(though I didn't try other brands) are unable to retrieve the URL, I have the questions: The URL doesn't work even from the browser. Do I need to run the web server on the box where MMSC is running, if not who is going to receive this URL request? How does this URL gets routed to MMSC process if WEB server is running? any configuration we need to make in the web server? regards, Insim. 2009/11/14 Nikos Balkanas nbalka...@gmail.com Hi, Since you are receiving the notification OK, everything up to kannel part is working. I don't know much about mbuni, and do not have time to go through the sources. A couple of questions: 1) Your smsc-id you are posting at_dummy=x, is this the smsc-id you have in kannel.conf? If it is the '=x' part should be urlencoded. Better to use another smsc-id name. 2) mmsrelay says that the url to fetch the MMS is: http://jaroka.seecs.edu.pk/mms/b-qf436.2.x199...@2/wx37 Have you tried to access it from a browser from your PC? 3) smsbox sends notification for the same url. 4) mmsproxy gets HTTP request from mobile. However, your mobile sends an HTTP header: X-Mms-Status: Deferred I think this maybe a problem. Are you getting any DLRs from the attempt? Please post along with mmsproxy access log from the attempt. BR, Nikos - Original Message - From: aftab hussain To: users@mbuni.org Sent: Friday, November 13, 2009 7:46 AM Subject: Re: [Users] MMS Sending Problem Hi, I have made the changes you asked. But still I am unable to retrieve the MMS after I get the notification on my mobile phone. I am attaching mmsrelay, mmsproxy, mmssend and smsbox log files. I dont know whats going wrong here. I just followed the instructions in the tutorial I mentioned in my first email. An urgent help will be appreciated. Best Regards, Aftab Hussain 2009/11/12 Nikos Balkanas nbalka...@gmail.com Correction: hostname should be FQDN. BR, Nikos - Original Message - From: Nikos Balkanas To: users@mbuni.org Sent: Thursday, November 12, 2009 4:52 AM Subject: Re: [Users] MMS Sending Problem Hi, I am a newbie as well, so don't take my word as a gospel. I read your link, and i have several issues with it. In your configuration I see 3 problems: 1) hostname: This is not a valid hostname. hostname is something like myserver. 2) hostname-alias: A more readable form of the above. Why the /? 3) sendsms-url: I know kannel and this is not a valid sendsms-url. Skip the trailing Also forget about homepages. You should receive a push notification, which if you click it should get you to the correct url. To help you further you must post your logs. BR, Nikos - Original Message - From: aftab hussain To: users@mbuni.org Sent: Wednesday, November 11, 2009 2:13 PM Subject: [Users] MMS Sending Problem Hi all, I am trying to use Mbuni and kannel to Send and Recieve SMS/MMS for our departmental work. For the time being I am interested in sending MMS to our faculty and staff. I have found the tutorial of how to send and MMS on the following link. http://thilani.wordpress.com/2009/07/15/running-mbuni-as-a-mmsc/ What I am trying to do is to send MMS notification via kannel and this notification has MMS retrieval url. The mobile phone receives the MMS notification but it can't retrieve the MMS. MMS retrieval failed message is shown on the phone. I can see some thing in the mmsproxy log that the phone is trying to receive the content but I dont understand whats wrong. I am using the following configuration. mmsc.conf - group = core log-level = 0 group = mbuni name = My MMSC hostname =
Re: [Users] Re: MMS retrieval problem
The issue is to understand the architecture a little more: You shouldn't need the host-alias thingie below. Provided the phone can reach the MM1 port, you only need to set the MMSC URL as http://my public ip:1981/ -- using your conf below. You only use the host-alias if you need to shorten the URL for some reason, in which case you use squid (or such) in front of Mbuni to re-write the URL on-the-fly to the host:port of Mbuni. P. On Nov 17, 2009, at 00:20, Emmanuel CHANSON wrote: I think you have to configure host-alias like this to get your MMS: hosalias = my public IP/mms/mm1 Regards, Emmanuel 2009/11/16 INSI mobile insimob...@gmail.com Thanks Paul, I just wanted to get clarified on that route, thought maybe I was missing squid. Coming back to the problem I got the point that it might be GPRS APN problem, so trying to configure that part in the mobile, I have the following configuration for MMSC Is it correct to give my public IP/mms/mm1 in my mobile as mmsc settings for the following configuration? group = mbuni name = INSI_MMSC hostname = my public IP hosalias = same as above local-prefixes = 0 storage-directory = /var/www/mms max-send-threads = 1 send-mail-prog = /usr/sbin/sendmail -f '%f' '%t' maximum-send-attempts = 2 default-message-expiry = 36 queue-run-interval = 2 send-attempt-back-off = 2 sendsms-url = http://localhost:13013/cgi-bin/sendsms sendsms-username = tester sendsms-password = foobar mms-port = 1981 mm7-port = 1982 : : On Mon, Nov 16, 2009 at 4:09 PM, Paul Bagyenda bagye...@dsmagic.com wrote: You don't really need Squid. The likely issue you are having is that the notification URL either does not match your actual config (i.e. MM1 port is wrong, or host name is wrong, etc.) or the GPRS APN for MMS is configured to block your kind of HTTP request. On Nov 16, 2009, at 13:32, INSI mobile wrote: Hi, I have the following setup: My GPRS enabled/mms capable mobile is connected to the box running all of mmsc/mmsbox/mmsrelay/kannel, I am initiating the MMS through the web browser. Connected mobile sends the MMS, in my test setup 'To' (recepient) is same as the mobile connected to the box, so the mobile receives the notifiaction, now when I try to retrive the MMS it fails... For this sort of setup to work do I need to install and configure 'squid'? regards, Insim ___ Users mailing list Users@mbuni.org http://lists.mbuni.org/mailman/listinfo/users -- Emmanuel CHANSON Emmanuel Mobile Nouvelle-Calédonie: +687 850.850 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 ___ Users mailing list Users@mbuni.org http://lists.mbuni.org/mailman/listinfo/users
Re: [Users] [MMSBox] sendmms CGI script and Kannel sendsms notification / Nothing received on the mobile
You run Mbuni MMSC if you want to behave like an operator, switching messages between phones (and perhaps other networks or VASPs). You run Mbuni MMSBox if you are a VASP, connecting to an operator to send/receive messages through them. That's the key difference between the two modes and is important to understanding how to use the two together. On Nov 13, 2009, at 13:27, Emmanuel CHANSON wrote: Hello Paul, I am trying to understand how work MMSC and MMBox together (I am new to MBuni). So I am using sendmms CGI script to send a MMS to such recipient and I expect it to be delivered or at least that a notification is received by the recipient. Although it is Ok using mmssend tool, no notification goes to the recipient when I use CGI script. I am sending only text in this case, is it the reason why I don't have notification? Another question: Can MMBox stores and delivers MMS to people that ask for such content through a SMS or MMS service ? (logo, ringtones, etc...). I think this is the role of the MMBox? For what can be used MMbox in fact. Regards, Emmanuel 2009/11/13 Paul Bagyenda bagye...@dsmagic.com I'd need to understand how MMSBox and the MMSC are working together. Note that their roles and uses are of course different. Can get confusing... On Nov 12, 2009, at 00:24, Emmanuel CHANSON wrote: Dears, I am testing MMSBox and MMSC (both Mbuni gateway) but I am faced to an issue regarding the use of the sendmms CGI script. The issue for me is located on Kannel side but I would like your confirmation first before asking Kannel users. I have send a MMS using mmssend I receive the notification: # mmssend -f -t 687850850 -m /home/manu/softs/Mbuni/cat.mms /etc/mmsc.conf == /var/log/mbuni/mmsc-access.log == 2009-11-10 10:36:39 Notify MMS [INT:MM1] [ACT:] [MMSC:] [from:system] [to:+687850850/TYPE=PLMN] [msgid:qf9794.1.x412...@61.5.221.52/mmsc/mm1] [size=-1] [UA:] [MMBox:] == smsbox.log == 2009-11-10 10:36:39 [23490] [2] DEBUG: HTTP: Creating HTTPClient for `127.0.0.1'. 2009-11-10 10:36:39 [23490] [2] DEBUG: HTTP: Created HTTPClient area 0x8e18a58. 2009-11-10 10:36:39 [23490] [3] INFO: smsbox: Got HTTP request /var/www/kannel/sendsms from 127.0.0.1 2009-11-10 10:36:39 [23490] [3] INFO: sendsms used by alt 2009-11-10 10:36:39 [23490] [3] INFO: sendsms sender:alt:687971204 (127.0.0.1) to:+687850850 msg:^N^F^C¾¯~D~L~B~X61.5.221. 52/mmsc/mm1-qf9798.14.x178.77 2009-11-10 10:36:39 [23490] [3] DEBUG: Stored UUID 7a0fe62d-4ed3-4a61-ad7c-80e240c6dc6b 2009-11-10 10:36:39 [23490] [3] DEBUG: message length 132, sending 1 messages 2009-11-10 10:36:39 [23490] [3] DEBUG: Status: 202 Answer: Sent. 2009-11-10 10:36:39 [23490] [3] DEBUG: Delayed reply - wait for bearerbox 2009-11-10 10:36:39 [23490] [0] DEBUG: Got ACK (0) of 7a0fe62d-4ed3-4a61-ad7c-80e240c6dc6b 2009-11-10 10:36:39 [23490] [0] DEBUG: HTTP: Resetting HTTPClient for `127.0.0.1'. But using sendmms CGI script I got no notification: # lynx -dump http://localhost:10001/?username=altmmspassword=altmmsto=687850850/TYPE=PLMNsubject=Testtext=MMS; == /var/log/mbuni/mmsc-access.log == 2009-11-10 10:21:08 Notify MMS [INT:MM1] [ACT:] [MMSC:] [from:system] [to:687850850/TYPE=PLMN] [msgid:d-h8-qf8864.9.x172...@61.5.221.52/mmsc/mm1] [size=-1] [UA:] [MMBox:] == smsbox.log == 2009-11-10 10:21:08 [23490] [3] INFO: smsbox: Got HTTP request /var/www/kannel/sendsms from 127.0.0.1 2009-11-10 10:21:08 [23490] [3] INFO: sendsms used by alt 2009-11-10 10:21:08 [23490] [3] INFO: sendsms sender:alt:687971204 (127.0.0.1) to:+687850850 msg:^M^F^C¾¯~D~L~B~X61.5.221.52/mmsc/mm1-3-g5-qf8868.13.x178.73 2009-11-10 10:21:08 [23490] [3] DEBUG: Stored UUID d990d9bf-1d19-47e8-b1a5-32b4a87c99ad 2009-11-10 10:21:08 [23490] [3] DEBUG: message length 148, sending 2 messages 2009-11-10 10:21:08 [23490] [3] DEBUG: Status: 202 Answer: Sent. Message splits: 2 2009-11-10 10:21:08 [23490] [3] DEBUG: Delayed reply - wait for bearerbox 2009-11-10 10:21:08 [23490] [0] DEBUG: Got ACK (0) of d990d9bf-1d19-47e8-b1a5-32b4a87c99ad 2009-11-10 10:21:08 [23490] [0] DEBUG: HTTP: Resetting HTTPClient for `127.0.0.1'. Note in one case message is not split... MMS is each case are dfferent (text+picture for first test, only text in second test). Regards, -- Emmanuel @email : emmanuelchan...@gmail.com mbuni-kannel_log.zip___ 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 850.850 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] Re: MMS retrieval problem
You don't really need Squid. The likely issue you are having is that the notification URL either does not match your actual config (i.e. MM1 port is wrong, or host name is wrong, etc.) or the GPRS APN for MMS is configured to block your kind of HTTP request. On Nov 16, 2009, at 13:32, INSI mobile wrote: Hi, I have the following setup: My GPRS enabled/mms capable mobile is connected to the box running all of mmsc/mmsbox/mmsrelay/kannel, I am initiating the MMS through the web browser. Connected mobile sends the MMS, in my test setup 'To' (recepient) is same as the mobile connected to the box, so the mobile receives the notifiaction, now when I try to retrive the MMS it fails... For this sort of setup to work do I need to install and configure 'squid'? regards, Insim ___ Users mailing list Users@mbuni.org http://lists.mbuni.org/mailman/listinfo/users
Re: [Users] Re: MM4 help
No, extracting the info from the headers is not reliable, for the obvious reasons (one of which is the Bcc problem). I can't recall the exact flags, but I recall it being straightforward to pass this info from both sendmail and postfix On Nov 16, 2009, at 08:14, Nikos Balkanas wrote: Hi, I have read the doc and also tested it from the shell. From an MTA pipe it will get the whole email, headers and body. Wouldn't it be better to just extract the info it needs from the mail headers? I don't know an easy way to pass sender and destination from the MTA. I can write a wrapper parser which calls mmsfromemail with the right atguments, but that would defeat the whole purpose. With the same effort I could just patch mmsfromemail to do it itself. BR, Nikos - Original Message - From: Paul Bagyenda To: users@mbuni.org Sent: Saturday, November 14, 2009 2:46 PM Subject: Re: [Users] Re: MM4 help It will get the body of the message from standard input, the rest of the flags (required) are in the doc :) P. On Nov 13, 2009, at 11:39, Nikos Balkanas wrote: Thanks, I am new to this. What kind of flags do i need to pass to mmsfromemail? From what I read, mmsfromemail, when not run from shell, will get whatever it needs from the mail itself. Else how can I pass these flags from sendmail? Is it possible? I am considering replacing sendmail with postfix. Will that work? Nikos - Original Message - From: Paul Bagyenda To: users@mbuni.org Sent: Thursday, November 12, 2009 6:06 PM Subject: Re: [Users] Re: MM4 help The easiest way is to ask sendmail (or whatever MTA) to hand over all mail for the MM4 domain to mmsfromemail (with relevant flags). On Nov 12, 2009, at 04:53, Nikos Balkanas wrote: Hi, I actually have made progress to most points. Indeed mbuni needs sendmail to work and abides by all its quirks. In other words a FQDN is needed to work. The only thing I still haven't manage to do is describe the alias needed for MM4 to work with sendmail: 3069xxx/TYPE=PLMN: | mmsfromemail ... Any example? The msisdn part should probably be a wildcard. Thanks, Nikos - Original Message - From: Nikos Balkanas To: users@mbuni.org Sent: Wednesday, November 11, 2009 6:05 PM Subject: MM4 help Hi, I am an mbuni newbie and have just compiled latest mbuni release. I have read the documentation (at least tried to :-)) and I am trying to establish an MM4 - MM4 link between 2 mbunies. I have configured the following to mbuni1: group = mmsproxy name = test proxy host = x.x.x.x allowed-prefix = 3069 And in the mmsrelay logs from mbuni1 I am getting: 2009-11-11 17:49:09 [10475] [6] DEBUG: Content-ID: 1940197759 2009-11-11 17:49:09 [10475] [6] DEBUG: WSP: End of decoded headers. 2009-11-11 17:49:09 [10475] [6] INFO: mmsc for 3069xx resolved to: x.x.x.x 2009-11-11 17:49:09 [10475] [6] DEBUG: preparing to execute /usr/sbin/sendmail -f 'x.x.x.x/TYPE=IPv4' '3069x/type=p...@x.x.x.x' to send to email: 2009-11-11 17:49:10 [10475] [6] INFO: Queued Global Queue MMS Send [w-82-qf4247.2.x469.56]: From x.x.x.x/TYPE=IPv4, to 3069x/TYPE=PLMN, msgsize=53134: err=(null) But i am seeing nothing to mbuni2 logs. In mbuni2 I run mmsproxy mmsrelay. I have read in the guide something about running mmsfromemail should be called from your MTA (SMTP Mailer). I am not doing it. 2 questions: 1) Does host need to be a DNS fqdn? If it tries to send the email to 3069/type=p...@x.x.x.x it will fail. 2) Do I need to run mmsfromemail from sendmail for MM4 to work? To do that with sendmail I need to configure an email account with shell capabilities. If the recipient number changes, how can I specify that? Any example? Thanks, Nikos ___ 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 ___ 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 ___ 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
Re: [Users] [MMSBox] sendmms CGI script and Kannel sendsms notification/ Nothing received on the mobile
The SMS is binary coded, and Mbuni has no hand in the splitting. All MMS to be retrieved via the MM1 interface result (first of all) in a notification via SMS. You should look at your kannel conf. P. On Nov 12, 2009, at 16:08, Nikos Balkanas wrote: Hi, In the first case the push is 132 B and fits 1 SMS In the 2nd case push is 148 B and is split in 2 SMS. I don't know what coding mbuni is using, but if the push is 8-bit or 7-bit + Udh length 160, then it should split. As far as notification goes, I imagine that in the first case, that you have a picture, you get a notification to get it. In the second case that you don't have anything, what to be notified for? BR, Nikos - Original Message - From: Emmanuel CHANSON To: users@mbuni.org Sent: Wednesday, November 11, 2009 11:24 PM Subject: [Users] [MMSBox] sendmms CGI script and Kannel sendsms notification/ Nothing received on the mobile Dears, I am testing MMSBox and MMSC (both Mbuni gateway) but I am faced to an issue regarding the use of the sendmms CGI script. The issue for me is located on Kannel side but I would like your confirmation first before asking Kannel users. I have send a MMS using mmssend I receive the notification: # mmssend -f -t 687850850 -m /home/manu/softs/Mbuni/cat.mms /etc/mmsc.conf == /var/log/mbuni/mmsc-access.log == 2009-11-10 10:36:39 Notify MMS [INT:MM1] [ACT:] [MMSC:] [from:system] [to:+687850850/TYPE=PLMN] [msgid:qf9794.1.x412...@61.5.221.52/mmsc/mm1] [size=-1] [UA:] [MMBox:] == smsbox.log == 2009-11-10 10:36:39 [23490] [2] DEBUG: HTTP: Creating HTTPClient for `127.0.0.1'. 2009-11-10 10:36:39 [23490] [2] DEBUG: HTTP: Created HTTPClient area 0x8e18a58. 2009-11-10 10:36:39 [23490] [3] INFO: smsbox: Got HTTP request /var/www/kannel/sendsms from 127.0.0.1 2009-11-10 10:36:39 [23490] [3] INFO: sendsms used by alt 2009-11-10 10:36:39 [23490] [3] INFO: sendsms sender:alt:687971204 (127.0.0.1) to:+687850850 msg:^N^F^CΎ―~D~L~B~X61.5.221. 52/mmsc/mm1-qf9798.14.x178.77 2009-11-10 10:36:39 [23490] [3] DEBUG: Stored UUID 7a0fe62d-4ed3-4a61-ad7c-80e240c6dc6b 2009-11-10 10:36:39 [23490] [3] DEBUG: message length 132, sending 1 messages 2009-11-10 10:36:39 [23490] [3] DEBUG: Status: 202 Answer: Sent. 2009-11-10 10:36:39 [23490] [3] DEBUG: Delayed reply - wait for bearerbox 2009-11-10 10:36:39 [23490] [0] DEBUG: Got ACK (0) of 7a0fe62d-4ed3-4a61-ad7c-80e240c6dc6b 2009-11-10 10:36:39 [23490] [0] DEBUG: HTTP: Resetting HTTPClient for `127.0.0.1'. But using sendmms CGI script I got no notification: # lynx -dump http://localhost:10001/?username=altmmspassword=altmmsto=687850850/TYPE=PLMNsubject=Testtext=MMS; == /var/log/mbuni/mmsc-access.log == 2009-11-10 10:21:08 Notify MMS [INT:MM1] [ACT:] [MMSC:] [from:system] [to:687850850/TYPE=PLMN] [msgid:d-h8-qf8864.9.x172...@61.5.221.52/mmsc/mm1] [size=-1] [UA:] [MMBox:] == smsbox.log == 2009-11-10 10:21:08 [23490] [3] INFO: smsbox: Got HTTP request /var/www/kannel/sendsms from 127.0.0.1 2009-11-10 10:21:08 [23490] [3] INFO: sendsms used by alt 2009-11-10 10:21:08 [23490] [3] INFO: sendsms sender:alt:687971204 (127.0.0.1) to:+687850850 msg:^M^F^CΎ―~D~L~B~X61.5.221.52/mmsc/mm1-3-g5-qf8868.13.x178.73 2009-11-10 10:21:08 [23490] [3] DEBUG: Stored UUID d990d9bf-1d19-47e8-b1a5-32b4a87c99ad 2009-11-10 10:21:08 [23490] [3] DEBUG: message length 148, sending 2 messages 2009-11-10 10:21:08 [23490] [3] DEBUG: Status: 202 Answer: Sent. Message splits: 2 2009-11-10 10:21:08 [23490] [3] DEBUG: Delayed reply - wait for bearerbox 2009-11-10 10:21:08 [23490] [0] DEBUG: Got ACK (0) of d990d9bf-1d19-47e8-b1a5-32b4a87c99ad 2009-11-10 10:21:08 [23490] [0] DEBUG: HTTP: Resetting HTTPClient for `127.0.0.1'. Note in one case message is not split... MMS is each case are dfferent (text+picture for first test, only text in second test). Regards, -- 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 ___ Users mailing list Users@mbuni.org http://lists.mbuni.org/mailman/listinfo/users
Re: [Users] Re: MM4 help
It will get the body of the message from standard input, the rest of the flags (required) are in the doc :) P. On Nov 13, 2009, at 11:39, Nikos Balkanas wrote: Thanks, I am new to this. What kind of flags do i need to pass to mmsfromemail? From what I read, mmsfromemail, when not run from shell, will get whatever it needs from the mail itself. Else how can I pass these flags from sendmail? Is it possible? I am considering replacing sendmail with postfix. Will that work? Nikos - Original Message - From: Paul Bagyenda To: users@mbuni.org Sent: Thursday, November 12, 2009 6:06 PM Subject: Re: [Users] Re: MM4 help The easiest way is to ask sendmail (or whatever MTA) to hand over all mail for the MM4 domain to mmsfromemail (with relevant flags). On Nov 12, 2009, at 04:53, Nikos Balkanas wrote: Hi, I actually have made progress to most points. Indeed mbuni needs sendmail to work and abides by all its quirks. In other words a FQDN is needed to work. The only thing I still haven't manage to do is describe the alias needed for MM4 to work with sendmail: 3069xxx/TYPE=PLMN: | mmsfromemail ... Any example? The msisdn part should probably be a wildcard. Thanks, Nikos - Original Message - From: Nikos Balkanas To: users@mbuni.org Sent: Wednesday, November 11, 2009 6:05 PM Subject: MM4 help Hi, I am an mbuni newbie and have just compiled latest mbuni release. I have read the documentation (at least tried to :-)) and I am trying to establish an MM4 - MM4 link between 2 mbunies. I have configured the following to mbuni1: group = mmsproxy name = test proxy host = x.x.x.x allowed-prefix = 3069 And in the mmsrelay logs from mbuni1 I am getting: 2009-11-11 17:49:09 [10475] [6] DEBUG: Content-ID: 1940197759 2009-11-11 17:49:09 [10475] [6] DEBUG: WSP: End of decoded headers. 2009-11-11 17:49:09 [10475] [6] INFO: mmsc for 3069xx resolved to: x.x.x.x 2009-11-11 17:49:09 [10475] [6] DEBUG: preparing to execute /usr/sbin/sendmail -f 'x.x.x.x/TYPE=IPv4' '3069x/type=p...@x.x.x.x' to send to email: 2009-11-11 17:49:10 [10475] [6] INFO: Queued Global Queue MMS Send [w-82-qf4247.2.x469.56]: From x.x.x.x/TYPE=IPv4, to 3069x/TYPE=PLMN, msgsize=53134: err=(null) But i am seeing nothing to mbuni2 logs. In mbuni2 I run mmsproxy mmsrelay. I have read in the guide something about running mmsfromemail should be called from your MTA (SMTP Mailer). I am not doing it. 2 questions: 1) Does host need to be a DNS fqdn? If it tries to send the email to 3069/type=p...@x.x.x.x it will fail. 2) Do I need to run mmsfromemail from sendmail for MM4 to work? To do that with sendmail I need to configure an email account with shell capabilities. If the recipient number changes, how can I specify that? Any example? Thanks, Nikos ___ 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 ___ 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
Re: [Users] Question MMS link
Mbuni will insert the port for you, unless you set a host-alias in the conf file. On Nov 13, 2009, at 11:14, INSI mobile wrote: Hi, I got the following link as a part of MMS notification 'http://public-IP/c-lc-qf4650.1.x57...@2/wx81' My mobile is unable to download MMS from the aove link. obviously the above request is received by httpd as the there is no port part in the URL, which is unable to decode 'c-lc-qf4650.1.x57...@2/wx81'. Which variable should I configure so that the URL would be redirected to the appropriate port? Or is there any apache configuration with which this request is redirected to mmsc? thanks. ___ 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
Re: [Users] [MMSBox] sendmms CGI script and Kannel sendsms notification/ Nothing received on the mobile
Sending smil is easy using sendmms via CGI: Just provide a POST/GET CGI parameter 'smil' with the SMIL content. On Nov 13, 2009, at 07:32, Emmanuel CHANSON wrote: Hello Nikos, Ok so you mean in case of an MMS that includes only text, we do not receive any notification? Why is the second message size bigger than the first one including a picture? Has anybody an example of how to send a content (SMIL or whatever) using CGI parameter? I don't see anything in the Mbuni documentation. Regards, Emmanuel 2009/11/13 Nikos Balkanas nbalka...@gmail.com Hi, In the first case the push is 132 B and fits 1 SMS In the 2nd case push is 148 B and is split in 2 SMS. I don't know what coding mbuni is using, but if the push is 8-bit or 7-bit + Udh length 160, then it should split. As far as notification goes, I imagine that in the first case, that you have a picture, you get a notification to get it. In the second case that you don't have anything, what to be notified for? BR, Nikos - Original Message - From: Emmanuel CHANSON To: users@mbuni.org Sent: Wednesday, November 11, 2009 11:24 PM Subject: [Users] [MMSBox] sendmms CGI script and Kannel sendsms notification/ Nothing received on the mobile Dears, I am testing MMSBox and MMSC (both Mbuni gateway) but I am faced to an issue regarding the use of the sendmms CGI script. The issue for me is located on Kannel side but I would like your confirmation first before asking Kannel users. I have send a MMS using mmssend I receive the notification: # mmssend -f -t 687850850 -m /home/manu/softs/Mbuni/cat.mms /etc/mmsc.conf == /var/log/mbuni/mmsc-access.log == 2009-11-10 10:36:39 Notify MMS [INT:MM1] [ACT:] [MMSC:] [from:system] [to:+687850850/TYPE=PLMN] [msgid:qf9794.1.x412...@61.5.221.52/mmsc/mm1] [size=-1] [UA:] [MMBox:] == smsbox.log == 2009-11-10 10:36:39 [23490] [2] DEBUG: HTTP: Creating HTTPClient for `127.0.0.1'. 2009-11-10 10:36:39 [23490] [2] DEBUG: HTTP: Created HTTPClient area 0x8e18a58. 2009-11-10 10:36:39 [23490] [3] INFO: smsbox: Got HTTP request /var/www/kannel/sendsms from 127.0.0.1 2009-11-10 10:36:39 [23490] [3] INFO: sendsms used by alt 2009-11-10 10:36:39 [23490] [3] INFO: sendsms sender:alt:687971204 (127.0.0.1) to:+687850850 msg:^N^F^CΎ―~D~L~B~X61.5.221. 52/mmsc/mm1-qf9798.14.x178.77 2009-11-10 10:36:39 [23490] [3] DEBUG: Stored UUID 7a0fe62d-4ed3-4a61-ad7c-80e240c6dc6b 2009-11-10 10:36:39 [23490] [3] DEBUG: message length 132, sending 1 messages 2009-11-10 10:36:39 [23490] [3] DEBUG: Status: 202 Answer: Sent. 2009-11-10 10:36:39 [23490] [3] DEBUG: Delayed reply - wait for bearerbox 2009-11-10 10:36:39 [23490] [0] DEBUG: Got ACK (0) of 7a0fe62d-4ed3-4a61-ad7c-80e240c6dc6b 2009-11-10 10:36:39 [23490] [0] DEBUG: HTTP: Resetting HTTPClient for `127.0.0.1'. But using sendmms CGI script I got no notification: # lynx -dump http://localhost:10001/?username=altmmspassword=altmmsto=687850850/TYPE=PLMNsubject=Testtext=MMS; == /var/log/mbuni/mmsc-access.log == 2009-11-10 10:21:08 Notify MMS [INT:MM1] [ACT:] [MMSC:] [from:system] [to:687850850/TYPE=PLMN] [msgid:d-h8-qf8864.9.x172...@61.5.221.52/mmsc/mm1] [size=-1] [UA:] [MMBox:] == smsbox.log == 2009-11-10 10:21:08 [23490] [3] INFO: smsbox: Got HTTP request /var/www/kannel/sendsms from 127.0.0.1 2009-11-10 10:21:08 [23490] [3] INFO: sendsms used by alt 2009-11-10 10:21:08 [23490] [3] INFO: sendsms sender:alt:687971204 (127.0.0.1) to:+687850850 msg:^M^F^CΎ―~D~L~B~X61.5.221.52/mmsc/mm1-3-g5-qf8868.13.x178.73 2009-11-10 10:21:08 [23490] [3] DEBUG: Stored UUID d990d9bf-1d19-47e8-b1a5-32b4a87c99ad 2009-11-10 10:21:08 [23490] [3] DEBUG: message length 148, sending 2 messages 2009-11-10 10:21:08 [23490] [3] DEBUG: Status: 202 Answer: Sent. Message splits: 2 2009-11-10 10:21:08 [23490] [3] DEBUG: Delayed reply - wait for bearerbox 2009-11-10 10:21:08 [23490] [0] DEBUG: Got ACK (0) of d990d9bf-1d19-47e8-b1a5-32b4a87c99ad 2009-11-10 10:21:08 [23490] [0] DEBUG: HTTP: Resetting HTTPClient for `127.0.0.1'. Note in one case message is not split... MMS is each case are dfferent (text+picture for first test, only text in second test). Regards, -- 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 850.850 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 ___ Users mailing list Users@mbuni.org
Re: [Users] [MMSBox] sendmms CGI script and Kannel sendsms notification / Nothing received on the mobile
I'd need to understand how MMSBox and the MMSC are working together. Note that their roles and uses are of course different. Can get confusing... On Nov 12, 2009, at 00:24, Emmanuel CHANSON wrote: Dears, I am testing MMSBox and MMSC (both Mbuni gateway) but I am faced to an issue regarding the use of the sendmms CGI script. The issue for me is located on Kannel side but I would like your confirmation first before asking Kannel users. I have send a MMS using mmssend I receive the notification: # mmssend -f -t 687850850 -m /home/manu/softs/Mbuni/cat.mms / etc/mmsc.conf == /var/log/mbuni/mmsc-access.log == 2009-11-10 10:36:39 Notify MMS [INT:MM1] [ACT:] [MMSC:] [from:system] [to:+687850850/TYPE=PLMN] [msgid:qf9794.1.x412...@61.5.221.52/mmsc/mm1] [size=-1] [UA:] [MMBox:] == smsbox.log == 2009-11-10 10:36:39 [23490] [2] DEBUG: HTTP: Creating HTTPClient for `127.0.0.1'. 2009-11-10 10:36:39 [23490] [2] DEBUG: HTTP: Created HTTPClient area 0x8e18a58. 2009-11-10 10:36:39 [23490] [3] INFO: smsbox: Got HTTP request /var/ www/kannel/sendsms from 127.0.0.1 2009-11-10 10:36:39 [23490] [3] INFO: sendsms used by alt 2009-11-10 10:36:39 [23490] [3] INFO: sendsms sender:alt:687971204 (127.0.0.1) to:+687850850 msg:^N^F^C¾¯~D~L~B~X61.5.221. 52/mmsc/mm1-qf9798.14.x178.77 2009-11-10 10:36:39 [23490] [3] DEBUG: Stored UUID 7a0fe62d-4ed3-4a61-ad7c-80e240c6dc6b 2009-11-10 10:36:39 [23490] [3] DEBUG: message length 132, sending 1 messages 2009-11-10 10:36:39 [23490] [3] DEBUG: Status: 202 Answer: Sent. 2009-11-10 10:36:39 [23490] [3] DEBUG: Delayed reply - wait for bearerbox 2009-11-10 10:36:39 [23490] [0] DEBUG: Got ACK (0) of 7a0fe62d-4ed3-4a61-ad7c-80e240c6dc6b 2009-11-10 10:36:39 [23490] [0] DEBUG: HTTP: Resetting HTTPClient for `127.0.0.1'. But using sendmms CGI script I got no notification: # lynx -dump http://localhost:10001/?username=altmmspassword=altmmsto=687850850/TYPE=PLMNsubject=Testtext=MMS == /var/log/mbuni/mmsc-access.log == 2009-11-10 10:21:08 Notify MMS [INT:MM1] [ACT:] [MMSC:] [from:system] [to:687850850/TYPE=PLMN] [msgid:d-h8- qf8864.9.x172...@61.5.221.52/mmsc/mm1] [size=-1] [UA:] [MMBox:] == smsbox.log == 2009-11-10 10:21:08 [23490] [3] INFO: smsbox: Got HTTP request /var/ www/kannel/sendsms from 127.0.0.1 2009-11-10 10:21:08 [23490] [3] INFO: sendsms used by alt 2009-11-10 10:21:08 [23490] [3] INFO: sendsms sender:alt:687971204 (127.0.0.1) to:+687850850 msg:^M^F^C¾¯~D~L~B~X61.5.221.52/mmsc/ mm1-3-g5-qf8868.13.x178.73 2009-11-10 10:21:08 [23490] [3] DEBUG: Stored UUID d990d9bf-1d19-47e8-b1a5-32b4a87c99ad 2009-11-10 10:21:08 [23490] [3] DEBUG: message length 148, sending 2 messages 2009-11-10 10:21:08 [23490] [3] DEBUG: Status: 202 Answer: Sent. Message splits: 2 2009-11-10 10:21:08 [23490] [3] DEBUG: Delayed reply - wait for bearerbox 2009-11-10 10:21:08 [23490] [0] DEBUG: Got ACK (0) of d990d9bf-1d19-47e8-b1a5-32b4a87c99ad 2009-11-10 10:21:08 [23490] [0] DEBUG: HTTP: Resetting HTTPClient for `127.0.0.1'. Note in one case message is not split... MMS is each case are dfferent (text+picture for first test, only text in second test). Regards, -- Emmanuel @email : emmanuelchan...@gmail.com mbuni-kannel_log.zip___ 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
Re: [Users] Feature request and very small patch
Thanks for the update, please send through a patch and we'll apply. On the content issue, I am surprised you are seeing this sort of behaviour. Please send through a sample SMIL file that has this problem. The normal behaviour is to fetch all such content and add it to the message. Paul. On Nov 11, 2009, at 16:26, Ben Hardill wrote: Hi, Thanks to all the help from Nuno and Paul, I now have my low power Ubuntu box sending MMS (I'll look at receiving next, but I think the Sony [w880i] I'm using intercepts the WAP push messages before Kannel sees them). In order to get it all working I had to add a small delay after starting PPP as Mbuni was trying to send the post before the routing was all up and running properly, so I have added the following just after the call to start ppp in mmsbox_mm1.c if (mm1-gprs_on) pid = start_gprs(mm1-gprs_on, mm1-gprs_pid); gwthread_sleep(3); #--- short pause to allow ppp to finish setting up the connection if (pid 0) { mms_warning(0, mmsbox-mm1, NULL,failed to start GPRS connection. waiting...); Now the feature request. Would it be possible to add an argument to to the MMS submission to treat all media as local. e.g. if I put an image into a smil with a file:// URL then the content is sent to the MMSC, but if I start with http:// then only the URL is sent. I would like to be able to stage media on my internal network and have it forwarded as if it was content referenced as a file:// URL? At the moment I'm copying the media to a mount on the machine running Mbuni, but I would like to be able to write an app that only talks http (client and server) and not need to copy the files. Just a thought, Thanks ___ 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
Re: [Users] Mbuni and squid config / need help
I don't recall the exact configuration for squid. I use Apache's mod_rewrite typically to do this. Much easier, if a little less wide- spread. On Oct 28, 2009, at 23:04, Emmanuel CHANSON wrote: Thnaks Paul for this answer, So I should be able to 'NAT' using squid any port configured in input port (let's say 3130) to the output port 8191 used by mbuni ? I don't find any parameter in squid.conf where I can set this, there is http_port for input but how to configure squid in order to route 3130 n input to the output port 8191? Regards, Emmanuel 2009/10/28 Paul Bagyenda bagye...@dsmagic.com Squid is required if you have some custom script that adds the MSISDN header to the HTTP header prior to passing the data to Mbuni, or if you need to translate the request URL from the phone (say http://mmsc ) to the real mbuni URL (say http://localhost:8191/ ) In terms of configuring the phone, you should put in a URL that can (one way or the other) be translated into the Mbuni host and port. On Oct 25, 2009, at 23:35, Emmanuel CHANSON wrote: Hello to everybody, I am testing mbuni and I would like to use a HTTP mobile phone (not WAP). So I am confused with the use of squid and its role in the system. Can someone explain why and how to use squid in the system? Do I have to use it to reach mms-port 8191? I try also to find which port should be configured in my mobile phone to reach my MMSC is this the parameter called: mms-port (8191 by default) ? So my config to reach mmsc should be http://ip_adress:8191 ? Regards, -- Emmanuel ___ 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 850.850 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 ___ Users mailing list Users@mbuni.org http://lists.mbuni.org/mailman/listinfo/users
Re: [Users] Mbuni MMS retrieve from Openwave SDK
From the logs it appears the MMS sent back has MIME type multi-part/ mixed, which is not supported by all clients. Send and fetch appear to be working just fine. On Oct 28, 2009, at 00:48, Emmanuel CHANSON wrote: Still trying to send an retrieve mms using mmssend: # mmssend -f +687xx -t +687x -m /home/manu/softs/Mbuni/ cat.mms /etc/mmsc.conf Notification is received by the mobile, then I catch the fetch url in the log because my MMSC is not reachable in the operator netswork from my mobile so I use Openwave SDK and try to retrieve the MMS but I get an error: Unsupported content type... My url is: Preparing to notify client to fetch message at URL: http://61.5.221.52/mmsc/mm1/qf8019.2.x40...@2/wx66 But on Openwave i put http://61.5.221.52:8191/mmsc/mm1/qf8019.2.x40...@2/wx66 and I get this error above. The log from mbuni during a retrieve test from Openwave (attached) Any idea? Regards, Emmanuel 2009/10/26 Emmanuel CHANSON emmanuelchan...@gmail.com Hello to everybody, I am testing mbuni and I would like to use a HTTP mobile phone (not WAP). So I am confused with the use of squid and its role in the system. Can someone explain why and how to use squid in the system? Do I have to use it to reach mms-port 8191? I try also to find which port should be configured in my mobile phone to reach my MMSC is this the parameter called: mms-port (8191 by default) ? So my config to reach mmsc should be http://ip_adress:8191 ? Regards, -- Emmanuel -- Emmanuel CHANSON Emmanuel Mobile Nouvelle-Calédonie: +687 850.850 Mobile France: +33 (0) 6.68.03.89.56 @email : emmanuelchan...@gmail.com recupmms.log___ 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
Re: [Users] Fetching MMSs over gprs modem with the highest quality possible
Yes that is what I had in mind. Good to hear it all worked. Would you kindly write up your config for the benefit of others? I intend to roll this add-on into Mbuni proper in the near future, and make the setup easier. I could use your user insight. On Sep 29, 2009, at 01:14, Nuno Freitas wrote: UPDATE - just to let you guys know that I have succeeded in fetching MMS images according to the agent I've defined: Added on extras/mmsbox-mm1/mmsbox_mm1.c at line 611 h = curl_slist_append(h, User-Agent: NokiaN73-1/2.0628.0.0.1 S60/3.0 Profile/MIDP-2.0 Configuration/CLDC-1.1); After recompiling, I've retrieved the image with the resolution defined by the N73 profile. I'd suggest that these parameters could be set by configuration or at compile time. Thank you Paul for your help. Best Regards, Nuno Freitas. ___ 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
Re: [Users] dlr-url
Well, according to the documentation URL to invoke when a delivery report for this message is received. So this means that when Mbuni receives a delivery report, it will call the URL you supplied with this CGI param, in the send-mms call. Further, the documentation states: Mbuni VAS Gateway utilises a number of HTTP extension headers to pass additional MM information to and receive information from the MMS Service.. So you see, when the URL is called, information will be passed to it, which tells you a little more about the DLR. Of course you can also pass a unique URL to send-mms so you don't need the return info. Or at least you only have to look for status information. P. On Sep 23, 2009, at 17:33, narendra reddy wrote: Hi list , how we can set the dlr-url parameter in the send- mms url for getting delivery reports .pls anybody give me some idea about dlr-url. -- Thanks in Advance . Best Regards, narendra Reddy. ___ 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
Re: [Users] start-gprs script issues
You would need to add some code to see if the PID being returned to Mbuni is correct. Is Mbuni running as root? On Sep 20, 2009, at 20:19, Ben Hardill wrote: Hi, I now have the mmsbox extras library sending MMS messages pretty much as needed. I have bene looking to clean up few bits so I can write the whole thing up. I had already set up all a PPP connection using the phone that I could bring up and down using the standard ifup and ifdown commands. At first I tried just using ifup ppp0 as the start-gprs script but this didn't work because the command returns (I found the comment in the src saying it should not return), so i replaced it with the following script: #!/bin/sh echo $$ /root/ppp-wrapper.pid trap cleanExit INT TERM cleanExit() { echo shutting down ifdown ppp0 rm -f /root/ppp-wrapper.pid exit 0 }#!/bin/sh echo $$ /root/ppp-wrapper.pid trap cleanExit INT TERM cleanExit() { echo stopping ppp0 ifdown ppp0 rm -f /root/ppp-wrapper.pid exit 0 } if [ `ifconfig | grep ppp0 | wc -l` -eq 0 ] then ifup ppp0 echo started ppp0 fi while [ true ]; do sleep 10 done ifup ppp0 echo started ppp0 while [ true ]; do sleep 10 done This should start the ppp connection then look until it gets a TERM signal. This works fine when I test it on the command line but script doesn't seam to be getting the signal after the message has been sent. I have set gprs-pid=cat /root/ppp-wrapper.pid | head -1 Does anybody have any ideas? Ben -- http://flickr.com/photos/hardillb http://twitter.com/hardillb http://www.last.fm/user/hardillb ___ 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
Re: [Users] Kannel + mbuni + gprs modem
It may be that you are using the wrong GPRS APN, or that your operator has a proxy that must be used to fetch the content. In that case, you must add a proxy=host:port to the custom settings. This module is still a little dodgy, but should improve with time :) 2009/9/22 Nuno Freitas nuno.frei...@nabiasolutions.com: After a few search I found the package libcurl4-gnutls-dev and after recompiling I was able to proceed. That led me a bit further on the mm1 MMS reception but still the following issue: The problem now: It seems that after receiving the wap-push, mbuni gets it, kannel is stopped correctly by mbuni and the pppd connection is established. *But* after a while I get a Time out error 2009-08-26 11:31:28 [29005] [2] DEBUG: Timeout for fd:55 appeares. And the service complaints that it could fetch the mms from the operator 2009-08-26 11:33:47 [29005] [5] ERROR: mmsbox_mm1.c:626 fetch_content [mmsbox-mm1] [n/a] failed to fetch/post content: couldn't connect to host Any clues on how to work around this issue? Thanks in advance Nuno Freitas Log details (mmsbox.log) … 2009-08-26 11:30:28 [29005] [4] DEBUG: Octet string dump ends. 2009-08-26 11:30:28 [29005] [4] DEBUG: End of dump. 2009-08-26 11:30:28 [29005] [4] DEBUG: Dumping MMS message body (not multipart) [0 parts] -- 2009-08-26 11:30:28 [29005] [4] DEBUG: HTTP: Resetting HTTPClient for `127.0.0.1'. 2009-08-26 11:30:38 [29005] [5] INFO: mmsbox_mm1.c:377 handle_mm1 [mmsbox-mm1] [n/a] start_gprs returned PID: 29031 2009-08-26 11:31:28 [29005] [2] DEBUG: Timeout for fd:55 appeares. 2009-08-26 11:31:28 [29005] [2] DEBUG: HTTP: Destroying HTTPClient area 0x816c028. 2009-08-26 11:31:28 [29005] [2] DEBUG: HTTP: Destroying HTTPClient for `127.0.0.1'. 2009-08-26 11:33:47 [29005] [5] ERROR: mmsbox_mm1.c:626 fetch_content [mmsbox-mm1] [n/a] failed to fetch/post content: couldn't connect to host 2009-08-26 11:33:47 [29005] [5] ERROR: mmsbox_mm1.c:399 handle_mm1 [mmsbox-mm1] [n/a] failed to fetch mms from URL: http://10.251.8.17/mms/wapenc?location=35196ff_hhqi-020202rid=154! 2009-08-26 11:33:47 [29005] [5] INFO: mmsbox_mm1.c:522 handle_mm1 [mmsbox-mm1] [n/a] GPRS turned off returned: 0 2009-08-26 11:33:54 [29005] [5] INFO: mmsbox_mm1.c:537 handle_mm1 [mmsbox-mm1] [n/a] SMSC turned on /end details My custom settings are bellow… My full setup is on previous threads but if you think necessary I will repost everything. custom-settings = smsc-on=lynx -dump 'http://localhost:13001/start-smsc?password=smsc=mtx-h15';smsc-off=lynx -dump 'http://localhost:13001/stop-smsc?password=smsc=mtx-h15';gprs-on=pppd call gprs;gprs-pid=cat /var/run/ppp0.pid|head -1;port=8181;mmsc-url=http://mmsc;proxy=10.111.2.16;msisdn=00; ___ 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
Re: [Users] Modify MMS PDU
Not sure but you don't want to do this in general since it is messy. If you pass a SMIL file to mmsbox, it will build the corresponding mms for you by fetching all the content referenced within the SMIL file. Much cleaner. On Sep 17, 2009, at 15:06, Thilani Abeysinghe wrote: Hi, I'm hacking the mms_submit_req.and trying to add another media type(text) and send to mmsc. For that I studied about mms pdu encoding/decoding documents. I tried to modify the mms pdu after studing mms encodig/decoding First modified the number of parts filed in mms-pdu. Modified the smil file encoded new media and then forwarded to Mbuni mmsc Following is the part of incomming mms_submit_req trace Smil befor modified. In this smil file header length is =2e =46 Data length is 82 7a =378 2e 1db0 82 7a 1e 61 70 70 6c 69 63 61 74 69 6f 6e 2f 73 .z.application/s 1dc0 6d 69 6c 00 81 ea 85 70 72 65 73 2e 73 6d 69 6c milpres.smil 1dd0 00 c0 22 3c 31 32 33 32 32 39 37 33 30 36 3e 00 ..1232297306. 1de0 0d 0a 3c 73 6d 69 6c 3e 0d 0a 3c 68 65 61 64 3e ..smil..head 1df0 0d 0a 3c 6c 61 79 6f 75 74 3e 0d 0a 3c 72 6f 6f ..layout..roo 1e00 74 2d 6c 61 79 6f 75 74 20 77 69 64 74 68 3d 22 t-layout width= 1e10 31 37 36 22 20 68 65 69 67 68 74 3d 22 32 30 38 176 height=208 1e20 22 2f 3e 0d 0a 3c 72 65 67 69 6f 6e 20 69 64 3d /..region id= 1e30 22 49 6d 61 67 65 22 20 77 69 64 74 68 3d 22 31 Image width=1 1e40 36 30 22 20 68 65 69 67 68 74 3d 22 31 32 30 22 60 height=120 1e50 20 74 6f 70 3d 22 38 33 22 20 6c 65 66 74 3d 22 top=83 left= 1e60 38 22 20 66 69 74 3d 22 6d 65 65 74 22 2f 3e 0d 8 fit=meet/. 1e70 0a 3c 72 65 67 69 6f 6e 20 69 64 3d 22 54 65 78 .region id=Tex 1e80 74 22 20 77 69 64 74 68 3d 22 31 36 30 22 20 68 t width=160 h 1e90 65 69 67 68 74 3d 22 37 33 22 20 74 6f 70 3d 22 eight=73 top= 1ea0 35 22 20 6c 65 66 74 3d 22 38 22 20 66 69 74 3d 5 left=8 fit= 1eb0 22 73 63 72 6f 6c 6c 22 2f 3e 0d 0a 3c 2f 6c 61 scroll/ ../la 1ec0 79 6f 75 74 3e 0d 0a 3c 2f 68 65 61 64 3e 0d 0a yout../ head.. 1ed0 3c 62 6f 64 79 3e 0d 0a 3c 70 61 72 20 64 75 72 body..par dur 1ee0 3d 22 35 30 30 30 6d 73 22 3e 0d 0a 3c 69 6d 67 =5000ms..img 1ef0 20 72 65 67 69 6f 6e 3d 22 49 6d 61 67 65 22 20 region=Image 1f00 73 72 63 3d 22 49 6d 61 67 65 5f 31 36 2e 6a 70 src=Image_16.jp 1f10 67 22 2f 3e 0d 0a 3c 74 65 78 74 20 72 65 67 69 g/..text regi 1f20 6f 6e 3d 22 54 65 78 74 22 20 73 72 63 3d 22 4d on=Text src=M 1f30 6d 73 5f 70 72 6f 78 2e 74 78 74 22 2f 3e 0d 0a ms_prox.txt/ .. 1f40 3c 2f 70 61 72 3e 0d 0a 3c 2f 62 6f 64 79 3e 0d /par../ body. 1f50 0a 3c 2f 73 6d 69 6c 3e 0d 0a./smil.. This is the smile Im getting with mms_submit_req smil head layout root-layout width=176 height=208/ region id=Image width=160 height=120 top=83 left=8 fit=meet/ region id=Text width=160 height=73 top=5 left=8 fit=scroll/ /layout /head body par dur=5000ms img region=Image src=Image_16.jpg/ text region=Text src=Mms_prox.txt/ /par /body /smil Modified smil In this smil file header length is =2e =46 Data length is encoded as uint var when decoded Data length is 82 70 = 496 1da02e 83 70 1e 61 70 70 6c 69 63 61 74 69 6f 6e y..p.application 1db0 2f 73 6d 69 6c 00 81 ea 85 70 72 65 73 2e 73 6d / smilpres.sm 1dc0 69 6c 00 c0 22 3c 31 32 33 32 32 39 37 33 30 36 il..1232297306 1dd0 3e 00 0d 0a 3c 73 6d 69 6c 3e 0d 0a 3c 68 65 61 ...smil..hea 1de0 64 3e 0d 0a 3c 6c 61 79 6f 75 74 3e 0d 0a 3c 72 d..layout..r 1df0 6f 6f 74 2d 6c 61 79 6f 75 74 20 77 69 64 74 68 oot-layout width 1e00 3d 22 31 37 36 22 20 68 65 69 67 68 74 3d 22 32 =176 height=2 1e10 30 38 22 2f 3e 0d 0a 3c 72 65 67 69 6f 6e 20 69 08/ ..region i 1e20 64 20 3d 22 61 64 6c 69 76 65 22 20 77 69 64 74 d =adlive widt 1e30 68 3d 22 31 36 30 22 20 68 65 69 67 68 74 3d 22 h=160 height= 1e40 31 32 30 22 66 69 74 20 3d 22 6d 65 65 74 22 2f 120fit =meet/ 1e50 3e 0d 0a 3c 72 65 67 69 6f 6e 20 69 64 3d 22 49 ..region id=I 1e60 6d 61 67 65 22 20 77 69 64 74 68 3d 22 31 36 30 mage width=160 1e70 22 20 68 65 69 67 68 74 3d 22 31 32 30 22 20 74 height=120 t 1e80 6f 70 3d 22 38 33 22 20 6c 65 66 74 3d 22 38 22 op=83 left=8 1e90 20 66 69 74 3d 22 6d 65 65 74 22 2f 3e 0d 0a 3c fit=meet/ .. 1ea0 72 65 67 69 6f 6e 20 69 64 3d 22 54 65 78 74 22 region id=Text 1eb0 20 77 69 64 74 68 3d 22 31 36 30 22 20 68 65 69 width=160 hei 1ec0 67 68 74 3d 22 37 33 22 20 74 6f 70 3d 22 35 22 ght=73 top=5 1ed0 20 6c 65 66 74 3d 22 38 22 20 66 69 74 3d 22 73 left=8 fit=s 1ee0 63 72 6f 6c 6c 22 2f 3e 0d 0a 3c 2f 6c 61 79 6f croll/../ layo 1ef0 75 74 3e 0d 0a 3c 2f 68 65 61 64 3e 0d 0a 3c 62 ut../ head..b 1f00 6f 64 79 3e 0d 0a 3c 70 61 72 3e 0d 0a 3c 74 65 ody..par..te 1f10 78
Re: [Users] MM7 with SOAP protocol
yes. On Sep 08, 2009, at 12:23, narendra reddy wrote: Hi bagyenda, you mean that is not possible in mbuni gateway .? Best Regards, Narendra. On Tue, Sep 8, 2009 at 6:48 AM, Paul Bagyenda bagye...@dsmagic.com wrote: Yes. Out of the box :) On Sep 07, 2009, at 20:37, narendra reddy wrote: Hi list, we are working on MMS gatway using Mbuni . we want to send MM7 protocol messages through SOAP protocol . pls give suugestion . Is it possible with Mbuni gateway . if yes pls provide the guidelines .how it can be send the MMS messages I am waiting for your responce ASAP. Immediate responce Appriciated Thanks in Advance . Best Regards, narendra Reddy. ___ 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 -- Best Regards, narendra Reddy. ___ 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
Re: [Users] MM7 with SOAP protocol
This means that it supports both protocols. On Sep 08, 2009, at 14:13, narendra reddy wrote: Hi paul bagyenda, but in the user guide is in wrote like that Support for MMS Value Added Service Providers using MM7 protocols (SOAP or EAIF). . based on that i am trying to use SOAP protocol. pls give me reply ASAP. Thanks in Advance. Best Regards, Narendra . On Tue, Sep 8, 2009 at 11:44 AM, Paul Bagyenda bagye...@dsmagic.com wrote: yes. On Sep 08, 2009, at 12:23, narendra reddy wrote: Hi bagyenda, you mean that is not possible in mbuni gateway .? Best Regards, Narendra. On Tue, Sep 8, 2009 at 6:48 AM, Paul Bagyenda bagye...@dsmagic.com wrote: Yes. Out of the box :) On Sep 07, 2009, at 20:37, narendra reddy wrote: Hi list, we are working on MMS gatway using Mbuni . we want to send MM7 protocol messages through SOAP protocol . pls give suugestion . Is it possible with Mbuni gateway . if yes pls provide the guidelines .how it can be send the MMS messages I am waiting for your responce ASAP. Immediate responce Appriciated Thanks in Advance . Best Regards, narendra Reddy. ___ 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 -- Best Regards, narendra Reddy. ___ 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 -- Best Regards, narendra Reddy. ___ Users mailing list Users@mbuni.org http://lists.mbuni.org/mailman/listinfo/users
Re: [Users] kannel +MMSC
MMSC Gateway can mean many things. Please explain your setup. I asked: Do you intend to connect to an operator MMSC? On Sep 08, 2009, at 21:35, narendra reddy wrote: Hi list , 1) if i want to use Mbuni As a MMSC gateway . can i run the kannel ? 2)if yes in kannel wat i can run in the kannel (like bearerbox,smsbox,wapbox).wat and all i can run in the config file . 3)in kannel conf file where i can add the MMSC related stuff .i attached kannel conf above .pls tell me required changes in the config file . Thanks in Advance . Best Regards, narendra Reddy. kannelconf.conf___ 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
Re: [Users] Re: how to start the MMSC /how can i get the MMSC Messge .
Ok first of all, I suggest you run CVS. Much better. Can you explain what kind of setup you have planned? On Sep 07, 2009, at 12:37, narendra reddy wrote: Hi list, can anybody give me some reply . Thanks in advance. Best Regards, Narendra On Sat, Sep 5, 2009 at 6:29 PM, narendra reddy kamaninaren...@gmail.com wrote: hi list , i am new to this mbuni .i successfully installed kannel and mbuni . wat all are the binaries i got that was in the below tar files . i successfully run the kannel as a sms gateway but i don't no how to run the mbuni .atleast i dont no how to start the mbuni how can i send the mms messages and how can test weather the mms was reached or not . i read the user guide in that for how to mmsc start the .according to that i started the mmsrelay,mmsproxy and mmsfromemail .but i am still so much confusing . give me some body feedback to me .i have complete this project ASAP . Thanks in Advance . Best Regards, narendra Reddy. -- Best Regards, narendra Reddy. ___ 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
Re: [Users] mmsbox mmsc via cell phone
Use the HTTP sendmms interface. See the sample script I sent earlier. On Sep 03, 2009, at 04:17, Ben Hardill wrote: Hi Paul. Thanks for the reply. I think your right and I am a little confused about what I need here. At the moment I'm just looking to send mms messages, but later receiving would be good. I had started mmsbox with the conf file I attached earlier mmsbox /user/local/etc/mbuni/mmsc.conf which spits out a bunch of debug statement but stays running. So assuming I have compiled the extra library correctly and got all the custom options right, how am I supposed to let mmsbox I have a message I want to send? I was using mmsend as I couldn't see another way to inject the message into the system. Thanks, Ben From: Paul Bagyenda bagye...@dsmagic.com Subject: Re: [Users] mmsbox mmsc via cell phone To: users@mbuni.org Message-ID: 84357aa7-5846-4d62-96a4-3e142fbd5...@dsmagic.com Content-Type: text/plain; charset=us-ascii Hi, If you want to send/receive with a GPRS modem, you want to use mmsbox. mmssend belongs to the MMSC component. A little confusing I know, but the two modes of operation are different for good reasons. There is a module in the extras/ folder that you want to use, to set up a connection (via modem) to the operator mmsc. Paul. ___ 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
Re: [Users] MM7 with SOAP protocol
Yes. Out of the box :) On Sep 07, 2009, at 20:37, narendra reddy wrote: Hi list, we are working on MMS gatway using Mbuni . we want to send MM7 protocol messages through SOAP protocol . pls give suugestion . Is it possible with Mbuni gateway . if yes pls provide the guidelines .how it can be send the MMS messages I am waiting for your responce ASAP. Immediate responce Appriciated Thanks in Advance . Best Regards, narendra Reddy. ___ 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
Re: [Users] mmsbox mmsc via cell phone
Hi, If you want to send/receive with a GPRS modem, you want to use mmsbox. mmssend belongs to the MMSC component. A little confusing I know, but the two modes of operation are different for good reasons. There is a module in the extras/ folder that you want to use, to set up a connection (via modem) to the operator mmsc. Paul. On Sep 02, 2009, at 04:07, Ben Hardill wrote: Hi, I've been looking at the docs and the example mmsbox.conf in the doc/ examples dir and the previous mailing list post but I don't seam to be able to send a test MMS message. I have a Kannel up and running, I can send and receive SMS messages, I also have a ppp working to bring up a 3G or gprs connection using the MMS apn. When I try to use mmssend to test I don't see it disconnecting the smsbox or it trying to start ppp. Any pointers would be great. I've been trying to test with the following command: mmssend -f +447 -t +4477xxx -m ~/test.mms /usr/local/etc/ mbuni/mmsbox.conf Where ~/test.mms is a text file containing something like this: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary===UUD_=_1251645058 --==UUD_=_1251645058 Content-Type: image/jpeg Content-Transfer-Encoding: Base64 Content-Disposition: attachment; filename=DSC00072.JPG /9j/ 4Rl9RXhpZgAASUkqAAgKAA8BAgAOhgAAABABAgAGpgAAABIBAwABAQAA ABoBBQAB3gAAABsBBQAB5gAAACgBAwABAgAAADEBAgAotgAAADIBAgAU .. Oo4p504MOB09qaTHq1sUzYnfg9vapvsufvnOKbnaBnCnJyP/2Q== --==UUD_=_1251645058 Content-Type: text/plain Content-Disposition: attachment; filename=test.txt HelloWorld --==UUD_=_1251645058-- My mmsbox conf looks like this: group = core log-file = /var/log/kannel/mmsbox.log access-log = /var/log/kannel/mmsbox-access.log log-level = 0 group = mbuni storage-directory = /usr/local/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 # Sample conf for MMSBox using a modem (MM1) group = mmsc id = modem type = custom custom-settings = smsc-on=lynx -dump 'http://localhost:13000/start-smsc?password=barsmsc=w880i';smsc-off=lynx -dump 'http://localhost:13000/stop-smsc?password=barsmsc=w880i';gprs-on=/sbin/ifup ppp0;gprs-pid=cat /var/run/ppp0.pid|head -1;port=13014;mmsc-url=http://mmsc.mms.o2.co.uk:8002 ;proxy=193.113.200.195:8080;msisdn=100 mmsc-library = /usr/local/lib/libmmsbox_mm1.so allowed-prefix = +44 group = mms-service name = me post-url = http://localhost:8080/sms/mms catch-all = true http-post-parameters = fx=trueimages[]=%itext[]=%tskip=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=trueimage=%itext=%t accept-x-mbuni-headers = true keyword = thixs group = send-mms-user username = tester password = foobar faked-sender = 100 ___ 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
Re: [Users] MMSC
If you want to use Mbuni as an MMSC, then mmsrelay is sufficient. Message alerts are sent out using Kannel, and the subscriber phones fetch the message using HTTP. On Sep 02, 2009, at 14:36, narendra reddy wrote: Hi users, i am new to this mbuni .last one hour only I installed kannel,mbuni successfully . now i want to send the MMSC messages to subscribers .how can i use the MMSC .can any body give me reply .for MMSC wat and i have to use the binaries . Immediate responce Appriciated. Thanks in Advance . -- Best Regards, narendra Reddy. ___ 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
[Users] Re: Mbuni gateway install Help please
The error says: 2009-08-10 23:28:40 [22496] [0] ERROR: fopen failed: couldn't open `mbuni.conf' So there is no config file. Did you read the documentation?? On Aug 11, 2009, at 00:37, babo...@aim.com wrote: Hello, I just installed Kannel Mbuni and know I am proceeding to running the gateway, but I'm stuck at Running Mbuni as a MMSC when I try to run mmsrelay in the terminal this error comes up. My OS is Linux Ubuntu If I could get an answer I would really appriciate it. Thank You!!! tomk...@ubuntu:~$ mmsrelay 2009-08-10 23:28:40 [22496] [0] INFO: Debug_lvl = -1, log_file = none, log_lvl = 0 2009-08-10 23:28:40 [22496] [0] ERROR: fopen failed: couldn't open `mbuni.conf' 2009-08-10 23:28:40 [22496] [0] ERROR: System error 2: No such file or directory 2009-08-10 23:28:40 [22496] [0] ERROR: failed to read config from `mbuni.conf' 2009-08-10 23:28:40 [22496] [0] ERROR: System error 2: No such file or directory 2009-08-10 23:28:40 [22496] [0] PANIC: Couldn't read configuration from 'mbuni.conf'. 2009-08-10 23:28:40 [22496] [0] PANIC: mmsrelay(gw_panic+0xd4) [0x8088a44] 2009-08-10 23:28:40 [22496] [0] PANIC: mmsrelay(main+0x290) [0x8057cf0] 2009-08-10 23:28:40 [22496] [0] PANIC: /lib/tls/i686/cmov/libc.so. 6(__libc_start_main+0xe5) [0xb7c59775] 2009-08-10 23:28:40 [22496] [0] PANIC: mmsrelay [0x8053d01] ___ Users mailing list Users@mbuni.org http://lists.mbuni.org/mailman/listinfo/users
Re: [Users] Supporting Carriers for mbuni MMS ??
Hi, There are many aggregators in the US who do MM7, and as such will work with Mbuni. I am aware of a couple that have been integrated with successfully, but they don't pay me for the marketing, so you will have to google a little :) Paul. On Jul 23, 2009, at 14:12, BipinDas-Gmail wrote: Hello Friends One of my client needs to send MMS from his website to customers phone. So for this I have setup a MMS server Using this Document. http://www.mbuni.org/userguide.shtml. So how can I test this server, this server is located In a remote data centre. And who are the phone carriers who support this gateway, client is in US. I would like to Know whether Sprint ,ATT , Verizon will support this mbuni gateway ? Greetings BipinDas +966543680643 ___ 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
Re: [Users] Kannel + mbuni + gprs modem + pc = how can I send MMS to mobile?
Mbuni VAS Gateway on CVS can now send and receive via a GPRS modem, however this part is not yet well documented. You need to first of all ensure the following: - Are you able to send/receive SMS (via Kannel) using the modem? You should set this up. - Can you set up a pppd session (using the MMS GPRS APN from your operator) using the modem? If so, then there is a sample conf in doc/examples/mmsbox.conf -- essentially you need to run mmsbox only, you tell it to load a special module, and you configure the module with commands to start/stop the pppd session, start/stop sms send/receive via Kannel. I'll fill in the gaps as we go, and hopefully document better too :) P. On Jul 07, 2009, at 13:59, Luca Cossaro wrote: Thank you Paul for your answer, No i don't see anything in the mbuni log, maybe i can try to send the mms just as a mobile phone do: send the content directly to my Operator (TIM Italy).. but I don't know which are the correct step to do this (AT commands, encoding ofthe mms, etc...). with mbuni what pieces of config I have to make to do this? any help is appreciated. thank you all. Luca. Paul Bagyenda ha scritto: Luca, Apologies for the delay in responding. You should at least see something in the Mbuni log when the phone tries to download the message. Do you see any such attempt? For what you want to do, mmsc is sufficient (please use CVS build of mbuni for now). On Jul 01, 2009, at 14:08, Luca Cossaro wrote: Hi all, I'm trying to use mbuni to deliver mms (jpeg images) to registered mobiles. I've configured kannel to work properly (it sends sms, and mms notifications), but I cannot configure mbuni to send the actual MMS. Probably I've not get the point in configuring mbuni: - do I have to use mmsrelay? mmsproxy? mmsbox? - do I have to use smsbox? wapbox? when I send a MMS to my mobile phone I get a notification SMS, but when I try to download it I get that It's impossible to download the message it says that the multimedia message service center (MMSC?) hasn't accepted the message... I'm using a external gprs module (SIMCOM 5210) attached via serial line. I do not know if this helps: - I'm using a SIM by italian provider TIM Thank you all for your help and time. Luca. here are my conf files: --- kannel.conf --- group = core admin-port = 13000 admin-password = admin status-password= stat smsbox-port= 13003 wapbox-port= 13004 wdp-interface-name = * #dlr-storage= mysql log-file = /var/log/kannel/kannel.log access-log = /var/log/kannel/access.log log-level = 1s unified-prefix = +39,0039,0;+,00 #store-type= spool #store-location= /var/spool/ kannel #admin-deny-ip = admin-allow-ip = 127.0.0.1;192.168.31.113 #http-proxy-host = 127.0.0.1#http-proxy-port = 8080 #http-proxy-exceptions = 127.0.0.1#http-proxy-username = user #http-proxy-password = password #ssl-certkey-file = mycertandprivkeyfile.pem # Smsbox related group = smsbox bearerbox-port = 13003 sendsms-port = 13013 global-sender = 3923107007 log-file = /var/log/kannel/smsbox.log log-level = 0 bearerbox-host = 192.168.31.113 sendsms-chars = 1234567890 +- #white-list = http://127.0.0.1/white-list.txt; #black-list = http://127.0.0.1/black-list.txt; #store-type = spool #store-location = /var/spool/kannel #store-file = /etc/kannel/kannel.store # Wapbox related group = wapbox bearerbox-host = 192.168.31.113 map-url= http://mmsc/* http://192.168.31.113:31005/*; #map-url= http://mms.tim.it; #udp-deny-ip = *.*.*.* #udp-allow-ip = 127.0.0.1 include = /etc/kannel/modems.conf # SMSC CONNECTIONS - GLOBAL FIELDS #group = smsc #smsc = #smsc-id = ID #denied-smsc-id = X;Y #allowed-smsc-id = Z #preferred-smsc-id = W #allowed-prefix = 040;050 #denied-prefix = 060;070 #alt-charset = # SMSC Nokia CIMD2 #group = smsc#smsc = cimd2#host = #port = #smsc-username = #smsc-password = #keepalive = #sender-prefix = # SMSC EMI #group = smsc #smsc = emi2 #smsc = emi_ip to use the old implementation #host =#port =#smsc-username = #smsc-password = #device = / dev/#phone = #our-port =#receive-port =#connect-allow-ip =#keepalive = #flow-control = # SMSC SMPP #group = smsc #smsc = smpp #host = #port = #receive-port = #smsc-username
Re: [Users] Kannel + mbuni + gprs modem + pc = how can I send MMS to mobile?
Luca, Apologies for the delay in responding. You should at least see something in the Mbuni log when the phone tries to download the message. Do you see any such attempt? For what you want to do, mmsc is sufficient (please use CVS build of mbuni for now). On Jul 01, 2009, at 14:08, Luca Cossaro wrote: Hi all, I'm trying to use mbuni to deliver mms (jpeg images) to registered mobiles. I've configured kannel to work properly (it sends sms, and mms notifications), but I cannot configure mbuni to send the actual MMS. Probably I've not get the point in configuring mbuni: - do I have to use mmsrelay? mmsproxy? mmsbox? - do I have to use smsbox? wapbox? when I send a MMS to my mobile phone I get a notification SMS, but when I try to download it I get that It's impossible to download the message it says that the multimedia message service center (MMSC?) hasn't accepted the message... I'm using a external gprs module (SIMCOM 5210) attached via serial line. I do not know if this helps: - I'm using a SIM by italian provider TIM Thank you all for your help and time. Luca. here are my conf files: --- kannel.conf --- group = core admin-port = 13000 admin-password = admin status-password= stat smsbox-port= 13003 wapbox-port= 13004 wdp-interface-name = * #dlr-storage= mysql log-file = /var/log/kannel/kannel.log access-log = /var/log/kannel/access.log log-level = 1s unified-prefix = +39,0039,0;+,00 #store-type= spool #store-location= /var/spool/ kannel #admin-deny-ip = admin-allow-ip = 127.0.0.1;192.168.31.113 #http-proxy-host = 127.0.0.1#http-proxy-port = 8080 #http-proxy-exceptions = 127.0.0.1#http-proxy-username = user #http-proxy-password = password #ssl-certkey-file = mycertandprivkeyfile.pem # Smsbox related group = smsbox bearerbox-port = 13003 sendsms-port = 13013 global-sender = 3923107007 log-file = /var/log/kannel/smsbox.log log-level = 0 bearerbox-host = 192.168.31.113 sendsms-chars = 1234567890 +- #white-list = http://127.0.0.1/white-list.txt; #black-list = http://127.0.0.1/black-list.txt; #store-type = spool #store-location = /var/spool/kannel #store-file = /etc/kannel/kannel.store # Wapbox related group = wapbox bearerbox-host = 192.168.31.113 map-url= http://mmsc/* http://192.168.31.113:31005/*; #map-url= http://mms.tim.it; #udp-deny-ip = *.*.*.* #udp-allow-ip = 127.0.0.1 include = /etc/kannel/modems.conf # SMSC CONNECTIONS - GLOBAL FIELDS #group = smsc #smsc = #smsc-id = ID #denied-smsc-id = X;Y #allowed-smsc-id = Z #preferred-smsc-id = W #allowed-prefix = 040;050 #denied-prefix = 060;070 #alt-charset = # SMSC Nokia CIMD2 #group = smsc#smsc = cimd2#host = #port = #smsc-username = #smsc-password = #keepalive = #sender-prefix = # SMSC EMI #group = smsc #smsc = emi2 #smsc = emi_ip to use the old implementation #host =#port =#smsc-username = #smsc-password = #device = / dev/#phone = #our-port =#receive-port =#connect-allow-ip =#keepalive = #flow-control = # SMSC SMPP #group = smsc #smsc = smpp #host = #port = #receive-port = #smsc-username = #smsc-password = #system-type = #address-range = # SMSC SEMA #group = smsc #smsc = sema #device = /dev/tty0 #smsc_nua = (X121 smsc address) #home_nua = (x121 radio pad address) #wait_report = 0/1 (0 means false, 1 means true) # SMSC OIS #group = smsc #smsc = ois #host = 103.102.101.100 #port = 1 #receive-port = 1 #ois-debug-level = 0 # SMSC GSM group = smsc smsc = at modemtype = auto #modemtype = wavecom | premicell | siemens | siemens-tc35 | falcom | nokiaphone | ericsson device = /dev/ttyUSB0 speed = 115200 pin= 4747 #validityperiod = 167 # SMSC Fake #group = smsc #smsc = fake #host = #port = #connect-allow-ip = # SMSC HTTP #group = smsc #smsc = http #system-type = kannel #send-url = #port = #connect-allow-ip = #username = #password = # SEND-SMS USERS group = sendsms-user username = tester password = foobar concatenation = true max-messages = 5 #user-deny-ip = #user-allow-ip = # this sender is for Kannel relay testing (http_smsc) group = sendsms-user username = kannel password = rL4yuser-deny-ip = *.*.*.* user-allow-ip = 127.0.0.1 #name = service_kannel
[Users] Re: Using Mbuni as an inter MMSC gateway
Hi Chibuzo, It is certainly possible. I don't have a sample conf to share, however I do know of some installations doing this. You want to run the mmsc only, you want to pay attention to the mmsc group. You may also need to use a custom module for routing, if prefixes are not sufficient. Paul. On Jun 23, 2009, at 15:04, Chibuzo Ezeokafor wrote: Hi All, I am fascinated with the Mbuni project, and am interested in using it as an inter MMSC gateway to transfer Multimedia messages between different operators. From the documentation on the site, MM4 interface will be used for this purpose using SMTP. Can anyone give a sample config on how to do this using 3GPP standards. Anticipating your soonest reply. Chibuzo ___ Users mailing list Users@mbuni.org http://lists.mbuni.org/mailman/listinfo/users
[Users] Re: Mbuni errors
#1: Unless there is a bug in Mbuni that causes it not to close files, this error should not normally occur. You may want to try using the pgsql queue module and see if that makes life better. #2: There isn't one because the queue is not in-memory as it is in Kannel. On the other hand if you use the pgsql queue module then it becomes a simple matter to monitor the queueu. #3: You can safely ignore the warning (though I've fixed for it in CVS and will upload shortly). On Jun 21, 2009, at 01:46, dhcmega wrote: Hello My system is: Linux debian 2.6.18-6-amd64 #1 SMP Fri Jun 6 05:24:08 UTC 2008 x86_64 GNU/Linux I am using the kannel 1.4.2 and the mbuni 1.4.0, both from source. 1) I have been fighting the whole day with the ERROR: System error 24: Too many open files problem. I have added these lines at the end of the /etc/security/limits.conf file: mbuni hardnofile 8192 mbuni softnofile 8192 But I still have the same problem, I am not sure if the system is considering my modification. How do I fix it? The spool directory has thousands of files, I am getting MMS request at a rate of 10 mms/seg, as max. 2) The kannel app has an admin port? So I can get the queue size, sms/ seg, etc. I would like to know the queue size. Is there anything similar for the mbuni? 3) Why do I get this warning?? 2009-06-19 14:39:37 [30676] [27] WARNING: HTTP: GET or HEAD method request contains body: 2009-06-19 14:39:37 [30676] [4] INFO: MMSBox: Queued message from service [777], [transid [Mbuni-msg.3177.x2.76.34]: qf3177.2002.x676.23 2009-06-19 14:39:37 [30676] [4] INFO: MMSBox.mmssend: u=tester, Queued [Accepted: Mbuni-msg.3177.x2.76.34] Thank you very much!! dhcmega ___ Users mailing list Users@mbuni.org http://lists.mbuni.org/mailman/listinfo/users
Re: [Users] (no subject)
Hi, The documentation is available at http://mbuni.org/userguide.shtml On Jun 14, 2009, at 01:12, souleymane thiongane wrote: Hi. I would like to have some documentation in Mbuni configuration, i have many problems to understand. I hav once configured kannel, but whith mbuni i m really lost Thanks Téléchargez le nouveau Windows Live Messenger ! Téléchargez Messenger, c'est gratuit ! ___ 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
Re: [Users] VASP Delivery Report
When Mbuni receives a message, it is routed to the mms-service URL that matches the request. That URL should respond with content that can be routed back to the sender. The URL can also supply extension HTTP response headers in the (HTTP) response (see doc) that tell Mbuni which URL to call when the reply message is delivered. Once that message goes out to operator MMSC, it is up to the operator MMSC to decide when to send back the DLR. This could happen because the phone confirms message receipt (typical) or because the MMSC considers the message delivered even if the phone is configured not to confirm (as you mention below). The MMSC will then send back the SOAP DLR request to the VASP, and Mbuni will call the URL that was supplied in the extension HTTP response headers. If on the other hand you pushed the original message out directly via Mbuni's sendmms CGI interface, then you can supply (as I mentioned before) a dlr-url CGI parameter, which then gets called as above when a DLR is received. I hope this clarifies the situation. On Jun 11, 2009, at 13:36, Thilani ,තිලානි අබේසිංහ wrote: Thanks for your reply. I installed Mbuni as a mmsc. I put vas url as =http://localhost:24345 so when there is a message to vas mmsc delivers it to vasp? Say VAS submit message to mmsc(mm7_submit_req) it request a delivery report. then mmsc sends back(mm7_submit_req) mmsc delivers message to mobile then mmsc should send the delivery report to VAS using http://localhost:24345 ?? What happen if the receiver mobile has blocked sending delivery reports for message it gets.(Phone mms settings-receiving options ,send delivery report = NO) Still Mbuni mmsc send the delivery report to VAS ?? On Thu, Jun 11, 2009 at 12:28 PM, Paul Bagyenda bagye...@dsmagic.com wrote: If you use the sendmms interface directly, then just add the CGI parameter: dlr-url=url_you_want_called_when_dlr_received And Mbuni will call it for you when the DLR is received. On Jun 10, 2009, at 08:28, Thilani ,තිලානි අබේසිංහ wrote: hi, Can you send me a sample configuration of Mbuni which is configured for getting VAS delivery report. Thanks On Wed, Jun 3, 2009 at 9:53 AM, Paul Bagyenda bagye...@dsmagic.com wrote: Once the MMS is delivered to the subscriber, the MMSC should send back a DeliveryReport_REQ to Mbuni, which translates into a URL call (if you provided a URL with either a dlr-url CGI parameter in the sendmms request, or using Mbuni extension HTP headers). On Jun 01, 2009, at 14:40, Thilani ,තිලානි අබේසිංහ wrote: -- Hi, I have a VASP application, It sends mm7_submt_REQ to MMSC.The aim is to send MMS to given list of subscribers I'm getting a succesfull mm7_submt_RES. I want to know how VASP verify the MMS is delivered to subscriber.I set Delivery report true in mm7 soap message. Thanks regards ~Thilani ___ 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 -- ~Thilani Abeysinghe ~තිලානි අබේසිංහ ___ 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 -- ~Thilani Abeysinghe ~තිලානි අබේසිංහ ___ 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
Re: [Users] mbuni logic
Mbuni connects to the MMSC directly using the MM7 protocol, which does not typically require (or use) a modem. It connects through the Internet. There is a basic architecture diagram on the website, documentation section. Mbuni does not need Kannel to send out or receive MMS. On Jun 10, 2009, at 08:15, Alvaro Cornejo wrote: Hi All I'm trying to setup mbuni in order to just receive mms and store them in a PC for later process. I read that mbuni is not a plugin to kannel but uses some of its libraries. Will this means that mbuni can run without kannel running -for receive only mms transmission (MO MMS)- ?? Mbuni will need kannel only for sending mms (MT MMS). Is this correct? If the first is true, how can mbuni comunicate with the device(phone) that sends the mms? Shouldn't mbuni be connected to a modem(gsm phone) to where the originator phone should send the mms? Does it connect trough internet and the mmsc/proxy I have to setup with mbuni and squid for example ? Where can I found a mms delivery flow diagram that can ilustrate this? How should I configure mbuni/proxy to achieve that? Regards Alvaro Cornejo | -| Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier celular y Nextel en el Perú, México y en mas de 180 paises. Use aplicaciones 2 vias via SMS y GPRS online Visitenos en www.perusms.NET www.smsglobal.com.mx y www.pravcom.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
Re: [Users] VASP Delivery Report
If you use the sendmms interface directly, then just add the CGI parameter: dlr-url=url_you_want_called_when_dlr_received And Mbuni will call it for you when the DLR is received. On Jun 10, 2009, at 08:28, Thilani ,තිලානි අබේසිංහ wrote: hi, Can you send me a sample configuration of Mbuni which is configured for getting VAS delivery report. Thanks On Wed, Jun 3, 2009 at 9:53 AM, Paul Bagyenda bagye...@dsmagic.com wrote: Once the MMS is delivered to the subscriber, the MMSC should send back a DeliveryReport_REQ to Mbuni, which translates into a URL call (if you provided a URL with either a dlr-url CGI parameter in the sendmms request, or using Mbuni extension HTP headers). On Jun 01, 2009, at 14:40, Thilani ,තිලානි අබේසිංහ wrote: -- Hi, I have a VASP application, It sends mm7_submt_REQ to MMSC.The aim is to send MMS to given list of subscribers I'm getting a succesfull mm7_submt_RES. I want to know how VASP verify the MMS is delivered to subscriber.I set Delivery report true in mm7 soap message. Thanks regards ~Thilani ___ 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 -- ~Thilani Abeysinghe ~තිලානි අබේසිංහ ___ 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
Re: [Users] VASP Delivery Report
Once the MMS is delivered to the subscriber, the MMSC should send back a DeliveryReport_REQ to Mbuni, which translates into a URL call (if you provided a URL with either a dlr-url CGI parameter in the sendmms request, or using Mbuni extension HTP headers). On Jun 01, 2009, at 14:40, Thilani ,තිලානි අබේසිංහ wrote: -- Hi, I have a VASP application, It sends mm7_submt_REQ to MMSC.The aim is to send MMS to given list of subscribers I'm getting a succesfull mm7_submt_RES. I want to know how VASP verify the MMS is delivered to subscriber.I set Delivery report true in mm7 soap message. Thanks regards ~Thilani ___ 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
Re: [Users] multiple email attempts
Mbuni retries as long as postfix sends back an error. You can limit the number of retries using the max-send-attempts parameter. The queue entry does not get duplicated, it merely stays in place until the message is sent out. The reason for the retries is that we don't want to drop the message at the first error, in case the error is due to local configuration problems that can be fixed sharpish before delivery is retried. On May 30, 2009, at 15:33, Rennard Hutchinson wrote: Hello All, I am currently testing a my setup for MMSC - MMSC communication. I am seeing an issue where Mbuni attempts to send the MMS over email and if the message is rejected by the remote host for any reason (unknown recipient for example), Mbuni continually retries the attempt. Each new attempt is creating a new message on the MMSC message queue, and the next run of the queue produces more failures. Is there any special configuration I need to perform to keep this from happening? Or perhaps a parameter in my MTA that I should be on the lookout for (I am using Postfix)? Messages that are accepted by the remote email host are processed normally. Thanks in advance for any help. Ren. ___ 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
Re: [Users] kannel-mbuni service hierarchy
The second one will be used. The first one is only applicable to Kannel... On May 19, 2009, at 12:43, Allan Viz wrote: I'm kind of curious at this topic. Suppose we have: group = sms-service keyword = abcde # do something group = mms-service keyword = abcde # do something Which one of the services will catch an mms message with the keyword 'abcde'? My common sense fails me, after all mms messages will definitely go to mms-service. But what about wap push results? What if they replied? ___ 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
Re: [Users] Start/Stop script
This should work just fine. Also, why do you want to start more than one box? On May 08, 2009, at 18:44, dhcmega wrote: Hi I am trying to start and stop mbuni like this case $1 in start) echo -n Starting mmsbox start-stop-daemon --start \ --background \ --chuid mbuni \ --exec $BOXPATH/mmsbox $CONF echo . ;; stop) echo -n Stopping mmsbox start-stop-daemon --stop --retry 5 --quiet \ --exec $BOXPATH/mmsbox echo . ;; reload) # We don't have support for this yet. exit 1 ;; restart|force-reload) $0 stop #sleep 1 sleep 3 $0 start ;; *) echo Usage: $0 {start|stop|restart|force-reload} exit 1 esac I don´t know what run_mbuni_box do. I also have trouble initiation more than one box. I couldn´t find any mbuni starter. Any suggestions will be appreciated. Thanks dhcmega ___ 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
Re: [Users] vas delivery report
To get the delivery report, specify a dlr-url parameter when you call into the send-mms URL to send the message. On Apr 16, 2009, at 13:31, Thilani ,තිලානි අබේසිංහ wrote: hi I have VASP which request service from mbuni mmsc.mm7_submit.Req is working correctly. I have stated DeliveryReport true in mm7_submit.Req. Inorder to get mm7_delivery.RES ,I have to send mm7_delivery.REQ.How do I configure that url and port for getting delivery report In 7 mm7_delivery.REQ what should be the url parameter? In .conf file under group send-mms-user there is deliver-report- url .how do I configure that parameter.? Thanks On Thu, Apr 2, 2009 at 10:22 AM, Paul Bagyenda bagye...@dsmagic.com wrote: Yes it is, and the DLR URL provided should get invoked for you. On Apr 01, 2009, at 12:08, Thilani ,තිලානි අබේසිංහ wrote: hi, I installed mbuni as a mmsc.I have VAS application which sends messages to mmsc using mm7 interface of mbuni. If I specify DeliveryReporttrue/DeliveryReport and ReadReplytrue/ ReadReply in my mm7 soap message. Is it possible to VAS application get a delivery response message like. ?xml version=1.0 encoding=utf-8? SOAP-ENV:Envelope xmlns:SOAP-ENV=http://schemas.xmlsoap.org/soap/envelope/ SOAP-ENV:Headermm7:TransactionID SOAP-ENV:mustUnderstand=1 xmlns:mm7=http://www.3gpp.org/ftp/Specs/archive/23_series/23.140/schema/REL-6-MM7-1-0 3-63e1/mm7:TransactionID/SOAP-ENV:HeaderSOAP- ENV:BodyDeliverRsp xmlns=http://www.3gpp.org/ftp/Specs/archive/23_series/23.140/schema/REL-6-MM7-1-0 MM7Version6.3.0/MM7VersionStatusStatusCode1000/ StatusCodeStatusTextSuccess; Delivery request message null received by VAS/StatusText/Status/DeliverRsp/SOAP-ENV:Body/ SOAP-ENV:Envelope I have defined mms-vasp group in mmsc.conf group = mms-vasp vasp-id = adlive type = soap short-code = 111 vasp-username = mbuni vasp-password = test vasp-url = http://user:p...@localhost:12345/ what are the configurations that I have to make in conf files inorder to get delivery response Thanks ~Thilani Abeysinghe ~තිලානි අබේසිංහ ___ 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 -- ~Thilani Abeysinghe ~තිලානි අබේසිංහ ___ 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
Re: [Users] vas delivery report
Yes it is, and the DLR URL provided should get invoked for you. On Apr 01, 2009, at 12:08, Thilani ,තිලානි අබේසිංහ wrote: hi, I installed mbuni as a mmsc.I have VAS application which sends messages to mmsc using mm7 interface of mbuni. If I specify DeliveryReporttrue/DeliveryReport and ReadReplytrue/ ReadReply in my mm7 soap message. Is it possible to VAS application get a delivery response message like. ?xml version=1.0 encoding=utf-8? SOAP-ENV:Envelope xmlns:SOAP-ENV=http://schemas.xmlsoap.org/soap/envelope/ SOAP-ENV:Headermm7:TransactionID SOAP-ENV:mustUnderstand=1 xmlns:mm7=http://www.3gpp.org/ftp/Specs/archive/23_series/23.140/schema/REL-6-MM7-1-0 3-63e1/mm7:TransactionID/SOAP-ENV:HeaderSOAP- ENV:BodyDeliverRsp xmlns=http://www.3gpp.org/ftp/Specs/archive/23_series/23.140/schema/REL-6-MM7-1-0 MM7Version6.3.0/MM7VersionStatusStatusCode1000/ StatusCodeStatusTextSuccess; Delivery request message null received by VAS/StatusText/Status/DeliverRsp/SOAP-ENV:Body/ SOAP-ENV:Envelope I have defined mms-vasp group in mmsc.conf group = mms-vasp vasp-id = adlive type = soap short-code = 111 vasp-username = mbuni vasp-password = test vasp-url = http://user:p...@localhost:12345/ what are the configurations that I have to make in conf files inorder to get delivery response Thanks ~Thilani Abeysinghe ~තිලානි අබේසිංහ ___ 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
Re: [Users] mm4 support in mbuni
Yes on all counts On Mar 26, 2009, at 09:20, Thilani ,තිලානි අබේසිංහ wrote: Hi I want to know about mbuni mm4 interface support. Is it possible to 1:Do routin based on MMS hompage domain. 2:MM4 delivery reports and read reports 3:Log /reports for all originating and terminating MMS to each and ever mobile operators ~Thilani Abeysinghe ~තිලානි අබේසිංහ ___ 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
Re: [Users] mm7 interface support details
On #1, yes. You can set a user/pass to be used in the HTTP call for authentication. On #2, not at the moment. On Mar 26, 2009, at 11:41, Thilani ,තිලානි අබේසිංහ wrote: Hi, I'm developing mm7 client application.I want to know more details about mbuni mm7 interface. Details like 1:Is there a way to Authorization of vas application providers 2:Is there a throtlling for a mm7 originate message or can we configure maximum size of a message --thanks ~Thilani Abeysinghe ~තිලානි අබේසිංහ ___ 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
Re: [Users] Sending MMS from CGI interface
That should work, assuming you url encoded the CGI parameters, and that a default sender address is set in your conf. On Mar 24, 2009, at 14:38, Ricardo Santos wrote: Ok, I'll give you an example: http://gateway.ip.address:10021/?username=bulkpassword=bulkto=+351917608765/TYPE=PLMNsubject=test_subjecttext=testing Anything wrong? Thanks On Mar 24, 2009, at 3:50 AM, Paul Bagyenda wrote: Could you perhaps provide an example of how you are calling into the sendmms port? On Mar 23, 2009, at 21:58, Ricardo Santos wrote: Thanks for your help. I've read the documentation about 'sendmms', and I can connect to a configured port, but then nothing happens. I get messages like this one: 2009-03-23 18:53:01 [10162] [3] DEBUG: HTTP: Creating HTTPClient for `172.30.0.233'. 2009-03-23 18:53:01 [10162] [3] DEBUG: HTTP: Created HTTPClient area 0x9d377d8. What could be causing this behavior? I rechecked all mandatory parameters on my POST request and I think nothing's missing... On Mar 21, 2009, at 6:15 AM, Paul Bagyenda wrote: It is possible. Pls see the online documentation, pay close attention to the section that talks about the sendmms interface On Mar 20, 2009, at 19:51, Ricardo Santos wrote: Hi all, I'm new to Mbuni and I just want to ask a quick question. Is it possible to use Mbuni to send MMS messages through a CGI interface? I want to communicate with it from a web interface. Is this possible? Thanks in advance! -Ricardo ___ 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 ___ 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 ___ 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
Re: [Users] Sending MMS from CGI interface
Could you perhaps provide an example of how you are calling into the sendmms port? On Mar 23, 2009, at 21:58, Ricardo Santos wrote: Thanks for your help. I've read the documentation about 'sendmms', and I can connect to a configured port, but then nothing happens. I get messages like this one: 2009-03-23 18:53:01 [10162] [3] DEBUG: HTTP: Creating HTTPClient for `172.30.0.233'. 2009-03-23 18:53:01 [10162] [3] DEBUG: HTTP: Created HTTPClient area 0x9d377d8. What could be causing this behavior? I rechecked all mandatory parameters on my POST request and I think nothing's missing... On Mar 21, 2009, at 6:15 AM, Paul Bagyenda wrote: It is possible. Pls see the online documentation, pay close attention to the section that talks about the sendmms interface On Mar 20, 2009, at 19:51, Ricardo Santos wrote: Hi all, I'm new to Mbuni and I just want to ask a quick question. Is it possible to use Mbuni to send MMS messages through a CGI interface? I want to communicate with it from a web interface. Is this possible? Thanks in advance! -Ricardo ___ 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 ___ 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