All pastes #1479 Raw Edit

Anonymous

public text v1 · immutable
#1479 ·published 2004-10-15 00:13 UTC
rendered paste body
typedef struct rtp_info {
	const char *addr;
	unsigned int port;
} rtp_info_t;

/* This is a callback prototype function, called pass
   DTMF down the RTP. */
typedef int (*send_digit_cb)(unsigned, char);
extern send_digit_cb	on_send_digit; 

/* This is a callback prototype function, called to collect
   the external RTP port from Asterisk. */
typedef rtp_info_t *(*on_connection_cb)(unsigned, const char *);
extern on_connection_cb	on_create_connection;