10 lines
152 B
Plaintext
10 lines
152 B
Plaintext
|
#! /bin/sh
|
||
|
|
||
|
if [ "$ACTION" != 'add' ]; then
|
||
|
# Nothing to do here
|
||
|
exit 0
|
||
|
fi
|
||
|
|
||
|
# Add to asterisk
|
||
|
asterisk -rx "dahdi create channels $BASECHAN $ENDCHAN"
|