@sh -c 'grep -n sprintf *.c* --exclude chan_lcr.c --exclude bchannel.c --exclude callerid.c ; if test $$''? = 0 ; then echo "dont use sprintf, use makro instead." ; exit -1 ; fi'
@sh -c 'grep -n snprintf *.c* --exclude chan_lcr.c --exclude bchannel.c --exclude callerid.c ; if test $$''? = 0 ; then echo "dont use snprintf, use makro instead." ; exit -1 ; fi'
@echo "All LCR binaries done"
- @sync
@exit
main.o: main.c *.h Makefile
install:
make
- -killall -9 -w -q lcr # the following error must be ignored
cp $(LCR) $(INSTALL_BIN)
cp $(LCRADMIN) $(INSTALL_BIN)
ifdef WITH-ASTERISK
@if test -a $(INSTALL_DATA)/tones_efi ; then \
echo "NOTE: special efi tones already exists, not overwritten." ; else \
cp -a tones_efi $(INSTALL_DATA) ; fi
- sync
clean:
touch *
cd .. && tar --exclude=.git -cvzf lcr_`date +%Y%m%d`.tar.gz lcr
start: $(LCR)
- sync
- -killall -9 -w -q lcr # the following error must be ignored
- $(LCR) start
-
-s: $(LCR)
- sync
- -killall -9 -w -q lcr # the following error must be ignored
$(LCR) start
fork: $(LCR)
- sync
- -killall -9 -w -q lcr # the following error must be ignored
$(LCR) fork
snapshot: clean
}
call->pbx_started = 1;
// if (call->state == CHAN_LCR_STATE_IN_DIALING)
-// ast_setstate(ast, AST_STATE_DIALING);
+ ast_setstate(ast, AST_STATE_RINGING);
// else
-// ast_setstate(ast, AST_STATE_OFFHOOK);
- return;
+// ast_setstate(ast, AST_STATE_RINGING);
+// return;
}
/*