mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
gio mar 13 16:44:17 CET 2003
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@643 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -3500,6 +3500,7 @@ static int socket_read(int *id, int fd, short events, void *cbdata)
|
||||
int dcallno = 0;
|
||||
struct ast_iax2_full_hdr *fh = (struct ast_iax2_full_hdr *)buf;
|
||||
struct ast_iax2_mini_hdr *mh = (struct ast_iax2_mini_hdr *)buf;
|
||||
struct ast_iax2_meta_hdr *meta = (struct ast_iax2_meta_hdr *)buf;
|
||||
struct ast_iax2_frame fr, *cur;
|
||||
struct ast_frame f;
|
||||
struct ast_channel *c;
|
||||
@@ -3522,6 +3523,11 @@ static int socket_read(int *id, int fd, short events, void *cbdata)
|
||||
ast_log(LOG_WARNING, "midget packet received (%d of %d min)\n", res, sizeof(struct ast_iax2_mini_hdr));
|
||||
return 1;
|
||||
}
|
||||
if (meta->zeros == 0) {
|
||||
/* This is a a meta header */
|
||||
ast_log(LOG_DEBUG, "Meta header Command = %d!\n", meta->metacmd);
|
||||
return 1;
|
||||
}
|
||||
#ifdef DEBUG_SUPPORT
|
||||
if (iaxdebug)
|
||||
showframe(NULL, fh, 1, &sin);
|
||||
|
Reference in New Issue
Block a user