unsubscribe

2009-09-04 Thread Niels Jonker
Niels,
--
Niels Jonker, njon...@gmail.com


2009/9/3 users-requ...@kannel.org

 Send users mailing list submissions to
users@kannel.org

 To subscribe or unsubscribe via the World Wide Web, visit
http://www.kannel.org/mailman/listinfo/users
 or, via email, send a message with subject or body 'help' to
users-requ...@kannel.org

 You can reach the person managing the list at
users-ow...@kannel.org

 When replying, please edit your Subject line so it is more specific
 than Re: Contents of users digest...

 Today's Topics:

   1. Re: Help required on Kannel (Nikos Balkanas)
   2. Re: Custom command_status in submit_sm_resp (Nikos Balkanas)
   3. Re: Custom command_status in submit_sm_resp (Nikos Balkanas)
   4. Re: Custom command_status in submit_sm_resp (Nikos Balkanas)
   5. Re: Wavecom Modem Not Responding. (Sam)


 -- Forwarded message --
 From: Nikos Balkanas nbalka...@gmail.com
 To: Siddhartha` Adhikari grad...@gmail.com
 Date: Thu, 3 Sep 2009 21:05:13 +0300
 Subject: Re: Help required on Kannel
  Hi,

 Please address the list so that others benefit as well. Do not send me
 personnals.

 Actually store-file is outdated. Look in user-guide for both store-type 
 store-location. And enable application log files (not access logs unless
 needed).

 These 2 parameters configure kannels message queue.

 BR,
 Nikos

 - Original Message -
 *From:* Siddhartha` Adhikari grad...@gmail.com
 *To:* Nikos Balkanas nbalka...@gmail.com
 *Sent:* Thursday, September 03, 2009 5:38 PM
 *Subject:* Re: Help required on Kannel

 Hi Nikos,

 How would these two parameters help?

 Regards
 Siddhartha

 2009/9/3 Nikos Balkanas nbalka...@gmail.com

  Hi,

 You need to have store-file and store-location defined to start bearerbox.
 Read user's guide to configure them.

 BR,
 Nikos

  - Original Message -
 *From:* Siddhartha` Adhikari grad...@gmail.com
 *To:* users@kannel.org
 *Sent:* Thursday, September 03, 2009 4:46 PM
 *Subject:* Help required on Kannel

   Hi,

 I downloaded Kannel and installed Cygwin on my Windows XP machine.
 I have the following objective to be met:-

 a)   Exchange of messages between my java application and Kannel
 b)   Exchange of messages between Kannel and an Emulator/Device.
 c)   Exchange of messages between my java application and Device via
 Kannel.

 I am unable to understand the configurations and not even able to start.

 My application needs to recieve a paramter from the device via Kannel and
 then send back a response to the device via Kannel again

 How do I change the configurations to send a message from Kannel to my
 java application which is hosted on Tomcat?

 Here are the configurations:-

 Operating system and version.  – Windows XP SP3 version 2002 Professional
 Kannel version. – 1.4.3
 Libxml version.- libxml2
 Used client - ?
 Single or multi processor machine. – single processor
 Attach Kannel configuration file (remove passwords and login
 information!). – Attached the smskannel which came with the download.
 Attach Kannel log files from the failed attempt - N/A

 Can you please help me out with this?

 Regards
 Siddhartha




 -- Forwarded message --
 From: Nikos Balkanas nbalka...@gmail.com
 To: kan...@rolandow.nl
 Date: Thu, 3 Sep 2009 21:34:35 +0300
 Subject: Re: Custom command_status in submit_sm_resp
 Hi,

 Have you tried the %B parameter? Supposedly it returns billing info. It can
 be used both in access logs and dlr-urls. Its implementation is smsc
 specific. Otherwise i cannot think of any other case, other than application
 logs in debug mode, that kannel returns the information you need.

 BR,
 Nikos
 - Original Message - From: Rolandow kan...@rolandow.nl
 To: users@kannel.org
 Sent: Wednesday, September 02, 2009 11:06 AM
 Subject: Custom command_status in submit_sm_resp


  Hi,

 I have configured my Kannel, using custom tlv fields. But, according to
 the documentation of the gateway, it's possible that the gateway returns a
 custom command_status in the submit_sm_resp.

 For example, they return 0x400 if they were unable to charge the enduser
 because of insufficient funds.

 How can I extract these vendor specific codes from Kannel? Will this
 result be returned when I do a request to the sendsms cgi-bin? Would I
 receive a Status 202, but with a different number (I would expect 1024 in
 this case?)

 Thanks for your help in advance! :-)

 Kind regards,
 Roland.






 -- Forwarded message --
 From: Nikos Balkanas nbalka...@gmail.com
 To: kan...@rolandow.nl
 Date: Thu, 3 Sep 2009 21:48:17 +0300
 Subject: Re: Custom command_status in submit_sm_resp
 Hi,

 It seems Alex G is working on a patch to provide this along with other
 meta-data with %D.

 BR,
 Nikos
 - Original Message - From: Nikos Balkanas nbalka...@gmail.com
 To: kan...@rolandow.nl
 Cc: users@kannel.org
 Sent: Thursday, September 03, 2009 9:34 PM
 Subject: Re: Custom command_status in 

+ in destination

2009-09-04 Thread satish

Hi All
Can any body help me to put + as prefix in destination . I am using 
this url for sending(sendsms)


Example:
http://127.0.0.1:13013/cgi-bin/sendsms?username=abcpassword=defto=+91from=xxtext=test%20messagesmsc=smsc_test
when i am sending this url it not sending + appended with number
what changes i need to add in configuration files for that problem

My smsc configuration file is as

group = smsc
smsc = smpp
smsc-id = smpp_g
allowed-smsc-id = smpp_g
host = localhost
port = 2345
receive-port = 2345
#transceiver-mode = 0
system-type = smpp
#system-type = VMA
smsc-username = xyx
smsc-password = zzz
source-addr-ton = 1
source-addr-npi = 1
dest-addr-ton = 1
dest-addr-npi = 1
enquire-link-interval = 30
#allowed-prefix = 0
#denied-prefix = 0
#max-pending-submits = 0
#throughput = 0
msg-id-type = 0
source-addr-autodetect = yes
thanks  regards
Satish




Re: + in destination

2009-09-04 Thread Alejandro Guerrieri
You have to url encode it, + translates into a space if you use it on an
url.
Use %2B instead.

Regards,

Alejandro

On Fri, Sep 4, 2009 at 1:59 PM, satish satish.b...@routesms.com wrote:

 Hi All
 Can any body help me to put + as prefix in destination . I am using this
 url for sending(sendsms)

 Example:

 http://127.0.0.1:13013/cgi-bin/sendsms?username=abcpassword=defto=+91from=xxtext=test%20messagesmsc=smsc_test
 when i am sending this url it not sending + appended with number
 what changes i need to add in configuration files for that problem

 My smsc configuration file is as

 group = smsc
 smsc = smpp
 smsc-id = smpp_g
 allowed-smsc-id = smpp_g
 host = localhost
 port = 2345
 receive-port = 2345
 #transceiver-mode = 0
 system-type = smpp
 #system-type = VMA
 smsc-username = xyx
 smsc-password = zzz
 source-addr-ton = 1
 source-addr-npi = 1
 dest-addr-ton = 1
 dest-addr-npi = 1
 enquire-link-interval = 30
 #allowed-prefix = 0
 #denied-prefix = 0
 #max-pending-submits = 0
 #throughput = 0
 msg-id-type = 0
 source-addr-autodetect = yes
 thanks  regards
 Satish





Re: + in destination

2009-09-04 Thread seikath
did you try to urlencode the + ?

the other approach is to mess with the npi-tone settings values.

satish wrote:
 Hi All
 Can any body help me to put + as prefix in destination . I am using
 this url for sending(sendsms)
 
 Example:
 http://127.0.0.1:13013/cgi-bin/sendsms?username=abcpassword=defto=+91from=xxtext=test%20messagesmsc=smsc_test
 
 when i am sending this url it not sending + appended with number
 what changes i need to add in configuration files for that problem
 
 My smsc configuration file is as
 
 group = smsc
 smsc = smpp
 smsc-id = smpp_g
 allowed-smsc-id = smpp_g
 host = localhost
 port = 2345
 receive-port = 2345
 #transceiver-mode = 0
 system-type = smpp
 #system-type = VMA
 smsc-username = xyx
 smsc-password = zzz
 source-addr-ton = 1
 source-addr-npi = 1
 dest-addr-ton = 1
 dest-addr-npi = 1
 enquire-link-interval = 30
 #allowed-prefix = 0
 #denied-prefix = 0
 #max-pending-submits = 0
 #throughput = 0
 msg-id-type = 0
 source-addr-autodetect = yes
 thanks  regards
 Satish
 
 
 



Re: not able to use KANNEL with NOKIA N73 and SONY Ericcson w810i. Pl. help

2009-09-04 Thread Nagesh Anchan

Hi,

1) Upgrade to latest CVS, 1.4.3. You must be ~10 yrs out of date.
 --  We are alreday using 1.4.3. VERSION file confirms.

2) For Linux: dmesg | grep tty. For Solaris: grep tty /var/adm/messages, to get 
device your modem is mapped. 
 --  wvdialconf create output shows the device to be /dev/ttyACM0 It is also 
confirmed
in case of Sony Erricson handset.

3) Establish modem connection with minicom and/or wvdial
 -- modem connection is established without problem as the wvdialconf create 
output shows.

4) Configure modem devices and connection parameters in kannel
 -- we are using default values already present in the config file given with 
Kannel.

Good luck,
Nikos



---
Hello,

 

I have recently setup KANNEL 1.4.1. I have been trying to use phone-as-smsc 
feature of

kannel connecting GSM phones Nokia N73 and Sony Ericcson w810i but no

success so far. Nokia N73 could not even be opened. Sony Ericcson w810i

was opened successfully and SMS was accepted by smsbox (even by bearer box

also) but could not be sent.

 

 

I connected phone to PC (using data cable supplied by the vendor) on USB

port as usbserial.

 

following are the modem settings used.

.

group = modems

id = nokiaphone

name = Nokia Phone

detect-string = Nokia Mobile Phone

need-sleep = true

keepalive-cmd = AT+CBC;+CSQ

enable-mms = true

 

group = modems

id = sonyericsson_p1i

name = Sony Ericsson P1i

detect-string = Sony Ericsson P1i

init-string = ATQ0 V1 E1 S0=0 C1 D2 +FCLASS=0

message-storage = SM

reset-string = ATZ

broken = true

.

 

 

In case of Nokia N73: device (/dev/ttyACM0) could not even be opened.

following was the SMSC AT config done in smskannel.conf

 

.

include = /root/gateway-1.4.3/doc/examples/modems.conf

group = smsc

smsc = at

modemtype = nokiaphone

device = /dev/ttyACM0

speed = 9600

log-file = /tmp/kannelmodem.log

log-level = 0

.

 

The logs says:

2009-07-02 15:52:00 [3910] [6] INFO: AT2[/dev/ttyACM0]: opening device

2009-07-02 15:52:00 [3910] [6] DEBUG: AT2[/dev/ttyACM0]: device opened.

Telnet mode = 0

2009-07-02 15:52:01 [3910] [6] DEBUG: AT2[/dev/ttyACM0]: device opened

2009-07-02 15:52:01 [3910] [6] INFO: AT2[/dev/ttyACM0]: Logging in

2009-07-02 15:52:02 [3910] [6] INFO: AT2[/dev/ttyACM0]: init device

2009-07-02 15:52:02 [3910] [6] INFO: AT2[/dev/ttyACM0]: speed set to 9600

2009-07-02 15:52:02 [3910] [6] DEBUG: AT2[/dev/ttyACM0]: -- ATZ^M

2009-07-02 15:52:02 [3910] [6] DEBUG: AT2[/dev/ttyACM0]: -- OK

2009-07-02 15:52:02 [3910] [6] DEBUG: AT2[/dev/ttyACM0]: -- AT^M

2009-07-02 15:52:02 [3910] [6] DEBUG: AT2[/dev/ttyACM0]: -- AT

2009-07-02 15:52:02 [3910] [6] DEBUG: AT2[/dev/ttyACM0]: -- OK

2009-07-02 15:52:02 [3910] [6] DEBUG: AT2[/dev/ttyACM0]: -- ATF^M

2009-07-02 15:52:02 [3910] [6] DEBUG: AT2[/dev/ttyACM0]: -- ATF

2009-07-02 15:52:02 [3910] [6] DEBUG: AT2[/dev/ttyACM0]: -- OK

2009-07-02 15:52:02 [3910] [6] DEBUG: AT2[/dev/ttyACM0]: -- ATE0^M

2009-07-02 15:52:02 [3910] [6] DEBUG: AT2[/dev/ttyACM0]: -- ATE0

2009-07-02 15:52:02 [3910] [6] DEBUG: AT2[/dev/ttyACM0]: -- OK

2009-07-02 15:52:02 [3910] [6] DEBUG: AT2[/dev/ttyACM0]: -- AT+IFC=2,2^M

2009-07-02 15:52:02 [3910] [6] DEBUG: AT2[/dev/ttyACM0]: -- OK

2009-07-02 15:52:02 [3910] [6] DEBUG: AT2[/dev/ttyACM0]: -- AT+CPIN?^M

2009-07-02 15:52:02 [3910] [6] DEBUG: AT2[/dev/ttyACM0]: -- +CPIN: READY

2009-07-02 15:52:02 [3910] [6] DEBUG: AT2[/dev/ttyACM0]: -- OK

2009-07-02 15:52:02 [3910] [6] DEBUG: AT2[/dev/ttyACM0]: -- AT+CMGF=0^M

2009-07-02 15:52:03 [3910] [6] DEBUG: AT2[/dev/ttyACM0]: -- OK

2009-07-02 15:52:03 [3910] [6] DEBUG: AT2[/dev/ttyACM0]: -- AT+CSMS=?^M

2009-07-02 15:52:03 [3910] [6] DEBUG: AT2[/dev/ttyACM0]: -- +CSMS: (0)

2009-07-02 15:52:03 [3910] [6] DEBUG: AT2[/dev/ttyACM0]: -- OK

2009-07-02 15:52:03 [3910] [6] DEBUG: AT2[/dev/ttyACM0]: --

AT+CNMI=1,2,0,1,0^M

2009-07-02 15:52:03 [3910] [6] DEBUG: AT2[/dev/ttyACM0]: -- ERROR

2009-07-02 15:52:03 [3910] [6] ERROR: AT2[/dev/ttyACM0]: Generic error: ERROR

2009-07-02 15:52:03 [3910] [6] ERROR: AT2[/dev/ttyACM0]: Initialization of 
device failed.

2009-07-02 15:52:03 [3910] [6] INFO: AT2[/dev/ttyACM0]: Closing device

2009-07-02 15:52:03 [3910] [6] INFO: AT2[/dev/ttyACM0]: Closing device

 

 

 

In case of Sony Ericcson w810i : device (/dev/ttyACM0) was successfully opened. 
Bearerbox and Smsbox was successfully started. but sms could not be sent using 
http url.

Following was the SMSC AT config done in smskannel.conf

 

.

include = /root/gateway-1.4.3/doc/examples/modems.conf

group = smsc

smsc = at

modemtype = sonyericsson_p1i

device = /dev/ttyACM0

speed = 9600

log-file = /tmp/kannelmodem.log

log-level = 0

.

 

BEARERBOX log says:

2009-07-02 16:15:21 [3222] [6] INFO: AT2[/dev/ttyACM0]: opening device

2009-07-02 16:15:21 [3222] [6] DEBUG: AT2[/dev/ttyACM0]: device opened.

Telnet mode = 0

2009-07-02 16:15:21 

Re: not able to use KANNEL with NOKIA N73 and SONY Ericcson w810i.Pl. help

2009-09-04 Thread Nikos Balkanas

Hi,

This is a 2 months old discussion. It is a long time to remember what was 
said. To facilitate things next time please keep the original thread 
unedited and unchanged.


1) Logs you sent are from kannel 1.4.1. I am glad you upgraded since, but 
please supply fresh logs at maximum detail and your whole configuration 
file.


2) Nokia N73: Some Nokia phones have some problems with AT+CNMI. You can use 
your wvdial's output for a new init-string or consult manufacturer's AT set 
or simply skip CNMI from your init-string. Then copy nokiaphone's definition 
to nokia73 (or whatever you like) and append the new init-string.


3) Ericcson: I imagine you sent this SMS from your mobile (MO). There seems 
to be some information missing from the logs. I see a lot about not 
resending the SMS to the mobile (too soon) but I can't see the original 
failure.  Without it I can't tell the problem.


BR,
Nikos

- Original Message - 
From: Nagesh Anchan nagesh.anc...@ril.com

To: users@kannel.org
Sent: Friday, September 04, 2009 4:01 PM
Subject: Re: not able to use KANNEL with NOKIA N73 and SONY Ericcson 
w810i.Pl. help





Hi,

1) Upgrade to latest CVS, 1.4.3. You must be ~10 yrs out of date.
--  We are alreday using 1.4.3. VERSION file confirms.

2) For Linux: dmesg | grep tty. For Solaris: grep tty /var/adm/messages, 
to get device your modem is mapped.
--  wvdialconf create output shows the device to be /dev/ttyACM0 It is 
also confirmed

   in case of Sony Erricson handset.

3) Establish modem connection with minicom and/or wvdial
-- modem connection is established without problem as the wvdialconf 
create output shows.


4) Configure modem devices and connection parameters in kannel
-- we are using default values already present in the config file given 
with Kannel.


Good luck,
Nikos



---
Hello,



I have recently setup KANNEL 1.4.1. I have been trying to use 
phone-as-smsc feature of


kannel connecting GSM phones Nokia N73 and Sony Ericcson w810i but no

success so far. Nokia N73 could not even be opened. Sony Ericcson w810i

was opened successfully and SMS was accepted by smsbox (even by bearer box

also) but could not be sent.





I connected phone to PC (using data cable supplied by the vendor) on USB

port as usbserial.



following are the modem settings used.

.

group = modems

id = nokiaphone

name = Nokia Phone

detect-string = Nokia Mobile Phone

need-sleep = true

keepalive-cmd = AT+CBC;+CSQ

enable-mms = true



group = modems

id = sonyericsson_p1i

name = Sony Ericsson P1i

detect-string = Sony Ericsson P1i

init-string = ATQ0 V1 E1 S0=0 C1 D2 +FCLASS=0

message-storage = SM

reset-string = ATZ

broken = true

.





In case of Nokia N73: device (/dev/ttyACM0) could not even be opened.

following was the SMSC AT config done in smskannel.conf



.

include = /root/gateway-1.4.3/doc/examples/modems.conf

group = smsc

smsc = at

modemtype = nokiaphone

device = /dev/ttyACM0

speed = 9600

log-file = /tmp/kannelmodem.log

log-level = 0

.



The logs says:

2009-07-02 15:52:00 [3910] [6] INFO: AT2[/dev/ttyACM0]: opening device

2009-07-02 15:52:00 [3910] [6] DEBUG: AT2[/dev/ttyACM0]: device opened.

Telnet mode = 0

2009-07-02 15:52:01 [3910] [6] DEBUG: AT2[/dev/ttyACM0]: device opened

2009-07-02 15:52:01 [3910] [6] INFO: AT2[/dev/ttyACM0]: Logging in

2009-07-02 15:52:02 [3910] [6] INFO: AT2[/dev/ttyACM0]: init device

2009-07-02 15:52:02 [3910] [6] INFO: AT2[/dev/ttyACM0]: speed set to 9600

2009-07-02 15:52:02 [3910] [6] DEBUG: AT2[/dev/ttyACM0]: -- ATZ^M

2009-07-02 15:52:02 [3910] [6] DEBUG: AT2[/dev/ttyACM0]: -- OK

2009-07-02 15:52:02 [3910] [6] DEBUG: AT2[/dev/ttyACM0]: -- AT^M

2009-07-02 15:52:02 [3910] [6] DEBUG: AT2[/dev/ttyACM0]: -- AT

2009-07-02 15:52:02 [3910] [6] DEBUG: AT2[/dev/ttyACM0]: -- OK

2009-07-02 15:52:02 [3910] [6] DEBUG: AT2[/dev/ttyACM0]: -- ATF^M

2009-07-02 15:52:02 [3910] [6] DEBUG: AT2[/dev/ttyACM0]: -- ATF

2009-07-02 15:52:02 [3910] [6] DEBUG: AT2[/dev/ttyACM0]: -- OK

2009-07-02 15:52:02 [3910] [6] DEBUG: AT2[/dev/ttyACM0]: -- ATE0^M

2009-07-02 15:52:02 [3910] [6] DEBUG: AT2[/dev/ttyACM0]: -- ATE0

2009-07-02 15:52:02 [3910] [6] DEBUG: AT2[/dev/ttyACM0]: -- OK

2009-07-02 15:52:02 [3910] [6] DEBUG: AT2[/dev/ttyACM0]: -- AT+IFC=2,2^M

2009-07-02 15:52:02 [3910] [6] DEBUG: AT2[/dev/ttyACM0]: -- OK

2009-07-02 15:52:02 [3910] [6] DEBUG: AT2[/dev/ttyACM0]: -- AT+CPIN?^M

2009-07-02 15:52:02 [3910] [6] DEBUG: AT2[/dev/ttyACM0]: -- +CPIN: READY

2009-07-02 15:52:02 [3910] [6] DEBUG: AT2[/dev/ttyACM0]: -- OK

2009-07-02 15:52:02 [3910] [6] DEBUG: AT2[/dev/ttyACM0]: -- AT+CMGF=0^M

2009-07-02 15:52:03 [3910] [6] DEBUG: AT2[/dev/ttyACM0]: -- OK

2009-07-02 15:52:03 [3910] [6] DEBUG: AT2[/dev/ttyACM0]: -- AT+CSMS=?^M

2009-07-02 15:52:03 [3910] [6] DEBUG: AT2[/dev/ttyACM0]: -- +CSMS: (0)

2009-07-02 15:52:03 [3910] [6] DEBUG: AT2[/dev/ttyACM0]: -- OK