Go through the user guide, read the sms-service group specification and Kannel 
HTTP API to send sms. During development period, it is recommended to set your 
log-level to 0, to show all possible error and response.




On Jan 13, 2012, at 3:52 AM, mohamed keita wrote:

> Hello. Here is my configuration file. I want to be notified in addition to 
> the server's response when the users send a message(keyword) to kannel.
>  
> group = core
> admin-port = 13000
> admin-password = fyle-gtw
> status-password = fyle-gtw
> admin-allow-ip = "127.0.0.1,192.168.2.12"
> smsbox-port= 13001
> wdp-interface-name = "*"
> log-file = "/var/log/kannel/bearerbox.log"
> box-allow-ip = "127.0.0.1"
> sms-incoming-queue-limit = -1
> smsbox-max-pending = 400
>  
> #Configuration smsbox
> group =smsbox
> bearerbox-host = localhost
> global-sender=13003
> sendsms-port=13003
> log-level=4
> log-file="/var/log/kannel/smsbox.log"
>  
> # Configuration send-sms user(Parametres de connexion avec le navigateur)
>  
> group= sendsms-user
> username=fyle
> password=fyle
> #concatenation=true
> max-messages = 3
>  
> # Configuration sms-service
>  
> group=sms-service
> keyword=default
> text="Le texte a ete mal saisi, veuillez le resaisir."
>  
> group=sms-service
> keyword=numero
> aliases=Numero
> get-url="http://localhost/kannel/traitement.php?numero=%p&time=%t&text=%a";
> faked-sender = 445
>  
>  # Smsc (telephone portable)
>  
> group = smsc
> smsc = at
> modemtype = samsung
> device =/dev/ttyACM0
> #device=/dev/usb/tts/0
> my-number = 99999999
> log-level=1
> host=192.168.2.12
> sim-buffering=true
>  
> #Configuration Modem Samsung
>  
> group = modems
> id = samsung
> name = " SAMSUNG Mobile USB Modem"
> detect-string = "samsung"
> init-string = "AT+CNMI=2,1,0,0,0"
> #init-string = "ATZ"
> #init-string = "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"
> speed=9600
> message-storage=sm
> smsc-id=fyle-smsc
>  
>  
> 
>  
> 
> 

Willy Mularto
F300HD+MR18DE (NLC1725)









Reply via email to