Re: Network Initiated USSR

2010-02-15 Thread Elton Hoxha
Hi,

The send-sms URL looks OK, when meta data variable is set to 2 you should
receive the USSR request in your mobile.

Try to change the length = 2 in your conf to length = 1.

Hope it helps

On Mon, Feb 15, 2010 at 8:55 AM, GSM Revolution gsm@gmail.com wrote:

 Hi,

 I want to start an USSR with session initiated from network end(not from
 handset).
 I am sending Network Initiated USSR to smpp server with ussd_service_op and
 its_session_info but getting as an USSN in my handset.

 parameters set for metadata are -
 *ussd_service_op=2 (for USSR)
 and its_session_info=*

 Here is the URL post -
 
 http://localhost:8080/cgi-bin/sendsms?user=ABCpassword=XYZfrom=Testto=123456789012text=WelCome%20To%20World%0A1%2ETime%0A2%2EDate%0Ametadata=%3Fsmpp%3Fservice%5Fop%3D2%26session%5Finfo%3D
 

 Do i need any other parameter configuration in kannel config file ??

 Fragment of my config file is -
 *group = smpp-tlv
 name = service_op
 tag = 0x0501
 type = integer
 length = 2

 group = smpp-tlv
 name = session_info
 tag = 0x1383
 type = octetstring
 length = 4
 *




Re: Kannel Store Problem

2010-02-15 Thread Konstantin Vayner
Hello Kiran,

Please, check the version of Kannel you're running.
These configuration options were added in version 1.4.3.
I suspect you're using older version


Regards,
  Konstantin

On Mon, Feb 15, 2010 at 9:27 AM, kiran.re...@mpowerglobal.in 
kiran.re...@mpowerglobal.in wrote:

  Hi All,

 I am not able to use store-type and store-location if i use both option or
 any single option kannel not at all starting up if I comment both kannel
 starting please help me what is the solution for it.
 below is my kannel conf.

 group = core
 admin-port = 13000
 admin-password = hard2guess
 smsbox-port = 13001
 log-file = /var/log/kannel/bearerbox.log
 log-level = 1
 access-log = /var/log/kannel/access.log
 store-type = spool ( *if i use this kannel is not  working* ) * Solution*?
 store-location = /var/spool/kannel( *if i use this also kannel is not
 working* ) *Solution ?*
 **store-dump-freq = 10
 smsbox-max-pending = 50
 sms-resend-freq = 60
 sms-resend-retry = 120
 sms-combine-concatenated-mo = 1

 --

 **

 * *
 *

 Warm Regards,
 Kiran Reddy

 MPOWER

  91-9036971573

 P Please consider the environment before printing this email.

 Visit us at: www.mpowerglobal.in


  *





Re: Network Initiated USSR

2010-02-15 Thread ricky123

Hi,

Thank you for your reply.
I changed length to '1' and found no difference.
still i am getting as an USSN messgae not an USSR.


elthox wrote:
 
 Hi,
 
 The send-sms URL looks OK, when meta data variable is set to 2 you should
 receive the USSR request in your mobile.
 
 Try to change the length = 2 in your conf to length = 1.
 
 Hope it helps
 
 On Mon, Feb 15, 2010 at 8:55 AM, GSM Revolution gsm@gmail.com wrote:
 
 Hi,

 I want to start an USSR with session initiated from network end(not from
 handset).
 I am sending Network Initiated USSR to smpp server with ussd_service_op
 and
 its_session_info but getting as an USSN in my handset.

 parameters set for metadata are -
 *ussd_service_op=2 (for USSR)
 and its_session_info=*

 Here is the URL post -
 
 http://localhost:8080/cgi-bin/sendsms?user=ABCpassword=XYZfrom=Testto=123456789012text=WelCome%20To%20World%0A1%2ETime%0A2%2EDate%0Ametadata=%3Fsmpp%3Fservice%5Fop%3D2%26session%5Finfo%3D
 

 Do i need any other parameter configuration in kannel config file ??

 Fragment of my config file is -
 *group = smpp-tlv
 name = service_op
 tag = 0x0501
 type = integer
 length = 2

 group = smpp-tlv
 name = session_info
 tag = 0x1383
 type = octetstring
 length = 4
 *


 
 

-- 
View this message in context: 
http://old.nabble.com/Network-Initiated-USSR-tp27590456p27591144.html
Sent from the Kannel - User mailing list archive at Nabble.com.




Re: Kannel Store Problem

2010-02-15 Thread Nikos Balkanas
Hi,

Probably your store-location doesn't exist or isn't a directory. If it still 
persists please post detailed bb logs with the problem.

BR,
Nikos
  - Original Message - 
  From: kiran.re...@mpowerglobal.in 
  To: Users mailing list 
  Sent: Monday, February 15, 2010 9:27 AM
  Subject: Kannel Store Problem


  Hi All,

  I am not able to use store-type and store-location if i use both option or 
any single option kannel not at all starting up if I comment both kannel 
starting please help me what is the solution for it.
  below is my kannel conf.

  group = core
  admin-port = 13000
  admin-password = hard2guess
  smsbox-port = 13001
  log-file = /var/log/kannel/bearerbox.log
  log-level = 1
  access-log = /var/log/kannel/access.log
  store-type = spool ( if i use this kannel is not  working )  Solution ?
  store-location = /var/spool/kannel( if i use this also kannel is not 
working ) Solution ?
  store-dump-freq = 10
  smsbox-max-pending = 50
  sms-resend-freq = 60
  sms-resend-retry = 120
  sms-combine-concatenated-mo = 1


  -- 



  Warm Regards, 
  Kiran Reddy

  MPOWER

   91-9036971573

  P Please consider the environment before printing this email. 

  Visit us at: www.mpowerglobal.in








Re: Kannel Store Problem

2010-02-15 Thread kiran.re...@mpowerglobal.in

Hi Konstantin Vayner,

I am using Kannel  version `cvs-20091109'.

**

*

Warm Regards,
Kiran Reddy

MPOWER

91-9036971573

P Please consider the environment before printing this email.

Visit us at: www.mpowerglobal.in http://www.mpowerglobal.in/

*



Konstantin Vayner wrote:

Hello Kiran,

Please, check the version of Kannel you're running.
These configuration options were added in version 1.4.3.
I suspect you're using older version


Regards,
  Konstantin

On Mon, Feb 15, 2010 at 9:27 AM, kiran.re...@mpowerglobal.in 
mailto:kiran.re...@mpowerglobal.in kiran.re...@mpowerglobal.in 
mailto:kiran.re...@mpowerglobal.in wrote:


Hi All,

I am not able to use store-type and store-location if i use both
option or any single option kannel not at all starting up if I
comment both kannel starting please help me what is the solution
for it.
below is my kannel conf.

group = core
admin-port = 13000
admin-password = hard2guess
smsbox-port = 13001
log-file = /var/log/kannel/bearerbox.log
log-level = 1
access-log = /var/log/kannel/access.log
store-type = spool ( *if i use this kannel is not  working* ) *
Solution* ?
store-location = /var/spool/kannel( *if i use this also kannel
is not working* ) *Solution ?*
store-dump-freq = 10
smsbox-max-pending = 50
sms-resend-freq = 60
sms-resend-retry = 120
sms-combine-concatenated-mo = 1

-- 


**

* *

*

Warm Regards,
Kiran Reddy

MPOWER

 91-9036971573

P Please consider the environment before printing this email.

Visit us at: www.mpowerglobal.in http://www.mpowerglobal.in/


*

 





Re: Network Initiated USSR

2010-02-15 Thread Elton Hoxha
Hi,

I`m just wondering why you are using session info TLV. The session can be
handled easily in application side, no need to use kannel for it. At least
this is the way I`m developing the ussd menu.

It is just an assumption, maybe doesnt affect at all, but try not to include
the session info inside meta-data, leave it purely for service_op.

Regards

On Mon, Feb 15, 2010 at 10:19 AM, ricky123 gsm@gmail.com wrote:


 Hi,

 Thank you for your reply.
 I changed length to '1' and found no difference.
 still i am getting as an USSN messgae not an USSR.


 elthox wrote:
 
  Hi,
 
  The send-sms URL looks OK, when meta data variable is set to 2 you should
  receive the USSR request in your mobile.
 
  Try to change the length = 2 in your conf to length = 1.
 
  Hope it helps
 
  On Mon, Feb 15, 2010 at 8:55 AM, GSM Revolution gsm@gmail.com
 wrote:
 
  Hi,
 
  I want to start an USSR with session initiated from network end(not from
  handset).
  I am sending Network Initiated USSR to smpp server with ussd_service_op
  and
  its_session_info but getting as an USSN in my handset.
 
  parameters set for metadata are -
  *ussd_service_op=2 (for USSR)
  and its_session_info=*
 
  Here is the URL post -
  
 
 http://localhost:8080/cgi-bin/sendsms?user=ABCpassword=XYZfrom=Testto=123456789012text=WelCome%20To%20World%0A1%2ETime%0A2%2EDate%0Ametadata=%3Fsmpp%3Fservice%5Fop%3D2%26session%5Finfo%3D
  
 
  Do i need any other parameter configuration in kannel config file ??
 
  Fragment of my config file is -
  *group = smpp-tlv
  name = service_op
  tag = 0x0501
  type = integer
  length = 2
 
  group = smpp-tlv
  name = session_info
  tag = 0x1383
  type = octetstring
  length = 4
  *
 
 
 
 

 --
 View this message in context:
 http://old.nabble.com/Network-Initiated-USSR-tp27590456p27591144.html
 Sent from the Kannel - User mailing list archive at Nabble.com.





Re: Kannel Store Problem

2010-02-15 Thread kiran.re...@mpowerglobal.in

Hi Nikos Balkanas,

Still the problem persist and below is my log file.

bearerbox.log
-
2010-02-15 15:50:53 [28821] [0] INFO: Added logfile 
`/var/log/kannel/bearerbox.log' with level `1'.
2010-02-15 15:50:53 [28821] [0] INFO: Started access logfile 
`/var/log/kannel/access.log'.
2010-02-15 15:50:53 [28821] [0] ERROR: Could not open directory 
`/var/spool/kannel'
2010-02-15 15:50:53 [28821] [0] ERROR: System error 2: No such file or 
directory
2010-02-15 15:50:53 [28821] [0] PANIC: Could not start with store init 
failed.
2010-02-15 15:50:53 [28821] [0] PANIC: 
/usr/sbin/bearerbox(gw_panic+0x16d) [0x485cdd]
2010-02-15 15:50:53 [28821] [0] PANIC: /usr/sbin/bearerbox(main+0xc1b) 
[0x40f18b]
2010-02-15 15:50:53 [28821] [0] PANIC: 
/lib64/libc.so.6(__libc_start_main+0xf4) [0x343441d8a4]

