On Thu, Oct 17, 2013 at 7:53 AM, Johan Wilfer <li...@jttech.se> 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

-- 
Russ Meyerriecks
Digium, Inc. | Linux Kernel Developer
445 Jan Davis Drive NW - Huntsville, AL 35806 - USA
direct: +1 256-428-6025
Check us out at: www.digium.com & www.asterisk.org
-- 
_____________________________________________________________________
-- 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