Re: [Asterisk-Users] Hosted PBX (vPBX) and Call/PickUP Groups

2005-09-11 Thread Matt Riddell
Chee Foong wrote:
 i guess may be it's a 64bit variable. so you can only use 0-63.

LOL

Bits work like this

[128][64][32][16][8][4][2][1]

So, you have a whole lot of bits, each one moving from right to left inceases
a power of 2.  Say you wanted to represent 10, then you would turn on the 8
and the 2 (8+2=10) so the binary representation (for an 8 bit variable) would 
be:

1010

So, from that you can see that you could get from 0-255 in 8 bits.

If however you wanted the number to be able to go negative as well then you
would use one of the bits to determine the sign (i.e. +/-)

That would give you possible values between -127 and +127.

So, a max value of 63 would either indicate a signed 7 bit variable (dunno
where the other one went) or an unsigned 6 bit variable.

-- 
Cheers,

Matt Riddell
___

http://www.sineapps.com/news.php (Daily Asterisk News - html)
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] Hosted PBX (vPBX) and Call/PickUP Groups

2005-09-11 Thread Paul

Matt Riddell wrote:


Chee Foong wrote:
 


i guess may be it's a 64bit variable. so you can only use 0-63.
   



LOL

Bits work like this

[128][64][32][16][8][4][2][1]

So, you have a whole lot of bits, each one moving from right to left inceases
a power of 2.  Say you wanted to represent 10, then you would turn on the 8
and the 2 (8+2=10) so the binary representation (for an 8 bit variable) would 
be:

1010

So, from that you can see that you could get from 0-255 in 8 bits.

If however you wanted the number to be able to go negative as well then you
would use one of the bits to determine the sign (i.e. +/-)

That would give you possible values between -127 and +127.

So, a max value of 63 would either indicate a signed 7 bit variable (dunno
where the other one went) or an unsigned 6 bit variable.

 


But I am on the other side of the equator from you!

Should I move from left to right or should I reverse the polarity to get 
the same results?


___
--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] Hosted PBX (vPBX) and Call/PickUP Groups

2005-09-09 Thread Chee Foong
i guess may be it's a 64bit variable. so you can only use 0-63.

CCF

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of René
Mayorga
Sent: Wednesday, September 07, 2005 15:56
To: asterisk-users@lists.digium.com
Subject: [Asterisk-Users] Hosted PBX (vPBX) and Call/PickUP Groups


Hi,
I'm working with this issue for a while, Now I already solve the
dialplan issues, but I still have a question about the Callgroups,
I read at www.voip-info.org that , there is a 63 limit of callgroups.
And I'm wondering why?? and if the 1.2.0beta version supported more than
63 Groups?? (I did'nt find any Changelog for 1.2) or If not There is any
unoficial patch for that ?

Thanks in advance.

--
René Mayorga [EMAIL PROTECTED]
El Salvador Telecom S.A. de C.V.

___
--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


___
--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] Hosted PBX (vPBX) and Call/PickUP Groups

2005-09-07 Thread René Mayorga
Hi,
I'm working with this issue for a while, Now I already solve the
dialplan issues, but I still have a question about the Callgroups,
I read at www.voip-info.org that , there is a 63 limit of callgroups.
And I'm wondering why?? and if the 1.2.0beta version supported more than
63 Groups?? (I did'nt find any Changelog for 1.2) or If not There is any
unoficial patch for that ?

Thanks in advance.

-- 
René Mayorga [EMAIL PROTECTED]
El Salvador Telecom S.A. de C.V.

___
--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] Hosted PBX (vPBX) and Call/PickUP Groups

2005-09-07 Thread Flobi
I'm not sure about why, but it's it is hardcoded into asterisk.  Back
when it was a limit of 31, I searched around and increased the value
on my box and recompiled.  It did not seem to adversely affect the
system.

On 9/7/05, René Mayorga [EMAIL PROTECTED] wrote:
 Hi,
 I'm working with this issue for a while, Now I already solve the
 dialplan issues, but I still have a question about the Callgroups,
 I read at www.voip-info.org that , there is a 63 limit of callgroups.
 And I'm wondering why?? and if the 1.2.0beta version supported more than
 63 Groups?? (I did'nt find any Changelog for 1.2) or If not There is any
 unoficial patch for that ?
 
 Thanks in advance.
 
 --
 René Mayorga [EMAIL PROTECTED]
 El Salvador Telecom S.A. de C.V.
 
 ___
 --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
 


-- 
Automated Signature: This message is from Flobi of Flobi.com.
Visit my website if you like: http://www.flobi.com/

Please remember to tip your waitress and bartender.  They are doing
their best to serve you and your indignant, malcontent attitude.
--
___
--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] Hosted PBX (vPBX) and Call/PickUP Groups

2005-09-07 Thread René Mayorga
Hi
Can you give me any hint on with file of the source you modify that
Value???

tnx

On Wed, 2005-09-07 at 08:18 -0400, Flobi wrote:
 I'm not sure about why, but it's it is hardcoded into asterisk.  Back
 when it was a limit of 31, I searched around and increased the value
 on my box and recompiled.  It did not seem to adversely affect the
 system.
 
 On 9/7/05, René Mayorga [EMAIL PROTECTED] wrote:
  Hi,
  I'm working with this issue for a while, Now I already solve the
  dialplan issues, but I still have a question about the Callgroups,
  I read at www.voip-info.org that , there is a 63 limit of callgroups.
  And I'm wondering why?? and if the 1.2.0beta version supported more than
  63 Groups?? (I did'nt find any Changelog for 1.2) or If not There is any
  unoficial patch for that ?
  
  Thanks in advance.
  
  --
  René Mayorga [EMAIL PROTECTED]
  El Salvador Telecom S.A. de C.V.
  
  ___
  --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
  
 
 
-- 
René Mayorga [EMAIL PROTECTED]
El Salvador Telecom S.A. de C.V.

___
--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] Hosted PBX (vPBX) and Call/PickUP Groups

2005-09-07 Thread C F
Why don't you try this:
http://pbxfreeware.com/app_intercept.c

On 9/7/05, René Mayorga [EMAIL PROTECTED] wrote:
 Hi
 Can you give me any hint on with file of the source you modify that
 Value???
 
 tnx
 
 On Wed, 2005-09-07 at 08:18 -0400, Flobi wrote:
  I'm not sure about why, but it's it is hardcoded into asterisk.  Back
  when it was a limit of 31, I searched around and increased the value
  on my box and recompiled.  It did not seem to adversely affect the
  system.
 
  On 9/7/05, René Mayorga [EMAIL PROTECTED] wrote:
   Hi,
   I'm working with this issue for a while, Now I already solve the
   dialplan issues, but I still have a question about the Callgroups,
   I read at www.voip-info.org that , there is a 63 limit of callgroups.
   And I'm wondering why?? and if the 1.2.0beta version supported more than
   63 Groups?? (I did'nt find any Changelog for 1.2) or If not There is any
   unoficial patch for that ?
  
   Thanks in advance.
  
   --
   René Mayorga [EMAIL PROTECTED]
   El Salvador Telecom S.A. de C.V.
  
   ___
   --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
  
 
 
 --
 René Mayorga [EMAIL PROTECTED]
 El Salvador Telecom S.A. de C.V.
 
 ___
 --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

___
--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