Re: MO Empty SMS Issue

2011-07-10 Thread Amr Qanadilo
Hi Rene;

It worked Perfectly

Thanks

On Sat, Jul 2, 2011 at 5:32 PM, Rene Kluwen rene.klu...@chimit.nl wrote:

  Or another options is to prefix your keywords:

 ** **

 http://xx.xx.xx.xx/newamc/kannel_send/key_%p/par_%b/

 ** **

 This way, if %p is empty, you still won’t get //, but /par_/ in stead.

 ** **

 == Rene

 ** **

 ** **

 *From:* users-boun...@kannel.org [mailto:users-boun...@kannel.org] *On
 Behalf Of *Rene Kluwen
 *Sent:* Saturday, 02 July, 2011 16:30
 *To:* 'Amr Qanadilo'
 *Cc:* users@kannel.org
 *Subject:* RE: MO Empty SMS Issue

 ** **

 Why don’t you send something like:

 ** **

 http://xx.xx.xx.xx/newamc/kannel_send?p=%pb=%b

 ** **

 == Rene

 ** **

 ** **

 ** **

 *From:* Amr Qanadilo [mailto:amr1...@gmail.com]
 *Sent:* Saturday, 02 July, 2011 16:01
 *To:* Rene Kluwen
 *Cc:* ha...@aeon.pk; users@kannel.org

 *Subject:* Re: MO Empty SMS Issue

   ** **

 Dear Rene;

  

 Then Kannel will send nothing at all in such a case. What i want is to make
 kannel to respond to an empty MO SMS with a predefined Text. As you can see
 from my configuration in the URL am using to send to my application  the URL
 will send something like http:/999/ada/asdsa//asda, If you notice the
 //. here the application server does not identify the // and reject it.
 thats why i want kannel to send a predefined SMS back to the user when the
 user sends empty SMS

  

 Your feedback is highly appreciated

 On Sat, Jul 2, 2011 at 3:29 PM, Rene Kluwen rene.klu...@chimit.nl wrote:
 

 Try: omit-empty = true in group = sms-service.

  

 *From:* users-boun...@kannel.org [mailto:users-boun...@kannel.org] *On
 Behalf Of *Amr Qanadilo
 *Sent:* Saturday, 02 July, 2011 09:39
 *To:* ha...@aeon.pk
 *Cc:* users@kannel.org
 *Subject:* Re: MO Empty SMS Issue

  

 Dear Sir;

  

 I have tried the reply-emptymessage but it didnt work... am afraid am doing
 somethign wrong. below is the full configurations i have, can you please
 (and thankfully the list) tell me if am doing something wrong.

  

 group = core
 admin-port = 13000
 smsbox-port = 13001
 wapbox-port = 13002
 admin-password = bar
 log-file = /var/log/kannel.log
 log-level = 0
 #box-deny-ip = *.*.*.*
 #box-allow-ip = 127.0.0.1
 box-allow-ip = *.*.*.*
 #sms-resend-freq = 1800
 sms-resend-retry = 0

  


 group=smsc
 smsc-id=SMSC1
 smsc=smpp
 interface-version=34
 host=xx.xx.xx.xx
 port=6000
 system-id=AMC
 smsc-password=
 system-type=smpp
 transceiver-mode=0
 service-type=
 dest-addr-ton=1
 dest-addr-npi=1
 #receive-port=700
 source-addr-ton=1
 source-addr-npi=1
 receive-port=6000
 wait-ack-expire = 0x02
 validityperiod = 60
 throughput = 2

 #group=smsc
 #smsc-id=
 #smsc=smpp
 #interface-version=34
 #host=10.1.250.82
 #port=
 #system-id=XXX
 #smsc-password=20110504
 #system-type=smpp
 #transceiver-mode=0
 #service-type=
 #dest-addr-ton=1
 #dest-addr-npi=1
 #receive-port=700
 #source-addr-ton=1
 #source-addr-npi=1
 #receive-port=

 group = smsbox
 bearerbox-host = XX.XX.XX.XX
 sendsms-port = 13013
 global-sender = 13013
 log-level = 0
 # smsbox-id = internal
 http-request-retry=5
 mo-recode=true

 group = sendsms-user
 username = kannel
 password = kannel
 concatenation = true
 max-messages = 3
 forced-smsc = 212_smsc
 user-allow-ip = *.*.*.*

 group = ppg
 ppg-url = /wappush
 ppg-port = 8080
 concurrent-pushes = 100
 users = 1024
 #ppg-allow-ip = *.*.*.*
 #trusted-pi = false

 group = wapbox
 bearerbox-host = xx.xx.xx.xx
 #log-file = filename
 log-level = 0
 syslog-level = none

 group = wap-push-user
 wap-push-user = picom
 ppg-username = kannel
 ppg-password = kannel
 #allow-ip = *.*.*.*


 group = sms-service
 keyword=default
 accepted-smsc = SMSC1
 #keyword-regex = .*
 catch-all = yes
 max-messages = 0
 get-url = http://xx.xx.xx.xx/newamc/kannel_send/%p/%b/

  

 #group = sms-service
 #keyword=NOT
 #accepted-smsc = 

 #keyword-regex = .*
 #catch-all = yes
 #max-messages = 0
 #get-url = http://xx.xx.xx.xx/newamc/kannel_send/%p/%b/;

 #group = sms-service
 #keyword = default
 #text = No service specified

  

  

  

  

  

  

  

  


  

 On Thu, Jun 30, 2011 at 4:12 PM, ha...@aeon.pk ha...@aeon.pk wrote:

 Check reply-emptymessage in SMSBOX section in userguide. 

  

 On Thu, Jun 30, 2011 at 12:55 PM, Amr Qanadilo amr1...@gmail.com wrote:*
 ***

 Dear List;

  

 I have a question regarding Kannel;

  

 We are using a Redhat linux and the latest release of Kannel. We would
 appreciate your help in knowing how can we handle empty SMS though Kannel.
 The use case is as follows;

  

 User sends empty SMS, Kannel receive it and send it to our application. The
 URL when received by the application is not understood by the apache server
 so the apache reject the URL. I would like to know if there is a way

