FreeCalypso > hg > themwi-system-sw
view libutil/mncc_utils.c @ 160:4b35a5a400f1
mgw/dtmf_defs.h: reduce DTMF_MIN_FRAMES to 5 (100 ms)
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Wed, 12 Oct 2022 13:05:26 -0800 |
parents | dbc0a8677b69 |
children |
line wrap: on
line source
/* simple utility functions for MNCC */ #include <sys/types.h> #include <sys/socket.h> #include <stdio.h> #include <stdint.h> #include <stdlib.h> #include "../include/mncc.h" #include "../include/gsm48_const.h" mncc_set_cause(msg, loc, val) struct gsm_mncc *msg; { msg->fields |= MNCC_F_CAUSE; msg->cause.coding = GSM48_CAUSE_CODING_GSM; msg->cause.location = loc; msg->cause.value = val; }