2010-02-15 15:50:53 [28821] [0] PANIC: /usr/sbin/bearerbox [0x40d889]

**

*

Warm Regards,
Kiran Reddy

MPOWER

91-9036971573

P Please consider the environment before printing this email.

Visit us at: www.mpowerglobal.in http://www.mpowerglobal.in/

*



Nikos Balkanas wrote:

Hi,
 
Probably your store-location doesn't exist or isn't a directory. If it 
still persists please post detailed bb logs with the problem.
 
BR,

Nikos

- Original Message -
*From:* kiran.re...@mpowerglobal.in
mailto:kiran.re...@mpowerglobal.in
*To:* Users mailing list mailto:users@kannel.org
*Sent:* Monday, February 15, 2010 9:27 AM
*Subject:* Kannel Store Problem

Hi All,

I am not able to use store-type and store-location if i use both
option or any single option kannel not at all starting up if I
comment both kannel starting please help me what is the solution
for it.
below is my kannel conf.

group = core
admin-port = 13000
admin-password = hard2guess
smsbox-port = 13001
log-file = /var/log/kannel/bearerbox.log
log-level = 1
access-log = /var/log/kannel/access.log
store-type = spool ( *if i use this kannel is not  working* ) *
Solution* ?
store-location = /var/spool/kannel( *if i use this also kannel
is not working* ) *Solution ?*
store-dump-freq = 10
smsbox-max-pending = 50
sms-resend-freq = 60
sms-resend-retry = 120
sms-combine-concatenated-mo = 1

-- 


**

*

Warm Regards,
Kiran Reddy

MPOWER

 91-9036971573

P Please consider the environment before printing this email.

Visit us at: www.mpowerglobal.in http://www.mpowerglobal.in/


*

 



Re: Kannel Store Problem

2010-02-15 Thread Cezary Siwek
did you create the `/var/spool/kannel' directory with proper permissions?

BR
  - Original Message - 
  From: kiran.re...@mpowerglobal.in 
  To: Nikos Balkanas 
  Cc: Users mailing list 
  Sent: 15 February 2010 10:24
  Subject: Re: Kannel Store Problem


  Hi Nikos Balkanas,

  Still the problem persist and below is my log file.

  bearerbox.log
  -
  2010-02-15 15:50:53 [28821] [0] INFO: Added logfile 
`/var/log/kannel/bearerbox.log' with level `1'.
  2010-02-15 15:50:53 [28821] [0] INFO: Started access logfile 
`/var/log/kannel/access.log'.
  2010-02-15 15:50:53 [28821] [0] ERROR: Could not open directory 
`/var/spool/kannel'
  2010-02-15 15:50:53 [28821] [0] ERROR: System error 2: No such file or 
directory
  2010-02-15 15:50:53 [28821] [0] PANIC: Could not start with store init failed.
  2010-02-15 15:50:53 [28821] [0] PANIC: /usr/sbin/bearerbox(gw_panic+0x16d) 
[0x485cdd]
  2010-02-15 15:50:53 [28821] [0] PANIC: /usr/sbin/bearerbox(main+0xc1b) 
[0x40f18b]
  2010-02-15 15:50:53 [28821] [0] PANIC: 
/lib64/libc.so.6(__libc_start_main+0xf4) [0x343441d8a4]
  2010-02-15 15:50:53 [28821] [0] PANIC: /usr/sbin/bearerbox [0x40d889]




  Warm Regards, 
  Kiran Reddy

  MPOWER

   91-9036971573

  P Please consider the environment before printing this email. 

  Visit us at: www.mpowerglobal.in




  Nikos Balkanas wrote: 
Hi,

Probably your store-location doesn't exist or isn't a directory. If it 
still persists please post detailed bb logs with the problem.

BR,
Nikos
  - Original Message - 
  From: kiran.re...@mpowerglobal.in 
  To: Users mailing list 
  Sent: Monday, February 15, 2010 9:27 AM
  Subject: Kannel Store Problem


  Hi All,

  I am not able to use store-type and store-location if i use both option 
or any single option kannel not at all starting up if I comment both kannel 
starting please help me what is the solution for it.
  below is my kannel conf.

  group = core
  admin-port = 13000
  admin-password = hard2guess
  smsbox-port = 13001
  log-file = /var/log/kannel/bearerbox.log
  log-level = 1
  access-log = /var/log/kannel/access.log
  store-type = spool ( if i use this kannel is not  working )  Solution ?
  store-location = /var/spool/kannel( if i use this also kannel is not 
working ) Solution ?
  store-dump-freq = 10
  smsbox-max-pending = 50
  sms-resend-freq = 60
  sms-resend-retry = 120
  sms-combine-concatenated-mo = 1


  -- 



  Warm Regards, 
  Kiran Reddy

  MPOWER

   91-9036971573

  P Please consider the environment before printing this email. 

  Visit us at: www.mpowerglobal.in








Re: Kannel Store Problem

2010-02-15 Thread kiran.re...@mpowerglobal.in

Hi,

I created kannel folder with full permissions in /var/spool/kannel/ it 
is working but the thing is kannel created one folder the folder name is 
86 what is that mean ? :-)


**

*

Warm Regards,
Kiran Reddy

MPOWER

91-9036971573

P Please consider the environment before printing this email.

Visit us at: www.mpowerglobal.in http://www.mpowerglobal.in/


*





Cezary Siwek wrote:

did you create the `/var/spool/kannel' directory with proper permissions?
 
BR


- Original Message -
*From:* kiran.re...@mpowerglobal.in
mailto:kiran.re...@mpowerglobal.in
*To:* Nikos Balkanas mailto:nbalka...@gmail.com
*Cc:* Users mailing list mailto:users@kannel.org
*Sent:* 15 February 2010 10:24
*Subject:* Re: Kannel Store Problem

Hi Nikos Balkanas,

Still the problem persist and below is my log file.

bearerbox.log
-
2010-02-15 15:50:53 [28821] [0] INFO: Added logfile
`/var/log/kannel/bearerbox.log' with level `1'.
2010-02-15 15:50:53 [28821] [0] INFO: Started access logfile
`/var/log/kannel/access.log'.
2010-02-15 15:50:53 [28821] [0] ERROR: Could not open directory
`/var/spool/kannel'
2010-02-15 15:50:53 [28821] [0] ERROR: System error 2: No such
file or directory
2010-02-15 15:50:53 [28821] [0] PANIC: Could not start with store
init failed.
2010-02-15 15:50:53 [28821] [0] PANIC:
/usr/sbin/bearerbox(gw_panic+0x16d) [0x485cdd]
2010-02-15 15:50:53 [28821] [0] PANIC:
/usr/sbin/bearerbox(main+0xc1b) [0x40f18b]
2010-02-15 15:50:53 [28821] [0] PANIC:
/lib64/libc.so.6(__libc_start_main+0xf4) [0x343441d8a4]
2010-02-15 15:50:53 [28821] [0] PANIC: /usr/sbin/bearerbox [0x40d889]