Re: MO Empty SMS Issue

2011-07-02 Thread Amr Qanadilo
Dear Sir;

I have tried the reply-emptymessage but it didnt work... am afraid am doing
somethign wrong. below is the full configurations i have, can you please
(and thankfully the list) tell me if am doing something wrong.

group = core
admin-port = 13000
smsbox-port = 13001
wapbox-port = 13002
admin-password = bar
log-file = /var/log/kannel.log
log-level = 0
#box-deny-ip = *.*.*.*
#box-allow-ip = 127.0.0.1
box-allow-ip = *.*.*.*
#sms-resend-freq = 1800
sms-resend-retry = 0


group=smsc
smsc-id=SMSC1
smsc=smpp
interface-version=34
host=xx.xx.xx.xx
port=6000
system-id=AMC
smsc-password=
system-type=smpp
transceiver-mode=0
service-type=
dest-addr-ton=1
dest-addr-npi=1
#receive-port=700
source-addr-ton=1
source-addr-npi=1
receive-port=6000
wait-ack-expire = 0x02
validityperiod = 60
throughput = 2
#group=smsc
#smsc-id=
#smsc=smpp
#interface-version=34
#host=10.1.250.82
#port=
#system-id=XXX
#smsc-password=20110504
#system-type=smpp
#transceiver-mode=0
#service-type=
#dest-addr-ton=1
#dest-addr-npi=1
#receive-port=700
#source-addr-ton=1
#source-addr-npi=1
#receive-port=
group = smsbox
bearerbox-host = XX.XX.XX.XX
sendsms-port = 13013
global-sender = 13013
log-level = 0
# smsbox-id = internal
http-request-retry=5
mo-recode=true
group = sendsms-user
username = kannel
password = kannel
concatenation = true
max-messages = 3
forced-smsc = 212_smsc
user-allow-ip = *.*.*.*
group = ppg
ppg-url = /wappush
ppg-port = 8080
concurrent-pushes = 100
users = 1024
#ppg-allow-ip = *.*.*.*
#trusted-pi = false
group = wapbox
bearerbox-host = xx.xx.xx.xx
#log-file = filename
log-level = 0
syslog-level = none
group = wap-push-user
wap-push-user = picom
ppg-username = kannel
ppg-password = kannel
#allow-ip = *.*.*.*

