source code documentation

2008-08-08 Thread bahassi rim hajar
hi ,

I would like to study the source code of kannel.is there someone who could show 
me the documentation concerning the source code.

regards

RIM


  
_ 
Envoyez avec Yahoo! Mail. Une boite mail plus intelligente http://mail.yahoo.fr



wap push (PPG)

2008-08-05 Thread bahassi rim hajar
hi everyboby,

i have a problem with wap push and i don't know what's the matter . 

this is my configuration :

group = core
admin-port = 13000
smsbox-port = 13001
wapbox-port = 13002
wdp-interface-name = *
admin-password = bar
box-deny-ip = *.*.*.*
box-allow-ip = 127.0.0.1


group = sendsms-user
username = tester
password = foobar
max-messages=5
concatenation = true


# WAPBOX SETUP, for pushing and for pulling (fetching) the wap data 

group = wapbox
bearerbox-host = 127.0.0.1

#log-file = /tmp/wapbox.log
#log-level = 0
#syslog-level = none

# PPG CORE SETUP, for defining the push request interface


group = ppg
ppg-url = /cgi-bin/wap-push
ppg-port = 8080
global-sender= 13013
ppg-allow-ip = *.*.*.*
concurrent-pushes = 100
ppg-smsbox-id = dlrbox
trusted-pi = false
users = 1024



# PPG USER SETUP, for authorizing a specific push user

group = wap-push-user
wap-push-user = tester
ppg-username = tester
ppg-password = foobar
smsbox-id = dlrbox
dlr-url=*


# SMSC CONNECTIONS, for pushing SI, SL, MMS notifications or whatever over SMS

group = smsc
smsc = smpp
host = *
port = *
smsc-username = *
smsc-password = *
system-type = *
address-range = *
source-addr-ton=1
source-addr-npi=1


# SMSBOX SETUP (a kludge!)

group = smsbox
bearerbox-host = 127.0.0.1
smsbox-id = dlrbox
sendsms-port = 13013
global-sender = 13013



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


when i use this request : 
http://localhost:8080/cgi-bin/wap-push?username=testerpassword=foobarfrom=13254698to=21261393828text=%3c%3fxml+version%3d%221.0%22%3f%3e%0d%0a%3c!DOCTYPE+si+PUBLIC+%22-%2f%2fWAPFORUM%2f%2fDTD+SI+1.0%2f%2fEN%22%0d%0a%22http%3a%2f%2fwww.wapforum.org%2fDTD%2fsi.dtd%22%3e%0d%0a%3csi%3e%0d%0a%3cindication+href%3d%22http%3a%2f%2fwww.gni.ch%22%0d%0asi-id%3d%221%40gni.ch%22%3e%0d%0aYou+have+4+new+emails%0d%0a%3c%2findication%3e%0d%0a%3c%2fsi%3e

i have this message : You are not allowed to use this service. Do not retry. 

i don't undersand what's matter , pleas help

regards

Rim



  
_ 
Envoyez avec Yahoo! Mail. Une boite mail plus intelligente http://mail.yahoo.fr



Re : Http connection to smsc

2008-08-05 Thread bahassi rim hajar
Hi dave, 

as i know, you have to give for port any number you want ,but not the same one 
as send port .

Rim


--- En date de : Mar 5.8.08, Dave Jong A Lock [EMAIL PROTECTED] a écrit :

 De: Dave Jong A Lock [EMAIL PROTECTED]
 Objet: Http connection to smsc
 À: users@kannel.org
 Date: Mardi 5 Août 2008, 16h12
 Hi all,
 
 I already posted a question on this problem and got 1
 answer, but this is
 still not working.
 
 Scenario: I just got a http (xml) connection from the smsc,
 saying they will
 send all incoming sms to my application for me.
 
 
 my conf:
 group = smsc
 type = http
 system-type = generic
 smsc-id = abc
 port = the port I will give to smsc
 smsc-username = username
 smsc-password = password
 status-succes-regex = ok
 status-permfail-regex = failure
 status-tempfail-regex = retry later
 
 
 Questions:
 
 What ip and port can/should I give them for this to work?
 Is my conf correct or am I missing things?
 
 
 Dave


  
_ 
Envoyez avec Yahoo! Mail. Une boite mail plus intelligente http://mail.yahoo.fr



Configuration Modem

2008-08-01 Thread bahassi rim hajar
hi,

I have a problem with my configuration for modem,i can send a sms because 
kannel don't find my modem,i have this message all time 3: Queued for later 
delivery, i don't have a message error in my konsole.

This is my configuration :
group = smsbox
bearerbox-host = 127.0.0.1
sendsms-port = 13013
global-sender = 13013
mo-recode= true

