Re: No service specified
I think the loop is because... message is sent from kannel to the number which is connected as virtual smsc. If this is the case, try sending message to the virtual smsc center from some different mobile then it will be not in loop. --amarOn 30/03/06, amit_1me <[EMAIL PROTECTED]> wrote: from what i see in ur log for smsbox the message received in case b wasbecause in the loop the important point is that message is received from thenumber to 1234 ie a sms was send and may be there is sms_service option having the keyword "hello"also may be in the default sms-serivce part of your smskannel.conf file youhave have text "no service specifed",so on receiving the message you get the messagethe solution to it could be that have option which has the keyword "hello"and put some message in the following text part ,if you again send the "hello ..." message you should get the text you have put in the text part.if this works then the problem is solvedtry it--View this message in context: http://www.nabble.com/No-service-specified-t1360558.html#a3675503 Sent from the Kannel - User forum at Nabble.com.-- Amar
POST XML where to set content type in my application side
where shall i set this content type in my .NET application(url/x.asp) my Application side don't know to set this variable so plz tell me in .NET Application where shall i set this variable regards seema pannu New Yahoo! Messenger with Voice. Call regular phones from your PC for low, low rates.
Re: Using HTTP requests in C
Rene Kluwen wrote: Besides using curl (the preffered way, if you ask me) you can just use a popen("lynx -dump http://localhost:13013/cgi-bin/sendsms?";, "w"); It might not been the most elegant way... But... has a less steep learning curve... and suits for rudimental purposes. wuu... alling a shell with process execution inside a C code is usualy considered only "last exit chance" ;) Stipe --- Kölner Landstrasse 419 40589 Düsseldorf, NRW, Germany tolj.org system architecture Kannel Software Foundation (KSF) http://www.tolj.org/ http://www.kannel.org/ mailto:st_{at}_tolj.org mailto:stolj_{at}_kannel.org ---
Re: Using HTTP requests in C
Willy wrote: How bout daemonizing in C? All I know is while(0) {..} is the way to daemonize, any other way? that's not actually daemonizing... a daemon is detached from the shell of the calling user. Usually you fork() a process and detach it. See Kannel's code for daemonizing code. Stipe --- Kölner Landstrasse 419 40589 Düsseldorf, NRW, Germany tolj.org system architecture Kannel Software Foundation (KSF) http://www.tolj.org/ http://www.kannel.org/ mailto:st_{at}_tolj.org mailto:stolj_{at}_kannel.org ---
Re: Using HTTP requests in C
Alejandro Guerrieri wrote: There's no need to reinvent the wheel. cURL have a nice C interface you can easily use into your project, check here: http://curl.haxx.se/libcurl/c/ It has some examples also, and it will save you all the burden of protocol implementation from scratch. yep, take also in concideration that Kannel itself offers enough own bord-tools to do that, inside libgwlib, see test/test_http.c as an example of Kannel's code for HTTP. Stipe --- Kölner Landstrasse 419 40589 Düsseldorf, NRW, Germany tolj.org system architecture Kannel Software Foundation (KSF) http://www.tolj.org/ http://www.kannel.org/ mailto:st_{at}_tolj.org mailto:stolj_{at}_kannel.org ---
Re: Using HTTP requests in C
How bout daemonizing in C? All I know is while(0) {..} is the way to daemonize, any other way? Regards Willy - Original Message - From: "Alejandro Guerrieri" <[EMAIL PROTECTED]> To: Sent: Thursday, March 30, 2006 9:09 PM Subject: Re: Using HTTP requests in C There's no need to reinvent the wheel. cURL have a nice C interface you can easily use into your project, check here: http://curl.haxx.se/libcurl/c/ It has some examples also, and it will save you all the burden of protocol implementation from scratch. Hope it helps, On 3/30/06, Julius David Bacolod <[EMAIL PROTECTED]> wrote: > Now that I have successfully utilized the HTTP interface to use sendsms, Im > trying to automate sendsms using C but the problem is I do not know how to > make use of HTTP requests (POST, GET, etc.) in C. I know how to do that in > Java (instantiating socket objects, open the Data I/O streams and then > writeBytes method, quite easy), but in C I'm not familiar with. Im searching > the Web for socket programming in C that mentions HTTP requests but I hardly > see any. > > Is there some way in C (just like in Java) that you would pass the the URL > string to some C function and then it will sendsms? Just like this URL > string: > > http://localhost:13013/cgi-bin/sendsms?username=foo&password=bar&to=%2b1234&text=Hello+World > > By the way I'm just playing around with the localhost so that would be > easier. > > Anyone? If anyone could give us guides related to these and some code > samples or snippets, we'll greatly appreciate. > > Julius Bacolod > > > > Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. Great rates > starting at 1¢/min. > > -- Alejandro Guerrieri Magicom http://www.magicom-bcn.net/ LinkedIn: http://www.linkedin.com/in/aguerrieri
RE: Kannel as smpp/cimd2 server???
Usually, when you connect to an SMSC or SMS Gateway, and want to receive messages, you do not need incoming SMPP or CIMD2 connections. Your provider will relay any incoming messages to your SMPP/CIMD2 connection, even if you are the one connecting. Kannel also has routing options to relay from 1 smsc to another (check the users manual). I hope this answers your question. Because I am not 100% sure if I understood your question right. Rene Kluwen Chimit -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of Jay AcuestaSent: donderdag 30 maart 2006 21:26To: users@kannel.orgSubject: Kannel as smpp/cimd2 server???My next burden now is kinda like a relay between two smsc'sA - smsc1B - smsc2A > smpp > KANNEL > cimd2 > BA < smpp < KANNEL < cimd2 < BIm basically a newbie and I have only tested KANNEL with outbound msgs (sendsms -> smpp, cimd2, http), and no experience at all on handling inbound msgs... Based on the diagram above, how do I go about receiving sms from A & B thru smpp and cimd2? Is it possible? Will I be needing some smpp/cimd server implementation because i've read on another thread that Kannel does not act as smpp/cimd server???Next question would be how to handle the sms? Is it through sms-service?I would appreciate your help with this guys. Yahoo! Messenger with Voice. PC-to-Phone calls for ridiculously low rates.
RE: Using HTTP requests in C
Besides using curl (the preffered way, if you ask me) you can just use a popen("lynx -dump http://localhost:13013/cgi-bin/sendsms?", "w"); It might not been the most elegant way... But... has a less steep learning curve... and suits for rudimental purposes. Rene Kluwen Chimit -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of Julius David BacolodSent: donderdag 30 maart 2006 9:33To: users@kannel.orgSubject: Using HTTP requests in CNow that I have successfully utilized the HTTP interface to use sendsms, Im trying to automate sendsms using C but the problem is I do not know how to make use of HTTP requests (POST, GET, etc.) in C. I know how to do that in Java (instantiating socket objects, open the Data I/O streams and then writeBytes method, quite easy), but in C I'm not familiar with. Im searching the Web for socket programming in C that mentions HTTP requests but I hardly see any.Is there some way in C (just like in Java) that you would pass the the URL string to some C function and then it will sendsms? Just like this URL string:http://localhost:13013/cgi-bin/sendsms?username=foo&password=bar&to=%2b1234&text=Hello+WorldBy the way I'm just playing around with the localhost so that would be easier.Anyone? If anyone could give us guides related to these and some code samples or snippets, we'll greatly appreciate.Julius Bacolod Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. Great rates starting at 1¢/min.
RE: example of post-xml
You need to choose the URL yourself. It should point to a web script (ASP, PHP, CGI, whichever...) that receives XML content (as described in the user manual) and returns a response that can be sent to the originator. Rene Kluwen Chimit -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of seema pannuSent: donderdag 30 maart 2006 9:35To: users@kannel.orgSubject: example of post-xml hello could u give me some example regarding Post-xml how to use it # sms-service group = sms-service . . post-xml = give me example of URL // anyone of u used this plz mail me and where to change this POST Content-Type to text/xml regards seema New Yahoo! Messenger with Voice. Call regular phones from your PC and save big.
Kannel as smpp/cimd2 server???
My next burden now is kinda like a relay between two smsc'sA - smsc1B - smsc2A > smpp > KANNEL > cimd2 > BA < smpp < KANNEL < cimd2 < BIm basically a newbie and I have only tested KANNEL with outbound msgs (sendsms -> smpp, cimd2, http), and no experience at all on handling inbound msgs... Based on the diagram above, how do I go about receiving sms from A & B thru smpp and cimd2? Is it possible? Will I be needing some smpp/cimd server implementation because i've read on another thread that Kannel does not act as smpp/cimd server???Next question would be how to handle the sms? Is it through sms-service?I would appreciate your help with this guys. Yahoo! Messenger with Voice. PC-to-Phone calls for ridiculously low rates.
Re: No service specified
from what i see in ur log for smsbox the message received in case b was because in the loop the important point is that message is received from the number to 1234 ie a sms was send and may be there is sms_service option having the keyword "hello" also may be in the default sms-serivce part of your smskannel.conf file you have have text "no service specifed",so on receiving the message you get the message the solution to it could be that have option which has the keyword "hello" and put some message in the following text part , if you again send the "hello ..." message you should get the text you have put in the text part. if this works then the problem is solved try it -- View this message in context: http://www.nabble.com/No-service-specified-t1360558.html#a3675503 Sent from the Kannel - User forum at Nabble.com.
Re: Using HTTP requests in C
There's no need to reinvent the wheel. cURL have a nice C interface you can easily use into your project, check here: http://curl.haxx.se/libcurl/c/ It has some examples also, and it will save you all the burden of protocol implementation from scratch. Hope it helps, On 3/30/06, Julius David Bacolod <[EMAIL PROTECTED]> wrote: > Now that I have successfully utilized the HTTP interface to use sendsms, Im > trying to automate sendsms using C but the problem is I do not know how to > make use of HTTP requests (POST, GET, etc.) in C. I know how to do that in > Java (instantiating socket objects, open the Data I/O streams and then > writeBytes method, quite easy), but in C I'm not familiar with. Im searching > the Web for socket programming in C that mentions HTTP requests but I hardly > see any. > > Is there some way in C (just like in Java) that you would pass the the URL > string to some C function and then it will sendsms? Just like this URL > string: > > http://localhost:13013/cgi-bin/sendsms?username=foo&password=bar&to=%2b1234&text=Hello+World > > By the way I'm just playing around with the localhost so that would be > easier. > > Anyone? If anyone could give us guides related to these and some code > samples or snippets, we'll greatly appreciate. > > Julius Bacolod > > > > Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. Great rates > starting at 1¢/min. > > -- Alejandro Guerrieri Magicom http://www.magicom-bcn.net/ LinkedIn: http://www.linkedin.com/in/aguerrieri
Re: SMS Chat
>So do we. This has absolutly nothing to do with opensource. Please do not use this Mailling List in order to promote your services. regards Vincent -- Telemaque - NICE - (FR) Service Technique - Developpement http://www.telemaque.fr/ [EMAIL PROTECTED] Tel : +33 4 93 97 71 64 (fax 68) - Original Message - From: "Leonard" <[EMAIL PROTECTED]> To: "Vincent CHAVANIS" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>; Sent: Thursday, March 30, 2006 1:08 PM Subject: Re: SMS Chat > Hi Guys, > > So do we. > Premium rate .MO, or MT, or account billed. > Web, Wap and SMS. > Skinnable, customiseable. > > > > Regards > Leonard Cooper > Fontera.com > > > - Original Message - > From: "Vincent CHAVANIS" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]>; > Sent: Wednesday, March 22, 2006 4:32 PM > Subject: Re: SMS Chat > > > opensource ? > > Vincent > > -- > Telemaque - NICE - (FR) > Service Technique - Developpement > http://www.telemaque.fr/ > [EMAIL PROTECTED] > Tel : +33 4 93 97 71 64 (fax 68) > > - Original Message - > From: "TecExperts.com" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Cc: > Sent: Wednesday, March 22, 2006 3:28 PM > Subject: Re: SMS Chat > > >> Hi mike, >> >> WE have SMS Chat application, ready to use...take a look. >> >> http://geocities.com/tcorpindia/files/SMSChat.pdf >> >> if interested let me know.. >> >> Thanks, >> >> >> Mike Nwaogu <[EMAIL PROTECTED]> wrote: >> hello guys, >> I'm wondering there's a way kannel can aid in my >> implementation of an SMS chat service. >> >> I'd like to know if ... >> 1. Can Kannel Do it alone? >> 2. if Yes, How? >> 3. If No, what can help me achieve the SMS chat >> service, after recieving the SMS from kannel? >> >> Any good pointer to Linux based applications, will be >> appreciated. >> >> Regards, >> Mike >> >> __ >> Do You Yahoo!? >> Tired of spam? Yahoo! Mail has the best spam protection around >> http://mail.yahoo.com >> >> >> >> TecExperts >> >> We make you compatible! >> Nothing is impossible!! >> Mob: +91-9886191636 >> Web: www.tecexperts.com >> MSN: [EMAIL PROTECTED] >> >> - >> Jiyo cricket on Yahoo! India cricket >> Yahoo! Messenger Mobile Stay in touch with your buddies all the time. > > > >