DAHDI_CHANNEL()¶
Synopsis¶
Set or get a property of a DAHDI channel.
Description¶
The DAHDI_CHANNEL function can be used to set or get properties of DAHDI channels that are not specific to Asterisk channels.
This function may also be called from non-DAHDI channels.
same => n,Set(DAHDI_CHANNEL(polarity)=1)
same => n,NoOp(${DAHDI_CHANNEL(polarity)})
same => n,Set(DAHDI_CHANNEL(callforwardnumber,1)=5552368)
same => n,NoOp(Calls now forwarding to ${DAHDI_CHANNEL(callforwardnumber,1)})
Syntax¶
Arguments¶
-
property- The property to set or get.-
owner- R/O The name of the active channel on this DAHDI device. -
callwait- R/O The name of the call waiting channel on this DAHDI device. -
threeway- R/O The name of the three-way channel on this DAHDI device. -
polarity- R/W The polarity of the channel (0 or 1, idle or reverse can also be used for setting).
Only valid on FXO-signalled channels. -
dnd- R/W Whether Do Not Disturb is active.
Only valid on FXO-signalled channels. -
callforward- R/W The call forwarding target number.
Only valid on FXO-signalled channels. -
lastexten- R/W The last number dialed.
Only valid on FXO-signalled channels.
-
-
channel- The DAHDI channel number.
If not specified, the DAHDI channel number of the current channel will be used (in which case it must be a DAHDI channel).
Generated Version¶
This documentation was generated from Asterisk branch 23 using version GIT