group = smsc
smsc = at
#port=1
modemtype = auto
device = /dev/ttyS0
pin = 1234


# If modemtype=auto, try everyone and defaults to this one
group = modems
id = generic
name = Generic Modem

group = modems
id = wavecom
name = Wavecom
detect-string = WAVECOM

group = modems
id = premicell
name = Premicell
detect-string = PREMICEL
no-pin = true
no-smsc = true


group = modems
id = siemens_mc35
name = Siemens MC35
detect-string = SIEMENS
detect-string2 = MC35
init-string = AT+CNMI=1,2,0,1,1
#speed = 115200
enable-hwhs = AT\\Q3
need-sleep = true
message-storage = SM

A few weeks ago i didn't have this problem. 

Please help 

Rim


  
_ 
Envoyez avec Yahoo! Mail. Une boite mail plus intelligente http://mail.yahoo.fr



Re: coding UCS2

2008-08-01 Thread bahassi rim hajar

This is the url that i'm trying with :

http://localhost:13013/cgi-bin/sendsms?username=testerpassword=foobarfrom=13254698coding=2charset=UTF-16beto=1234566text=hello+ç+é+world

i have tried with athor charset but no change.


--- En date de : Ven 1.8.08, Kashif Ali Bukhari [EMAIL PROTECTED] a écrit :

 De: Kashif Ali Bukhari [EMAIL PROTECTED]
 Objet: Re: coding UCS2
 À: [EMAIL PROTECTED]
 Cc: users@kannel.org
 Date: Vendredi 1 Août 2008, 16h29
 what utf encoding are you using? try with utf-16
 
 On Tue, Jul 29, 2008 at 4:50 PM, bahassi rim hajar
 [EMAIL PROTECTED] wrote:
  hi ,
 
  i would  like to send a sms coding with UCS2 ,but i
 have a problem i don't understand why.
 
  i have add a variable coding=2 to the
 request HTTP and what i have when the message arrive is
 nothing.
 
  Could someone help me.
 
  regards
 
  Rim
 
 
  
 _
  Envoyez avec Yahoo! Mail. Une boite mail plus
 intelligente http://mail.yahoo.fr
 
 
 
 
 
 -- 
 Syed Kashif Ali Bukhari
 +92-300-4295604
 http://www.sysadminsline.com
 http://www.kashifbukhari.com


  
_ 
Envoyez avec Yahoo! Mail. Une boite mail plus intelligente http://mail.yahoo.fr



Re: coding UCS2

2008-07-31 Thread bahassi rim hajar
a think i have encoded url correctly,this is the one :

http://localhost:13013/cgi-bin/sendsms?username=testerpassword=foobarfrom=13254698coding=2to=123456789text=hello+world



--- En date de : Mar 29.7.08, monim benayad [EMAIL PROTECTED] a écrit :

 De: monim benayad [EMAIL PROTECTED]
 Objet: Re: coding UCS2
 À: [EMAIL PROTECTED]
 Cc: users@kannel.org
 Date: Mardi 29 Juillet 2008, 18h35
 Do you encode your message for URL correctly?
 
 
 On Tue, Jul 29, 2008 at 2:50 PM, bahassi rim hajar
 [EMAIL PROTECTED]
  wrote:
 
  hi ,
 
  i would  like to send a sms coding with UCS2 ,but i
 have a problem i don't
  understand why.
 
  i have add a variable coding=2 to the
 request HTTP and what i have when
  the message arrive is nothing.
 
  Could someone help me.
 
  regards
 
  Rim
 
 
 
  
 _
  Envoyez avec Yahoo! Mail. Une boite mail plus
 intelligente
  http://mail.yahoo.fr
 
 


  
_ 
Envoyez avec Yahoo! Mail. Une boite mail plus intelligente http://mail.yahoo.fr



Re: coding UCS2

2008-07-31 Thread bahassi rim hajar

a think i have encoded url correctly,this is the one :

http://localhost:13013/cgi-bin/sendsms?username=testerpassword=foobarfrom=13254698coding=2to=123456789text=hello+world



--- En date de : Mar 29.7.08, monim benayad [EMAIL PROTECTED] a écrit
:

 De: monim benayad [EMAIL PROTECTED]
 Objet: Re: coding UCS2
 À: [EMAIL PROTECTED]
 Cc: users@kannel.org
 Date: Mardi 29 Juillet 2008, 18h35
 Do you encode your message for URL correctly?
 
 
 On Tue, Jul 29, 2008 at 2:50 PM, bahassi rim hajar
 [EMAIL PROTECTED]
  wrote:
 
  hi ,
 
  i would  like to send a sms coding with UCS2 ,but i
 have a problem i don't
  understand why.
 
  i have add a variable coding=2 to the
 request HTTP and what i have when
  the message arrive is nothing.
 
  Could someone help me.
 
  regards
 
  Rim
 
 
 
  