**

*

Warm Regards,
Kiran Reddy

MPOWER

 91-9036971573

P Please consider the environment before printing this email.

Visit us at: www.mpowerglobal.in http://www.mpowerglobal.in/

*



Nikos Balkanas wrote:

Hi,
 
Probably your store-location doesn't exist or isn't a directory.

If it still persists please post detailed bb logs with the problem.
 
BR,

Nikos

- Original Message -
*From:* kiran.re...@mpowerglobal.in
mailto:kiran.re...@mpowerglobal.in
*To:* Users mailing list mailto:users@kannel.org
*Sent:* Monday, February 15, 2010 9:27 AM
*Subject:* Kannel Store Problem

Hi All,

I am not able to use store-type and store-location if i use
both option or any single option kannel not at all starting
up if I comment both kannel starting please help me what is
the solution for it.
below is my kannel conf.

group = core
admin-port = 13000
admin-password = hard2guess
smsbox-port = 13001
log-file = /var/log/kannel/bearerbox.log
log-level = 1
access-log = /var/log/kannel/access.log
store-type = spool ( *if i use this kannel is not  working*
) * Solution* ?
store-location = /var/spool/kannel( *if i use this also
kannel is not working* ) *Solution ?*
store-dump-freq = 10
smsbox-max-pending = 50
sms-resend-freq = 60
sms-resend-retry = 120
sms-combine-concatenated-mo = 1

-- 


**

*

Warm Regards,
Kiran Reddy

MPOWER

 91-9036971573

P Please consider the environment before printing this email.

Visit us at: www.mpowerglobal.in http://www.mpowerglobal.in/


*

 



Re: Kannel Store Problem

2010-02-15 Thread Nikos Balkanas
Hi,

You should at least read the logs before posting to the group. It is exactly as 
i told you:

ERROR: Could not open directory `/var/spool/kannel'

I don't know how more explicitly logs can tell you that, but certainly you 
don't need to address the list and wait for an answer.

BR,
Nikos
  - Original Message - 
  From: kiran.re...@mpowerglobal.in 
  To: Nikos Balkanas 
  Cc: Users mailing list 
  Sent: Monday, February 15, 2010 12:24 PM
  Subject: Re: Kannel Store Problem


  Hi Nikos Balkanas,

  Still the problem persist and below is my log file.

  bearerbox.log
  -
  2010-02-15 15:50:53 [28821] [0] INFO: Added logfile 
`/var/log/kannel/bearerbox.log' with level `1'.
  2010-02-15 15:50:53 [28821] [0] INFO: Started access logfile 
`/var/log/kannel/access.log'.
  2010-02-15 15:50:53 [28821] [0] ERROR: Could not open directory 
`/var/spool/kannel'
  2010-02-15 15:50:53 [28821] [0] ERROR: System error 2: No such file or 
directory
  2010-02-15 15:50:53 [28821] [0] PANIC: Could not start with store init failed.
  2010-02-15 15:50:53 [28821] [0] PANIC: /usr/sbin/bearerbox(gw_panic+0x16d) 
[0x485cdd]
  2010-02-15 15:50:53 [28821] [0] PANIC: /usr/sbin/bearerbox(main+0xc1b) 
[0x40f18b]
  2010-02-15 15:50:53 [28821] [0] PANIC: 
/lib64/libc.so.6(__libc_start_main+0xf4) [0x343441d8a4]
  2010-02-15 15:50:53 [28821] [0] PANIC: /usr/sbin/bearerbox [0x40d889]




  Warm Regards, 
  Kiran Reddy

  MPOWER

   91-9036971573

  P Please consider the environment before printing this email. 

  Visit us at: www.mpowerglobal.in




  Nikos Balkanas wrote: 
Hi,

Probably your store-location doesn't exist or isn't a directory. If it 
still persists please post detailed bb logs with the problem.

BR,
Nikos
  - Original Message - 
  From: kiran.re...@mpowerglobal.in 
  To: Users mailing list 
  Sent: Monday, February 15, 2010 9:27 AM
  Subject: Kannel Store Problem


  Hi All,

  I am not able to use store-type and store-location if i use both option 
or any single option kannel not at all starting up if I comment both kannel 
starting please help me what is the solution for it.
  below is my kannel conf.

  group = core
  admin-port = 13000
  admin-password = hard2guess
  smsbox-port = 13001
  log-file = /var/log/kannel/bearerbox.log
  log-level = 1
  access-log = /var/log/kannel/access.log
  store-type = spool ( if i use this kannel is not  working )  Solution ?
  store-location = /var/spool/kannel( if i use this also kannel is not 
working ) Solution ?
  store-dump-freq = 10
  smsbox-max-pending = 50
  sms-resend-freq = 60
  sms-resend-retry = 120
  sms-combine-concatenated-mo = 1


  -- 



  Warm Regards, 
  Kiran Reddy

  MPOWER

   91-9036971573

  P Please consider the environment before printing this email. 

  Visit us at: www.mpowerglobal.in








Re: Kannel Store Problem

2010-02-15 Thread Nikos Balkanas
Read User's guide to find out!

Nikos
  - Original Message - 
  From: kiran.re...@mpowerglobal.in 
  To: Cezary Siwek 
  Cc: Users mailing list 
  Sent: Monday, February 15, 2010 12:51 PM
  Subject: Re: Kannel Store Problem


  Hi,

  I created kannel folder with full permissions in /var/spool/kannel/ it is 
working but the thing is kannel created one folder the folder name is 86 what 
is that mean ? :-) 



  Warm Regards, 
  Kiran Reddy

  MPOWER

   91-9036971573

  P Please consider the environment before printing this email. 

  Visit us at: www.mpowerglobal.in









  Cezary Siwek wrote: 
did you create the `/var/spool/kannel' directory with proper permissions?

BR
  - Original Message - 
  From: kiran.re...@mpowerglobal.in 
  To: Nikos Balkanas 
  Cc: Users mailing list 
  Sent: 15 February 2010 10:24
  Subject: Re: Kannel Store Problem


  Hi Nikos Balkanas,

  Still the problem persist and below is my log file.

  bearerbox.log
  -
  2010-02-15 15:50:53 [28821] [0] INFO: Added logfile 
`/var/log/kannel/bearerbox.log' with level `1'.
  2010-02-15 15:50:53 [28821] [0] INFO: Started access logfile 
`/var/log/kannel/access.log'.
  2010-02-15 15:50:53 [28821] [0] ERROR: Could not open directory 
`/var/spool/kannel'
  2010-02-15 15:50:53 [28821] [0] ERROR: System error 2: No such file or 
directory
  2010-02-15 15:50:53 [28821] [0] PANIC: Could not start with store init 
failed.
  2010-02-15 15:50:53 [28821] [0] PANIC: 
/usr/sbin/bearerbox(gw_panic+0x16d) [0x485cdd]
  2010-02-15 15:50:53 [28821] [0] PANIC: /usr/sbin/bearerbox(main+0xc1b) 
[0x40f18b]
  2010-02-15 15:50:53 [28821] [0] PANIC: 
/lib64/libc.so.6(__libc_start_main+0xf4) [0x343441d8a4]
  2010-02-15 15:50:53 [28821] [0] PANIC: /usr/sbin/bearerbox [0x40d889]




  Warm Regards, 
  Kiran Reddy

  MPOWER

   91-9036971573

  P Please consider the environment before printing this email. 

  Visit us at: www.mpowerglobal.in




  Nikos Balkanas wrote: 
Hi,

Probably your store-location doesn't exist or isn't a directory. If it 
still persists please post detailed bb logs with the problem.

BR,
Nikos
  - Original Message - 
  From: kiran.re...@mpowerglobal.in 
  To: Users mailing list 
  Sent: Monday, February 15, 2010 9:27 AM
  Subject: Kannel Store Problem


  Hi All,

  I am not able to use store-type and store-location if i use both 