group = sms-service
keyword=default
accepted-smsc = SMSC1
#keyword-regex = .*
catch-all = yes
max-messages = 0
get-url = http://xx.xx.xx.xx/newamc/kannel_send/%p/%b/;

#group = sms-service
#keyword=NOT
#accepted-smsc =
#keyword-regex = .*
#catch-all = yes
#max-messages = 0
#get-url = http://xx.xx.xx.xx/newamc/kannel_send/%p/%b/;

#group = sms-service
#keyword = default
#text = No service specified










On Thu, Jun 30, 2011 at 4:12 PM, ha...@aeon.pk ha...@aeon.pk wrote:

 Check reply-emptymessage in SMSBOX section in userguide.


 On Thu, Jun 30, 2011 at 12:55 PM, Amr Qanadilo amr1...@gmail.com wrote:

  Dear List;


 I have a question regarding Kannel;



 We are using a Redhat linux and the latest release of Kannel. We would
 appreciate your help in knowing how can we handle empty SMS though Kannel.
 The use case is as follows;



 User sends empty SMS, Kannel receive it and send it to our application.
 The URL when received by the application is not understood by the apache
 server so the apache reject the URL. I would like to know if there is a way
 to tell Kannel to respond automatically to the empty sms by sending text sms
 back without coming in to the application



 I look forward for your feedback







RE: MO Empty SMS Issue

2011-07-02 Thread Rene Kluwen
Try: omit-empty = true in group = sms-service.

 

From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf
Of Amr Qanadilo
Sent: Saturday, 02 July, 2011 09:39
To: ha...@aeon.pk
Cc: users@kannel.org
Subject: Re: MO Empty SMS Issue

 

Dear Sir;

 

I have tried the reply-emptymessage but it didnt work... am afraid am doing
somethign wrong. below is the full configurations i have, can you please
(and thankfully the list) tell me if am doing something wrong.

 

group = core
admin-port = 13000
smsbox-port = 13001
wapbox-port = 13002
admin-password = bar
log-file = /var/log/kannel.log
log-level = 0
#box-deny-ip = *.*.*.*
#box-allow-ip = 127.0.0.1
box-allow-ip = *.*.*.*
#sms-resend-freq = 1800
sms-resend-retry = 0

 


group=smsc
smsc-id=SMSC1
smsc=smpp
interface-version=34
host=xx.xx.xx.xx
port=6000
system-id=AMC
smsc-password=
system-type=smpp
transceiver-mode=0
service-type=
dest-addr-ton=1
dest-addr-npi=1
#receive-port=700
source-addr-ton=1
source-addr-npi=1
receive-port=6000
wait-ack-expire = 0x02
validityperiod = 60
throughput = 2

#group=smsc
#smsc-id=
#smsc=smpp
#interface-version=34
#host=10.1.250.82
#port=
#system-id=XXX
#smsc-password=20110504
#system-type=smpp
#transceiver-mode=0
#service-type=
#dest-addr-ton=1
#dest-addr-npi=1
#receive-port=700
#source-addr-ton=1
#source-addr-npi=1
#receive-port=

group = smsbox
bearerbox-host = XX.XX.XX.XX
sendsms-port = 13013
global-sender = 13013
log-level = 0
# smsbox-id = internal
http-request-retry=5
mo-recode=true

group = sendsms-user
username = kannel
password = kannel
concatenation = true
max-messages = 3
forced-smsc = 212_smsc
user-allow-ip = *.*.*.*

group = ppg
ppg-url = /wappush
ppg-port = 8080
concurrent-pushes = 100
users = 1024
#ppg-allow-ip = *.*.*.*
#trusted-pi = false

