Re: [asterisk-dev] pickup & call groups

2007-04-16 Thread Pavel Jezek

I'm using one pickup group for each office with more than one user  ;-)


Eric "ManxPower" Wieling wrote:

Just how many pickup groups do you need?

If you are assigning one pickup group for each extension then your 
design is wrong.


Pavel Jezek wrote:

if this limitation is really true, it is challenge for some rework,
because with 64 pickup groups limit, it's usefull only for small 
companies :-(






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

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


[asterisk-dev] few more standards for codelines

2007-04-16 Thread Clod Patry

Just as a standard, to get the Bug codelines standard:

   case ('*'):
   fn = "digits/star";
   break;
   case ('#'):

could be
   case '*':
   fn = "digits/star";
   break;
   case '#':

since all the ( ) are useless in the switch statement.


and there's so much:
num = num - 60;

which could be:
num -= 60;

that one makes code cleaner, specialy when using a lot of
num = num % 10; and all math combination.


whatcha think?



--
Clod Patry
___
--Bandwidth and Colocation provided by Easynews.com --

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


RE: [asterisk-dev] pickup & call groups

2007-04-16 Thread Dov Bigio
I have one Asterisk configured for several clients, which can have around
3-5 extensions (sip users).

So, I need at least as many pick up groups as clients that I can put in the
same server, so that each customer could have one pickupgroup (ideally
more). Since this is virtually "infinite", I would need an "infinite" number
of pick up groups ;)

Regards,
Dov

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Eric "ManxPower"
Wieling
Sent: segunda-feira, 16 de abril de 2007 18:44
To: Asterisk Developers Mailing List
Subject: Re: [asterisk-dev] pickup & call groups

Just how many pickup groups do you need?

If you are assigning one pickup group for each extension then your design is
wrong.

Pavel Jezek wrote:
> if this limitation is really true, it is challenge for some rework, 
> because with 64 pickup groups limit, it's usefull only for small 
> companies :-(
> 
> 
> Philipp Kempgen wrote:
>> Dov Bigio wrote:
>>
>>  
>>> Is there any possibily of having more than 0-63 pickup/callgroups
>>> 
>>
>> Not unless you invent something on your own.
>> They are stored as a long long int which has 64 bits so this is not 
>> easily extendable. You could do some sort of checking for a user's 
>> permissions before doing the Pickup().
>>
>>
>> Regards,
>>   Philipp
>>
>>   
> ___
> --Bandwidth and Colocation provided by Easynews.com --
> 
> asterisk-dev mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-dev
> 

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

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

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

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


Re: [asterisk-dev] pickup & call groups

2007-04-16 Thread Eric "ManxPower" Wieling

Just how many pickup groups do you need?

If you are assigning one pickup group for each extension then your 
design is wrong.


Pavel Jezek wrote:

if this limitation is really true, it is challenge for some rework,
because with 64 pickup groups limit, it's usefull only for small 
companies :-(



Philipp Kempgen wrote:

Dov Bigio wrote:

 

Is there any possibily of having more than 0-63 pickup/callgroups



Not unless you invent something on your own.
They are stored as a long long int which has 64 bits so
this is not easily extendable. You could do some sort
of checking for a user's permissions before doing the
Pickup().


Regards,
  Philipp

  

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

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



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

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


Re: [asterisk-dev] Enhanced AGI

2007-04-16 Thread Philipp Kempgen
Jared Smith wrote:

> On 4/16/07, Loic Didelot <[EMAIL PROTECTED]> wrote:
>> So my question is do I have access to the "sound channel" and how can I
>> debug? I try to open file descriptor 3 but writing to it does not give
>> me anything.
> 
> EAGI only allows you to *read* from file descriptor 3 for inbound
> audio, but does not allow you to write any outbound audio.

JFYI: BriStuff has something called "XAGI" which has 2-way audio.

Regards,
  Philipp

-- 
amooma GmbH - Bachstr. 126 - 56566 Neuwied - http://www.amooma.de
 Let's use IT to solve problems and not to create new ones.
   Asterisk? -> http://www.das-asterisk-buch.de

Geschäftsführer: Stefan Wintermeyer
Handelsregister: Neuwied B 14998
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-dev] Enhanced AGI

2007-04-16 Thread Jared Smith

On 4/16/07, Loic Didelot <[EMAIL PROTECTED]> wrote:

So my question is do I have access to the "sound channel" and how can I
debug? I try to open file descriptor 3 but writing to it does not give
me anything.


EAGI only allows you to *read* from file descriptor 3 for inbound
audio, but does not allow you to write any outbound audio.

-Jared
___
--Bandwidth and Colocation provided by Easynews.com --

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


Re: [asterisk-dev] pickup & call groups

2007-04-16 Thread Pavel Jezek

if this limitation is really true, it is challenge for some rework,
because with 64 pickup groups limit, it's usefull only for small 
companies :-(



Philipp Kempgen wrote:

Dov Bigio wrote:

  

Is there any possibily of having more than 0-63 pickup/callgroups



Not unless you invent something on your own.
They are stored as a long long int which has 64 bits so
this is not easily extendable. You could do some sort
of checking for a user's permissions before doing the
Pickup().


Regards,
  Philipp

  

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

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


Re: [asterisk-dev] pickup & call groups

2007-04-16 Thread Philipp Kempgen
Philipp Kempgen wrote:

> Dov Bigio wrote:
> 
>> Is there any possibily of having more than 0-63 pickup/callgroups
> 
> Not unless you invent something on your own.
> They are stored as a long long int which has 64 bits so
> this is not easily extendable. You could do some sort
> of checking for a user's permissions before doing the
> Pickup().

Sounded like a -users question to me. If you're a developer the
only thing I can tell you is that the ast_group_t type is used
in various places (see include/asterisk/channel.h for a start)
throughout the code and is directly read/written without any
special getter/setter functions so this cannot easily be replaced
by something like a struct capable of storing more groups.


Regards,
  Philipp

-- 
amooma GmbH - Bachstr. 126 - 56566 Neuwied - http://www.amooma.de
 Let's use IT to solve problems and not to create new ones.
   Asterisk? -> http://www.das-asterisk-buch.de

Geschäftsführer: Stefan Wintermeyer
Handelsregister: Neuwied B 14998
___
--Bandwidth and Colocation provided by Easynews.com --

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