option or any single option kannel not at all starting up if I comment both 
kannel starting please help me what is the solution for it.
  below is my kannel conf.

  group = core
  admin-port = 13000
  admin-password = hard2guess
  smsbox-port = 13001
  log-file = /var/log/kannel/bearerbox.log
  log-level = 1
  access-log = /var/log/kannel/access.log
  store-type = spool ( if i use this kannel is not  working )  Solution 
?
  store-location = /var/spool/kannel( if i use this also kannel is 
not working ) Solution ?
  store-dump-freq = 10
  smsbox-max-pending = 50
  sms-resend-freq = 60
  sms-resend-retry = 120
  sms-combine-concatenated-mo = 1


  -- 



  Warm Regards, 
  Kiran Reddy

  MPOWER

   91-9036971573

  P Please consider the environment before printing this email. 

  Visit us at: www.mpowerglobal.in








Re: Network Initiated USSR

2010-02-15 Thread ricky123

Hi,

I removed session info from metadata for Network Initiated USSR but getting
same an USSN.
do you think any configuration required at smpp server side?


elthox wrote:
 
 Hi,
 
 I`m just wondering why you are using session info TLV. The session can be
 handled easily in application side, no need to use kannel for it. At least
 this is the way I`m developing the ussd menu.
 
 It is just an assumption, maybe doesnt affect at all, but try not to
 include
 the session info inside meta-data, leave it purely for service_op.
 
 Regards
 
 On Mon, Feb 15, 2010 at 10:19 AM, ricky123 gsm@gmail.com wrote:
 

 Hi,

 Thank you for your reply.
 I changed length to '1' and found no difference.
 still i am getting as an USSN messgae not an USSR.


 elthox wrote:
 
  Hi,
 
  The send-sms URL looks OK, when meta data variable is set to 2 you
 should
  receive the USSR request in your mobile.
 
  Try to change the length = 2 in your conf to length = 1.
 
  Hope it helps
 
  On Mon, Feb 15, 2010 at 8:55 AM, GSM Revolution gsm@gmail.com
 wrote:
 
  Hi,
 
  I want to start an USSR with session initiated from network end(not
 from
  handset).
  I am sending Network Initiated USSR to smpp server with
 ussd_service_op
  and
  its_session_info but getting as an USSN in my handset.
 
  parameters set for metadata are -
  *ussd_service_op=2 (for USSR)
  and its_session_info=*
 
  Here is the URL post -
  
 
 http://localhost:8080/cgi-bin/sendsms?user=ABCpassword=XYZfrom=Testto=123456789012text=WelCome%20To%20World%0A1%2ETime%0A2%2EDate%0Ametadata=%3Fsmpp%3Fservice%5Fop%3D2%26session%5Finfo%3D
  
 
  Do i need any other parameter configuration in kannel config file ??
 
  Fragment of my config file is -
  *group = smpp-tlv
  name = service_op
  tag = 0x0501
  type = integer
  length = 2
 
  group = smpp-tlv
  name = session_info
  tag = 0x1383
  type = octetstring
  length = 4
  *
 
 
 
 

 --
 View this message in context:
 http://old.nabble.com/Network-Initiated-USSR-tp27590456p27591144.html
 Sent from the Kannel - User mailing list archive at Nabble.com.



 
 

-- 
View this message in context: 
http://old.nabble.com/Network-Initiated-USSR-tp27590456p27592263.html
Sent from the Kannel - User mailing list archive at Nabble.com.




Re: Network Initiated USSR

2010-02-15 Thread Elton Hoxha
There must be also other parameters like (but I dont think are relevant in
your case):

- At Kannel Side, in smpp group
service-type = USSD

- At USSD Center side, your client`s service type (among CMT, VMN, VMA
etc) should be configured as USSD.

I guess you have arranged also the pdu type to be deliver or submit_sm,
because data_sm is not available.

By the way which vendor is providing your USSDC?

On Mon, Feb 15, 2010 at 12:35 PM, ricky123 gsm@gmail.com wrote:


 Hi,

 I removed session info from metadata for Network Initiated USSR but getting
 same an USSN.
 do you think any configuration required at smpp server side?


 elthox wrote:
 
  Hi,
 
  I`m just wondering why you are using session info TLV. The session can be
  handled easily in application side, no need to use kannel for it. At
 least
  this is the way I`m developing the ussd menu.
 
  It is just an assumption, maybe doesnt affect at all, but try not to
  include
  the session info inside meta-data, leave it purely for service_op.
 
  Regards
 
  On Mon, Feb 15, 2010 at 10:19 AM, ricky123 gsm@gmail.com wrote:
 
 
  Hi,
 
  Thank you for your reply.
  I changed length to '1' and found no difference.
  still i am getting as an USSN messgae not an USSR.
 
 
  elthox wrote:
  
   Hi,
  
   The send-sms URL looks OK, when meta data variable is set to 2 you
  should
   receive the USSR request in your mobile.
  
   Try to change the length = 2 in your conf to length = 1.
  
   Hope it helps
  
   On Mon, Feb 15, 2010 at 8:55 AM, GSM Revolution gsm@gmail.com
  wrote:
  
   Hi,
  
   I want to start an USSR with session initiated from network end(not
  from
   handset).
   I am sending Network Initiated USSR to smpp server with
  ussd_service_op
   and
   its_session_info but getting as an USSN in my handset.
  
   parameters set for metadata are -
   *ussd_service_op=2 (for USSR)
   and its_session_info=*
  
   Here is the URL post -
   
  
 
 http://localhost:8080/cgi-bin/sendsms?user=ABCpassword=XYZfrom=Testto=123456789012text=WelCome%20To%20World%0A1%2ETime%0A2%2EDate%0Ametadata=%3Fsmpp%3Fservice%5Fop%3D2%26session%5Finfo%3D
   
  
   Do i need any other parameter configuration in kannel config file ??
  
   Fragment of my config file is -
   *group = smpp-tlv
   name = service_op
   tag = 0x0501
   type = integer
   length = 2
  
   group = smpp-tlv
   name = session_info
   tag = 0x1383
   type = octetstring
   length = 4
   *
  
  
  
  
 
  --
  View this message in context:
  http://old.nabble.com/Network-Initiated-USSR-tp27590456p27591144.html
  Sent from the Kannel - User mailing list archive at Nabble.com.
 
 
 
 
 

 --
 View this message in context:
 http://old.nabble.com/Network-Initiated-USSR-tp27590456p27592263.html
  Sent from the Kannel - User mailing list archive at Nabble.com.





Re: Network Initiated USSR

2010-02-15 Thread GSM Revolution
Hi,

I have changed the destination parameter *to* in url.
nothing else was changed.
Do i require to change sender address??

On 2/15/10, Elton Hoxha elt...@gmail.com wrote:

 I had a look again on your URL


 
 http://localhost:8080/cgi-bin/sendsms?user=ABCpassword=XYZfrom=Testto=123456789012text=WelCome%20To%20World%0A1%2ETime%0A2%2EDate%0Ametadata=%3Fsmpp%3Fservice%5Fop%3D2%26session%5Finfo%3D
 
 From parameter is modified by you as aphanumeric or is it really like that?

 In my case Kannel would receive back an error if I would use aphanumeric, I
 dont think your USSD is suporting it either.
 On Mon, Feb 15, 2010 at 12:45 PM, Elton Hoxha elt...@gmail.com wrote:

 There must be also other parameters like (but I dont think are relevant in
 your case):

 - At Kannel Side, in smpp group
 service-type = USSD

 - At USSD Center side, your client`s service type (among CMT, VMN, VMA
 etc) should be configured as USSD.

 I guess you have arranged also the pdu type to be deliver or submit_sm,
 because data_sm is not available.

 By the way which vendor is providing your USSDC?

 On Mon, Feb 15, 2010 at 12:35 PM, ricky123 gsm@gmail.com wrote:


 Hi,

 I removed session info from metadata for Network Initiated USSR but
 getting
 same an USSN.
 do you think any configuration required at smpp server side?


 elthox wrote:
 
  Hi,
 
  I`m just wondering why you are using session info TLV. The session can
 be
  handled easily in application side, no need to use kannel for it. At
 least
  this is the way I`m developing the ussd menu.
 
  It is just an assumption, maybe doesnt affect at all, but try not to
  include
  the session info inside meta-data, leave it purely for service_op.
 
  Regards
 
  On Mon, Feb 15, 2010 at 10:19 AM, ricky123 gsm@gmail.com wrote:
 
 
  Hi,
 
  Thank you for your reply.
  I changed length to '1' and found no difference.
  still i am getting as an USSN messgae not an USSR.
 
 
  elthox wrote:
  
   Hi,
  
   The send-sms URL looks OK, when meta data variable is set to 2 you
  should
   receive the USSR request in your mobile.
  
   Try to change the length = 2 in your conf to length = 1.
  
   Hope it helps
  
   On Mon, Feb 15, 2010 at 8:55 AM, GSM Revolution gsm@gmail.com
  wrote:
  
   Hi,
  
   I want to start an USSR with session initiated from network end(not
  from
   handset).
   I am sending Network Initiated USSR to smpp server with
  ussd_service_op
   and
   its_session_info but getting as an USSN in my handset.
  
   parameters set for metadata are -
   *ussd_service_op=2 (for USSR)
   and its_session_info=*
  
   Here is the URL post -
   
  
 
 http://localhost:8080/cgi-bin/sendsms?user=ABCpassword=XYZfrom=Testto=123456789012text=WelCome%20To%20World%0A1%2ETime%0A2%2EDate%0Ametadata=%3Fsmpp%3Fservice%5Fop%3D2%26session%5Finfo%3D
   
  
   Do i need any other parameter configuration in kannel config file
 ??
  
   Fragment of my config file is -
   *group = smpp-tlv
   name = service_op
   tag = 0x0501
   type = integer
   length = 2
  
   group = smpp-tlv
   name = session_info
   tag = 0x1383
   type = octetstring
   length = 4
   *
  
  
  
  
 
  --
  View this message in context:
  http://old.nabble.com/Network-Initiated-USSR-tp27590456p27591144.html
  Sent from the Kannel - User mailing list archive at Nabble.com.
 
 
 
 
 

 --
 View this message in context:
 http://old.nabble.com/Network-Initiated-USSR-tp27590456p27592263.html
 Sent from the Kannel - User mailing list archive at Nabble.com.







