well show channels will give you half the picture, which lines are in use but it won't 
tell you
which extensions are in use.  That is a tougher problem since a physical ( or logical 
) extension
can have many extensions and a single extension can have many physical ( logical ) 
channels
associated with it.

Image an extension like
exten => 1234,1,Dial(Zap/G4,800-999-0000)
where group 4 is an outbound T1 and that number is a trunk into another PBX so it can 
handle 100
calls.  If there is a call active should the extension show as in use or not?

or even
exten 4567,1,Dial(Zap/2)
exten 4567,102,Dial(Zap/3)
How would you handle that?

Bill

Jorge Merlino wrote:

Hello list,

I'd like to know if there is a way to know what extensions are in use at a given point in time. I'm thinking in the equivalent of an operator console which tells her the phones that are in use.
I considered using the SQL base as the source of information for this, but the info is only comitted to the base when the phone hangs up. I suppose I can change the code to commit some information to the base when the conversation is initiated and then commit the rest when it finishes, but I'd like to know if any of you have another solution for this issue.


Regards,
        Jorge
_______________________________________________
Asterisk-Dev mailing list
[EMAIL PROTECTED]
http://lists.digium.com/mailman/listinfo/asterisk-dev





_______________________________________________ Asterisk-Dev mailing list [EMAIL PROTECTED] http://lists.digium.com/mailman/listinfo/asterisk-dev

Reply via email to