FreeCalypso > hg > themwi-system-sw
view sip-in/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 | 0ecbc3dc8f93 |
children | 99fd4ae573ae |
line wrap: on
line source
CC= gcc CFLAGS= -O2 PROG= themwi-sip-in OBJS= bye_in.o bye_out.o call_clear.o call_list.o call_setup.o cancel.o \ disconnect.o invite_dup.o invite_init.o invite_resp.o main.o mgw_ops.o \ mgw_resp.o mgw_sock.o mncc_handle.o mncc_sock.o prack.o readconf.o \ retrans.o shutdown.o sip_ack.o sip_log.o sip_uas.o sip_udp.o LIBS= ../libnumdb/libnumdb.a ../libsip/libsip.a ../libutil/libutil.a INSTBIN=/usr/local/bin all: ${PROG} ${PROG}: ${OBJS} ${LIBS} ${CC} ${CFLAGS} -o $@ ${OBJS} ${LIBS} install: install -c -o bin -g bin -m 755 ${PROG} ${INSTBIN} clean: rm -f *.o ${PROG} errs