Re: Network Initiated USSR

2010-02-15 Thread Elton Hoxha
YEs I mentioned From parameter, put some 3 digit number.

On Mon, Feb 15, 2010 at 1:07 PM, GSM Revolution gsm@gmail.com wrote:

 Hi,

 I have changed the destination parameter *to* in url.
 nothing else was changed.
 Do i require to change sender address??


 On 2/15/10, Elton Hoxha elt...@gmail.com wrote:

 I had a look again on your URL


 
 http://localhost:8080/cgi-bin/sendsms?user=ABCpassword=XYZfrom=Testto=123456789012text=WelCome%20To%20World%0A1%2ETime%0A2%2EDate%0Ametadata=%3Fsmpp%3Fservice%5Fop%3D2%26session%5Finfo%3D
 
 From parameter is modified by you as aphanumeric or is it really like
 that?

 In my case Kannel would receive back an error if I would use aphanumeric,
 I dont think your USSD is suporting it either.
  On Mon, Feb 15, 2010 at 12:45 PM, Elton Hoxha elt...@gmail.com wrote:

 There must be also other parameters like (but I dont think are relevant
 in your case):

 - At Kannel Side, in smpp group
 service-type = USSD

 - At USSD Center side, your client`s service type (among CMT, VMN, VMA
 etc) should be configured as USSD.

 I guess you have arranged also the pdu type to be deliver or submit_sm,
 because data_sm is not available.

 By the way which vendor is providing your USSDC?

  On Mon, Feb 15, 2010 at 12:35 PM, ricky123 gsm@gmail.com wrote:


 Hi,

 I removed session info from metadata for Network Initiated USSR but
 getting
 same an USSN.
 do you think any configuration required at smpp server side?


 elthox wrote:
 
  Hi,
 
  I`m just wondering why you are using session info TLV. The session can
 be
  handled easily in application side, no need to use kannel for it. At
 least
  this is the way I`m developing the ussd menu.
 
  It is just an assumption, maybe doesnt affect at all, but try not to
  include
  the session info inside meta-data, leave it purely for service_op.
 
  Regards
 
  On Mon, Feb 15, 2010 at 10:19 AM, ricky123 gsm@gmail.com wrote:
 
 
  Hi,
 
  Thank you for your reply.
  I changed length to '1' and found no difference.
  still i am getting as an USSN messgae not an USSR.
 
 
  elthox wrote:
  
   Hi,
  
   The send-sms URL looks OK, when meta data variable is set to 2 you
  should
   receive the USSR request in your mobile.
  
   Try to change the length = 2 in your conf to length = 1.
  
   Hope it helps
  
   On Mon, Feb 15, 2010 at 8:55 AM, GSM Revolution gsm@gmail.com
 
  wrote:
  
   Hi,
  
   I want to start an USSR with session initiated from network
 end(not
  from
   handset).
   I am sending Network Initiated USSR to smpp server with
  ussd_service_op
   and
   its_session_info but getting as an USSN in my handset.
  
   parameters set for metadata are -
   *ussd_service_op=2 (for USSR)
   and its_session_info=*
  
   Here is the URL post -
   
  
 
 http://localhost:8080/cgi-bin/sendsms?user=ABCpassword=XYZfrom=Testto=123456789012text=WelCome%20To%20World%0A1%2ETime%0A2%2EDate%0Ametadata=%3Fsmpp%3Fservice%5Fop%3D2%26session%5Finfo%3D
   
  
   Do i need any other parameter configuration in kannel config file
 ??
  
   Fragment of my config file is -
   *group = smpp-tlv
   name = service_op
   tag = 0x0501
   type = integer
   length = 2
  
   group = smpp-tlv
   name = session_info
   tag = 0x1383
   type = octetstring
   length = 4
   *
  
  
  
  
 
  --
  View this message in context:
 
 http://old.nabble.com/Network-Initiated-USSR-tp27590456p27591144.html
  Sent from the Kannel - User mailing list archive at Nabble.com.
 
 
 
 
 

 --
 View this message in context:
 http://old.nabble.com/Network-Initiated-USSR-tp27590456p27592263.html
  Sent from the Kannel - User mailing list archive at Nabble.com.








Re: Network Initiated USSR

2010-02-15 Thread GSM Revolution
Is this number provided by the USSD centre or i can put any 3 digit number??

On 2/15/10, Elton Hoxha elt...@gmail.com wrote:

 YEs I mentioned From parameter, put some 3 digit number.


 On Mon, Feb 15, 2010 at 1:07 PM, GSM Revolution gsm@gmail.com wrote:

 Hi,

 I have changed the destination parameter *to* in url.
 nothing else was changed.
 Do i require to change sender address??


 On 2/15/10, Elton Hoxha elt...@gmail.com wrote:

 I had a look again on your URL


 
 http://localhost:8080/cgi-bin/sendsms?user=ABCpassword=XYZfrom=Testto=123456789012text=WelCome%20To%20World%0A1%2ETime%0A2%2EDate%0Ametadata=%3Fsmpp%3Fservice%5Fop%3D2%26session%5Finfo%3D
 
 From parameter is modified by you as aphanumeric or is it really like
 that?

 In my case Kannel would receive back an error if I would use aphanumeric,
 I dont think your USSD is suporting it either.
 On Mon, Feb 15, 2010 at 12:45 PM, Elton Hoxha elt...@gmail.com wrote:

 There must be also other parameters like (but I dont think are relevant
 in your case):

 - At Kannel Side, in smpp group
 service-type = USSD

 - At USSD Center side, your client`s service type (among CMT, VMN, VMA
 etc) should be configured as USSD.

 I guess you have arranged also the pdu type to be deliver or submit_sm,
 because data_sm is not available.

 By the way which vendor is providing your USSDC?

 On Mon, Feb 15, 2010 at 12:35 PM, ricky123 gsm@gmail.com wrote:


 Hi,

 I removed session info from metadata for Network Initiated USSR but
 getting
 same an USSN.
 do you think any configuration required at smpp server side?


 elthox wrote:
 
  Hi,
 
  I`m just wondering why you are using session info TLV. The session
 can be
  handled easily in application side, no need to use kannel for it. At
 least
  this is the way I`m developing the ussd menu.
 
  It is just an assumption, maybe doesnt affect at all, but try not to
  include
  the session info inside meta-data, leave it purely for service_op.
 
  Regards
 
  On Mon, Feb 15, 2010 at 10:19 AM, ricky123 gsm@gmail.com
 wrote:
 
 
  Hi,
 
  Thank you for your reply.
  I changed length to '1' and found no difference.
  still i am getting as an USSN messgae not an USSR.
 
 
  elthox wrote:
  
   Hi,
  
   The send-sms URL looks OK, when meta data variable is set to 2 you
  should
   receive the USSR request in your mobile.
  
   Try to change the length = 2 in your conf to length = 1.
  
   Hope it helps
  
   On Mon, Feb 15, 2010 at 8:55 AM, GSM Revolution 
 gsm@gmail.com
  wrote:
  
   Hi,
  
   I want to start an USSR with session initiated from network
 end(not
  from
   handset).
   I am sending Network Initiated USSR to smpp server with
  ussd_service_op
   and
   its_session_info but getting as an USSN in my handset.
  
   parameters set for metadata are -
   *ussd_service_op=2 (for USSR)
   and its_session_info=*
  
   Here is the URL post -
   
  
 
 http://localhost:8080/cgi-bin/sendsms?user=ABCpassword=XYZfrom=Testto=123456789012text=WelCome%20To%20World%0A1%2ETime%0A2%2EDate%0Ametadata=%3Fsmpp%3Fservice%5Fop%3D2%26session%5Finfo%3D
   
  
   Do i need any other parameter configuration in kannel config file
 ??
  
   Fragment of my config file is -
   *group = smpp-tlv
   name = service_op
   tag = 0x0501
   type = integer
   length = 2
  
   group = smpp-tlv
   name = session_info
   tag = 0x1383
   type = octetstring
   length = 4
   *
  
  
  
  
 
  --
  View this message in context:
 
 http://old.nabble.com/Network-Initiated-USSR-tp27590456p27591144.html
  Sent from the Kannel - User mailing list archive at Nabble.com.
 
 
 
 
 

 --
 View this message in context:
 http://old.nabble.com/Network-Initiated-USSR-tp27590456p27592263.html
 Sent from the Kannel - User mailing list archive at Nabble.com.









