My bad, a typo if you will allow one please :-). Ofcourse a *CVS* not CSV.

On Tue, Oct 7, 2008 at 12:22 PM, Kashif Ali Bukhari <[EMAIL PROTECTED]>wrote:

> CSV ???
>
> On Tue, Oct 7, 2008 at 10:34 AM, Shoeb Ahmed <[EMAIL PROTECTED]> wrote:
> > Hi, Thanks for the reply. No I am not using a prebuilt package. I
> compiled
> > it myself. However, my problem went away when I used the latest CSV
> instead
> > of the 1.4.1 . So everything is fine now.
> >
> > On Sat, Oct 4, 2008 at 1:45 PM, Kashif Ali Bukhari <[EMAIL PROTECTED]>
> > wrote:
> >>
> >> seems you are using prebuilt packeg please compile it yourself
> >>
> >> On Mon, Sep 22, 2008 at 2:36 PM, Shoeb Ahmed <[EMAIL PROTECTED]> wrote:
> >> > I sent this message below but haven't got any reply back. Can anyone
> >> > please
> >> > provide any insight into this problem? I really really need it to be
> >> > solved.
> >> >
> >> > On Thu, Sep 11, 2008 at 2:43 PM, <[EMAIL PROTECTED]> wrote:
> >> >>
> >> >>
> >> >> Message: 1
> >> >> Date: Thu, 11 Sep 2008 14:22:31 +0600
> >> >> From: "Shoeb Ahmed" <[EMAIL PROTECTED]>
> >> >> Subject: Bearerbox crash when using dlr
> >> >> To: [email protected]
> >> >> Message-ID:
> >> >>        <[EMAIL PROTECTED]>
> >> >> Content-Type: text/plain; charset="iso-8859-1"
> >> >>
> >> >> Hi, I have kannel 1.4.1 running in Ubuntu 7.10 for a few months now.
> It
> >> >> works perfectly. But recently when I tried to use dlr-url and
> dlr-mask
> >> >> when
> >> >> sending SMS through http interface, bearerbox crashes everytime. I
> have
> >> >> tried using both internal dlr storage and mysql dlr storage but that
> >> >> doesn't
> >> >> seem to have any effect on it.
> >> >>
> >> >> Below is the log of crash:
> >> >>
> >> >> 2008-09-11 12:36:16 [5394] [8] PANIC: Memory re-allocation failed
> >> >> 2008-09-11 12:36:16 [5394] [8] PANIC: System error 12: Cannot
> allocate
> >> >> memory
> >> >> 2008-09-11 12:36:17 [5394] [8] PANIC:
> >> >> /usr/local/sbin/bearerbox(gw_panic+0x107) [0x80c4517]
> >> >> 2008-09-11 12:36:17 [5394] [8] PANIC:
> >> >> /usr/local/sbin/bearerbox(gw_native_realloc+0x7d) [0x80b8f3d]
> >> >> 2008-09-11 12:36:17 [5394] [8] PANIC: /usr/local/sbin/bearerbox
> >> >> [0x80c57a5]
> >> >> 2008-09-11 12:36:17 [5394] [8] PANIC:
> >> >> /usr/local/sbin/bearerbox(octstr_insert_data+0x63) [0x80c7b23]
> >> >> 2008-09-11 12:36:17 [5394] [8] PANIC:
> >> >> /usr/local/sbin/bearerbox(octstr_append_char+0x39) [0x80c7d49]
> >> >> 2008-09-11 12:36:17 [5394] [8] PANIC: /usr/local/sbin/bearerbox
> >> >> [0x8067e2b]
> >> >> 2008-09-11 12:36:17 [5394] [8] PANIC: /usr/local/sbin/bearerbox
> >> >> [0x806b19a]
> >> >> 2008-09-11 12:36:17 [5394] [8] PANIC: /usr/local/sbin/bearerbox
> >> >> [0x80baf31]
> >> >> 2008-09-11 12:36:17 [5394] [8] PANIC:
> >> >> /lib/tls/i686/cmov/libpthread.so.0
> >> >> [0xb7f3e46b]
> >> >> 2008-09-11 12:36:17 [5394] [8] PANIC:
> >> >> /lib/tls/i686/cmov/libc.so.6(clone+0x5e) [0xb7bb973e]
> >> >>
> >> >>
> >> >> When using debug log level, I get this about my smsc:
> >> >>
> >> >> 2008-09-11 12:58:32 [6041] [0] INFO: SMS resend retry set to 10.
> >> >> 2008-09-11 12:58:32 [6041] [0] INFO: DLR rerouting for smsc id <FAKE>
> >> >> disabled.
> >> >> 2008-09-11 12:58:32 [6041] [0] DEBUG: Started thread 6
> >> >> (gw/smsc/smsc_fake.c:fake_listener)
> >> >> *2008-09-11 12:58:32 [6041] [0] INFO: DLR rerouting for smsc id
> >> >> <smsc_warid>
> >> >> disabled.*
> >> >> 2008-09-11 12:58:32 [6041] [0] INFO: Added logfile
> >> >> `/home/freebdsms/kannel_run/smsc.log' with level `1'.
> >> >> 2008-09-11 12:58:32 [6041] [0] INFO: AT2[smsc_warid]: configuration
> >> >> doesn't
> >> >> show modemtype. will autodetect
> >> >> 2008-09-11 12:58:32 [6041] [0] DEBUG: Started thread 7
> >> >> (gw/smsc/smsc_at.c:at2_device_thread)
> >> >> *2008-09-11 12:58:32 [6041] [0] INFO: DLR rerouting for smsc id
> >> >> <smsc_banglalink> disabled.*
> >> >> 2008-09-11 12:58:32 [6041] [0] INFO: Added logfile
> >> >> `/home/freebdsms/kannel_run/smsc.log' with level `1'.
> >> >> 2008-09-11 12:58:32 [6041] [0] INFO: AT2[smsc_banglalink]:
> >> >> configuration
> >> >> doesn't show modemtype. will autodetect
> >> >> 2008-09-11 12:58:32 [6041] [0] DEBUG: Started thread 8
> >> >> (gw/smsc/smsc_at.c:at2_device_thread)
> >> >> 2008-09-11 12:58:32 [6041] [0] DEBUG: Started thread 9
> >> >> (gw/bb_smscconn.c:sms_router)
> >> >> 2008-09-11 12:58:32 [6041] [0] INFO:
> >> >> ----------------------------------------
> >> >> 2008-09-11 12:58:32 [6041] [0] INFO: Kannel bearerbox II version
> 1.4.1
> >> >> starting
> >> >> 2008-09-11 12:58:32 [6041] [1] DEBUG: Thread 1 (gwlib/fdset.c:poller)
> >> >> maps
> >> >> to pid 6041.
> >> >> 2008-09-11 12:58:32 [6041] [6] DEBUG: Thread 6
> >> >> (gw/smsc/smsc_fake.c:fake_listener) maps to pid 6041.
> >> >> 2008-09-11 12:58:32 [6041] [7] DEBUG: Thread 7
> >> >> (gw/smsc/smsc_at.c:at2_device_thread) maps to pid 6041.
> >> >> 2008-09-11 12:58:32 [6041] [7] INFO: Logging thread `7' to logfile
> >> >> `/home/freebdsms/kannel_run/smsc.log' with level `1'.
> >> >> 2008-09-11 12:58:32 [6041] [8] DEBUG: Thread 8
> >> >> (gw/smsc/smsc_at.c:at2_device_thread) maps to pid 6041.
> >> >> 2008-09-11 12:58:32 [6041] [8] INFO: Logging thread `8' to logfile
> >> >> `/home/freebdsms/kannel_run/smsc.log' with level `1'.
> >> >> 2008-09-11 12:58:32 [6041] [9] DEBUG: Thread 9
> >> >> (gw/bb_smscconn.c:sms_router)
> >> >> maps to pid 6041.
> >> >> 2008-09-11 12:58:32 [6041] [9] DEBUG: sms_router: time to sleep 30.00
> >> >> secs.
> >> >> 2008-09-11 12:58:32 [6041] [2] DEBUG: Thread 2
> >> >> (gwlib/http.c:server_thread)
> >> >> maps to pid 6041.
> >> >> 2008-09-11 12:58:32 [6041] [0] INFO: MAIN: Start-up done, entering
> >> >> mainloop
> >> >> 2008-09-11 12:58:32 [6041] [0] DEBUG: smsc_fake: start called
> >> >> 2008-09-11 12:58:32 [6041] [0] DEBUG: AT2[smsc_warid]: start called
> >> >> 2008-09-11 12:58:32 [6041] [0] DEBUG: AT2[smsc_banglalink]: start
> >> >> called
> >> >> 2008-09-11 12:58:32 [6041] [3] DEBUG: Thread 3
> >> >> (gw/bb_http.c:httpadmin_run)
> >> >> maps to pid 6041.
> >> >> 2008-09-11 12:58:32 [6041] [9] DEBUG: sms_router: gwlist_len = 0
> >> >> 2008-09-11 12:58:32 [6041] [4] DEBUG: Thread 4
> >> >> (gw/bb_boxc.c:sms_to_smsboxes) maps to pid 6041.
> >> >> 2008-09-11 12:58:32 [6041] [5] DEBUG: Thread 5
> >> >> (gw/bb_boxc.c:smsboxc_run)
> >> >> maps to pid 6041.
> >> >> 2008-09-11 12:58:33 [6041] [5] INFO: Client connected from <
> 127.0.0.1>
> >> >>
> >> >> Is that dlr rerouting disabled any cause of this?
> >> >>
> >> >> Here is the  url  I  am using for sending msg:
> >> >>
> >> >>
> >> >>
> http://localhost:13013/cgi-bin/sendsms?username=***&password=***&to=***&text=Hello+world&dlr-mask=7&dlr-url=http://localhost/sms_sender/dlr_test.php?type=%d&reciever=**
> >> >>
> >> >> I've tried changing the dlr-url to one of my website hosted on a web
> >> >> server
> >> >> but same thing happens.
> >> >>
> >> >> Below is my configuration file:
> >> >>
> >> >> #
> >> >> # THIS IS A SAMPLE CONFIGURATION FOR SMS KANNEL
> >> >> #
> >> >> # This basic version is used for system testing. It expects
> 'fakesmsc'
> >> >> to
> >> >> # send messages which are replied with simple fixed text message.
> >> >> # It is run like this:
> >> >> #
> >> >> #  1% gw/bearerbox gw/smskannel.conf
> >> >> #  2% gw/smsbox gw/smskannel.conf
> >> >> #  3% test/fakesmsc -i 0.1 -m 100 "123 345 text nop"
> >> >> #
> >> >> # ..all 3 commands in separate shells (or screen sessions)
> >> >> # Note that you can run them in different machines but have to
> >> >> # add certain command line argument and configuration variables then
> >> >> #
> >> >> #
> >> >> # For any modifications to this file, see Kannel User Guide
> >> >> # If that does not help, see Kannel web page (http://www.kannel.org)
> >> >> and
> >> >> # various online help and mailing list archives
> >> >> #
> >> >> # Notes on those who base their configuration on this:
> >> >> #  1) check security issues! (allowed IPs, passwords and ports)
> >> >> #  2) groups cannot have empty rows inside them!
> >> >> #  3) read the user guide
> >> >> #
> >> >> # Kalle Marjola for Kannel project 2001, 2004
> >> >>
> >> >> #---------------------------------------------
> >> >> # CORE
> >> >> #
> >> >> # There is only one core group and it sets all basic settings
> >> >> # of the bearerbox (and system). You should take extra notes on
> >> >> # configuration variables like 'store-file' (or 'store-dir'),
> >> >> # 'admin-allow-ip' and 'access.log'
> >> >>
> >> >>
> >> >> group = core
> >> >> admin-port = 13000
> >> >> smsbox-port = 13001
> >> >> admin-password = *******
> >> >> #status-password = foo
> >> >> #admin-deny-ip = ""
> >> >> #admin-allow-ip = ""
> >> >> log-file = "/home/freebdsms/kannel_run/kannel.log"
> >> >> log-level = 0
> >> >> box-deny-ip = "*.*.*.*"
> >> >> box-allow-ip = "127.0.0.1"
> >> >> dlr-storage = mysql
> >> >> #unified-prefix = "+358,00358,0;+,00"
> >> >> access-log = "/home/freebdsms/kannel_run/access.log"
> >> >> sms-resend-retry = 10
> >> >> #store-file = "kannel.store"
> >> >> #ssl-server-cert-file = "cert.pem"
> >> >> #ssl-server-key-file = "key.pem"
> >> >> #ssl-certkey-file = "mycertandprivkeyfile.pem"
> >> >>
> >> >> include = "/home/freebdsms/kannel_run/modems.conf"
> >> >>
> >> >> #--------------------------------------------
> >> >> # MYSQL CONNECTION SETTINGS FOR STORAGE
> >> >>
> >> >> group = mysql-connection
> >> >> id = mydlr
> >> >> host = localhost
> >> >> username = ******
> >> >> password = ******
> >> >> database = ******
> >> >> max-connections = 1
> >> >>
> >> >> group = dlr-db
> >> >> id = mydlr
> >> >> table = dlr
> >> >> field-smsc = smsc
> >> >> field-timestamp = dlr_timestamp
> >> >> field-destination = destination
> >> >> field-source = source
> >> >> field-service = service
> >> >> field-url = url
> >> >> field-mask = mask
> >> >> field-status = status
> >> >> field-boxc-id = boxc
> >> >>
> >> >> #---------------------------------------------
> >> >> # SMSC CONNECTIONS
> >> >> #
> >> >> # SMSC connections are created in bearerbox and they handle SMSC
> >> >> specific
> >> >> # protocol and message relying. You need these to actually receive
> and
> >> >> send
> >> >> # messages to handset, but can use GSM modems as virtual SMSCs
> >> >>
> >> >>
> >> >> # This is a fake smsc connection, _only_ used to test the system and
> >> >> services.
> >> >> # It really cannot relay messages to actual handsets!
> >> >>
> >> >> group = smsc
> >> >> smsc = fake
> >> >> smsc-id = FAKE
> >> >> port = 10000
> >> >> connect-allow-ip = 127.0.0.1
> >> >>
> >> >> # This is the actual smsc group
> >> >> # smsc-center for different operators:
> >> >> #    Warid: +8801600006001
> >> >> #    Aktel: +8801801000004
> >> >> #    GP: +8801700000600
> >> >> #    Banglalink: +88019900557
> >> >>
> >> >> # This is the smsc for warid sim
> >> >> group = smsc
> >> >> smsc = at
> >> >> smsc-id = smsc_warid
> >> >> #denied-smsc-id = smsc_banglalink
> >> >> #allowed-smsc-id = smsc_warid
> >> >> denied-prefix = "017;018;019;011;015"
> >> >> allowed-prefix = "016"
> >> >> log-file = "/home/freebdsms/kannel_run/smsc.log"
> >> >> log-level = 1
> >> >> modemtype = auto
> >> >> device = /dev/warid
> >> >> speed = 115200
> >> >> sms-center = +8801600006001
> >> >> #sim-buffering = true
> >> >>
> >> >> # This is the smsc for banglalink sim
> >> >> group = smsc
> >> >> smsc = at
> >> >> smsc-id = smsc_banglalink
> >> >> #denied-smsc-id = smsc_warid
> >> >> #allowed-smsc-id = smsc_banglalink
> >> >> denied-prefix = "016"
> >> >> allowed-prefix = "017;018;019;011;015"
> >> >> log-file = "/home/freebdsms/kannel_run/smsc.log"
> >> >> log-level = 1
> >> >> modemtype = auto
> >> >> device = /dev/banglalink
> >> >> speed = 115200
> >> >> sms-center = +88019900557
> >> >> #sim-buffering = true
> >> >>
> >> >> #---------------------------------------------
> >> >> # SMSBOX SETUP
> >> >> #
> >> >> # Smsbox(es) do higher-level SMS handling after they have been
> received
> >> >> from
> >> >> # SMS centers by bearerbox, or before they are given to bearerbox for
> >> >> delivery
> >> >> group = smsbox
> >> >> bearerbox-host = 127.0.0.1
> >> >> #smsbox-id = shoeb
> >> >> sendsms-port = 13013
> >> >> global-sender = 13013
> >> >> sendsms-chars = "0123456789 +"
> >> >> log-file = "/home/freebdsms/kannel_run/smsbox.log"
> >> >> log-level = 1
> >> >> http-request-retry = 0
> >> >> access-log = "/home/freebdsms/kannel_run/smsbox_access.log"
> >> >>
> >> >> #---------------------------------------------
> >> >> # SEND-SMS USERS
> >> >> #
> >> >> # These users are used when Kannel smsbox sendsms interface is used
> to
> >> >> # send PUSH sms messages, i.e. calling URL like
> >> >> #
> >> >>
> >> >>
> >> >>
> http://kannel.machine:13013/cgi-bin/sendsms?username=tester&password=foobar
> .
> >> >> ..
> >> >>
> >> >> # User for sending messages of general members
> >> >> group = sendsms-user
> >> >> username = ****
> >> >> password = ****
> >> >> #forced-smsc = smsc_gen_mem
> >> >> #default-smsc = smsc_gen_mem
> >> >> #user-deny-ip = ""
> >> >> #user-allow-ip = ""
> >> >> max-messages = 5
> >> >> concatenation = true
> >> >>
> >> >> # User for sending messages of corporate members
> >> >> group = sendsms-user
> >> >> username = ****
> >> >> password = ****
> >> >> #forced-smsc = smsc_gen_mem
> >> >> #default-smsc = smsc_gen_mem
> >> >> #user-deny-ip = ""
> >> >> #user-allow-ip = ""
> >> >> max-messages = 5
> >> >> concatenation = true
> >> >>
> >> >> #---------------------------------------------
> >> >> # SERVICES
> >> >> #
> >> >> # These are 'responses' to sms PULL messages, i.e. messages arriving
> >> >> from
> >> >> # handsets. The response is based on message content. Only one
> >> >> sms-service
> >> >> is
> >> >> # applied, using the first one to match.
> >> >>
> >> >> group = sms-service
> >> >> keyword = nop
> >> >> text = "You asked nothing and I did it!"
> >> >>
> >> >>
> >> >> # There should be always a 'default' service. This service is used
> when
> >> >> no
> >> >> # other 'sms-service' is applied.
> >> >>
> >> >> group = sms-service
> >> >> keyword = default
> >> >> omit-empty = true
> >> >> get-url = "
> >> >>
> >> >>
> http://www.freebdsms.com/corp_area/save_incoming_msg.php?msg=%a&sender=%p";
> >> >> #text = "No service specified"
> >> >> -------------- next part --------------
> >> >> An HTML attachment was scrubbed...
> >> >> URL:
> >> >>
> >> >>
> http://www.kannel.org/pipermail/users/attachments/20080911/0412c24c/attachment-0001.html
> >> >
> >> >
> >>
> >>
> >>
> >> --
> >> Syed Kashif Ali Bukhari
> >> +92-345-8444420
> >> http://www.sysadminsline.com
> >> http://www.kashifbukhari.com
> >
> >
>
>
>
> --
> Syed Kashif Ali Bukhari
> +92-345-8444420
> http://www.sysadminsline.com
> http://www.kashifbukhari.com
>

Reply via email to