FreeCalypso > hg > themwi-system-sw
view mgw/Makefile @ 152:7176dc850d7a
sip-in hold/retr error handling: simply send BYE
Because we know that the SIP state is CONNECTED at the time of any
such error event, we can call initiate_bye() instead of disconnect_sip(),
and thereby get rid of struct gsm_mncc_cause which will never be used
in this scenario anyway.
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Tue, 11 Oct 2022 16:11:21 -0800 |
parents | f062c32a5116 |
children | 8c28426abef0 |
line wrap: on
line source
CC= gcc CFLAGS= -O2 PROG= themwi-mgw OBJS= crcx.o ctrl_prot.o ctrl_sock.o dlcx.o dtmf_ctrl.o dtmf_init.o \ dtmf_table.o dtmf_timer.o g711_decode.o g711_encode.o gsm2pstn.o main.o\ mdcx.o pstn2gsm.o readconf.o udpsink.o LIBS= ../libutil/libutil.a INSTBIN=/usr/local/bin all: ${PROG} ${PROG}: ${OBJS} ${LIBS} ${CC} ${CFLAGS} -o $@ ${OBJS} ${LIBS} -lgsm -lm install: install -c -o bin -g bin -m 755 ${PROG} ${INSTBIN} clean: rm -f *.o ${PROG} errs