group = wapbox
bearerbox-host = xx.xx.xx.xx
#log-file = filename
log-level = 0
syslog-level = none

group = wap-push-user
wap-push-user = picom
ppg-username = kannel
ppg-password = kannel
#allow-ip = *.*.*.*


group = sms-service
keyword=default
accepted-smsc = SMSC1
#keyword-regex = .*
catch-all = yes
max-messages = 0
get-url = http://xx.xx.xx.xx/newamc/kannel_send/%p/%b/
http://xx.xx.xx.xx/newamc/kannel_send/%25p/%25b/ 

 

#group = sms-service
#keyword=NOT
#accepted-smsc = 

#keyword-regex = .*
#catch-all = yes
#max-messages = 0
#get-url = http://xx.xx.xx.xx/newamc/kannel_send/%p/%b/
http://xx.xx.xx.xx/newamc/kannel_send/%25p/%25b/ 

#group = sms-service
#keyword = default
#text = No service specified

 

 

 

 

 

 

 

 


 

On Thu, Jun 30, 2011 at 4:12 PM, ha...@aeon.pk ha...@aeon.pk wrote:

Check reply-emptymessage in SMSBOX section in userguide. 

 

On Thu, Jun 30, 2011 at 12:55 PM, Amr Qanadilo amr1...@gmail.com wrote:

Dear List;

 

I have a question regarding Kannel;

 

We are using a Redhat linux and the latest release of Kannel. We would
appreciate your help in knowing how can we handle empty SMS though Kannel.
The use case is as follows;

 

User sends empty SMS, Kannel receive it and send it to our application. The
URL when received by the application is not understood by the apache server
so the apache reject the URL. I would like to know if there is a way to tell
Kannel to respond automatically to the empty sms by sending text sms back
without coming in to the application

 

I look forward for your feedback

 

 

 



Re: MO Empty SMS Issue

2011-07-02 Thread Amr Qanadilo
Dear Rene;

Then Kannel will send nothing at all in such a case. What i want is to make
kannel to respond to an empty MO SMS with a predefined Text. As you can see
from my configuration in the URL am using to send to my application  the URL
will send something like http:/999/ada/asdsa//asda, If you notice the
//. here the application server does not identify the // and reject it.
thats why i want kannel to send a predefined SMS back to the user when the
user sends empty SMS

Your feedback is highly appreciated

