MM7 link need help with the URL Template

MM7 link need help with the URL Template SearchSearch
Author Message
Roland A. Younes
New member
Username: Goliat

Post Number: 2
Registered: 03-2006
Posted on Tuesday, March 14, 2006 - 04:45 pm:   

I am an MTC lebanon user
I tryed the following settings
host 212.98.130.114
port 8080
blank user blank pass
in url template text /http/sendmsg?user=username&password=passwordmms&to=@@PhoneNumber@@&text=@@Text@@
and in url template bin /http/sendmsg?user=username&password=password&to=@@PhoneNumber@@&udh=@@UDH@@&text=@@Text@@

its saying connection ok
but when i send an mms i get the following in smsdebug.log ill attach the file
application/octet-streamsmsdebug.log
smsdebug.log (29.6 k)



while mtc sent me this in order to try to help i dont know if we can use that to solve my problem
http://212.98.130.114:8080/mm7

Port Number: 8080



below is a sample of the SOAP example: Sending from username.
<SubmitReq xmlns="http://www.3gpp.org/ftp/Specs/archive/23_series/23.140/schema/REL-5-MM7-0"><MM7Version>5.3.0</MM7Version><SenderIdentification><VASPID>my id</VASPID></SenderIdentification><Recipients><To><Number>9613600526</Number></To></Recip
ients><MessageClass>Personal</MessageClass><ExpiryDate>2005-02-04T09:17:39+02:00
</ExpiryDate><DeliveryReport>false</DeliveryReport><ReadReply>false</ReadReply><
Priority>Low</Priority><Subject>from MM7Sender tool...</Subject><DistributionPro
tection>true</DistributionProtection><Content href="cid:generic_content_id" /></
SubmitReq>.

Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 5643
Registered: 10-2002
Posted on Wednesday, March 15, 2006 - 06:54 pm:   

Hi Roland,

Are you sure that this server supports sending SMS via the interface that you describe.

The MM7 interface is for sending MMS messages, not SMS messages.

You configure an MM7 connection for sending MMS messages under the "MMSC Routing" tab of the NowSMS configuration. (See page 137 of the documentation.) And then make that your default route for MMS messages.

If you're not sending any SMS messages, you can leave the "SMSC" list blank. NowSMS will keep warning you that you won't be able to send any messages. But that is ok. You won't be able to send any SMS messages, but you will be able to send MMS messages.

-bn
Roland A. Younes
New member
Username: Goliat

Post Number: 4
Registered: 03-2006
Posted on Thursday, March 16, 2006 - 10:32 am:   

thank you for clarifying things up.

I need now sms to make an interface where my clients can compose there mms messages and send them through my account on MTC.

Well After I read your posting I removed the smsc connection settings and set up the MMSC Routing.
but i cant see the web interface anymore now on http://127.0.0.1:8800

thnak you in advance.
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 5665
Registered: 10-2002
Posted on Thursday, March 16, 2006 - 07:20 pm:   

On the "Service" page of the configuration dialog, make sure that the "SMS Gateway Service" is active. That service powers the web interface.

(You will receive warning messages about how the SMS Gateway service will be inactive without any SMSC definitions. But just say OK or Yes as appropriate, and it will be fine.)
Roland A. Younes
New member
Username: Goliat

Post Number: 5
Registered: 03-2006
Posted on Thursday, March 23, 2006 - 09:09 am:   

Thank you Bryce everything is functionning as expected I just need to know what
*kind of videos or animation I can attach My ISP limitation is 100K

*If i need to customise the interface where can i find the code.

*I need to know if there is any operator that can give mms service to the GCC or even if there one thats international.
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 5725
Registered: 10-2002
Posted on Monday, March 27, 2006 - 10:11 pm:   


quote:

*kind of videos or animation I can attach My ISP limitation is 100K




It depends on the capabilities of the mobile phone. Animated GIFs are very widely supported. For video capable mobiles, the video/3GPP format is what is supported.


quote:

*If i need to customise the interface where can i find the code




The NowSMS web interface? It is all contained in the HTML subdirectory of the NowSMS installation.


quote:

*I need to know if there is any operator that can give mms service to the GCC or even if there one thats international.




This remains more of a challenge than it should be. I haven't seen anyone that has widespread global coverage. Generally you have to look on a country by country basis ... sometimes regional providers dealing with multiple countries in the same region.
Roland A. Younes
New member
Username: Goliat

Post Number: 6
Registered: 03-2006
Posted on Tuesday, April 11, 2006 - 04:56 pm:   

how can i make my wesite contact now sms web interface

>>> I specify the phone number, from , subject , text and the file path1-->10 in a query and make it submit ...

I thought about putting it in a frame bu i still cant conrole the units since i want the units to be shared for other services on my site
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 5791
Registered: 10-2002
Posted on Tuesday, April 18, 2006 - 09:25 pm:   


quote:

how can i make my wesite contact now sms web interface




From a programmatic perspective, you would most likely do this via an ASP, PHP or Perl script.

Basically, from within your script, you initiate an HTTP request to the NowSMS server.

An old PHP example can be found here:

http://support.nowsms.com/discus/messages/1/1113.html

A simple example for submitting an SMS via ASP can be found here:

http://support.nowsms.com/discus/messages/1/14081.html

And here's a real quick example of an ASP that sends an MMS.

<%

If Request.QueryString("msisdn") = "" Then
Response.ContentType = "text/plain"
Response.Write ("ERROR : 'msisdn' parameter missing!")
Else
Set nowsms = Server.CreateObject("Microsoft.XMLHTTP")
nowsms.Open "GET", "http://127.0.0.1:8800/?user=useracct&password=userpass&PhoneNumber=" & Server.URLencode(Request.QueryString("msisdn")) & "&MMSSubject=" & Server.URLencode("Test Message") & "&MMSText=" & Server.URLencode("This is the message text") & "&MMSFILE=" & Server.URLencode("http://www.nowsms.com/media/logo.gif"), False

nowsms.Send

Response.Write (nowsms.ResponseText)

End If

%>

The above ASP is basically just generating a URL request to NowSMS to tell it to send an MMS, referencing an existing image on a web server.

-bn