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:

 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 PROTECTED]|u)
 exten = 100-CONGESTION,1,Macro(dialout-local-mobile|91234567)
 exten = 100-CONGESTION,2,Voicemail([EMAIL PROTECTED]|u)
 exten = 100-NOANSWER,1,Macro(dialout-local-mobile|91234567)
 exten = 100-NOANSWER,2,Voicemail([EMAIL PROTECTED]|u)

 my prob is on the CDR, from extension 500 i called 100, 100 is not
 online so it should forward it to my mobile

 but on the cdr it shows like this:

  FromTo
 500 100-CHANUNAVAIL

 should it be like

  FromTo
 500 91234567

 or

  FromTo
 100 91234567

 any idea how to fix those?

 regards,
 nhadie

 ___
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --

 AstriCon 2008 - September 22 - 25 Phoenix, Arizona
 Register Now: http://www.astricon.net

 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users




-- 
Best Regards
Rizwan Hisham
___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

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-${DIALSTATUS}|1)
exten = 100-BUSY,1,Macro(dialout-local-mobile|91234567)
exten = 100-BUSY,2,Voicemail([EMAIL PROTECTED]|u)
exten = 100-CONGESTION,1,Macro(dialout-local-mobile|91234567)
exten = 100-CONGESTION,2,Voicemail([EMAIL PROTECTED]|u)
exten = 100-NOANSWER,1,Macro(dialout-local-mobile|91234567)
exten = 100-NOANSWER,2,Voicemail([EMAIL PROTECTED]|u)

[macro-dialout-local-mobile]
exten = s,1,Wait(1)
exten = s,n,ResetCDR(w)
exten = s,n,Dial(IAX2/trunk-100-1000/91234567|30|t)

[macro-dial-ext-cf]
exten = s,1,SetMusicOnHold(${ARG3})
exten = s,2,ResetCDR(w)
exten = s,3,Dial(SIP/100|30|t|M(setmusiconhold,100))

where do you think should i put the ResetCDR(w)?

thanks again.

regards,
nhadie

Rizwan Hisham wrote:
 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] 
 mailto:[EMAIL PROTECTED] wrote:
 
 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 PROTECTED]|u)
 exten = 100-CONGESTION,1,Macro(dialout-local-mobile|91234567)
 exten = 100-CONGESTION,2,Voicemail([EMAIL PROTECTED]|u)
 exten = 100-NOANSWER,1,Macro(dialout-local-mobile|91234567)
 exten = 100-NOANSWER,2,Voicemail([EMAIL PROTECTED]|u)
 
 my prob is on the CDR, from extension 500 i called 100, 100 is not
 online so it should forward it to my mobile
 
 but on the cdr it shows like this:
 
  FromTo
 500 100-CHANUNAVAIL
 
 should it be like
 
  FromTo
 500 91234567
 
 or
 
  FromTo
 100 91234567
 
 any idea how to fix those?
 
 regards,
 nhadie
 
 ___
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 
 AstriCon 2008 - September 22 - 25 Phoenix, Arizona
 Register Now: http://www.astricon.net
 
 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users
 
 
 
 
 -- 
 Best Regards
 Rizwan Hisham
 
 
 
 
 ___
 -- Bandwidth and Colocation Provided by http://www.api-digital.com --
 
 AstriCon 2008 - September 22 - 25 Phoenix, Arizona
 Register Now: http://www.astricon.net
 
 asterisk-users mailing list
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[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 PROTECTED]|u)
exten = 100-CONGESTION,1,Macro(dialout-local-mobile|91234567)
exten = 100-CONGESTION,2,Voicemail([EMAIL PROTECTED]|u)
exten = 100-NOANSWER,1,Macro(dialout-local-mobile|91234567)
exten = 100-NOANSWER,2,Voicemail([EMAIL PROTECTED]|u)

my prob is on the CDR, from extension 500 i called 100, 100 is not 
online so it should forward it to my mobile

but on the cdr it shows like this:

 FromTo
500 100-CHANUNAVAIL

should it be like

 FromTo