_
  Envoyez avec Yahoo! Mail. Une boite mail plus
 intelligente
  http://mail.yahoo.fr



  
_ 
Envoyez avec Yahoo! Mail. Une boite mail plus intelligente http://mail.yahoo.fr



coding UCS2

2008-07-29 Thread bahassi rim hajar
hi ,

i would  like to send a sms coding with UCS2 ,but i have a problem i don't 
understand why.

i have add a variable coding=2 to the request HTTP and what i have when the 
message arrive is nothing.

Could someone help me.

regards

Rim


  
_ 
Envoyez avec Yahoo! Mail. Une boite mail plus intelligente http://mail.yahoo.fr



Re: coding UCS2

2008-07-29 Thread bahassi rim hajar
Thank's for your answer.

i have add coding=2 and charset=UTF-16BE but nothing change. Do you now another 
variable in configuration that refer to coding?

Rim



--- En date de : Mar 29.7.08, Jovan Kostovski [EMAIL PROTECTED] a écrit :

 De: Jovan Kostovski [EMAIL PROTECTED]
 Objet: Re: coding UCS2
 À: [EMAIL PROTECTED]
 Cc: users@kannel.org
 Date: Mardi 29 Juillet 2008, 13h24
 On Tue, Jul 29, 2008 at 1:50 PM, bahassi rim hajar
 [EMAIL PROTECTED] wrote:
  hi ,
 
  i would  like to send a sms coding with UCS2 ,but i
 have a problem i don't understand why.
 
  i have add a variable coding=2 to the
 request HTTP and what i have when the message arrive is
 nothing.
 
  Could someone help me.
 
 add coding=2 and charset=UTF-16BE
 
 
 BR, Jovan


  
_ 
Envoyez avec Yahoo! Mail. Une boite mail plus intelligente http://mail.yahoo.fr



receiving Mo message and execute a programme

2008-07-28 Thread bahassi rim hajar
hi,

i have a probleme in configuration for sms-service. i receive Mo message but 
the sms-service don't treat them. this is my configuration for this :

#group = sms-service
#keyword = default
#max-messages = 10
#concatenation = true
#exec=/home/kannel/Documents/smsin  --modemname=... 
--path=/home/kannel/Documents/exec/ --sender=%q --phonenumber=%Q --dcs=%m 
--udh=%u 
#accept-x-kannel-headers = true
#catch-all = true


i don't know why the programme don't execute.

Please help

Regards

Rim 


  
_ 
Envoyez avec Yahoo! Mail. Une boite mail plus intelligente http://mail.yahoo.fr



Re: receiving Mo message and execute a programme

2008-07-28 Thread bahassi rim hajar

hi peter,

thanks a lot for your answer .

what i would like to do,is to store a MO message in computer and after treat 
them. My commande line work verry good and i have test it whithout kannel, but 
with a variable exec,hi doesn't work. 

if i do it with an url, i will have a problems later, for that i would like to 
store them,and after treat them.

Rim

--- En date de : Lun 28.7.08, Otandeka Simon Peter [EMAIL PROTECTED] a écrit :

 De: Otandeka Simon Peter [EMAIL PROTECTED]
 Objet: Re: receiving Mo message and execute a programme
 À: bahassi rim hajar [EMAIL PROTECTED]
 Cc: users@kannel.org
 Date: Lundi 28 Juillet 2008, 12h23
 Hi Rim,
 
 Please read again the userguide especially on sms-service  
 configurations.
 
 Your shell command/script might not be working. Could try
 using a  
 URL(get-url) instead to process your messages.
 
 Hope I have helped.
 
 Cheers,
 Peter.
 
 On Jul 28, 2008, at 1:44 PM, bahassi rim hajar wrote:
 
  hi,
 
  i have a probleme in configuration for sms-service. i
 receive Mo  
  message but the sms-service don't treat them. this
 is my  
  configuration for this :
 
  #group = sms-service
  #keyword = default
  #max-messages = 10
  #concatenation = true
  #exec=/home/kannel/Documents/smsin 
 --modemname=... --path=/home/ 
  kannel/Documents/exec/ --sender=%q --phonenumber=%Q
 --dcs=%m --udh=%u
  #accept-x-kannel-headers = true
  #catch-all = true
 
 
  i don't know why the programme don't execute.
 
  Please help
 
  Regards
 
  Rim
 
 

 
 _
  Envoyez avec Yahoo! Mail. Une boite mail plus
 intelligente http://mail.yahoo.fr
 
 
 Never say you know a man until you have divided an
 inheritance with him.


  
_ 
Envoyez avec Yahoo! Mail. Une boite mail plus intelligente http://mail.yahoo.fr