Re: Network Initiated USSR

2010-02-15 Thread Elton Hoxha
I had a look again on your URL



http://localhost:8080/cgi-bin/sendsms?user=ABCpassword=XYZfrom=Testto=123456789012text=WelCome%20To%20World%0A1%2ETime%0A2%2EDate%0Ametadata=%3Fsmpp%3Fservice%5Fop%3D2%26session%5Finfo%3D

From parameter is modified by you as aphanumeric or is it really like that?

In my case Kannel would receive back an error if I would use aphanumeric, I
dont think your USSD is suporting it either.
On Mon, Feb 15, 2010 at 12:45 PM, Elton Hoxha elt...@gmail.com wrote:

 There must be also other parameters like (but I dont think are relevant in
 your case):

 - At Kannel Side, in smpp group
 service-type = USSD

 - At USSD Center side, your client`s service type (among CMT, VMN, VMA
 etc) should be configured as USSD.

 I guess you have arranged also the pdu type to be deliver or submit_sm,
 because data_sm is not available.

 By the way which vendor is providing your USSDC?

   On Mon, Feb 15, 2010 at 12:35 PM, ricky123 gsm@gmail.com wrote:


 Hi,

 I removed session info from metadata for Network Initiated USSR but
 getting
 same an USSN.
 do you think any configuration required at smpp server side?


 elthox wrote:
 
  Hi,
 
  I`m just wondering why you are using session info TLV. The session can
 be
  handled easily in application side, no need to use kannel for it. At
 least
  this is the way I`m developing the ussd menu.
 
  It is just an assumption, maybe doesnt affect at all, but try not to
  include
  the session info inside meta-data, leave it purely for service_op.
 
  Regards
 
  On Mon, Feb 15, 2010 at 10:19 AM, ricky123 gsm@gmail.com wrote:
 
 
  Hi,
 
  Thank you for your reply.
  I changed length to '1' and found no difference.
  still i am getting as an USSN messgae not an USSR.
 
 
  elthox wrote:
  
   Hi,
  
   The send-sms URL looks OK, when meta data variable is set to 2 you
  should
   receive the USSR request in your mobile.
  
   Try to change the length = 2 in your conf to length = 1.
  
   Hope it helps
  
   On Mon, Feb 15, 2010 at 8:55 AM, GSM Revolution gsm@gmail.com
  wrote:
  
   Hi,
  
   I want to start an USSR with session initiated from network end(not
  from
   handset).
   I am sending Network Initiated USSR to smpp server with
  ussd_service_op
   and
   its_session_info but getting as an USSN in my handset.
  
   parameters set for metadata are -
   *ussd_service_op=2 (for USSR)
   and its_session_info=*
  
   Here is the URL post -
   
  
 
 http://localhost:8080/cgi-bin/sendsms?user=ABCpassword=XYZfrom=Testto=123456789012text=WelCome%20To%20World%0A1%2ETime%0A2%2EDate%0Ametadata=%3Fsmpp%3Fservice%5Fop%3D2%26session%5Finfo%3D
   
  
   Do i need any other parameter configuration in kannel config file ??
  
   Fragment of my config file is -
   *group = smpp-tlv
   name = service_op
   tag = 0x0501
   type = integer
   length = 2
  
   group = smpp-tlv
   name = session_info
   tag = 0x1383
   type = octetstring
   length = 4
   *
  
  
  
  
 
  --
  View this message in context:
  http://old.nabble.com/Network-Initiated-USSR-tp27590456p27591144.html
  Sent from the Kannel - User mailing list archive at Nabble.com.
 
 
 
 
 

 --
 View this message in context:
 http://old.nabble.com/Network-Initiated-USSR-tp27590456p27592263.html
  Sent from the Kannel - User mailing list archive at Nabble.com.






Re: Network Initiated USSR

2010-02-15 Thread GSM Revolution
still i am getting as USSN after every modification!!

On 2/15/10, Elton Hoxha elt...@gmail.com wrote:

 It is enough to put some digits there instead of alphanumeric, ther is no
 need for definition at USSDC.


 On Mon, Feb 15, 2010 at 1:13 PM, GSM Revolution gsm@gmail.com wrote:

 Is this number provided by the USSD centre or i can put any 3 digit
 number??


 On 2/15/10, Elton Hoxha elt...@gmail.com wrote:

 YEs I mentioned From parameter, put some 3 digit number.


 On Mon, Feb 15, 2010 at 1:07 PM, GSM Revolution gsm@gmail.comwrote:

 Hi,

 I have changed the destination parameter *to* in url.
 nothing else was changed.
 Do i require to change sender address??


 On 2/15/10, Elton Hoxha elt...@gmail.com wrote:

 I had a look again on your URL


 
 http://localhost:8080/cgi-bin/sendsms?user=ABCpassword=XYZfrom=Testto=123456789012text=WelCome%20To%20World%0A1%2ETime%0A2%2EDate%0Ametadata=%3Fsmpp%3Fservice%5Fop%3D2%26session%5Finfo%3D
 
 From parameter is modified by you as aphanumeric or is it really like
 that?

 In my case Kannel would receive back an error if I would use
 aphanumeric, I dont think your USSD is suporting it either.
 On Mon, Feb 15, 2010 at 12:45 PM, Elton Hoxha elt...@gmail.comwrote:

 There must be also other parameters like (but I dont think are
 relevant in your case):

 - At Kannel Side, in smpp group
 service-type = USSD

 - At USSD Center side, your client`s service type (among CMT, VMN, VMA
 etc) should be configured as USSD.

 I guess you have arranged also the pdu type to be deliver or
 submit_sm, because data_sm is not available.

 By the way which vendor is providing your USSDC?

 On Mon, Feb 15, 2010 at 12:35 PM, ricky123 gsm@gmail.com wrote:


 Hi,

 I removed session info from metadata for Network Initiated USSR but
 getting
 same an USSN.
 do you think any configuration required at smpp server side?


 elthox wrote:
 
  Hi,
 
  I`m just wondering why you are using session info TLV. The session
 can be
  handled easily in application side, no need to use kannel for it.
 At least
  this is the way I`m developing the ussd menu.
 
  It is just an assumption, maybe doesnt affect at all, but try not
 to
  include
  the session info inside meta-data, leave it purely for service_op.
 
  Regards
 
  On Mon, Feb 15, 2010 at 10:19 AM, ricky123 gsm@gmail.com
 wrote:
 
 
  Hi,
 
  Thank you for your reply.
  I changed length to '1' and found no difference.
  still i am getting as an USSN messgae not an USSR.
 
 
  elthox wrote:
  
   Hi,
  
   The send-sms URL looks OK, when meta data variable is set to 2
 you
  should
   receive the USSR request in your mobile.
  
   Try to change the length = 2 in your conf to length = 1.
  
   Hope it helps
  
   On Mon, Feb 15, 2010 at 8:55 AM, GSM Revolution 
 gsm@gmail.com
  wrote:
  
   Hi,
  
   I want to start an USSR with session initiated from network
 end(not
  from
   handset).
   I am sending Network Initiated USSR to smpp server with
  ussd_service_op
   and
   its_session_info but getting as an USSN in my handset.
  
   parameters set for metadata are -
   *ussd_service_op=2 (for USSR)
   and its_session_info=*
  
   Here is the URL post -
   
  
 
 http://localhost:8080/cgi-bin/sendsms?user=ABCpassword=XYZfrom=Testto=123456789012text=WelCome%20To%20World%0A1%2ETime%0A2%2EDate%0Ametadata=%3Fsmpp%3Fservice%5Fop%3D2%26session%5Finfo%3D
   
  
   Do i need any other parameter configuration in kannel config
 file ??
  
   Fragment of my config file is -
   *group = smpp-tlv
   name = service_op
   tag = 0x0501
   type = integer
   length = 2
  
   group = smpp-tlv
   name = session_info
   tag = 0x1383
   type = octetstring
   length = 4
   *
  
  
  
  
 
  --
  View this message in context:
 
 http://old.nabble.com/Network-Initiated-USSR-tp27590456p27591144.html
  Sent from the Kannel - User mailing list archive at Nabble.com.
 
 
 
 
 

 --
 View this message in context:
 http://old.nabble.com/Network-Initiated-USSR-tp27590456p27592263.html
 Sent from the Kannel - User mailing list archive at Nabble.com.