On Sat, Jul 2, 2011 at 3:29 PM, Rene Kluwen rene.klu...@chimit.nl wrote:

  Try: omit-empty = true in group = sms-service.

 ** **

 *From:* users-boun...@kannel.org [mailto:users-boun...@kannel.org] *On
 Behalf Of *Amr Qanadilo
 *Sent:* Saturday, 02 July, 2011 09:39
 *To:* ha...@aeon.pk
 *Cc:* users@kannel.org
 *Subject:* Re: MO Empty SMS Issue

 ** **

 Dear Sir;

  

 I have tried the reply-emptymessage but it didnt work... am afraid am doing
 somethign wrong. below is the full configurations i have, can you please
 (and thankfully the list) tell me if am doing something wrong.

  

 group = core
 admin-port = 13000
 smsbox-port = 13001
 wapbox-port = 13002
 admin-password = bar
 log-file = /var/log/kannel.log
 log-level = 0
 #box-deny-ip = *.*.*.*
 #box-allow-ip = 127.0.0.1
 box-allow-ip = *.*.*.*
 #sms-resend-freq = 1800
 sms-resend-retry = 0

  


 group=smsc
 smsc-id=SMSC1
 smsc=smpp
 interface-version=34
 host=xx.xx.xx.xx
 port=6000
 system-id=AMC
 smsc-password=
 system-type=smpp
 transceiver-mode=0
 service-type=
 dest-addr-ton=1
 dest-addr-npi=1
 #receive-port=700
 source-addr-ton=1
 source-addr-npi=1
 receive-port=6000
 wait-ack-expire = 0x02
 validityperiod = 60
 throughput = 2

 #group=smsc
 #smsc-id=
 #smsc=smpp
 #interface-version=34
 #host=10.1.250.82
 #port=
 #system-id=XXX
 #smsc-password=20110504
 #system-type=smpp
 #transceiver-mode=0
 #service-type=
 #dest-addr-ton=1
 #dest-addr-npi=1
 #receive-port=700
 #source-addr-ton=1
 #source-addr-npi=1
 #receive-port=

 group = smsbox
 bearerbox-host = XX.XX.XX.XX
 sendsms-port = 13013
 global-sender = 13013
 log-level = 0
 # smsbox-id = internal
 http-request-retry=5
 mo-recode=true

 group = sendsms-user
 username = kannel
 password = kannel
 concatenation = true
 max-messages = 3
 forced-smsc = 212_smsc
 user-allow-ip = *.*.*.*

 group = ppg
 ppg-url = /wappush
 ppg-port = 8080
 concurrent-pushes = 100
 users = 1024
 #ppg-allow-ip = *.*.*.*
 #trusted-pi = false

 group = wapbox
 bearerbox-host = xx.xx.xx.xx
 #log-file = filename
 log-level = 0
 syslog-level = none

 group = wap-push-user
 wap-push-user = picom
 ppg-username = kannel
 ppg-password = kannel
 #allow-ip = *.*.*.*


 group = sms-service
 keyword=default
 accepted-smsc = SMSC1
 #keyword-regex = .*
 catch-all = yes
 max-messages = 0
 get-url = http://xx.xx.xx.xx/newamc/kannel_send/%p/%b/

  

 #group = sms-service
 #keyword=NOT
 #accepted-smsc = 

 #keyword-regex = .*
 #catch-all = yes
 #max-messages = 0
 #get-url = http://xx.xx.xx.xx/newamc/kannel_send/%p/%b/;

 #group = sms-service
 #keyword = default
 #text = No service specified

  

  

  

  

  

  

  

  


  

 On Thu, Jun 30, 2011 at 4:12 PM, ha...@aeon.pk ha...@aeon.pk wrote:

 Check reply-emptymessage in SMSBOX section in userguide. 

 ** **

 On Thu, Jun 30, 2011 at 12:55 PM, Amr Qanadilo amr1...@gmail.com wrote:*
 ***

 Dear List;

  

 I have a question regarding Kannel;

  

 We are using a Redhat linux and the latest release of Kannel. We would
 appreciate your help in knowing how can we handle empty SMS though Kannel.
 The use case is as follows;

  

 User sends empty SMS, Kannel receive it and send it to our application. The
 URL when received by the application is not understood by the apache server
 so the apache reject the URL. I would like to know if there is a way to tell
 Kannel to respond automatically to the empty sms by sending text sms back
 without coming in to the application

  

 I look forward for your feedback

  

 ** **

 ** **



RE: MO Empty SMS Issue

2011-07-02 Thread Rene Kluwen
Why don't you send something like:

 

http://xx.xx.xx.xx/newamc/kannel_send?p=%p
http://xx.xx.xx.xx/newamc/kannel_send?p=%25pb=%25b/ b=%b

 

== Rene

 

 

 

From: Amr Qanadilo [mailto:amr1...@gmail.com] 
Sent: Saturday, 02 July, 2011 16:01
To: Rene Kluwen
Cc: ha...@aeon.pk; users@kannel.org
Subject: Re: MO Empty SMS Issue

 

Dear Rene;

 

Then Kannel will send nothing at all in such a case. What i want is to make
kannel to respond to an empty MO SMS with a predefined Text. As you can see
from my configuration in the URL am using to send to my application  the URL
will send something like http:/999/ada/asdsa//asda, If you notice the
//. here the application server does not identify the // and reject it.
thats why i want kannel to send a predefined SMS back to the user when the
user sends empty SMS

 

Your feedback is highly appreciated

On Sat, Jul 2, 2011 at 3:29 PM, Rene Kluwen rene.klu...@chimit.nl wrote:

