Dear All,
I need help from you guys ...... I have configured kannel
1.4.3 successfully in Red Hat which is running in VMVare on Windows7. I
can send the SMS by typing by typing URL in by browsers both in Window and
Red Hat.
URL=
http://192.168.214.128:13013/cgi-bin/sendsms?username=tester&password=foobar&to=03478847037&text=d
Problem I am getting is that I want to send SMS to many users for I wrote a
Java Program.
*****************************************************************************************************************************************
try {
URL url = new URL( "
http://192.168.214.128:13013/cgi-bin/sendsms?username=tester&password=foobar&to=03478847037&text=d
");
System.out.println("INFO : Opening connection ");
System.out.println(param.toString());
//Proxy proxy = new Proxy(Proxy.Type.HTTP, new
InetSocketAddress("10.1.11.11", 8080));
HttpURLConnection urlconnection = (HttpURLConnection)
url.openConnection();
System.out.println("INFO : Connection openned");
BufferedReader input = new BufferedReader( new
InputStreamReader(urlconnection.getInputStream()));
String inputLine;
while ((inputLine = input.readLine()) != null)
aResult.append(inputLine);
//input.close();
}catch(Exception e){
e.printStackTrace();
}
System.out.println("response : "+aResult.toString());
System.out.println("INFO : all sent disconnect.");
}
*****************************************************************************************************************************************
When I run this Java Program I get reply from kannel : "0: Accepted for
delivery"
But when I come to SMS box console it says like this
2012-06-06 11:13:48 [6226] [1] ERROR: Error reading from fd 22:
2012-06-06 11:13:48 [6226] [1] ERROR: System error 104: Connection reset by
peer
2012-06-06 11:25:15 [6226] [3] INFO: smsbox: Got HTTP request
</favicon.ico> from <192.168.214.1>
So SMS is not being sent to the mobile . Please guide me what is the
problem here????
I am using kannel in my Final Year Project and I have a dead line
ahead.Thank in advance
On Sat, Apr 28, 2012 at 12:19 AM, Mahtab Rasheed <[email protected]
> wrote:
> Thank you very much I can see my mobile phone modem in /dev/ttyACM0. Now
> where I can find the Configuration setting for the Motorola razer v3i.
> Please also guide me in this regard.
>
>
> On Fri, Apr 27, 2012 at 6:38 PM, Alvaro Cornejo
> <[email protected]>wrote:
>
>> Hi
>>
>> If the usb hardware used by your razr is supported by your kernel,
>> there is no need to install a driver. Else you will have to look for
>> the USB hardware you razr uses.
>>
>> If it has a serial conector, then no need of any diver.
>>
>> The best thing is just to plug it to a port of your pc and see if in
>> /dev/ there appear new entries like ACMxxx or USByyy. Else you can try
>> vwdial to auto detect modems.
>>
>> Hope helps
>>
>> Alvaro
>>
>> On 4/27/12, Mahtab Rasheed <[email protected]> wrote:
>> > Hi,
>> >
>> > Dear I am beginner with Kannel and Linux. I have compiled and
>> > installed the kannel on Ubuntu 10.10. I want my Motorola Razer V3i to
>> > configure it with Kannel. I am just beginner so can any one guide me
>> which
>> > steps are required to configure it with kannel? Does I will need
>> Motorola
>> > Razer V3i drivers for Linux also?
>> > Please help me as My Final Year Project is in critical situation.
>> > --
>> > Regards,
>> > *Mahtab Rasheed*
>> > Bachelors in Science and Information Technology
>> > | 8th Semester
>> > Research Assistant CEFAR LAB
>> > BIT-10C | NUST-SEECS | Islamabad
>> > | Pakistan
>> >
>> > Cell#+923457055195
>> > #+923478847037
>> > Skype: mahtab.rasheed
>> > http://seecs.nust.edu.pk
>> >
>>
>>
>> --
>>
>> |-----------------------------------------------------------------------------------------------------------------|
>> Envíe y Reciba Datos y mensajes de Texto (SMS) hacia y desde cualquier
>> celular y Nextel
>> en el Perú, México y en mas de 180 paises. Use aplicaciones 2 vias via
>> SMS y GPRS online
>> Visitenos en www.perusms.NET www.smsglobal.com.mx y
>> www.pravcom.com
>>
>
>
>
> --
> Regards,
> *Mahtab Rasheed*
> Bachelors in Science and Information Technology
> | 8th Semester
> Research Assistant CEFAR LAB
> BIT-10C | NUST-SEECS | Islamabad
> | Pakistan
>
> Cell#+923457055195
> #+923478847037
> Skype: mahtab.rasheed
> http://seecs.nust.edu.pk
>
>
--
Regards,
*Mahtab Rasheed*
Bachelors in Science and Information Technology
| 8th Semester
BIT-10C | NUST-SEECS | Islamabad
| Pakistan
Cell#+923457055195
#+923478847037
Skype: mahtab.rasheed
http://seecs.nust.edu.pk