[asterisk-users] BUG in Asterisk 1.6.1.0 and issue in DAHDI 2.1.0.4

Nestor A. Diaz nestor at tiendalinux.com
Sun Jun 28 15:57:52 CDT 2009


Starting playing with asterisk 1.6.1.0 i found the following problems:

In the cdr_pgsql, the sql statement is wrong:

2009-06-25 12:17:01 COT LOG:  statement: INSERT INTO cdr
("accountcode","calldate","src","clid","dst","src","dcontext","dst","clid","dcontext","channel","channel","dstchannel","lastapp","lastapp","lastdata","lastdata","duration","start","billsec","answer","disposition","end","duration","amaflags","billsec","accountcode","disposition","uniqueid","amaflags","userfield","userfield","uniqueid")
VALUES ('4868','2009-06-25 12:14:11','unknown','"bga-gw-1-4"
<unknown>','4','unknown','from-bga-gw','4','"bga-gw-1-4"
<unknown>','from-bga-gw','SIP/bga-gw-1-4-09be9960','SIP/bga-gw-1-4-09be9960','DAHDI/5-1','Dial','Dial','DAHDI/g11/4868','DAHDI/g11/4868',170,'2009-06-25
12:14:11',170,'2009-06-25 12:14:11','ANSWERED','2009-06-25
12:17:01',170,3,170,'4868',8,'1245950051.272',3,'4','4','1245950051.272')
2009-06-25 12:17:01 COT ERROR:  column "src" specified more than once

and asterisk shows:

[Jun 25 12:18:07] ERROR[15544]: cdr_pgsql.c:309 pgsql_log: Failed to
insert call detail record into database!
[Jun 25 12:18:07] ERROR[15544]: cdr_pgsql.c:310 pgsql_log: Reason:
ERROR:  column "src" specified more than once

[Jun 25 12:18:07] ERROR[15544]: cdr_pgsql.c:311 pgsql_log: Connection
may have been lost... attempting to reconnect.
[Jun 25 12:18:07] ERROR[15544]: cdr_pgsql.c:314 pgsql_log: Connection
reestablished.
[Jun 25 12:18:07] ERROR[15544]: cdr_pgsql.c:320 pgsql_log: HARD ERROR!
Attempted reconnection failed.  DROPPING CALL RECORD!
[Jun 25 12:18:07] ERROR[15544]: cdr_pgsql.c:321 pgsql_log: Reason:
ERROR:  column "src" specified more than once

Also in chan_dahdi i got the following:

[Jun 25 12:19:04] WARNING[15757]: chan_dahdi.c:3090 dahdi_call:
Unrecognized prilocaldialplan NPI modifier: k
[Jun 25 12:19:04] WARNING[15757]: chan_dahdi.c:3090 dahdi_call:
Unrecognized prilocaldialplan NPI modifier: o
[Jun 25 12:19:04] WARNING[15757]: chan_dahdi.c:3090 dahdi_call:
Unrecognized prilocaldialplan NPI modifier: w

Slds.

-- 
Nestor A. Diaz
Ingeniero de Sistemas
Tel. +57 1-600-5490 x 211
Cel. +57 316-227-3593
Tel. SIP: sip:211 at tiendalinux.com
Email/MSN: nestor at tiendalinux.com
http://www.tiendalinux.com/
Bogota, Colombia 




More information about the asterisk-users mailing list