IMO the local channel call should be the lowest overhead option available.

 

From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Jerry Geis
Sent: Thursday, December 20, 2012 11:42 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] asterisk 11 and DAHDI/i4

 

 
 
You should just cache the AMI DAHDIChannel event information in your
program.
 
If you really must you could use the CLI command "pri show channels".
However, it is not intended to be repeatedly run for performance
reasons.  It blocks processing of ISDN messages while it is running.


I am not continually logged in to the AMI to catch those events...

Can I make a call to a local channel, run some context+ extension,
there call ChanIsAvail for the channel I am interested in - 
but they how do I get that info back to my C program?

Also is that a big overhead?

jerry

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

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

Reply via email to