500 91234567

or

 FromTo
100 91234567

any idea how to fix those?

regards,
nhadie

___
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

AstriCon 2008 - September 22 - 25 Phoenix, Arizona
Register Now: http://www.astricon.net

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


[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 issue i checked with my sipprovider (MCI) and they monitor the call but the told our GW is not sending call connect message while remote is ringing so it means there is some mis configuration my Asterisk.I will appriciate your kinds of help and idea.Regards,Khan 
	
		Get your own web address for just $1.99/1st yr. We'll help. Yahoo! Small Business.
___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


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 are 
 charged without any calls.
 
 Any can suggest me how i can stop this issue i checked with my sipprovider 
 (MCI) and they monitor the call but the told our GW is not sending call 
 connect message while remote is ringing so it means there is some mis 
 configuration my Asterisk.
 
 I will appriciate your kinds of help and idea.

Check for Answer() in your dialplan.

- --
Cheers,

Matt Riddell
___

http://www.sineapps.com/news.php (Daily Asterisk News - html)
http://freevoip.gedameurope.com (Free Asterisk Voip Community)
http://www.sineapps.com/rssfeed.php (Daily Asterisk News - rss)
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFE+V/BS6d5vy0jeVcRAiMGAKCHXDVNStxF37fWzmVg1bWhwD0fpwCfRDuK
aUKeQ+zqd9xLlAYA5hWmJII=
=qFMW
-END PGP SIGNATURE-
___
--Bandwidth and Colocation provided by Easynews.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


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

2005-11-22 Thread JP Carballo

Dennis Gilmore wrote:
snip

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''. 
Other runlevels are dependent on how your particular distribution has defined 
them, and they vary significantly between distributions. Looking at the 
contents of /etc/inittab usually will give some hint what the predefined 
runlevels are and what they have been defined as.


ok so  when you turn mysqld off on run level 3 and thats what you system runs 
as mysqld  will never start. the services selected for that run level are ran 
when you enter that run level.


the order that they are run at is defined by a priority system.  so you need 
to make sure the priority of asterisk is such that is it started after 
mysqld.


on my system  mysqld  has a priority of 64 and asterisk is 99   look 
in /etc/rc3.d   the files starting with a S are for startup and K for 
shutdown.  they start with lowest number  up through highest number.  that 
last thing ran is /etc/rc.local  so you could always put in 
there /etc/init.d/asterisk restart  to make sure its the last thing done.



Here's mine:

([EMAIL PROTECTED]:~)# ll /etc/rc.d/rc3.d/*{asterisk,mysqld}
147052 lrwxrwxrwx  1 root root 16 Nov 22 20:32 /etc/rc.d/rc3.d/S11mysqld 
- ../init.d/mysqld*
135866 lrwxrwxrwx  1 root root 18 Nov 22 20:31 
/etc/rc.d/rc3.d/S40asterisk - ../init.d/asterisk*


and the chkconfig default levels:

([EMAIL PROTECTED]:asterisk)# chkconfig --list | grep asterisk\|mysqld
mysqld 0:off1:off2:on3:on4:on5:on6:off
asterisk   0:off1:off2:on3:on4:on5:on6:off

just as they are defined in:

([EMAIL PROTECTED]:asterisk)# grep chkconfig /etc/init.d/{asterisk,mysqld}
/etc/init.d/asterisk:# chkconfig: 2345 40 60
/etc/init.d/mysqld:# chkconfig: 2345 11 90

--
JP Carballo

http://www.netfone2x.com
Bringing the world closer.

It might look like I'm doing nothing, but at the cellular level, I'm really quite busy. 


___
--Bandwidth and Colocation sponsored by Easynews.com --

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


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
mysqld0: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 suggest I do? snip rant Holy crap, this kind of replying is getting me dizzy! Up, down, what
 next? Left and right? Why can't we just agree to delete all previous text, anyway we all have threaded readers...don't we? /rant chkconfig --level 3 mysqld off chkconfig --level 2 mysqld on
 chkconfig --level 2 asterisk offI forgot to add that you should get this:([EMAIL PROTECTED]:asterisk)# chkconfig --list | grep asterisk\|mysqldmysqld
0:off1:off2:on3:off4:off5:off6:offasterisk
0:off1:off2:off3:on4:off5:off6:off--JP Carballohttp://www.netfone2x.comBringing the world closer.It might look like I'm doing nothing, but at the cellular level, I'm really quite busy.
___--Bandwidth and Colocation sponsored by Easynews.com --Asterisk-Users mailing list
Asterisk-Users@lists.digium.comhttp://lists.digium.com/mailman/listinfo/asterisk-usersTo UNSUBSCRIBE or update options visit: 
http://lists.digium.com/mailman/listinfo/asterisk-users
___
--Bandwidth and Colocation sponsored by Easynews.com --

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

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. When something starts is usually controlled with the
name of the start/stop scripts in /etc/rcx.d/ (or something like that).

Files starting with the S00 prefix are started first, files with S99 are
started last for that runlevel. The same for K00 and K99, but that
describes the time when processes are killed. So if Asterisk is started
using S80asterisk, and MySQL using S50mysqld, then it obviously isn't
going to work as intended. The same also when both are started with S99,
because asterisk will be started before mysqld...

I usually mess around with the numbers, but that is not very
reproducable, dependencies listed in the rpm file (or equivalent)
usually takes care of this. When isntalling from source, you're on your
own.

-- 
Andreas Sikkema   BBned NV
Software EngineerPlaneetbaan 4
+31 (0)23 70743422132 HZ Hoofddorp 
___
--Bandwidth and Colocation sponsored by Easynews.com --

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


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] ~]# chkconfig --list | grep asterisk
  asterisk0:off   1:off   2:on3:on4:on5:on6:off
 
  What would you suggest I do?
 
  snip
  rant
  Holy crap, this kind of replying is getting me dizzy! Up, down, what
  next? Left and right?
  Why can't we just agree to delete all previous text, anyway we all
  have threaded readers...don't we?
  /rant
 
  chkconfig --level 3 mysqld off
  chkconfig --level 2 mysqld on
  chkconfig --level 2 asterisk off

 I forgot to add that you should get this:

 ([EMAIL PROTECTED]:asterisk)# chkconfig --list | grep asterisk\|mysqld
 mysqld 0:off1:off2:on3:off4:off5:off
 6:off
 asterisk   0:off1:off2:off3:on4:off5:off
 6:off

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''. 
Other runlevels are dependent on how your particular distribution has defined 
them, and they vary significantly between distributions. Looking at the 
contents of /etc/inittab usually will give some hint what the predefined 
runlevels are and what they have been defined as.

