Re: [asterisk-users] Asterisk mysql CDR

2008-09-24 Thread Nhadie
Thank you for your reply Sir i tried inserting ResetCDR(w) almost everywhere but i still end up with this on the cdr: FromTo: 500 100-CHANUNAVAIL This is my current setting hat produces that CDR: exten => 100,1,Macro(dial-ext-cf|SIP/${EXTEN}|vm-100|moh-100) exten => 100,2,Goto(100-${D

Re: [asterisk-users] Asterisk mysql CDR

2008-09-24 Thread Rizwan Hisham
You can use the ResetCDR() application with the w flag in it after you get the unavailable, busy or etc message from the callee. It will store the cdr of that call and after forwarding to mobile, that cdr will be dumped again. On Wed, Sep 24, 2008 at 8:26 AM, Nhadie <[EMAIL PROTECTED]> wrote: > h

[asterisk-users] Asterisk mysql CDR

2008-09-23 Thread Nhadie
hi, i'm using this macro to dial an extension and forward to a mobile if unavailable,busy or noanswer exten => 100,1,Macro(dial-ext|SIP/${EXTEN}|vm-100|moh-100) exten => 100,2,Goto(100-${DIALSTATUS}|1) exten => 100-BUSY,1,Macro(dialout-local-mobile|91234567) exten => 100-BUSY,2,Voicemail([EMAIL

Re: [asterisk-users] Asterisk mysql cdr

2006-09-02 Thread Matt Riddell (IT)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Abdul wrote: > Hi all, > > I am using MySQL for mysql_cdr. I have very strange issue, while destination > is ringing and caller disconnect the phone without any conversation, i can > see in cdr of mysql the duration is starting and for this customer

[asterisk-users] Asterisk mysql cdr

2006-09-02 Thread Abdul
Hi all,I am using MySQL for mysql_cdr. I have very strange issue, while destination is ringing and caller disconnect the phone without any conversation, i can see in cdr of mysql the duration is starting and for this customer are charged without any calls.Any can suggest me how i can stop this issu

Re: [Asterisk-Users] Asterisk MySQL CDR - MySQL starting too late

2005-11-22 Thread JP Carballo
Dennis Gilmore wrote: ok a little back round on runlevels. Linux allows for up to 10 runlevels, 0-9, but usually only some of these are defined by default. Runlevel 0 is defined as ``system halt''. Runlevel 1 is defined as ``single user mode''. Runlevel 6 is defined as ``system reboot''. O

Re: [Asterisk-Users] Asterisk MySQL CDR - MySQL starting too late

2005-11-21 Thread Dennis Gilmore
Once upon a time Sunday 20 November 2005 8:39 pm, Matt Riddell wrote: > Eric Bishop wrote: > > Hi All, > > > > I am running Asterisk (1.0.9.) on CentOS 4 with CDR recording being > > output to MySQL. However whenever the system boots up after a reboot I > > am needing to manually restart Asterisk b

Re: [Asterisk-Users] Asterisk MySQL CDR - MySQL starting too late

2005-11-21 Thread Dennis Gilmore
Once upon a time Sunday 20 November 2005 10:38 pm, JP Carballo wrote: > JP Carballo wrote: > > Eric Bishop wrote: > >> I have: > >> > >> [EMAIL PROTECTED] ~]# chkconfig --list | grep mysql > >> mysqld 0:off 1:off 2:off 3:on4:off 5:off 6:off > >> [EMAIL PROTECTED] ~]# chkconfi

RE: [Asterisk-Users] Asterisk MySQL CDR - MySQL starting too late

2005-11-21 Thread Andreas Sikkema
> Well that didn't work. When I rebooted MySQL didn't start at all The level doesn't set _when_ something starts, just _if_ something starts. Some daemons should start in single user mode, some not. Some others should only start when in GUI mode, others not, etc. This is what level controls. W

Re: [Asterisk-Users] Asterisk MySQL CDR - MySQL starting too late

2005-11-21 Thread Eric Bishop
Well that didn't work. When I rebooted MySQL didn't start at allOn 11/21/05, JP Carballo <[EMAIL PROTECTED] > wrote:JP Carballo wrote:> Eric Bishop wrote:>>> I have: [EMAIL PROTECTED] ~]# chkconfig --list | grep mysql>> mysqld  0:off   1:off   2:off   3:on4:off   5:off   6:off>

Re: [Asterisk-Users] Asterisk MySQL CDR - MySQL starting too late

2005-11-20 Thread JP Carballo
JP Carballo wrote: Eric Bishop wrote: I have: [EMAIL PROTECTED] ~]# chkconfig --list | grep mysql mysqld 0:off 1:off 2:off 3:on4:off 5:off 6:off [EMAIL PROTECTED] ~]# chkconfig --list | grep asterisk asterisk0:off 1:off 2:on3:on4:on5:on6:off

Re: [Asterisk-Users] Asterisk MySQL CDR - MySQL starting too late

2005-11-20 Thread JP Carballo
Eric Bishop wrote: I have: [EMAIL PROTECTED] ~]# chkconfig --list | grep mysql mysqld 0:off 1:off 2:off 3:on4:off 5:off 6:off [EMAIL PROTECTED] ~]# chkconfig --list | grep asterisk asterisk0:off 1:off 2:on3:on4:on5:on6:off What would you sugge

Re: [Asterisk-Users] Asterisk MySQL CDR - MySQL starting too late

2005-11-20 Thread Eric Bishop
I have: [EMAIL PROTECTED] ~]# chkconfig --list | grep mysql mysqld  0:off   1:off   2:off   3:on    4:off   5:off   6:off [EMAIL PROTECTED] ~]# chkconfig --list | grep asterisk asterisk    0:off   1:off   2:on    3:on    4:on    5:on    6:off What would you suggest I do? On 11/21/05,

Re: [Asterisk-Users] Asterisk MySQL CDR - MySQL starting too late

2005-11-20 Thread Matt Riddell
Eric Bishop wrote: > Hi All, > > I am running Asterisk (1.0.9.) on CentOS 4 with CDR recording being > output to MySQL. However whenever the system boots up after a reboot I > am needing to manually restart Asterisk because MySQL is after Asterisk > in the service startup sequence and I get > > E

[Asterisk-Users] Asterisk MySQL CDR - MySQL starting too late

2005-11-20 Thread Eric Bishop
Hi All, I am running Asterisk (1.0.9.) on CentOS 4 with CDR recording being output to MySQL. However whenever the system boots up after a reboot I am needing to manually restart Asterisk because MySQL is after Asterisk in the service startup sequence and I get ERROR[3367]: Failed to connect to m

[Asterisk-Users] Asterisk MySQL CDR - Destination Number

2004-09-24 Thread Chris HARIGA
Hi,   I have in one Asterisk box different numbers, all are coming thru the T1. We need to know exactly the CallerID (whose calling I have it) and witch number was called. I take a look on cdr module and I didn’t find that information. I think I’m not the only one with this problem L A