Hi Paul, When I m sending m-forward.req, mmsproxy is trying to connect to the mmsc at port 80 and failing. what might be the reason for it to fail. And why it is trying to connect to itself?
the following is the dump of the mmsproxy. Pls help if I have done some mistake. regds Jaya 2005-02-23 21:33:41 [4500] [0] DEBUG: Mms Version: 1.0, 2005-02-23 21:33:41 [4500] [0] DEBUG: Started thread 36 (mmsproxy.c:(gwthread_func_t *)sendmms_proxy) 2005-02-23 21:33:41 [4554] [36] DEBUG: Thread 36 (mmsproxy.c:(gwthread_func_t *)sendmms_proxy) maps to pid 4554. 2005-02-23 21:33:41 [4554] [36] DEBUG: --> Enterred sendmms interface, blen=136 <--- 2005-02-23 21:33:41 [4554] [36] WARNING: Faulty address [107.108.72.209] format in field To! 2005-02-23 21:33:41 [4554] [36] WARNING: Faulty address [107.108.72.207] format in field Cc! 2005-02-23 21:33:41 [4554] [36] WARNING: Faulty address [107.108.72.14] format in field Bcc! 2005-02-23 21:33:41 [4554] [36] DEBUG: Client sent us: 2005-02-23 21:33:41 [4554] [36] DEBUG: Dumping HTTP headers: 2005-02-23 21:33:41 [4554] [36] DEBUG: Octet string at 0x81acea0: 2005-02-23 21:33:41 [4554] [36] DEBUG: len: 33 2005-02-23 21:33:41 [4554] [36] DEBUG: size: 1024 2005-02-23 21:33:41 [4554] [36] DEBUG: immutable: 0 2005-02-23 21:33:41 [4554] [36] DEBUG: data: 58 2d 4d 6d 73 2d 4d 65 73 73 61 67 65 2d 54 79 X-Mms-Message-Ty 2005-02-23 21:33:41 [4554] [36] DEBUG: data: 70 65 3a 20 6d 2d 66 6f 72 77 61 72 64 2d 72 65 pe: m-forward-re 2005-02-23 21:33:41 [4554] [36] DEBUG: data: 71 q 2005-02-23 21:33:41 [4554] [36] DEBUG: Octet string dump ends. 2005-02-23 21:33:41 [4554] [36] DEBUG: Octet string at 0x81aced0: 2005-02-23 21:33:41 [4554] [36] DEBUG: len: 42 2005-02-23 21:33:41 [4554] [36] DEBUG: size: 1024 2005-02-23 21:33:41 [4554] [36] DEBUG: immutable: 0 2005-02-23 21:33:41 [4554] [36] DEBUG: data: 58 2d 4d 6d 73 2d 54 72 61 6e 73 61 63 74 69 6f X-Mms-Transactio 2005-02-23 21:33:41 [4554] [36] DEBUG: data: 6e 2d 49 64 3a 20 31 31 30 39 31 37 33 30 36 36 n-Id: 1109173066 2005-02-23 21:33:41 [4554] [36] DEBUG: data: 2e 38 34 36 39 33 30 38 38 36 .846930886 2005-02-23 21:33:41 [4554] [36] DEBUG: Octet string dump ends. 2005-02-23 21:33:41 [4554] [36] DEBUG: Octet string at 0x81acee8: 2005-02-23 21:33:41 [4554] [36] DEBUG: len: 22 2005-02-23 21:33:41 [4554] [36] DEBUG: size: 1024 2005-02-23 21:33:41 [4554] [36] DEBUG: immutable: 0 2005-02-23 21:33:41 [4554] [36] DEBUG: data: 58 2d 4d 6d 73 2d 4d 4d 53 2d 56 65 72 73 69 6f X-Mms-MMS-Versio 2005-02-23 21:33:41 [4554] [36] DEBUG: data: 6e 3a 20 31 2e 32 n: 1.2 2005-02-23 21:33:41 [4554] [36] DEBUG: Octet string dump ends. 2005-02-23 21:33:41 [4554] [36] DEBUG: Octet string at 0x81acf00: 2005-02-23 21:33:41 [4554] [36] DEBUG: len: 35 2005-02-23 21:33:41 [4554] [36] DEBUG: size: 1024 2005-02-23 21:33:41 [4554] [36] DEBUG: immutable: 0 2005-02-23 21:33:41 [4554] [36] DEBUG: data: 44 61 74 65 3a 20 57 65 64 2c 20 32 33 20 46 65 Date: Wed, 23 Fe 2005-02-23 21:33:41 [4554] [36] DEBUG: data: 62 20 32 30 30 35 20 31 35 3a 33 37 3a 34 36 20 b 2005 15:37:46 2005-02-23 21:33:41 [4554] [36] DEBUG: data: 47 4d 54 GMT 2005-02-23 21:33:41 [4554] [36] DEBUG: Octet string dump ends. 2005-02-23 21:33:41 [4554] [36] DEBUG: Octet string at 0x81ad038: 2005-02-23 21:33:41 [4554] [36] DEBUG: len: 25 2005-02-23 21:33:41 [4554] [36] DEBUG: size: 1024 2005-02-23 21:33:41 [4554] [36] DEBUG: immutable: 0 2005-02-23 21:33:41 [4554] [36] DEBUG: data: 46 72 6f 6d 3a 20 31 32 37 2e 30 2e 30 2e 31 2f From: 127.0.0.1/ 2005-02-23 21:33:41 [4554] [36] DEBUG: data: 54 59 50 45 3d 49 50 76 34 TYPE=IPv4 2005-02-23 21:33:41 [4554] [36] DEBUG: Octet string dump ends. 2005-02-23 21:33:41 [4554] [36] DEBUG: Octet string at 0x81ad050: 2005-02-23 21:33:41 [4554] [36] DEBUG: len: 18 2005-02-23 21:33:41 [4554] [36] DEBUG: size: 1024 2005-02-23 21:33:41 [4554] [36] DEBUG: immutable: 0 2005-02-23 21:33:41 [4554] [36] DEBUG: data: 54 6f 3a 20 31 30 37 2e 31 30 38 2e 37 32 2e 32 To: 107.108.72.2 2005-02-23 21:33:41 [4554] [36] DEBUG: data: 30 39 09 2005-02-23 21:33:41 [4554] [36] DEBUG: Octet string dump ends. 2005-02-23 21:33:41 [4554] [36] DEBUG: Octet string at 0x81ad068: 2005-02-23 21:33:41 [4554] [36] DEBUG: len: 18 2005-02-23 21:33:41 [4554] [36] DEBUG: size: 1024 2005-02-23 21:33:41 [4554] [36] DEBUG: immutable: 0 2005-02-23 21:33:41 [4554] [36] DEBUG: data: 43 63 3a 20 31 30 37 2e 31 30 38 2e 37 32 2e 32 Cc: 107.108.72.2 2005-02-23 21:33:41 [4554] [36] DEBUG: data: 30 37 07 2005-02-23 21:33:41 [4554] [36] DEBUG: Octet string dump ends. 2005-02-23 21:33:41 [4554] [36] DEBUG: Octet string at 0x81ad080: 2005-02-23 21:33:41 [4554] [36] DEBUG: len: 18 2005-02-23 21:33:41 [4554] [36] DEBUG: size: 1024 2005-02-23 21:33:41 [4554] [36] DEBUG: immutable: 0 2005-02-23 21:33:41 [4554] [36] DEBUG: data: 42 63 63 3a 20 31 30 37 2e 31 30 38 2e 37 32 2e Bcc: 107.108.72. 2005-02-23 21:33:41 [4554] [36] DEBUG: data: 31 34 14 2005-02-23 21:33:41 [4554] [36] DEBUG: Octet string dump ends. 2005-02-23 21:33:41 [4554] [36] DEBUG: Octet string at 0x81aceb8: 2005-02-23 21:33:41 [4554] [36] DEBUG: len: 25 2005-02-23 21:33:41 [4554] [36] DEBUG: size: 1024 2005-02-23 21:33:41 [4554] [36] DEBUG: immutable: 0 2005-02-23 21:33:41 [4554] [36] DEBUG: data: 58 2d 4d 6d 73 2d 52 65 70 6f 72 74 2d 41 6c 6c X-Mms-Report-All 2005-02-23 21:33:41 [4554] [36] DEBUG: data: 6f 77 65 64 3a 20 79 65 73 owed: yes 2005-02-23 21:33:41 [4554] [36] DEBUG: Octet string dump ends. 2005-02-23 21:33:41 [4554] [36] DEBUG: Octet string at 0x81ad020: 2005-02-23 21:33:41 [4554] [36] DEBUG: len: 26 2005-02-23 21:33:41 [4554] [36] DEBUG: size: 1024 2005-02-23 21:33:41 [4554] [36] DEBUG: immutable: 0 2005-02-23 21:33:41 [4554] [36] DEBUG: data: 58 2d 4d 6d 73 2d 44 65 6c 69 76 65 72 79 2d 52 X-Mms-Delivery-R 2005-02-23 21:33:41 [4554] [36] DEBUG: data: 65 70 6f 72 74 3a 20 79 65 73 eport: yes 2005-02-23 21:33:41 [4554] [36] DEBUG: Octet string dump ends. 2005-02-23 21:33:41 [4554] [36] DEBUG: Octet string at 0x81acfd0: 2005-02-23 21:33:41 [4554] [36] DEBUG: len: 22 2005-02-23 21:33:41 [4554] [36] DEBUG: size: 1024 2005-02-23 21:33:41 [4554] [36] DEBUG: immutable: 0 2005-02-23 21:33:41 [4554] [36] DEBUG: data: 58 2d 4d 6d 73 2d 52 65 61 64 2d 52 65 70 6f 72 X-Mms-Read-Repor 2005-02-23 21:33:41 [4554] [36] DEBUG: data: 74 3a 20 79 65 73 t: yes 2005-02-23 21:33:41 [4554] [36] DEBUG: Octet string dump ends. 2005-02-23 21:33:41 [4554] [36] DEBUG: Octet string at 0x8198ab8: 2005-02-23 21:33:41 [4554] [36] DEBUG: len: 64 2005-02-23 21:33:41 [4554] [36] DEBUG: size: 1024 2005-02-23 21:33:41 [4554] [36] DEBUG: immutable: 0 2005-02-23 21:33:41 [4554] [36] DEBUG: data: 58 2d 4d 6d 73 2d 43 6f 6e 74 65 6e 74 2d 4c 6f X-Mms-Content-Lo 2005-02-23 21:33:41 [4554] [36] DEBUG: data: 63 61 74 69 6f 6e 3a 20 68 74 74 70 3a 2f 2f 6d cation: http://m 2005-02-23 21:33:41 [4554] [36] DEBUG: data: 6d 73 63 2f 71 66 31 31 30 39 31 37 34 36 30 31 msc/qf1109174601 2005-02-23 21:33:41 [4554] [36] DEBUG: data: 2e 32 30 2e 78 34 35 31 32 32 33 2f 77 78 36 31 .20.x451223/wx61 2005-02-23 21:33:41 [4554] [36] DEBUG: Octet string dump ends. 2005-02-23 21:33:41 [4554] [36] DEBUG: End of dump. 2005-02-23 21:33:41 [4554] [36] DEBUG: Dumping MMS message body (not multipart) [0 parts] --> 2005-02-23 21:33:41 [4549] [31] DEBUG: Parsing URL `http://mmsc/qf1109174601.20.x451223/wx61': 2005-02-23 21:33:41 [4549] [31] DEBUG: Scheme: http:// 2005-02-23 21:33:41 [4549] [31] DEBUG: Host: mmsc 2005-02-23 21:33:41 [4549] [31] DEBUG: Port: 80 2005-02-23 21:33:41 [4549] [31] DEBUG: Username: (null) 2005-02-23 21:33:41 [4549] [31] DEBUG: Password: (null) 2005-02-23 21:33:41 [4549] [31] DEBUG: Path: /qf1109174601.20.x451223/wx61 2005-02-23 21:33:41 [4549] [31] DEBUG: Query: (null) 2005-02-23 21:33:41 [4549] [31] DEBUG: Fragment: (null) 2005-02-23 21:33:41 [4549] [31] ERROR: Error while gw_gethostbyname occurs. 2005-02-23 21:33:41 [4549] [31] ERROR: System error 1: Operation not permitted 2005-02-23 21:33:41 [4549] [31] ERROR: gethostbyname failed 2005-02-23 21:33:41 [4549] [31] ERROR: System error 4: Interrupted system call 2005-02-23 21:33:41 [4549] [31] ERROR: error connecting to server `mmsc' at port `80' 2005-02-23 21:33:41 [4549] [31] DEBUG: HTTP: Opening connection to `mmsc:80' (fd=0). 2005-02-23 21:33:41 [4549] [31] ERROR: Couldn't send request to <http://mmsc/qf1109174601.20.x451223/wx61> 2005-02-23 21:33:41 [4554] [36] DEBUG: HTTP: Resetting HTTPClient for `127.0.0.1'. 2005-02-23 21:33:41 [4554] [36] DEBUG: Thread 36 (mmsproxy.c:(gwthread_func_t *)sendmms_proxy) terminates. ----- Original Message ----- From: "Paul Bagyenda" <[EMAIL PROTECTED]> To: "Mbuni MMS Gateway Users List" <[email protected]> Sent: Wednesday, February 23, 2005 6:56 PM Subject: Re: [Users] Problems Running Mbuni > Hello Oscar, > > Setting MMSC URL in the phone depends very much on phone model. > Typically you need to look at "message settings", and inside there > should find MMSC URL setting. What phone model are we looking at here? > On Feb 23, 2005, at 16:17, Oscar Flores wrote: > > > Hello > > > > Sorry my ignorance, but I couldn't find any MMSC URL in my phone. I > > think > > I'm looking in the wrong place. I've checked my settings and I found > > two > > things the Gateway IP Addr which is the Kannel/Mbuni IP Addr and also > > the > > HomePage which is "http://wap.viva-gsm.com" my companie's wap site. But > > nothing about MMSC URL? > > > > And in the map-url I put > > > > map-url = "http://wap.viva-gsm.com/* http://localhost:1981/*" is that > > correct? > > > > Because the result is the same no messages get the MBuni programs > > > > Many Thanks > > > > Oscar Flores > > > > -----Mensaje original----- > > De: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] nombre > > de > > Dziugas Baltrunas > > Enviado el: martes, 22 de febrero de 2005 16:36 > > Para: Mbuni MMS Gateway Users List > > Asunto: Re: [Users] Problems Running Mbuni > > > > > > Hi, > > > > what MMSC URL do you use in your phone? If it's something like > > http://mmsc, you need to define URL mapping in your kannel.conf as > > said in Mbuni user's guide: > > > > map-url = "http://mmsc/* http://localhost:1981/*" > > > > If your WAP gateway and Mbuni MMSC are independent, then you should > > define external host instead of localhost in mmsbox group. > > > > On Tue, 22 Feb 2005 14:33:54 -0400, Oscar Flores > > <[EMAIL PROTECTED]> wrote: > >> Hello Users > >> > >> I've installed the Mbuni and all the required components. And I'm > >> trying > > to > >> use it but I haven't been able to make it works. > >> > >> Kannel is running ok (both the smsbox and wapbox), I can send > >> messages, > > OTA > >> Settings, also the WAP Gateway is working fine. > >> > >> Mbuni starts with no errors, but when I try to send a MM from my > >> mobile, I > >> can see that the WAP gateway is receiving the request but nothing > >> happens > > in > >> Mbuni gateway none of the programs do something. > >> > >> I tried the mmssend program to test mbuni and works it sends a MM to > >> my > >> email, but not to my mobile. > >> > >> Attached I put the log files that I got from Mbuni and Kannel, and > >> below > > is > >> my mmsc.conf file > >> > >> group = core > >> log-file = ./log/ours.log > >> log-level = 0 > >> > >> group = mmsbox > >> name = "MMSC" > >> hostname = localhost > >> host-alias = mmsc > >> local-mmsc-domains = xxxx.com,xxxx.com > >> local-prefixes = 70;+59170;59170 > >> send-queue-directory = ./spool/global > >> mm1-queue-directory = ./spool/mm1 > >> mm4-queue-directory = ./spool/mm4 > >> max-send-threads = 5 > >> send-mail-prog = /usr/sbin/sendmail -f '%f' '%t' > >> unified-prefix = "+59170,59170,70" > >> maximum-send-attempts = 50 > >> default-message-expiry = 36000 > >> queue-run-interval = 0.1 > >> send-attempt-back-off = 300 > >> sendsms-url = http://localhost:13004/cgi-bin/sendsms > >> sendsms-username = viva > >> sendsms-password = viva > >> sendsms-global-sender = 198 > >> mms-port = 1981 > >> #allow-ip = 192.168.101.4 > >> email2mms-relay-prefixes = "5917;7" > >> ua-profile-cache-directory = misc/profiles > >> billing-module-parameters = "log/cdr.log" > >> # billing-library = billdemo.so > >> #prov-server-notify-script = ~/src/mmprov/provnotify.sh > >> #prov-server-sub-status-script = ~/src/mmprov/rcptstatus.sh > >> notify-unprovisioned = yes > >> mms-notify-text = "You have received a multimedia message from %S, go > >> to > > XXX > >> to view it" > >> mm-box-host = gatekeeper.nuevatel.com > >> mms-notify-unprovisioned-text = "Este no movil no soporta MMS" > >> mms-to-email-txt = "This is a multimedia message (HTML suppressed)" > >> mms-to-email-html = "This is a multimedia message powered by > >> <emph>Digital > >> Solutions</emph>" > >> mms-message-too-large-txt = "You have received a multimedia message > >> from > > %S > >> that is too large for your phone. Go to x > >> xx to view it" > >> > >> group = mmsproxy > >> name = "MMS proxy" > >> host = xxxx.com > >> allowed-prefix = "70;59170" > >> #denied-prefix = "034" > >> > >> Hope someone could help me > >> > >> Many thanks > >> > >> Oscar Flores > >> > >> > >> _______________________________________________ > >> Users mailing list > >> [email protected] > >> http://mbuni.org/mailman/listinfo/users_mbuni.org > >> > >> > >> > >> > > > > > > -- > > Dziugas > > > > _______________________________________________ > > Users mailing list > > [email protected] > > http://mbuni.org/mailman/listinfo/users_mbuni.org > > > > > > _______________________________________________ > > Users mailing list > > [email protected] > > http://mbuni.org/mailman/listinfo/users_mbuni.org > > > > > _______________________________________________ > Users mailing list > [email protected] > http://mbuni.org/mailman/listinfo/users_mbuni.org > > _______________________________________________ Users mailing list [email protected] http://mbuni.org/mailman/listinfo/users_mbuni.org
