2013-10-17 17:48, Russ Meyerriecks skrev:

On Thu, Oct 17, 2013 at 7:53 AM, Johan Wilfer <[email protected]
<mailto:[email protected]>> wrote:

    1. In asterisk can I get the channel-number of the call so I can
    have different logic for the different channels?

Sure, I guess I would just create different incoming contexts for your
various channels in chan_dahdi.conf. Or you could write some dialplan foo.


    2. How do I handle answer / hangup with CAS?  Will DAHDI keep this
    channels up, or should I query the state of the channels (how?) and
    bring them up myself if they are down (Dial?)

DAHDI will interpret the CAS signalling and pass those up to userspace
as hookstates. All of this should be seamless to you as an Asterisk
user. The usual channel Answer() and Hangup() is all that's needed, just
like on any other type of channel.
Have fun

I will :-)

Thanks!

--
Johan Wilfer

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