Try: omit-empty = true in group = sms-service.

 

From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf
Of Amr Qanadilo
Sent: Saturday, 02 July, 2011 09:39
To: ha...@aeon.pk
Cc: users@kannel.org
Subject: Re: MO Empty SMS Issue

 

Dear Sir;

 

I have tried the reply-emptymessage but it didnt work... am afraid am doing
somethign wrong. below is the full configurations i have, can you please
(and thankfully the list) tell me if am doing something wrong.

 

group = core
admin-port = 13000
smsbox-port = 13001
wapbox-port = 13002
admin-password = bar
log-file = /var/log/kannel.log
log-level = 0
#box-deny-ip = *.*.*.*
#box-allow-ip = 127.0.0.1
box-allow-ip = *.*.*.*
#sms-resend-freq = 1800
sms-resend-retry = 0

 


group=smsc
smsc-id=SMSC1
smsc=smpp
interface-version=34
host=xx.xx.xx.xx
port=6000
system-id=AMC
smsc-password=
system-type=smpp
transceiver-mode=0
service-type=
dest-addr-ton=1
dest-addr-npi=1
#receive-port=700
source-addr-ton=1
source-addr-npi=1
receive-port=6000
wait-ack-expire = 0x02
validityperiod = 60
throughput = 2

#group=smsc
#smsc-id=
#smsc=smpp
#interface-version=34
#host=10.1.250.82
#port=
#system-id=XXX
#smsc-password=20110504
#system-type=smpp
#transceiver-mode=0
#service-type=
#dest-addr-ton=1
#dest-addr-npi=1
#receive-port=700
#source-addr-ton=1
#source-addr-npi=1
#receive-port=

group = smsbox
bearerbox-host = XX.XX.XX.XX
sendsms-port = 13013
global-sender = 13013
log-level = 0
# smsbox-id = internal
http-request-retry=5
mo-recode=true

group = sendsms-user
username = kannel
password = kannel
concatenation = true
max-messages = 3
forced-smsc = 212_smsc
user-allow-ip = *.*.*.*

group = ppg
ppg-url = /wappush
ppg-port = 8080
concurrent-pushes = 100
users = 1024
#ppg-allow-ip = *.*.*.*
#trusted-pi = false

group = wapbox
bearerbox-host = xx.xx.xx.xx
#log-file = filename
log-level = 0
syslog-level = none

group = wap-push-user
wap-push-user = picom
ppg-username = kannel
ppg-password = kannel
#allow-ip = *.*.*.*


group = sms-service
keyword=default
accepted-smsc = SMSC1
#keyword-regex = .*
catch-all = yes
max-messages = 0
get-url = http://xx.xx.xx.xx/newamc/kannel_send/%p/%b/
http://xx.xx.xx.xx/newamc/kannel_send/%25p/%25b/ 

 

#group = sms-service
#keyword=NOT
#accepted-smsc = 

#keyword-regex = .*
#catch-all = yes
#max-messages = 0
#get-url = http://xx.xx.xx.xx/newamc/kannel_send/%p/%b/
http://xx.xx.xx.xx/newamc/kannel_send/%25p/%25b/ 

#group = sms-service
#keyword = default
#text = No service specified

 

 

 

 

 

 

 

 


 

On Thu, Jun 30, 2011 at 4:12 PM, ha...@aeon.pk ha...@aeon.pk wrote:

Check reply-emptymessage in SMSBOX section in userguide. 

 

On Thu, Jun 30, 2011 at 12:55 PM, Amr Qanadilo amr1...@gmail.com wrote:

Dear List;

 

I have a question regarding Kannel;

 

We are using a Redhat linux and the latest release of Kannel. We would
appreciate your help in knowing how can we handle empty SMS though Kannel.
The use case is as follows;

 

User sends empty SMS, Kannel receive it and send it to our application. The
URL when received by the application is not understood by the apache server
so the apache reject the URL. I would like to know if there is a way to tell
Kannel to respond automatically to the empty sms by sending text sms back
without coming in to the application

 

I look forward for your feedback

 

 

 

 



