Yes, but in such a case bb logs would complain about "dlr-mask". All this 
discussion would be avoided if you posted the context of the log file, rather 
than the 1 liner, as you were asked to.

Nikos
  ----- Original Message ----- 
  From: arno 
  To: [email protected] 
  Sent: Thursday, April 15, 2010 4:10 PM
  Subject: Re: option dlr-mask panic sms and bearerbox 1.4.3


  No no it's juste how it was cut and past on the first message.

  All the config file is just fine, it's just realy the dlr-mask that cause th 
panic of kannel.

  But for what I found it's look like the dlr_mask has to be placed in the URL 
you send to kannel when you send an sms, and not be put into the config file.

  So i think it's just working as it should be and I was misunderstanding the 
documentation about this flag. It's not a group parameter inside the config 
file, but a CGI parameters.

          ----- Message d'origine ----- 
              De: "Nikos Balkanas" <[email protected]> 
              Date: Thu, 15 Apr 2010 14:46:02 +0300 
              Sujet: Re: option dlr-mask panic sms and bearerbox 1.4.3 
              A: "arno" <[email protected]> 
              Cc: <[email protected]> 


        Hi,

        You seem to have a new line in dlr-url. Please remove and retry. If 
still persists. post detailed bb logs with context.

        BR,
        Nikos
          ----- Original Message -----
          From: arno
          To: Nikos Balkanas
          Cc: [email protected]
          Sent: Thursday, April 15, 2010 2:23 PM
          Subject: Re: option dlr-mask panic sms and bearerbox 1.4.3
          Hello,

          Actually no since if I remove the dlr-mask it works fine (even with 
the full path for the config file)

          So that's not the point.

          Is their any other option that I MUST have to be able to use that 
option ?



          regards,



          arno

                  ----- Message d'origine ----- 
                      De: "Nikos Balkanas" <[email protected]> 
                      Date: Wed, 14 Apr 2010 23:56:58 +0300 
                      Sujet: Re: option dlr-mask panic sms and bearerbox 1.4.3 
                      A: "arno" <[email protected]>, <[email protected]> 
                Hi, 

                You probably have the wrong path. Is kannel.conf in your 
current directory? 
                You shouldn't give "./kannel.conf" just kannel.conf. It is not 
an 
                executable. 

                BR, 
                Nikos 
                ----- Original Message ----- 
                From: "arno" 
                To: 
                Sent: Wednesday, April 14, 2010 9:12 PM 
                Subject: option dlr-mask panic sms and bearerbox 1.4.3 


                > Hello, 
                > 
                > I'm trying to send the DLR return code to a web site for 
treatment, but 
                > when I have my dlr-mask set in the config file i got: 
                > 
                > hyperion:/etc/kannel # /usr/local/kannel/sbin/bearerbox1.4.3 
-v 4 
                > ./kannel.conf 
                > 2010-04-14 17:40:33 [8485] [0] PANIC: Couldn't read 
configuration from 
                > `./kannel.conf'. 
                > 
                > 
                > why is that ? 
                > 
                > here is my config ! file: 
                > 
                > # 
                > # SMS solution for CAS 
                ! > # Version 1.1 by A. Streuli on March 15 2010 
                > # 
                > 
                > group = core 
                > admin-port = 13000 
                > admin-password = admin 
                > smsbox-port = 13001 
                > log-file = "/var/log/kannel/main-kannel.log" 
                > log-level = 2 
                > box-deny-ip = "*.*.*.*" 
                > box-allow-ip = "127.0.0.1" 
                > admin-deny-ip = "*.*.*.*" 
                > admin-allow-ip = "127.0.0.1;10.137.*.*" 
                > access-log = "/var/log/kannel/access-kannel.log" 
                > access-log-clean = true 
                > store-type = file 
                > store-location = "/var/log/kannel/sms-store.dta" 
                > 
                > # SMS Nokia 2.0 (sunrise) 
                > group = smsc 
                > smsc-id = sunrise 
                > smsc = cimd2 
                > host = 1.2.3.5 
                > port = 9971 
                &! gt; throughput = 1 
                > smsc-username = username 
                > smsc-password = password 
                > keepalive = 5 
                > 
                > # SMS box setup 
                > group = smsbox 
                > bearerbox-host = localhost 
                > sendsms-port = 13013 
                > global-sender = 58321 
                > log-file = "/var/log/kannel/smsbox.log" 
                > log-level = 2 
                > access-log = "/var/log/kannel/sms-access.log" 
                > 
                > # SEND-SMS USERS 
                > group = sendsms-user 
                > username = foo 
                > password = foobar 
                > user-deny-ip = "*.*.*.*" 
                > user-allow-ip = "1.2.4.5" 
                > max-messages = 3 
                > concatenation = true 
                > 
                > # SEND-SMS Marketing USERS 
                > group = sendsms-user 
                > username = mktg 
                > password = mktgbar 
                > dlr-mask=31 
                > dlr-url = 
                > 
"http://webserver.domain.com/dev/Kannel_INTF.nsf/SMSReports?openagent&;! 
unid=12345&phone=%P&type=%d" 
                > 
                > # SERVICES for MO SMS type 
                > group = sms-service 
                > keyword = nop 
                > text = "You asked nothing and I did it!" 
                > 
                > # there should be default a! lways 
                > group = sms-service 
                > keyword = default 
                > text = "No service specified" 
                > 
                > 
                > It's on Solaris 10 
                > kannel 1.4.3 
                > thanks for your help 
                > 

               
       

Reply via email to