DAHDI¶
DAHDI is an interface layer for integrating traditional telephony technologies with digital formats.
Members¶
All of the following objects should be accessed as part of the ami.dahdi namespace, regardless of the modules in which they are defined.
Actions¶
-
class
ami.dahdi.
DAHDIDNDoff
(dahdi_channel)¶ Bases:
pystrix.ami.ami._Request
Sets a DAHDI channel’s DND status to off.
-
__init__
(dahdi_channel)¶ dahdi_channel is the channel to modify.
-
-
class
ami.dahdi.
DAHDIDNDon
(dahdi_channel)¶ Bases:
pystrix.ami.ami._Request
Sets a DAHDI channel’s DND status to on.
-
__init__
(dahdi_channel)¶ dahdi_channel is the channel to modify.
-
-
class
ami.dahdi.
DAHDIDialOffhook
(dahdi_channel, number)¶ Bases:
pystrix.ami.ami._Request
Dials a number on an off-hook DAHDI channel.
-
__init__
(dahdi_channel, number)¶ dahdi_channel is the channel to use and number is the number to dial.
-
-
class
ami.dahdi.
DAHDIHangup
(dahdi_channel)¶ Bases:
pystrix.ami.ami._Request
Hangs up a DAHDI channel.
-
__init__
(dahdi_channel)¶ dahdi_channel is the channel to hang up.
-
-
class
ami.dahdi.
DAHDIRestart
¶ Bases:
pystrix.ami.ami._Request
Fully restarts all DAHDI channels.
-
__init__
()¶ action is the type of action being requested of the Asterisk server.
-
-
class
ami.dahdi.
DAHDIShowChannels
(dahdi_channel=None)¶ Bases:
pystrix.ami.ami._Request
Provides the current status of all (or one) DAHDI channels through a series of ‘DAHDIShowChannels’ events, ending with a ‘DAHDIShowChannelsComplete’ event.
-
__init__
(dahdi_channel=None)¶ action is the type of action being requested of the Asterisk server.
-