RE: MO Empty SMS Issue

2011-07-02 Thread Rene Kluwen
Or another options is to prefix your keywords:

 

http://xx.xx.xx.xx/newamc/kannel_send/key_%p/par_%b/
http://xx.xx.xx.xx/newamc/kannel_send/key_%25p/par_%25b/ 

 

This way, if %p is empty, you still won't get //, but /par_/ in stead.

 

== Rene

 

 

From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf
Of Rene Kluwen
Sent: Saturday, 02 July, 2011 16:30
To: 'Amr Qanadilo'
Cc: users@kannel.org
Subject: RE: MO Empty SMS Issue

 

Why don't you send something like:

 

http://xx.xx.xx.xx/newamc/kannel_send?p=%p
http://xx.xx.xx.xx/newamc/kannel_send?p=%25pb=%25b/ b=%b

 

== Rene

 

 

 

From: Amr Qanadilo [mailto:amr1...@gmail.com] 
Sent: Saturday, 02 July, 2011 16:01
To: Rene Kluwen
Cc: ha...@aeon.pk; users@kannel.org
Subject: Re: MO Empty SMS Issue

 

Dear Rene;

 

Then Kannel will send nothing at all in such a case. What i want is to make
kannel to respond to an empty MO SMS with a predefined Text. As you can see
from my configuration in the URL am using to send to my application  the URL
will send something like http:/999/ada/asdsa//asda, If you notice the
//. here the application server does not identify the // and reject it.
thats why i want kannel to send a predefined SMS back to the user when the
user sends empty SMS

 

Your feedback is highly appreciated

On Sat, Jul 2, 2011 at 3:29 PM, Rene Kluwen rene.klu...@chimit.nl wrote:

Try: omit-empty = true in group = sms-service.

 

From: users-boun...@kannel.org [mailto:users-boun...@kannel.org] On Behalf
Of Amr Qanadilo
Sent: Saturday, 02 July, 2011 09:39
To: ha...@aeon.pk
Cc: users@kannel.org
Subject: Re: MO Empty SMS Issue

 

Dear Sir;

 

I have tried the reply-emptymessage but it didnt work... am afraid am doing
somethign wrong. below is the full configurations i have, can you please
(and thankfully the list) tell me if am doing something wrong.

 

group = core
admin-port = 13000
smsbox-port = 13001
wapbox-port = 13002
admin-password = bar
log-file = /var/log/kannel.log
log-level = 0
#box-deny-ip = *.*.*.*
#box-allow-ip = 127.0.0.1
box-allow-ip = *.*.*.*
#sms-resend-freq = 1800
sms-resend-retry = 0

 


group=smsc
smsc-id=SMSC1
smsc=smpp
interface-version=34
host=xx.xx.xx.xx
port=6000
system-id=AMC
smsc-password=
system-type=smpp
transceiver-mode=0
service-type=
dest-addr-ton=1
dest-addr-npi=1
#receive-port=700
source-addr-ton=1
source-addr-npi=1
receive-port=6000
wait-ack-expire = 0x02
validityperiod = 60
throughput = 2

#group=smsc
#smsc-id=
#smsc=smpp
#interface-version=34
#host=10.1.250.82
#port=
#system-id=XXX
#smsc-password=20110504
#system-type=smpp
#transceiver-mode=0
#service-type=
#dest-addr-ton=1
#dest-addr-npi=1
#receive-port=700
#source-addr-ton=1
#source-addr-npi=1
#receive-port=

group = smsbox
bearerbox-host = XX.XX.XX.XX
sendsms-port = 13013
global-sender = 13013
log-level = 0
# smsbox-id = internal
http-request-retry=5
mo-recode=true

group = sendsms-user
username = kannel
password = kannel
concatenation = true
max-messages = 3
forced-smsc = 212_smsc
user-allow-ip = *.*.*.*

group = ppg
ppg-url = /wappush
ppg-port = 8080
concurrent-pushes = 100
users = 1024
#ppg-allow-ip = *.*.*.*
#trusted-pi = false

