All pastes #617840 Raw Edit

Unnamed

public text v1 · immutable
·published 2007-07-13 15:05 UTC
rendered paste body
/*
    Timers (specified in milliseconds):
    T1      The maximum time a forward tone can be on, from the outbound perspective. (15s)
    T2      The maximum time a forward tone can be off, from the outbound perspective. (15s)
    T3      The maximum time a whole compelled cycle can take, from the inbound perspective. (15s)

    T1A     This is not part of the R2 spec. It is the duration of non-compelled signalling
            pulses from the incoming side to the outgoing side. Some countries require such
            pulses, even though the break the compelled signalling scheme, and introduce timeout
            delays.
    T1B     This is not part of the R2 spec. It is a backstop timer used when the protocol
            variant calls for variable length digit strings to be handled by staying silent
            and letting the incoming end time out. Because the calling end is in control, any
            problems at the incoming end could cause the trunk to get stuck forever, unless this
            backstop timer is used to clear things up.
*/

/* TODO: Still need options to:
- Use the direct answering method for incoming calls (caller's category will not be available)
- Generation and acceptance of billing pulses.
*/

#define BLOCKING_RELEASE_TIME               450
#define ANSWER_GUARD_TIME                   100
#define DEFAULT_T1                          5000
#define DEFAULT_T1A                         150
#define DEFAULT_T1B                         60000
#define DEFAULT_T2                          5000
#define DEFAULT_T3                          15000

#define DEFAULT_MAX_SEIZE_ACK_WAIT          2000
#define DEFAULT_MAX_WAIT_FOR_GROUP_B_SIGNAL 15000
#define DEFAULT_MAX_AWAIT_ANSWER            60000