RE: Question about CIMD compatibility
Hi Anamika, Kannel itself buffers messages in a .store text file but this is only for internal use. The only way to store messages further is to develop your own application (don't forget Kannel is only a Gateway, not a content application suite). For example I pass incoming messages via a default group keyword which triggers a get-url (see example below). I then use apache web server, php and mysql to process the message and store it in a database. Likewise for outgoing messages I use a php script running on apache that takes a message from a database and then sends it using the kannel push proxy. There are many ways of acheiving the database in/out thing but it's really down to what suits your needs, environment and abilities. Cheers Corin Example incoming group: group = sms-service keyword = default get-url = "http://192.168.28.61/scripts/in.php?msisdn=%p&text=%k+%s+%r"; max-messages = 0 In this example all messages are passed to a script via Apache and PHP storing the originator MSISDN and the full text of the message. The max-messages = 0 makes sure that no response from the get-url goes back to the originator. -Original Message- From: Anamika Kumari [mailto:[EMAIL PROTECTED]] Sent: 09 February 2003 15:57 To: Bishop, Corin; [EMAIL PROTECTED] Subject: Re: Question about CIMD compatibility I have a question since this is the first time i am using CIMD2 . The changes made in the configuration file will have 2 groups one for the smsc. Can we specify the database to store the incoming and outgoing sms your help will be highly appreciated best rgds Anamika "Bishop, Corin" wrote: > Hi All, > > I'm testing Kannel. 1.2.1 with our Nokia SMSC and have been unable to get > kannel to specify the originator address when submitting. I've tried using > the 'from' field, global-send, faxed-sender etc. but nothing will work. > > Can anyone tell me if kannel 1.2.1 support originator parameter with Nokia > CIMD2. > > Also, are there any plans to add the alpha-number originator parameter to > the submit operation. > > Regards, > > Corin. > > __ > Mr. Corin Bishop > VAS Platform Manager > Ben NL > [EMAIL PROTECTED] > +31624096813 > > N.B.: op (de inhoud van) deze e-mail is een DISCLAIMER met belangrijke > VOORBEHOUDEN van toepassing: zie http://www.ben.nl/disclaimer > > This e-mail and its contents are subject to a DISCLAIMER with important > RESERVATIONS: see http://www.ben.nl/disclaimer N.B.: op (de inhoud van) deze e-mail is een DISCLAIMER met belangrijke VOORBEHOUDEN van toepassing: zie http://www.ben.nl/disclaimer This e-mail and its contents are subject to a DISCLAIMER with important RESERVATIONS: see http://www.ben.nl/disclaimer
Re: Question about CIMD compatibility
Hi Corin, Can I use api in c to store the messages in the database. like the mySQL++. Please advice due to some reasons I have to use C to store smses into the database. thanks Anamika "Bishop, Corin" wrote: > Hi Anamika, > > Kannel itself buffers messages in a .store text file but this is only for > internal use. > > The only way to store messages further is to develop your own application > (don't forget Kannel is only a Gateway, not a content application suite). > For example I pass incoming messages via a default group keyword which > triggers a get-url (see example below). I then use apache web server, php > and mysql to process the message and store it in a database. Likewise for > outgoing messages I use a php script running on apache that takes a message > from a database and then sends it using the kannel push proxy. > > There are many ways of acheiving the database in/out thing but it's really > down to what suits your needs, environment and abilities. > > Cheers > > Corin > > Example incoming group: > > group = sms-service > keyword = default > get-url = "http://192.168.28.61/scripts/in.php?msisdn=%p&text=%k+%s+%r"; > max-messages = 0 > > In this example all messages are passed to a script via Apache and PHP > storing the originator MSISDN and the full text of the message. The > max-messages = 0 makes sure that no response from the get-url goes back to > the originator. > > -Original Message- > From: Anamika Kumari [mailto:[EMAIL PROTECTED]] > Sent: 09 February 2003 15:57 > To: Bishop, Corin; [EMAIL PROTECTED] > Subject: Re: Question about CIMD compatibility > > I have a question since this is the first time i am using CIMD2 . > The changes made in the configuration file will have 2 groups one for the > smsc. > Can we specify the database to store the incoming and outgoing sms > > your help will be highly appreciated > > best rgds > Anamika > > "Bishop, Corin" wrote: > > > Hi All, > > > > I'm testing Kannel. 1.2.1 with our Nokia SMSC and have been unable to get > > kannel to specify the originator address when submitting. I've tried using > > the 'from' field, global-send, faxed-sender etc. but nothing will work. > > > > Can anyone tell me if kannel 1.2.1 support originator parameter with Nokia > > CIMD2. > > > > Also, are there any plans to add the alpha-number originator parameter to > > the submit operation. > > > > Regards, > > > > Corin. > > > > __ > > Mr. Corin Bishop > > VAS Platform Manager > > Ben NL > > [EMAIL PROTECTED] > > +31624096813 > > > > N.B.: op (de inhoud van) deze e-mail is een DISCLAIMER met belangrijke > > VOORBEHOUDEN van toepassing: zie http://www.ben.nl/disclaimer > > > > This e-mail and its contents are subject to a DISCLAIMER with important > > RESERVATIONS: see http://www.ben.nl/disclaimer > > N.B.: op (de inhoud van) deze e-mail is een DISCLAIMER met belangrijke > VOORBEHOUDEN van toepassing: zie http://www.ben.nl/disclaimer > > This e-mail and its contents are subject to a DISCLAIMER with important > RESERVATIONS: see http://www.ben.nl/disclaimer
Re: Question about CIMD compatibility
Hi Corin, Can you tell me whether tomcat will be fine instead of Apache web server. Can you send me the script you are using and also the configuration file. I do not understand how it is possible to send the url parameters to the script thanks anamika Bishop, Corin" wrote: > Hi Anamika, > > Kannel itself buffers messages in a .store text file but this is only for > internal use. > > The only way to store messages further is to develop your own application > (don't forget Kannel is only a Gateway, not a content application suite). > For example I pass incoming messages via a default group keyword which > triggers a get-url (see example below). I then use apache web server, php > and mysql to process the message and store it in a database. Likewise for > outgoing messages I use a php script running on apache that takes a message > from a database and then sends it using the kannel push proxy. > > There are many ways of acheiving the database in/out thing but it's really > down to what suits your needs, environment and abilities. > > Cheers > > Corin > > Example incoming group: > > group = sms-service > keyword = default > get-url = "http://192.168.28.61/scripts/in.php?msisdn=%p&text=%k+%s+%r"; > max-messages = 0 > > In this example all messages are passed to a script via Apache and PHP > storing the originator MSISDN and the full text of the message. The > max-messages = 0 makes sure that no response from the get-url goes back to > the originator. > > -Original Message- > From: Anamika Kumari [mailto:[EMAIL PROTECTED]] > Sent: 09 February 2003 15:57 > To: Bishop, Corin; [EMAIL PROTECTED] > Subject: Re: Question about CIMD compatibility > > I have a question since this is the first time i am using CIMD2 . > The changes made in the configuration file will have 2 groups one for the > smsc. > Can we specify the database to store the incoming and outgoing sms > > your help will be highly appreciated > > best rgds > Anamika > > "Bishop, Corin" wrote: > > > Hi All, > > > > I'm testing Kannel. 1.2.1 with our Nokia SMSC and have been unable to get > > kannel to specify the originator address when submitting. I've tried using > > the 'from' field, global-send, faxed-sender etc. but nothing will work. > > > > Can anyone tell me if kannel 1.2.1 support originator parameter with Nokia > > CIMD2. > > > > Also, are there any plans to add the alpha-number originator parameter to > > the submit operation. > > > > Regards, > > > > Corin. > > > > __ > > Mr. Corin Bishop > > VAS Platform Manager > > Ben NL > > [EMAIL PROTECTED] > > +31624096813 > > > > N.B.: op (de inhoud van) deze e-mail is een DISCLAIMER met belangrijke > > VOORBEHOUDEN van toepassing: zie http://www.ben.nl/disclaimer > > > > This e-mail and its contents are subject to a DISCLAIMER with important > > RESERVATIONS: see http://www.ben.nl/disclaimer > > N.B.: op (de inhoud van) deze e-mail is een DISCLAIMER met belangrijke > VOORBEHOUDEN van toepassing: zie http://www.ben.nl/disclaimer > > This e-mail and its contents are subject to a DISCLAIMER with important > RESERVATIONS: see http://www.ben.nl/disclaimer
Re: Question about CIMD compatibility
I have a question since this is the first time i am using CIMD2 . The changes made in the configuration file will have 2 groups one for the smsc. Can we specify the database to store the incoming and outgoing sms your help will be highly appreciated best rgds Anamika "Bishop, Corin" wrote: > Hi All, > > I'm testing Kannel. 1.2.1 with our Nokia SMSC and have been unable to get > kannel to specify the originator address when submitting. I've tried using > the 'from' field, global-send, faxed-sender etc. but nothing will work. > > Can anyone tell me if kannel 1.2.1 support originator parameter with Nokia > CIMD2. > > Also, are there any plans to add the alpha-number originator parameter to > the submit operation. > > Regards, > > Corin. > > __ > Mr. Corin Bishop > VAS Platform Manager > Ben NL > [EMAIL PROTECTED] > +31624096813 > > N.B.: op (de inhoud van) deze e-mail is een DISCLAIMER met belangrijke > VOORBEHOUDEN van toepassing: zie http://www.ben.nl/disclaimer > > This e-mail and its contents are subject to a DISCLAIMER with important > RESERVATIONS: see http://www.ben.nl/disclaimer
RE: Question about CIMD compatibility
Title: RE: Question about CIMD compatibility Hi Corin Have you set the option "sender-prefix" at "smsc" to a empty value? Afaik the SMSC overwrites the originator with the default number if this option is not set. group = smsc ... sender-prefix = "" Do your SMSC allow to set the originator? Regards - Conrad -Original Message- From: Bishop, Corin [SMTP:[EMAIL PROTECTED]] Sent: Thursday, January 23, 2003 12:55 PM To: '[EMAIL PROTECTED]' Subject: Question about CIMD compatibility Hi All, I'm testing Kannel. 1.2.1 with our Nokia SMSC and have been unable to get kannel to specify the originator address when submitting. I've tried using the 'from' field, global-send, faxed-sender etc. but nothing will work. Can anyone tell me if kannel 1.2.1 support originator parameter with Nokia CIMD2. Also, are there any plans to add the alpha-number originator parameter to the submit operation. Regards, Corin. __ Mr. Corin Bishop VAS Platform Manager Ben NL [EMAIL PROTECTED] +31624096813 N.B.: op (de inhoud van) deze e-mail is een DISCLAIMER met belangrijke VOORBEHOUDEN van toepassing: zie http://www.ben.nl/disclaimer This e-mail and its contents are subject to a DISCLAIMER with important RESERVATIONS: see http://www.ben.nl/disclaimer