Hi, I am new to Kannel. I am using kannel 1.4.0. Ater receiving the message i have to store that message information into mysql database. So i am calling the routine
pc =dbpool_conn_consume(pool); to get & activate the connection. This ' dbpool_conn_consume' is calling from my own function. But after receiving the message, i am getting assertion fail notification. ------------------------------------- 2005-03-15 16:32:00 [31166] [6] DEBUG: CIMD2[smsc_cimd2]: received: <20:000 021:22225 023:919820058412 060:020911122000 033:topup 1234567890123456 026:404201234567890 028:919820005441 1B> 2005-03-15 16:32:00 [31166] [6] DEBUG: CIMD2[smsc_cimd2]: sending <70:000 3C> [RAMS] The ret val is 1 2005-03-15 16:32:00 [31166] [6] DEBUG: CIMD2[smsc_cimd2]: new message received 2005-03-15 16:32:00 [31166] [6] WARNING: smsbox_list empty! [RAMS] I am receiving sms now... 2005-03-15 16:32:00 [31166] [6] WARNING: [RAMS] I am receiving sms now... [RAMS] I am in put_to_incomming_db 2005-03-15 16:32:00 [31166] [6] WARNING: [RAMS] I am in put_to_incomming_db 2005-03-15 16:32:00 [31166] [6] PANIC: gwlib/dbpool.c:247: dbpool_conn_consume: Assertion `p != NULL && p->pool != NULL' failed. 2005-03-15 16:32:00 [31166] [6] PANIC: ./bearerbox(gw_panic+0x175) [0x80d1667] 2005-03-15 16:32:00 [31166] [6] PANIC: ./bearerbox(dbpool_conn_consume+0x37) [0x80c4593] 2005-03-15 16:32:00 [31166] [6] PANIC: ./bearerbox(put_to_incomming_db+0x3d) [0x807734f] 2005-03-15 16:32:00 [31166] [6] PANIC: ./bearerbox [0x807724f] 2005-03-15 16:32:00 [31166] [6] PANIC: ./bearerbox [0x80c7190] 2005-03-15 16:32:00 [31166] [6] PANIC: /lib/i686/libpthread.so.0 [0x400b7881] 2005-03-15 16:32:00 [31166] [6] PANIC: /lib/i686/libc.so.6(__clone+0x57) [0x420e40c7] ------------------------------------------------- So plz let me know what happened ?and anyone tell me that how can i store that message info into database? Shall i use nagative mysql api's directly ? Rams