group = wapbox
bearerbox-host = xx.xx.xx.xx
#log-file = filename
log-level = 0
syslog-level = none

group = wap-push-user
wap-push-user = picom
ppg-username = kannel
ppg-password = kannel
#allow-ip = *.*.*.*


group = sms-service
keyword=default
accepted-smsc = SMSC1
#keyword-regex = .*
catch-all = yes
max-messages = 0
get-url = http://xx.xx.xx.xx/newamc/kannel_send/%p/%b/
http://xx.xx.xx.xx/newamc/kannel_send/%25p/%25b/ 

 

#group = sms-service
#keyword=NOT
#accepted-smsc = 

#keyword-regex = .*
#catch-all = yes
#max-messages = 0
#get-url = http://xx.xx.xx.xx/newamc/kannel_send/%p/%b/
http://xx.xx.xx.xx/newamc/kannel_send/%25p/%25b/ 

#group = sms-service
#keyword = default
#text = No service specified

 

 

 

 

 

 

 

 


 

On Thu, Jun 30, 2011 at 4:12 PM, ha...@aeon.pk ha...@aeon.pk wrote:

Check reply-emptymessage in SMSBOX section in userguide. 

 

On Thu, Jun 30, 2011 at 12:55 PM, Amr Qanadilo amr1...@gmail.com wrote:

Dear List;

 

I have a question regarding Kannel;

 

We are using a Redhat linux and the latest release of Kannel. We would
appreciate your help in knowing how can we handle empty SMS though Kannel.
The use case is as follows;

 

User sends empty SMS, Kannel receive it and send it to our application. The
URL when received by the application is not understood by the apache server
so the apache reject the URL. I would like to know if there is a way to tell
Kannel to respond automatically to the empty sms by sending text sms back
without coming in to the application

 

I look forward for your feedback

 

 

 

 



MO Empty SMS Issue

2011-06-30 Thread Amr Qanadilo
Dear List;


I have a question regarding Kannel;



We are using a Redhat linux and the latest release of Kannel. We would
appreciate your help in knowing how can we handle empty SMS though Kannel.
The use case is as follows;



User sends empty SMS, Kannel receive it and send it to our application. The
URL when received by the application is not understood by the apache server
so the apache reject the URL. I would like to know if there is a way to tell
Kannel to respond automatically to the empty sms by sending text sms back
without coming in to the application



I look forward for your feedback


Re: MO Empty SMS Issue

2011-06-30 Thread Nikos Balkanas
Yes. You can use for that the default SMS-service or configure in an empty 
one. Read in UF about sms-service.


BR,
Nikos
- Original Message - 
From: Amr Qanadilo

To: users@kannel.org
Sent: Thursday, June 30, 2011 10:55 AM
Subject: MO Empty SMS Issue


Dear List;

I have a question regarding Kannel;

We are using a Redhat linux and the latest release of Kannel. We would 
appreciate your help in knowing how can we handle empty SMS though Kannel. 
The use case is as follows;


User sends empty SMS, Kannel receive it and send it to our application. The 
URL when received by the application is not understood by the apache server 
so the apache reject the URL. I would like to know if there is a way to tell 
Kannel to respond automatically to the empty sms by sending text sms back 
without coming in to the application


I look forward for your feedback 





Re: MO Empty SMS Issue

2011-06-30 Thread ha...@aeon.pk
Check reply-emptymessage in SMSBOX section in userguide.


On Thu, Jun 30, 2011 at 12:55 PM, Amr Qanadilo amr1...@gmail.com wrote:

 Dear List;


 I have a question regarding Kannel;



 We are using a Redhat linux and the latest release of Kannel. We would
 appreciate your help in knowing how can we handle empty SMS though Kannel.
 The use case is as follows;



 User sends empty SMS, Kannel receive it and send it to our application. The
 URL when received by the application is not understood by the apache server
 so the apache reject the URL. I would like to know if there is a way to tell
 Kannel to respond automatically to the empty sms by sending text sms back
 without coming in to the application



 I look forward for your feedback