Displaying 1 result from an estimated 1 matches for "freeline".
Did you mean:
freeling
2003 Dec 10
0
A solution to "free line" notification
...$# -gt 0 ] || exit 0;
echo -e "Channel: ${1}
WaitTime: 1
Callerid: Free Line Notification <(000) 000-0000>
Context: default
Extension: s
Priority: 1" > /var/spool/asterisk/outgoing/fln.$$
/etc/asterisk/extensions.conf:
[from-inside]
include => to-internal
include => app-freeline
exten => h,1,Macro(hangup)
[check-fln]
exten => s,1,DBget(TECH=FLN/${EXT})
exten => s,2,ChanIsAvail(Zap/1&Zap/2&Zap/3&Zap/4)
exten => s,3,DBdel(FLN/${EXT})
exten => s,4,AGI(fln.agi,${TECH}/${EXT})
exten => s,5,Goto(macro-hangup,s,${PRI})
exten => s,102,Goto(macro-...