Hi ,

              i am trying to connect the MMSC from the client side in the
post method .but we are getting some authentication failed error in the
proxy terminal. pls give me some solution .we are hitting the url in the
post method from client application .
[*naren...@localhost MMSC Binaries]$ mmsproxy mmsc.conf*
*
*2009-09-10 16:59:48 [30446] [0] INFO: Debug_lvl = -1, log_file = <none>,
log_lvl = 0
2009-09-10 16:59:48 [30446] [0] INFO:
----------------------------------------
2009-09-10 16:59:48 [30446] [0] INFO:  Mbuni MMSC Proxy version 1.4.0
starting
2009-09-10 16:59:48 [30446] [0] INFO: Added logfile `log/mbuni-mmsc.log'
with level `0'.
2009-09-10 16:59:48 [30446] [0] INFO: Started access logfile
`log/mmsc-access.log'.
2009-09-10 16:59:48 [30446] [0] INFO: HTTP: Opening server at port 13008.
2009-09-10 16:59:48 [30446] [0] DEBUG: Started thread 1
(gwlib/fdset.c:poller)
2009-09-10 16:59:48 [30446] [0] DEBUG: Started thread 2
(gwlib/http.c:server_thread)
2009-09-10 16:59:48 [30446] [0] INFO: HTTP: Opening server at port 1982.
2009-09-10 16:59:48 [30446] [0] DEBUG: Started thread 3
(mmsproxy.c:(gwthread_func_t *)mm7proxy)
2009-09-10 16:59:48 [30446] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller) maps
to pid 30446.
2009-09-10 16:59:48 [30446] [2] DEBUG: Thread 2 (gwlib/http.c:server_thread)
maps to pid 30446.
2009-09-10 16:59:48 [30446] [3] DEBUG: Thread 3 (mmsproxy.c:(gwthread_func_t
*)mm7proxy) maps to pid 30446.
2009-09-10 16:59:57 [30446] [2] DEBUG: HTTP: Creating HTTPClient for
`172.22.50.225'.
2009-09-10 16:59:57 [30446] [2] DEBUG: HTTP: Created HTTPClient area
0x8259aa8.
2009-09-10 16:59:58 [30446] [3] DEBUG:  MM7 Request, ip=172.22.50.225,
vasp=(null)
2009-09-10 16:59:58 [30446] [3] DEBUG: Dumping HTTP headers:
2009-09-10 16:59:58 [30446] [3] DEBUG:  Octet string at 0x825ccb0:
2009-09-10 16:59:58 [30446] [3] DEBUG:    len:  109
2009-09-10 16:59:58 [30446] [3] DEBUG:    size: 111
2009-09-10 16:59:58 [30446] [3] DEBUG:    immutable: 0
2009-09-10 16:59:58 [30446] [3] DEBUG:    data: 43 6f 6e 74 65 6e 74 2d 54
79 70 65 3a 20 6d 75   Content-Type: mu
2009-09-10 16:59:58 [30446] [3] DEBUG:    data: 6c 74 69 70 61 72 74 2f 66
6f 72 6d 2d 64 61 74   ltipart/form-dat
2009-09-10 16:59:58 [30446] [3] DEBUG:    data: 61 3b 20 62 6f 75 6e 64 61
72 79 3d 2d 2d 2d 2d   a; boundary=----
2009-09-10 16:59:58 [30446] [3] DEBUG:    data: 2d 2d 2d 2d 2d 2d 2d 2d 2d
2d 2d 2d 2d 2d 2d 2d   ----------------
2009-09-10 16:59:58 [30446] [3] DEBUG:    data: 2d 2d 2d 2d 2d 2d 2d 77 63
63 70 70 7a 6c 63 76   -------wccppzlcv
2009-09-10 16:59:58 [30446] [3] DEBUG:    data: 36 38 70 70 36 30 35 78 32
69 6d 73 34 79 6a 2d   68pp605x2ims4yj-
2009-09-10 16:59:58 [30446] [3] DEBUG:    data: 31 31 75 7a 38 31 37 6b 75
79 6e 63 67            11uz817kuyncg
2009-09-10 16:59:58 [30446] [3] DEBUG:  Octet string dump ends.
2009-09-10 16:59:58 [30446] [3] DEBUG:  Octet string at 0x825d910:
2009-09-10 16:59:58 [30446] [3] DEBUG:    len:  25
2009-09-10 16:59:58 [30446] [3] DEBUG:    size: 27
2009-09-10 16:59:58 [30446] [3] DEBUG:    immutable: 0
2009-09-10 16:59:58 [30446] [3] DEBUG:    data: 55 73 65 72 2d 41 67 65 6e
74 3a 20 4a 61 76 61   User-Agent: Java
2009-09-10 16:59:58 [30446] [3] DEBUG:    data: 2f 31 2e 36 2e 30 2d 72
63                        /1.6.0-rc
2009-09-10 16:59:58 [30446] [3] DEBUG:  Octet string dump ends.
2009-09-10 16:59:58 [30446] [3] DEBUG:  Octet string at 0x825aca8:
2009-09-10 16:59:58 [30446] [3] DEBUG:    len:  24
2009-09-10 16:59:58 [30446] [3] DEBUG:    size: 26
2009-09-10 16:59:58 [30446] [3] DEBUG:    immutable: 0
2009-09-10 16:59:58 [30446] [3] DEBUG:    data: 48 6f 73 74 3a 20 31 37 32
2e 32 32 2e 32 35 2e   Host: 172.22.25.
2009-09-10 16:59:58 [30446] [3] DEBUG:    data: 31 37 35 3a 31 39 38
32                           175:1982
2009-09-10 16:59:58 [30446] [3] DEBUG:  Octet string dump ends.
2009-09-10 16:59:58 [30446] [3] DEBUG:  Octet string at 0x825e4a0:
2009-09-10 16:59:58 [30446] [3] DEBUG:    len:  60
2009-09-10 16:59:58 [30446] [3] DEBUG:    size: 62
2009-09-10 16:59:58 [30446] [3] DEBUG:    immutable: 0
2009-09-10 16:59:58 [30446] [3] DEBUG:    data: 41 63 63 65 70 74 3a 20 74
65 78 74 2f 68 74 6d   Accept: text/htm
2009-09-10 16:59:58 [30446] [3] DEBUG:    data: 6c 2c 20 69 6d 61 67 65 2f
67 69 66 2c 20 69 6d   l, image/gif, im
2009-09-10 16:59:58 [30446] [3] DEBUG:    data: 61 67 65 2f 6a 70 65 67 2c
20 2a 3b 20 71 3d 2e   age/jpeg, *; q=.
2009-09-10 16:59:58 [30446] [3] DEBUG:    data: 32 2c 20 2a 2f 2a 3b 20 71
3d 2e 32               2, */*; q=.2
2009-09-10 16:59:58 [30446] [3] DEBUG:  Octet string dump ends.
2009-09-10 16:59:58 [30446] [3] DEBUG:  Octet string at 0x825e4b8:
2009-09-10 16:59:58 [30446] [3] DEBUG:    len:  22
2009-09-10 16:59:58 [30446] [3] DEBUG:    size: 24
2009-09-10 16:59:58 [30446] [3] DEBUG:    immutable: 0
2009-09-10 16:59:58 [30446] [3] DEBUG:    data: 43 6f 6e 6e 65 63 74 69 6f
6e 3a 20 6b 65 65 70   Connection: keep
2009-09-10 16:59:58 [30446] [3] DEBUG:    data: 2d 61 6c 69 76
65                                 -alive
2009-09-10 16:59:58 [30446] [3] DEBUG:  Octet string dump ends.
2009-09-10 16:59:58 [30446] [3] DEBUG:  Octet string at 0x825f518:
2009-09-10 16:59:58 [30446] [3] DEBUG:    len:  19
2009-09-10 16:59:58 [30446] [3] DEBUG:    size: 21
2009-09-10 16:59:58 [30446] [3] DEBUG:    immutable: 0
2009-09-10 16:59:58 [30446] [3] DEBUG:    data: 43 6f 6e 74 65 6e 74 2d 4c
65 6e 67 74 68 3a 20   Content-Length:
2009-09-10 16:59:58 [30446] [3] DEBUG:    data: 34 38
35                                          485
2009-09-10 16:59:58 [30446] [3] DEBUG:  Octet string dump ends.
2009-09-10 16:59:58 [30446] [3] DEBUG: End of dump.
2009-09-10 16:59:58 [30446] [3] DEBUG: Octet string at 0x825f550:
2009-09-10 16:59:58 [30446] [3] DEBUG:   len:  485
2009-09-10 16:59:58 [30446] [3] DEBUG:   size: 486
2009-09-10 16:59:58 [30446] [3] DEBUG:   immutable: 0
2009-09-10 16:59:58 [30446] [3] DEBUG:   data: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d
2d 2d 2d 2d 2d 2d   ----------------
2009-09-10 16:59:58 [30446] [3] DEBUG:   data: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d
2d 2d 2d 77 63 63   -------------wcc
2009-09-10 16:59:58 [30446] [3] DEBUG:   data: 70 70 7a 6c 63 76 36 38 70 70
36 30 35 78 32 69   ppzlcv68pp605x2i
2009-09-10 16:59:58 [30446] [3] DEBUG:   data: 6d 73 34 79 6a 2d 31 31 75 7a
38 31 37 6b 75 79   ms4yj-11uz817kuy
2009-09-10 16:59:58 [30446] [3] DEBUG:   data: 6e 63 67 0d 0a 43 6f 6e 74 65
6e 74 2d 44 69 73   ncg..Content-Dis
2009-09-10 16:59:58 [30446] [3] DEBUG:   data: 70 6f 73 69 74 69 6f 6e 3a 20
66 6f 72 6d 2d 64   position: form-d
2009-09-10 16:59:58 [30446] [3] DEBUG:   data: 61 74 61 3b 20 6e 61 6d 65 3d
22 50 68 6f 6e 65   ata; name="Phone
2009-09-10 16:59:58 [30446] [3] DEBUG:   data: 4e 75 6d 62 65 72 22 0d 0a 0d
0a 2b 39 39 39 39   Number"....+9999
2009-09-10 16:59:58 [30446] [3] DEBUG:   data: 39 39 39 39 39 39 0d 0a 2d 2d
2d 2d 2d 2d 2d 2d   999999..--------
2009-09-10 16:59:58 [30446] [3] DEBUG:   data: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d
2d 2d 2d 2d 2d 2d   ----------------
2009-09-10 16:59:58 [30446] [3] DEBUG:   data: 2d 2d 2d 2d 2d 77 63 63 70 70
7a 6c 63 76 36 38   -----wccppzlcv68
2009-09-10 16:59:58 [30446] [3] DEBUG:   data: 70 70 36 30 35 78 32 69 6d 73
34 79 6a 2d 31 31   pp605x2ims4yj-11
2009-09-10 16:59:58 [30446] [3] DEBUG:   data: 75 7a 38 31 37 6b 75 79 6e 63
67 0d 0a 43 6f 6e   uz817kuyncg..Con
2009-09-10 16:59:58 [30446] [3] DEBUG:   data: 74 65 6e 74 2d 44 69 73 70 6f
73 69 74 69 6f 6e   tent-Disposition
2009-09-10 16:59:58 [30446] [3] DEBUG:   data: 3a 20 66 6f 72 6d 2d 64 61 74
61 3b 20 6e 61 6d   : form-data; nam
2009-09-10 16:59:58 [30446] [3] DEBUG:   data: 65 3d 22 4d 4d 53 53 75 62 6a
65 63 74 22 0d 0a   e="MMSSubject"..
2009-09-10 16:59:58 [30446] [3] DEBUG:   data: 0d 0a 54 68 69 73 20 61 20 61
20 74 65 73 74 20   ..This a a test
2009-09-10 16:59:58 [30446] [3] DEBUG:   data: 6d 65 73 73 61 67 65 0d 0a 2d
2d 2d 2d 2d 2d 2d   message..-------
2009-09-10 16:59:58 [30446] [3] DEBUG:   data: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d
2d 2d 2d 2d 2d 2d   ----------------
2009-09-10 16:59:58 [30446] [3] DEBUG:   data: 2d 2d 2d 2d 2d 2d 77 63 63 70
70 7a 6c 63 76 36   ------wccppzlcv6
2009-09-10 16:59:58 [30446] [3] DEBUG:   data: 38 70 70 36 30 35 78 32 69 6d
73 34 79 6a 2d 31   8pp605x2ims4yj-1
2009-09-10 16:59:58 [30446] [3] DEBUG:   data: 31 75 7a 38 31 37 6b 75 79 6e
63 67 0d 0a 43 6f   1uz817kuyncg..Co
2009-09-10 16:59:58 [30446] [3] DEBUG:   data: 6e 74 65 6e 74 2d 44 69 73 70
6f 73 69 74 69 6f   ntent-Dispositio
2009-09-10 16:59:58 [30446] [3] DEBUG:   data: 6e 3a 20 66 6f 72 6d 2d 64 61
74 61 3b 20 6e 61   n: form-data; na
2009-09-10 16:59:58 [30446] [3] DEBUG:   data: 6d 65 3d 22 4d 4d 53 54 65 78
74 22 0d 0a 0d 0a   me="MMSText"....
2009-09-10 16:59:58 [30446] [3] DEBUG:   data: 74 65 73 74 20 6d 65 73 73 61
67 65 0d 0a 2d 2d   test message..--
2009-09-10 16:59:58 [30446] [3] DEBUG:   data: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d
2d 2d 2d 2d 2d 2d   ----------------
2009-09-10 16:59:58 [30446] [3] DEBUG:   data: 2d 2d 2d 2d 2d 2d 2d 2d 2d 2d
2d 77 63 63 70 70   -----------wccpp
2009-09-10 16:59:58 [30446] [3] DEBUG:   data: 7a 6c 63 76 36 38 70 70 36 30
35 78 32 69 6d 73   zlcv68pp605x2ims
2009-09-10 16:59:58 [30446] [3] DEBUG:   data: 34 79 6a 2d 31 31 75 7a 38 31
37 6b 75 79 6e 63   4yj-11uz817kuync
2009-09-10 16:59:58 [30446] [3] DEBUG:   data: 67 2d 2d 0d
0a                                    g--..
2009-09-10 16:59:58 [30446] [3] DEBUG: Octet string dump ends.
2009-09-10 16:59:58 [30446] [3] DEBUG: Octet string at 0x8259ad8:
2009-09-10 16:59:58 [30446] [3] DEBUG:   len:  13
2009-09-10 16:59:58 [30446] [3] DEBUG:   size: 14
2009-09-10 16:59:58 [30446] [3] DEBUG:   immutable: 0
2009-09-10 16:59:58 [30446] [3] DEBUG:   data: 31 37 32 2e 32 32 2e 35 30 2e
32 32 35            172.22.50.225
2009-09-10 16:59:58 [30446] [3] DEBUG: Octet string dump ends.
2009-09-10 16:59:58 [30446] [3] DEBUG: HTTP: Resetting HTTPClient for
`172.22.50.225'.
2009-09-10 16:59:58 [30446] [3] DEBUG:  entered free_clientinfo 1,
ip=136682200
2009-09-10 16:59:58 [30446] [3] DEBUG:  left free_clientinfo*
2009-09-10 16:59:58 [30446] [3] INFO: MMSC: Auth failed/VASP not found in
MM7 incoming connection!*
*2009-09-10 16:59:58 [30446] [1] DEBUG: HTTP: Destroying HTTPClient area
0x8259aa8.
2009-09-10 16:59:58 [30446] [1] DEBUG: HTTP: Destroying HTTPClient for
`172.22.50.225  *

 and my MMSC conf file was

group = core
log-file = "log/mbuni-mmsc.log"
access-log = "log/mmsc-access.log"
log-level = 0

group = mbuni
name = "My MMSC"
hostname =narendra
host-alias = =
http://localhost:13008/cgi-bin/sendsms?username=pyro&password=pyro/mms/mm1
local-prefixes ="+91, 9985 "
storage-directory = "log/mmsc-queue.log"
max-send-threads = 5
send-mail-prog = /usr/sbin/sendmail -f '%f' '%t'
unified-prefix = "+91,988,37"
maximum-send-attempts = 50
default-message-expiry = 360000
queue-run-interval = 5
send-attempt-back-off = 300
sendsms-url =
http://localhost:13008/cgi-bin/sendsms?username=pyro&password=pyro&from=8888&to=91971236987&text=Test%20Message&charset=UTF-16BE&mclass=2&codin
g=1&pid=0&dlr-mask=31
sendsms-username =pyro
sendsms-password = pyro
mms-port = 13008
mm7-port = 1982
allow-ip = 172.22.25.175
#email2mms-relay-hosts = "mbuni.org;dsmagic.com;ds.co.ug"
#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
#content-adaptation = true
#notify-unprovisioned = yes
#mms-notify-text = "You have received a multimedia message from %S, go to
XXX to view it"
#mms-notify-unprovisioned-text = "This is a test"
#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-to-email-default-subject = "This is a multimedia message"
#mms-message-too-large-txt = "You have received a multimedia message from %S
that is too large for your phone. Go to xxx to view it"
#strip-prefixes = "1;2"

group = mms-vasp
vasp-id = newscorp
type = soap
short-code = 111
vasp-username = pyro
vasp-password = pyro
vasp-url = http://user:[email protected]:1982/




group = send-mms-user
username =pyro
password = pyro
faked-sender = 100


group = mmsproxy
name ="narendra"
host =172.22.25.175

group = mmsc
id = local
mmsc-url = http://mbuni:t...@localhost:1982/soap
incoming-username = user
incoming-password = pass
incoming-port = 12345
#type = soap
type=SOAP
no-sender-address=true
mm7-soap-xmlns ="
http://www.3gpp.org/ftp/Specs/archive/23_series/23.140/schema/REL-5-MM7-1-0";
use-mm7-soap-namespace-prefix=yes
#incoming-port =1983
#incoming-user=mbuni
#incoming-password=test
allow-ip=localhost,172.22.25.175,172.22.25.181
max-throughput =15



                  pls provide the guide lines .



Thanks in Advance .

> -
>
> --
Best Regards,
narendra
_______________________________________________
Users mailing list
[email protected]
http://lists.mbuni.org/mailman/listinfo/users

Reply via email to