Re: Network Initiated USSR

2010-02-15 Thread Elton Hoxha
Strange, if you can post some logs showing submit pdu-s and responses.

If you can take any smpp dump, it would be better .

On Mon, Feb 15, 2010 at 2:05 PM, GSM Revolution gsm@gmail.com wrote:

 still i am getting as USSN after every modification!!

 On 2/15/10, Elton Hoxha elt...@gmail.com wrote:

 It is enough to put some digits there instead of alphanumeric, ther is no
 need for definition at USSDC.


 On Mon, Feb 15, 2010 at 1:13 PM, GSM Revolution gsm@gmail.comwrote:

 Is this number provided by the USSD centre or i can put any 3 digit
 number??


 On 2/15/10, Elton Hoxha elt...@gmail.com wrote:

 YEs I mentioned From parameter, put some 3 digit number.


 On Mon, Feb 15, 2010 at 1:07 PM, GSM Revolution gsm@gmail.comwrote:

 Hi,

 I have changed the destination parameter *to* in url.
 nothing else was changed.
 Do i require to change sender address??


 On 2/15/10, Elton Hoxha elt...@gmail.com wrote:

 I had a look again on your URL


 
 http://localhost:8080/cgi-bin/sendsms?user=ABCpassword=XYZfrom=Testto=123456789012text=WelCome%20To%20World%0A1%2ETime%0A2%2EDate%0Ametadata=%3Fsmpp%3Fservice%5Fop%3D2%26session%5Finfo%3D
 
 From parameter is modified by you as aphanumeric or is it really like
 that?

 In my case Kannel would receive back an error if I would use
 aphanumeric, I dont think your USSD is suporting it either.
  On Mon, Feb 15, 2010 at 12:45 PM, Elton Hoxha elt...@gmail.comwrote:

 There must be also other parameters like (but I dont think are
 relevant in your case):

 - At Kannel Side, in smpp group
 service-type = USSD

 - At USSD Center side, your client`s service type (among CMT, VMN,
 VMA etc) should be configured as USSD.

 I guess you have arranged also the pdu type to be deliver or
 submit_sm, because data_sm is not available.

 By the way which vendor is providing your USSDC?

  On Mon, Feb 15, 2010 at 12:35 PM, ricky123 gsm@gmail.comwrote:


 Hi,

 I removed session info from metadata for Network Initiated USSR but
 getting
 same an USSN.
 do you think any configuration required at smpp server side?


 elthox wrote:
 
  Hi,
 
  I`m just wondering why you are using session info TLV. The session
 can be
  handled easily in application side, no need to use kannel for it.
 At least
  this is the way I`m developing the ussd menu.
 
  It is just an assumption, maybe doesnt affect at all, but try not
 to
  include
  the session info inside meta-data, leave it purely for service_op.
 
  Regards
 
  On Mon, Feb 15, 2010 at 10:19 AM, ricky123 gsm@gmail.com
 wrote:
 
 
  Hi,
 
  Thank you for your reply.
  I changed length to '1' and found no difference.
  still i am getting as an USSN messgae not an USSR.
 
 
  elthox wrote:
  
   Hi,
  
   The send-sms URL looks OK, when meta data variable is set to 2
 you
  should
   receive the USSR request in your mobile.
  
   Try to change the length = 2 in your conf to length = 1.
  
   Hope it helps
  
   On Mon, Feb 15, 2010 at 8:55 AM, GSM Revolution 
 gsm@gmail.com
  wrote:
  
   Hi,
  
   I want to start an USSR with session initiated from network
 end(not
  from
   handset).
   I am sending Network Initiated USSR to smpp server with
  ussd_service_op
   and
   its_session_info but getting as an USSN in my handset.
  
   parameters set for metadata are -
   *ussd_service_op=2 (for USSR)
   and its_session_info=*
  
   Here is the URL post -
   
  
 
 http://localhost:8080/cgi-bin/sendsms?user=ABCpassword=XYZfrom=Testto=123456789012text=WelCome%20To%20World%0A1%2ETime%0A2%2EDate%0Ametadata=%3Fsmpp%3Fservice%5Fop%3D2%26session%5Finfo%3D
   
  
   Do i need any other parameter configuration in kannel config
 file ??
  
   Fragment of my config file is -
   *group = smpp-tlv
   name = service_op
   tag = 0x0501
   type = integer
   length = 2
  
   group = smpp-tlv
   name = session_info
   tag = 0x1383
   type = octetstring
   length = 4
   *
  
  
  
  
 
  --
  View this message in context:
 
 http://old.nabble.com/Network-Initiated-USSR-tp27590456p27591144.html
  Sent from the Kannel - User mailing list archive at Nabble.com.
 
 
 
 
 

 --
 View this message in context:
 http://old.nabble.com/Network-Initiated-USSR-tp27590456p27592263.html
  Sent from the Kannel - User mailing list archive at Nabble.com.












Routing failed

2010-02-15 Thread Māris Ūdris
Hi all

 

I have problem with connecting to smsc or similar 

 

LOG:

2010-02-15 22:55:25 [62136] [7] DEBUG: Routing failed, re-queued.

2010-02-15 22:55:25 [62136] [7] DEBUG: sms_router: time to sleep 30.00 secs.

2010-02-15 22:55:55 [62136] [7] DEBUG: sms_router: gwlist_len = 1

2010-02-15 22:55:55 [62136] [7] DEBUG: sms_router: handling message
(0x801b210f0 vs 0x801b210f0)

2010-02-15 22:55:55 [62136] [7] DEBUG: Routing failed, re-queued.

2010-02-15 22:55:55 [62136] [7] DEBUG: sms_router: handling message
(0x801b210f0 vs 0x801b210f0)

 

Kannel.conf

 

group = core

admin-port = 13000

admin-password = bar

status-password = foo

log-file = /var/log/sms/kannel.log

log-level = 0

access-log = /var/log/sms/access.log

smsbox-port = 13001

store-file = /var/log/sms/kannel.store

 

 

#NOKIA

group = smsc

smsc = at

smsc-id = nokia

modemtype = nokiaphone

device = /dev/ttyd0

#my-number = 25520641

log-level = 0

speed = 9600

 

group = modems

id = nokiaphone

name = Nokia Phone

detect-string = Nokia Mobile Phone

keepalive-cmd = AT+CBC;+CSQ

 

 

group = smsbox

bearerbox-host = 127.0.0.1

bearerbox-port = 13001

sendsms-port = 13013

global-sender = 13013

log-file = /var/log/sms/smsbox.log

log-level = 0

access-log = /var/log/sms/box.access.log

 

# SEND-SMS USERS

 

group = sendsms-user

username = test

password = test

default-smsc = nokia

 

# SMS SERVICE

group = sms-service

keyword = ad

text = TEXT

 

Please help me

 

Thanks

 

 

_

Maris Udris

E. ma...@udris.me

W. www.udris.me

T. +371 26577557

S. maris.udris

 



Using Portech modem

2010-02-15 Thread info.ubichip
Hello All,

I would like to use a portech GSM gateway MV-370 on a kannel 1.4.3 version,
I'm able to send basic sms by hand using telnet as the following example :

Telnet 192.168.1.121

username:voip
password:
User level = admin

Command : logout,module,module1,module2
module
Getting module 1..
Got!! Press 'ctrl-x' to release module 1.

at+cmgf=1
OK
At+cmgs=1122334455
test
+CMGS:30


So I make a configuration in kannel as follow :
group = smsc
smsc = at
smsc-id = portech
allowed-smsc-id = portech
log-level = 0
log-file = /var/log/kannel/portech.log
device = telnet
host = 192.168.1.121
port = 23
login-prompt = username:
password-prompt = password:
smsc-username = voip
smsc-password = 1234
modemtype = portech
validityperiod = 172
keepalive = 10
my-number = 0012345678 
sim-buffering = true


I got the following error, it is like the telnet session is not initialized
correctly :

2010-02-15 13:43:50 [32013] [8] INFO: AT2[portech]: trying to use speed
115200 from modem definition
2010-02-15 13:43:50 [32013] [8] INFO: AT2[portech]: opening device
2010-02-15 13:43:50 [32013] [8] DEBUG: Connecting to 192.168.1.121
2010-02-15 13:43:50 [32013] [8] DEBUG: AT2[portech]: device opened. Telnet
mode = 1
2010-02-15 13:43:50 [32013] [8] DEBUG: AT2[portech]: -- ^M
2010-02-15 13:43:52 [32013] [8] DEBUG: AT2[portech]: -- AT^M
2010-02-15 13:43:57 [32013] [8] DEBUG: AT2[portech]: -- username: AT
2010-02-15 13:44:03 [32013] [8] DEBUG: AT2[portech]: -- AT^M
2010-02-15 13:44:08 [32013] [8] DEBUG: AT2[portech]: -- password: **
2010-02-15 13:44:08 [32013] [8] DEBUG: AT2[portech]: -- bad username or
password!!!
2010-02-15 13:44:08 [32013] [8] DEBUG: AT2[portech]: -- exit...
2010-02-15 13:44:12 [32013] [8] DEBUG: AT2[portech]: -- AT^M
2010-02-15 13:44:21 [32013] [8] INFO: AT2[portech]: Closing device
2010-02-15 13:44:21 [32013] [8] INFO: AT2[portech]: speed in modem
definition don't work, will autodetect


Does someone got similar issue with this type of modem ?

My second question is : as you could see after the telnet connection, I have
to specify the command 'module' to get full access to the AT command of the
modem, does there is a way to put it in the init-string in the modem
definition ? If yes how to send a carriage return in the init-string
parameter (I have already some AT+CNMI' command to process.


Thanks in advance for your help






Re: Routing failed

2010-02-15 Thread Nikos Balkanas
Hi,

Your smsc (aka modem) is inactive and kannel doesn't know what to do with the 
SMS. Check connectivity and try again using the following steps (assuming 
Linux):

1) dmesg | grep tty - verify modem is connected to /dev/ttyd0 (This looks very 
suspicious)
2) With minicom or wvdial verify communication with device from (1)
3) Configure in kannel.

If still having problems post logs with modem initialization.

BR,
Nikos
  - Original Message - 
  From: Māris Ūdris 
  To: users@kannel.org 
  Sent: Monday, February 15, 2010 11:10 PM
  Subject: Routing failed


  Hi all

   

  I have problem with connecting to smsc or similar 

   

  LOG:

  2010-02-15 22:55:25 [62136] [7] DEBUG: Routing failed, re-queued.

  2010-02-15 22:55:25 [62136] [7] DEBUG: sms_router: time to sleep 30.00 secs.

  2010-02-15 22:55:55 [62136] [7] DEBUG: sms_router: gwlist_len = 1

  2010-02-15 22:55:55 [62136] [7] DEBUG: sms_router: handling message 
(0x801b210f0 vs 0x801b210f0)

  2010-02-15 22:55:55 [62136] [7] DEBUG: Routing failed, re-queued.

  2010-02-15 22:55:55 [62136] [7] DEBUG: sms_router: handling message 
(0x801b210f0 vs 0x801b210f0)

   

  Kannel.conf

   

  group = core

  admin-port = 13000

  admin-password = bar

  status-password = foo

  log-file = /var/log/sms/kannel.log

  log-level = 0

  access-log = /var/log/sms/access.log

  smsbox-port = 13001

  store-file = /var/log/sms/kannel.store

   

   

  #NOKIA

  group = smsc

  smsc = at

  smsc-id = nokia

  modemtype = nokiaphone

  device = /dev/ttyd0

  #my-number = 25520641

  log-level = 0

  speed = 9600

   

  group = modems

  id = nokiaphone

  name = Nokia Phone

  detect-string = Nokia Mobile Phone

  keepalive-cmd = AT+CBC;+CSQ

   

   

  group = smsbox

  bearerbox-host = 127.0.0.1

  bearerbox-port = 13001

  sendsms-port = 13013

  global-sender = 13013

  log-file = /var/log/sms/smsbox.log

  log-level = 0

  access-log = /var/log/sms/box.access.log

   

  # SEND-SMS USERS

   

  group = sendsms-user

  username = test

  password = test

  default-smsc = nokia

   

  # SMS SERVICE

  group = sms-service

  keyword = ad

  text = TEXT

   

  Please help me

   

  Thanks

   

   

  _

  Maris Udris

  E. ma...@udris.me

  W. www.udris.me

  T. +371 26577557

  S. maris.udris

   


Re: Using Portech modem

2010-02-15 Thread Nikos Balkanas

Hi,

To send CR to a modem you could try ^M in your init-string.

BR,
Nikos
- Original Message - 
From: info.ubichip info.ubic...@free.fr

To: users@kannel.org
Sent: Monday, February 15, 2010 11:49 PM
Subject: Using Portech modem



Hello All,

I would like to use a portech GSM gateway MV-370 on a kannel 1.4.3 
version,

I'm able to send basic sms by hand using telnet as the following example :

Telnet 192.168.1.121

username:voip
password:
User level = admin

Command : logout,module,module1,module2

module

Getting module 1..
Got!! Press 'ctrl-x' to release module 1.

at+cmgf=1
OK
At+cmgs=1122334455

test

+CMGS:30


So I make a configuration in kannel as follow :
group = smsc
smsc = at
smsc-id = portech
allowed-smsc-id = portech
log-level = 0
log-file = /var/log/kannel/portech.log
device = telnet
host = 192.168.1.121
port = 23
login-prompt = username:
password-prompt = password:
smsc-username = voip
smsc-password = 1234
modemtype = portech
validityperiod = 172
keepalive = 10
my-number = 0012345678
sim-buffering = true


I got the following error, it is like the telnet session is not 
initialized

correctly :

2010-02-15 13:43:50 [32013] [8] INFO: AT2[portech]: trying to use speed
115200 from modem definition
2010-02-15 13:43:50 [32013] [8] INFO: AT2[portech]: opening device
2010-02-15 13:43:50 [32013] [8] DEBUG: Connecting to 192.168.1.121
2010-02-15 13:43:50 [32013] [8] DEBUG: AT2[portech]: device opened. Telnet
mode = 1
2010-02-15 13:43:50 [32013] [8] DEBUG: AT2[portech]: -- ^M
2010-02-15 13:43:52 [32013] [8] DEBUG: AT2[portech]: -- AT^M
2010-02-15 13:43:57 [32013] [8] DEBUG: AT2[portech]: -- username: AT
2010-02-15 13:44:03 [32013] [8] DEBUG: AT2[portech]: -- AT^M
2010-02-15 13:44:08 [32013] [8] DEBUG: AT2[portech]: -- password: **
2010-02-15 13:44:08 [32013] [8] DEBUG: AT2[portech]: -- bad username or
password!!!
2010-02-15 13:44:08 [32013] [8] DEBUG: AT2[portech]: -- exit...
2010-02-15 13:44:12 [32013] [8] DEBUG: AT2[portech]: -- AT^M
2010-02-15 13:44:21 [32013] [8] INFO: AT2[portech]: Closing device
2010-02-15 13:44:21 [32013] [8] INFO: AT2[portech]: speed in modem
definition don't work, will autodetect


Does someone got similar issue with this type of modem ?

My second question is : as you could see after the telnet connection, I 
have
to specify the command 'module' to get full access to the AT command of 
the

modem, does there is a way to put it in the init-string in the modem
definition ? If yes how to send a carriage return in the init-string
parameter (I have already some AT+CNMI' command to process.


Thanks in advance for your help