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>
13 lines
247 B
Bash
Executable File
13 lines
247 B
Bash
Executable File
#! /bin/sh
|
|
|
|
if [ "$ACTION" != 'add' ]; then
|
|
# Nothing to do here
|
|
exit 0
|
|
fi
|
|
|
|
fxotune_cfg='/etc/fxotune.conf'
|
|
if [ -r "$fxotune_cfg" ]; then
|
|
echo "fxotune: span $SPANNO <$BASECHAN-$ENDCHAN> ($DEVPATH)"
|
|
fxotune -s -b "$BASECHAN" -e "$ENDCHAN"
|
|
fi
|