Re: [asterisk-users] Queuemember status before calling the Queue command

2012-02-03 Thread Nathan Pryor
> 2012/2/3 Danny Nicholas : > > Use the Group() function to track queue usage and availability. > > > > > > > > From: asterisk-users-boun...@lists.digium.com > > [mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Nathan > Pryor > > Sent: Fri

[asterisk-users] Queuemember status before calling the Queue command

2012-02-03 Thread Nathan Pryor
I'd like to check the status of queue members before issuing the queue command so I can play an announcement if all the queue members are unavailable. Using 'joinempty' doesn't work because I want the caller to be able to join the queue after the announcement has played. I would prefer to accomplis

Re: [asterisk-users] checking dahdi channels

2011-03-25 Thread Nathan Pryor
On Fri, Mar 25, 2011 at 11:36 AM, Steve Edwards wrote: > On Fri, 25 Mar 2011, Nathan Pryor wrote: > >> Is there a command I could use directly in the dialplan or with the >> manager interface to get the number of used channels? > > Check out the GROUP() and GROUP_COUNT() f

[asterisk-users] checking dahdi channels

2011-03-25 Thread Nathan Pryor
Hi list! Our company is currently using 3 asterisk boxes in 3 locations connected through iax2. Our main office makes and receives many more calls than the other two. I'm looking for a way to check within the dialplan how many channels are in use at the main office so if it reaches a threshold out

[asterisk-users] asterisk core dumps after cdr database writes using odbc

2010-04-28 Thread Nathan Pryor
Both of our production asterisk servers are dumping core when making writes to our cdr tables. Here is a backtrace of the problems we are having: #0 0x00447b1f in tdserror (tds_ctx=0x1, tds=0xb7938c90, msgno=20004, errnum=9) at util.c:347 347 if (tds_ctx && tds_ctx->err_handler) { (gd

[asterisk-users] moh files not playing in sort order

2010-04-15 Thread Nathan Pryor
I have defined a moh class in musiconhold.conf and set the class using SetMusicOnHold in my dialplan: ; musiconhold.conf [music1] mode=files directory=moh/music1 sort=alpha ; extensions.conf exten => s,n,SetMusicOnHold(music1) exten => s,n,Queue(${ARG1}) Inside /var/lib/asterisk/moh/music1 there

Re: [asterisk-users] problem compiling asterisk with cdr_odbc

2010-04-01 Thread Nathan Pryor
I was missing libtool-ltdl-devel. Thanks! On Thu, Apr 1, 2010 at 2:48 PM, Jared Smith wrote: > - "Nathan Pryor" wrote: > > "make menuconfig" does not show cdr_odbc as a selectable compile option. I > have compiled and installed both unixODBC and freetds from

Re: [asterisk-users] problem compiling asterisk with cdr_odbc

2010-04-01 Thread Nathan Pryor
man Lesher wrote: > On Thursday 01 April 2010 13:36:00 Nathan Pryor wrote: > > "make menuconfig" does not show cdr_odbc as a selectable compile option. > I > > have compiled and installed both unixODBC and freetds from source and > have > > verified both s

[asterisk-users] problem compiling asterisk with cdr_odbc

2010-04-01 Thread Nathan Pryor
"make menuconfig" does not show cdr_odbc as a selectable compile option. I have compiled and installed both unixODBC and freetds from source and have verified both successfully connect to my sql server. Both were installed to standard locations (/usr/lib). I had no problem compiling cdr_odbc on my