[asterisk-users] Asterisk Manager Interface Status Bug and Re: Two annoying bugs of asterisk ( sip in use and agentcallbacklogin)

2008-04-16 Thread Nestor A. Diaz
I forget another bug, i use the asterisk manager interface.

I frequently use the status function but it doesn't work as expected, i 
use a program to parse the output of the status command but it don't 
behave as expected, because i always wait for the latest package: 
StatusComplete, and this package never arrives in the stream  
sometimes StatusComplete is shown, sometimes not, but when it decide 
not to show StatusComplete, asterisk really don't show 
StatusComplete,  so sad  for me...

Temporarily workaround: put a timeout on the socket read function to 
assume the asterisk manager is not working properly.

Well if anybody have found some solution to this i will appreciate your 
comments.

Slds.

Nestor A. Diaz wrote:
 Hello Asterisk People,

 I have two annoying bugs in asterisk, that i want to know if some of 
 you have already found a way to fix:

 Background: Asterisk 1.4.18.1 Debian package back ported to Debian etch.

 1. I use a queue with just on sip device, one call at a time, however 
 and without reason just after some couple of hours the sip device show 
 in use and then no calls are transfered from the queue to the sip 
 device, i do a sip show inuse and this is the result:asterisk -rx sip 
 show inuse
 * User name   In use  Limit
 200 0   3
 * Peer name   In use  Limit
 200 1/0 3

 Simple workaround: delete sip 200 entry from sip.conf, reload 
 sip.conf, recreate 200 extensions and reload sip.conf

 Not so nice thing to do

 2. AgentCallBack

 I know i shouldn't have to use this function, since it is deprecated 
 but lets comment the behavior

 Everything works fine, but when there are calls waiting in the queue, 
 and the agent log in using this function, the agent is able to take 
 the call , but the system log off immediately after the agent hang up 
 the call.

 No solution at the moment, just login in and log in until there are no 
 waiting calls, for the agent to not be kicked off.

 Slds.



-- 
Nestor A. Diaz
Ingeniero de Sistemas
Tel. +57 1-600-5490 x 211
Cel. +57 316-227-3593
Tel. SIP: sip:[EMAIL PROTECTED]
Email/MSN: [EMAIL PROTECTED]
http://www.tiendalinux.com/
Bogota, Colombia 


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

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


Re: [asterisk-users] Asterisk Manager Interface Status Bug and Re: Two annoying bugs of asterisk ( sip in use and agentcallbacklogin)

2008-04-16 Thread Jared Smith
On Wed, 2008-04-16 at 07:55 -0500, Nestor A. Diaz wrote:
 I frequently use the status function but it doesn't work as expected, i 
 use a program to parse the output of the status command but it don't 
 behave as expected, because i always wait for the latest package: 
 StatusComplete, and this package never arrives in the stream  
 sometimes StatusComplete is shown, sometimes not, but when it decide 
 not to show StatusComplete, asterisk really don't show 
 StatusComplete,  so sad  for me...

This sounds like it could be a bug... please open a ticket on the bug
tracker (http://bugs.digium.com/) so that the developers can keep track
of it and make sure it gets fixed.

-- 
Jared Smith
Community Relations Manager
Digium, Inc.


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

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