ok so  when you turn mysqld off on run level 3 and thats what you system runs 
as mysqld  will never start. the services selected for that run level are ran 
when you enter that run level.

the order that they are run at is defined by a priority system.  so you need 
to make sure the priority of asterisk is such that is it started after 
mysqld.

on my system  mysqld  has a priority of 64 and asterisk is 99   look 
in /etc/rc3.d   the files starting with a S are for startup and K for 
shutdown.  they start with lowest number  up through highest number.  that 
last thing ran is /etc/rc.local  so you could always put in 
there /etc/init.d/asterisk restart  to make sure its the last thing done.


-- 
Dennis Gilmore,  RHCE  
dennis AT ausil DOT us http://www.ausil.us


pgp3NECiMWqae.pgp
Description: PGP signature
___
--Bandwidth and Colocation sponsored by Easynews.com --

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

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 because MySQL is after Asterisk
  in the service startup sequence and I get
 
  ERROR[3367]: Failed to connect to mysql database cdr on localhost.
 
  Anyone know of a simple and elegant way to fix this?
 
  I'd prefer not to have to hack either MySQL or Asterisk init scripts

 If it's running using services, you could set MySQL to start on level 2 and
 Asterisk on level 3.

 chkconfig --list
umm.  you obviously dont understand how the different run levels work.   run 
level 2 has nothing to do with run level 3 the easiest way would be to put 
in /etc/rc.local 
/etc/init.d/asterisk restart   then asterisk will be restarted very last thing 
before you get a login prompt.   that is the only way to do it without 
changing the priorites in the init scripts  to make sure asterisk starts 
later.

