7f826a7d35
* Device related operations are ordered in /usr/share/dahdi/handle_device.d/ * Span related operations are ordered in /usr/share/dahdi/span_config.d/ * In the future, span_config.d/50-asterisk should be moved to Asterisk. Signed-off-by: Tzafrir Cohen <tzafrir.cohen@xorcom.com> Acked-by: Russ Meyerriecks <rmeyerriecks@digium.com>
10 lines
152 B
Bash
Executable File
10 lines
152 B
Bash
Executable File
#! /bin/sh
|
|
|
|
if [ "$ACTION" != 'add' ]; then
|
|
# Nothing to do here
|
|
exit 0
|
|
fi
|
|
|
|
# Add to asterisk
|
|
asterisk -rx "dahdi create channels $BASECHAN $ENDCHAN"
|