
| Current Path : /proc/thread-self/root/usr/share/dahdi/span_config.d/ |
Linux ift1.ift-informatik.de 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64 |
| Current File : //proc/thread-self/root/usr/share/dahdi/span_config.d/50-asterisk |
#! /bin/sh # This file, if installed under /usr/share/dahdi/span_config.d/ , will # attempt to add a newly-generated span to a running copy of Asterisk. # Asterisk has to be running (if not: it will pick the span on its # startup), and has to have the channels already configured. # # Environment is set in # http://git.asterisk.org/gitweb/?p=dahdi/tools.git;a=blob;f=hotplug/dahdi_span_config if [ "$ACTION" != 'add' ]; then # Nothing to do here exit 0 fi # Add to asterisk asterisk -rx "dahdi create channels $BASECHAN $ENDCHAN"