though on my setup my init scripts are set to run asterisk almost last  and 
way after mysql  has started.

-- 
Dennis Gilmore,  RHCE  
dennis AT ausil DOT us http://www.ausil.us


pgpFqyDCOtbRZ.pgp
Description: PGP signature
___
--Bandwidth and Colocation sponsored by Easynews.com --

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

[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 mysql database cdr on localhost.

Anyone know of a simple and elegant way to fix this?

I'd prefer not to have to hack either MySQL or Asterisk init scripts
___
--Bandwidth and Colocation sponsored by Easynews.com --

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

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
 
 ERROR[3367]: Failed to connect to mysql database cdr on localhost.
 
 Anyone know of a simple and elegant way to fix this?
 
 I'd prefer not to have to hack either MySQL or Asterisk init scripts

If it's running using services, you could set MySQL to start on level 2 and
Asterisk on level 3.

chkconfig --list

-- 
Cheers,

Matt Riddell
___

http://www.sineapps.com/news.php (Daily Asterisk News - html)
http://freevoip.gedameurope.com (Free Asterisk Voip Community)
http://www.sineapps.com/rssfeed.php (Daily Asterisk News - rss)

___
--Bandwidth and Colocation sponsored by Easynews.com --

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


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, Matt Riddell [EMAIL PROTECTED] 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 because MySQL is after Asterisk
 in the service startup sequence and I get ERROR[3367]: Failed to connect to mysql database cdr on localhost. Anyone know of a simple and elegant way to fix this? I'd prefer not to have to hack either MySQL or Asterisk init scripts
If it's running using services, you could set MySQL to start on level 2 andAsterisk on level 3.chkconfig --list--Cheers,Matt Riddell___
http://www.sineapps.com/news.php (Daily Asterisk News - html)http://freevoip.gedameurope.com (Free Asterisk Voip Community)
http://www.sineapps.com/rssfeed.php (Daily Asterisk News - rss)___--Bandwidth and Colocation sponsored by 
Easynews.com --Asterisk-Users mailing listAsterisk-Users@lists.digium.comhttp://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
___
--Bandwidth and Colocation sponsored by Easynews.com --

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

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 suggest I do?



snip
rant
Holy crap, this kind of replying is getting me dizzy! Up, down, what 
next? Left and right?
Why can't we just agree to delete all previous text, anyway we all have 
threaded readers...don't we?

/rant

chkconfig --level 3 mysqld off
chkconfig --level 2 mysqld on
chkconfig --level 2 asterisk off

--
JP Carballo

http://www.netfone2x.com
Bringing the world closer.

It might look like I'm doing nothing, but at the cellular level, I'm really quite busy. 


___
--Bandwidth and Colocation sponsored by Easynews.com --

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


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

What would you suggest I do?



snip
rant
Holy crap, this kind of replying is getting me dizzy! Up, down, what 
next? Left and right?
Why can't we just agree to delete all previous text, anyway we all 
have threaded readers...don't we?

/rant

chkconfig --level 3 mysqld off
chkconfig --level 2 mysqld on
chkconfig --level 2 asterisk off


I forgot to add that you should get this:

([EMAIL PROTECTED]:asterisk)# chkconfig --list | grep asterisk\|mysqld
mysqld 0:off1:off2:on3:off4:off5:off
6:off
asterisk   0:off1:off2:off3:on4:off5:off
6:off



--
JP Carballo

http://www.netfone2x.com
Bringing the world closer.

It might look like I'm doing nothing, but at the cellular level, I'm really quite busy. 


___
--Bandwidth and Colocation sponsored by Easynews.com --

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


[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 didnt find that
information. I think Im not the only one with this problem L

Any suggestion is more than welcome.



Best regards,



Chris HARIGA












smime.p7s
Description: S/MIME cryptographic signature
___
Asterisk-Users mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users