|
I have installed mbuni mmsc and vasgw on linux server. Server IP
address is 192.168.2.134 . All processes working well (mmsproxy,
mmsrelay, mmsbox)
when I run: wget "http://192.168.2.134:10001/cgi-bin/mmssend?username=tester&password=foobar&from=97699112784&to=97699179525&text=dada&"
i received error:
--17:24:09-- http://192.168.2.134:10001/cgi-bin/mmssend?username=tester&password=foobar&from=97699112784&to=97699179525&text=dada&
=> `mmssend?username=tester&password=foobar&from=97699112784&to=97699179525&text=dada&' Connecting to 192.168.2.134:10001... connected. HTTP request sent, awaiting response... 400 Bad Request 17:24:09 ERROR 400: Bad Request. From debug message and mmsc log file I concluded that:
vasgw transferred my request to mmsc. Because sender and receiver
number was written into mmsc log file correctly.
But, mmsc responded to vasgw followings:
INFO: Retry later MMSBox Outgoing Queue MMS Send: From 100/TYPE=PLMN, to
97699179525/TYPE=PLMN, msgsize=89: err=Failed to contact
MMC[url="" PROTECTED]:1982/vasp/servlet/messagerouter] => HTTP
returned status = 401!
What could be the problem? I guess the problem is on mmsc-url.
Is it correct?
mmsc-url = ""
href="http://user:[EMAIL PROTECTED]:1982/vasp/servlet/messagerouter">http://user:[EMAIL PROTECTED]:1982/vasp/servlet/messagerouter
What is the default username and password for
mmsc-url?
Following is configuration for MMSC:
group = core
log-file = /mbuni/mmsc/mbuni.log access-log = /mbuni/mmsc/access.log log-level = 0 group = mbuni
name = "My MMSC" hostname = ds.co.ug host-alias = mmsc local-mmsc-domains = dsmagic.com local-prefixes = 99 storage-directory = /tmp/spool max-send-threads = 5 send-mail-prog = /usr/sbin/sendmail -f '%f' '%t' unified-prefix = "99" maximum-send-attempts = 50 default-message-expiry = 360000 queue-run-interval = 0.1 send-attempt-back-off = 300 sendsms-url = "" href="http://localhost:13013/cgi-bin/sendsms">http://localhost:13013/cgi-bin/sendsms sendsms-username = tester sendsms-password = tester mms-port = 1981 mm7-port = 1982 allow-ip = 192.168.2.134,192.168.0.72 email2mms-relay-hosts = "mbuni.org;dsmagic.com;ds.co.ug" billing-module-parameters = "/tmp/log/cdr.log" content-adaptation = true notify-unprovisioned = yes mms-notify-text = "You have received a multimedia message from %S, go to XXX to view it" mm-box-host = local.ds.co.ug 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-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" group = mms-vasp
vasp-id = newscorp type = soap short-code = 111 vasp-username = newscorp vasp-password = news123 vasp-url = "" href="http://localhost:23535/">http://localhost:23535/ mmsc-username = user mmsc-password = secret mms-to-email-handler = true mms-to-local-copy-handler = true group = mmsproxy
name = "A test mms proxy" host = ds.co.ug allowed-prefix = "+25635" denied-prefix = "037" This is the VASGW configuration:
group = core
log-file = /mbuni/vasgw/mbuni.log access-log = /mbuni/vasgw/access.log log-level = 0 group = mbuni name = "My MMSC" storage-directory = /tmp/spool max-send-threads = 5 unified-prefix = "99" maximum-send-attempts = 2 default-message-expiry = 60 queue-run-interval = 0.1 send-attempt-back-off = 300 allow-ip = 192.168.2.134,192.168.0.72 sendmms-port = 10001 group = send-mms-user
username = tester password = foobar faked-sender = 100 group = mmsc id = mmsc mmsc-url = "" href="http://user:[EMAIL PROTECTED]:1982/vasp/servlet/messagerouter">http://user:[EMAIL PROTECTED]:1982/vasp/servlet/messagerouter incoming-username = user incoming-password = pass incoming-port = 10002 type = soap BR,
Davka |
_______________________________________________ Users mailing list [email protected] http://mbuni.org/mailman/listinfo/users_mbuni.org
