Frederic Olivie
2004-May-16 07:21 UTC
[Asterisk-Users] cdr-csv / Zaptel BRI / full number not stored (missing leading zeroes)
Hi, I'm using a ZaptelBRI card. It works fine. But I have a small problem with call logs. The leading zeroes of the external calling party are not stored (e.g. : 0140302010 will be stored as 140302010). Same for international numbers for which "00" will be stripped out. I would not mind if the cdr record would give me an indication of the call's origin (national or international), but it does not. The goal here is to implement a basic "missed call" web service that would allow my users to generate a call back. -- Fr?d?ric Olivi? (Alf) @ Club-Internet ? Don't SCREAM, It hurts my eyes ! ? Ne CRIEZ pas, ?a fait mal aux yeux ! ? ?Alf, March 2001
Klaus-Peter Junghanns
2004-May-17 02:13 UTC
[Asterisk-Users] cdr-csv / Zaptel BRI / full number not stored (missing leading zeroes)
hi, do you have nationalprefix=0 internationalprefix=00 in your zapata.conf? best regards Klaus -- Klaus-Peter Junghanns CEO, CTO Junghanns.NET GmbH Breite Strasse 13a - 12167 Berlin - Germany fon: (de) +49 30 79705390 fon: (uk) +44 870 1244692 fax: (de) +49 30 79705391 iaxtel: 1-700-157-8753 http://www.Junghanns.NET/asterisk/ Am So, 2004-05-16 um 16.21 schrieb Frederic Olivie:> Hi, > > I'm using a ZaptelBRI card. It works fine. > But I have a small problem with call logs. > > The leading zeroes of the external calling party are not stored (e.g. : 0140302010 will be stored as 140302010). > Same for international numbers for which "00" will be stripped out. > > I would not mind if the cdr record would give me an indication of the call's origin (national or international), but it does not. > > The goal here is to implement a basic "missed call" web service that would allow my users to generate a call back. > > -- > Fr?d?ric Olivi? (Alf) @ Club-Internet > > ? Don't SCREAM, It hurts my eyes ! ? Ne CRIEZ pas, ?a fait mal aux yeux ! ? > ?Alf, March 2001 > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users
Pedro Vela
2004-May-19 06:40 UTC
[Asterisk-Users] cdr-csv / Zaptel BRI / full number not stored (missing leading zeroes)
Hi Alf, Have you got a Junghanns.net quadBRI PCI Card ? If yes, Have you received CallerID number ? How you have got configured zaptel and zapata ? I?m collapssed at this point, thaks in advance, Pedro PD: maybe... around your question, are you using cdr in csv or in mysql?, if you are using mysql check if your calling party field are text type, because if are digits the left zeroes are stripped out. -----Mensaje original----- De: asterisk-users-admin@lists.digium.com [mailto:asterisk-users-admin@lists.digium.com]En nombre de Frederic Olivie Enviado el: domingo, 16 de mayo de 2004 16:22 Para: Asterisk-Users@lists.digium.com Asunto: [Asterisk-Users] cdr-csv / Zaptel BRI / full number not stored (missing leading zeroes) Hi, I'm using a ZaptelBRI card. It works fine. But I have a small problem with call logs. The leading zeroes of the external calling party are not stored (e.g. : 0140302010 will be stored as 140302010). Same for international numbers for which "00" will be stripped out. I would not mind if the cdr record would give me an indication of the call's origin (national or international), but it does not. The goal here is to implement a basic "missed call" web service that would allow my users to generate a call back. -- Fr?d?ric Olivi? (Alf) @ Club-Internet ? Don't SCREAM, It hurts my eyes ! ? Ne CRIEZ pas, ?a fait mal aux yeux ! ? ?Alf, March 2001 _______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users