MM7 Interface to External Application | Search |
NowSMS Support Forums ⬆ NowSMS Support - MMS & Advanced Issues ⬆ Archive through July 28, 2006 ⬆ |
◄ ► |
Author | Message | ||||
Ankur New member Username: Phoneynk Post Number: 10 Registered: 10-2005 |
I want MMS received by NOWSms MMSC, which were sent to a particular number (for example a shortcode)to be sent to external applications. This external application support MM7 protocal. How I can configure my NOWSMS MMSC to forward these MMS to external applications vaish_ankur@yahoo.com | ||||
Bryce Norwood - NowSMS Support Board Administrator Username: Bryce Post Number: 6184 Registered: 10-2002 |
Configure an "MMSC Routing" for your external MM7 application. In the "Route Messages to this account for recipient phone number(s)", include a comma delimited list of any phone numbers or short codes that you want to route to this connection. (Can also include wildcards: ? to match exactly one character, or * to match 0 or more characters.) | ||||
Ankur New member Username: Phoneynk Post Number: 11 Registered: 10-2005 |
Thanks for ur your response sir, But it is still not working for me. I used nokia MMS_Java_Library's OriginatingApp to send an mms to my NowSMS MMSC and it got Response code: 200 OK ---->First thing is: it lets me submit MMS to the NowSMS MMSC with out any user authentication while I have selected 'Require AUTH'check box in MMSC tab. ---->Second thing is: I configured an "MMSC Routing" for my MM7 application and entered +* in recepient phone number selected 'MM7' in Route message to VASP via and entered 'http://127.0.0.1:7000/' in server address But my application listining on 7000 port of my local machine do not get any request Please help } | ||||
Bryce Norwood - NowSMS Support Board Administrator Username: Bryce Post Number: 6195 Registered: 10-2002 |
In order to help you, you need to give me more complete details about your configuration. What protocol are you using to submit the MMS message to NowSMS? Are you sure that NowSMS actually accepted the MMS message that you submitted? (I have my doubts because you indicated that you submitted it without any user authentication ... and the "Require AUTH" checkbox that you refer to is specific to SMTP connections.) I'd suggest taking this one step at a time. You asked initially about routing messages to an external application using MM7. For now, forget about submitting the message with your application. Try submitting an MMS message using the NowSMS web interface. Does that get routed to your external application? (Note that if you put "+*" in the recipient phone number field of the "MMSC Routing", then it will only get routed this way if you preface the recipient phone number with a "+". Use "*" alone to route ALL messages to your external application.) If a message submitted via the web interface does not get routed to your external application, then I would like to see an SMSDEBUG.LOG and MMSCDEBUG.LOG from your system, showing the message being submitted. To enable these debug logs, use the checkboxes on the "Serial #" page of the configuration dialog. To send those logs to me, reply to this message and include those log files as attachments to your reply. Assuming that the MMS message submitted via the NowSMS web interface gets routed to your external application ... but MMS messages submitted via your application do not ... then we need to look at what is wrong with your submissions. Unless you are using the NowSMS proprietary URL technique (see http://www.nowsms.com/documentation/ProductDocumentation/mms_notifications_and_c ontent/Submitting_MMS_Messages.htm), then you would need to provide authentication credentials unless you are authenticating based upon IP address only. As you are using a Nokia library, I expect that you are using MM7 or EAIF, which would require authentication or the authentication based upon IP address only. To submit a message to the MMSC via MM7 or EAIF, you need to have an "MMSC VASP" account defined to the server. And then you need to include the necessary credentials in your MM7 or EAIF submission ... either an "Authorization:" header, or including the credentials in the HTTP POST URL (e.g., POST /eaif/account=password or POST /mm7/account=password). If sending an MMS message from the web interface works, but you still cannot figure out what is happening when you try submitting from your own application, then please enable the MMSCDEBUG.LOG (via the "Serial #" page of the configuration dialog) ... try submitting your message again ... and then post the MMSCDEBUG.LOG as an attachment in reply to this message. -bn | ||||
Ankur New member Username: Phoneynk Post Number: 12 Registered: 10-2005 |
As you rightly suggested, I tried submitting an MMS message using the NowSMS web interface. And it is being routed to my external application. Many thanks to you. I am working on submitting mms from my application. Thanks once again for your response. | ||||
Ankur New member Username: Phoneynk Post Number: 13 Registered: 10-2005 |
HI I am trying to submit mms to NowSMS mmsc using both 1> nokia and 2> ericsson api Allow me to explain the case with ericson api I am using "http://<myMachineLocalIp>:8189/" as my mmsc address. I have configured an vasp account in the nowSMS interface. And am using the same user name and password. But my mms is not getting submitted to the nowSMS mmsc. I am attaching the mmscdebug log. Please help.
| ||||
Ankur New member Username: Phoneynk Post Number: 14 Registered: 10-2005 |
Just changed the url to http://<myMachineLocalIp>:8189/<userName>=<password> Now it is working to an extent. Am working on the details. I am sorry for the previous post. | ||||
Ankur New member Username: Phoneynk Post Number: 15 Registered: 10-2005 |
Hi Sorry for troublling you again. But though my external application receives the MMS routed to it by NowSMS but it is showing Rejected content and is keep on sending the mms to my external application I think my External application is not responding properly What may be the problem Please help I am attaching my log file
| ||||
Ankur New member Username: Phoneynk Post Number: 16 Registered: 10-2005 |
Please respond sir, I am stuck. | ||||
Bryce Norwood - NowSMS Support Board Administrator Username: Bryce Post Number: 6265 Registered: 10-2002 |
You are succesfully posting your message into NowSMS using the MM7 format. (Although it looks like you are using an Ericsson API, it looks like this API is using the actual MM7 format, instead of Ericsson's older proprietary variation.) Your application submits a "SubmitReq" ... and NowSMS acknowledges it with a "SubmitRsp" response. NowSMS is configured to route that message back to an "MMSC Routing" that you have defined. It looks like this routing is also using the Ericsson MM7 format. When NowSMS posts to your application via this routing, your application responds back with a simple HTTP 200 OK ... and no content. Proper protocol behaviour is to acknowledge the message submission with a response ... similar to how NowSMS acknowledged your original message submission. I would suggest that you configure your "MMSC Routing" in NowSMS to use the normal MM7 format instead of the Ericsson proprietary format. Then, take a look at how NowSMS responds back to your original message submission. When NowSMS submits a message to you ... you should be responding back in the same fashion. It is also possible that your application is expecting a "DeliverReq" instead of a "SubmitReq". When you define an outbound MM7 connection in NowSMS, it is possible to specify whether it uses submit format or deliver format. If your application is expecting to receive a message from an MMSC, it would likely be expecting deliver format. -bn |