mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-08 14:17:02 +00:00
AST_CONTROL_CONNECTED_LINE frame type processing added to setup DisplayIE field
incorrect q.931 message order filtered on incoming calls (first msg must be setup, next must be not setup) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@242645 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -402,6 +402,15 @@ int ooReadAndProcessCallStackCommand(OOH323CallData* call)
|
||||
ooSendRequestMode(call, *(int *)cmd.param2);
|
||||
break;
|
||||
|
||||
case OO_CMD_SETANI:
|
||||
OOTRACEINFO3("Processing SetANI command %s, ani is %s\n",
|
||||
(char *)cmd.param1, (char *)cmd.param2);
|
||||
if(cmd.param2) {
|
||||
strncpy(call->ourCallerId, cmd.param2, sizeof(call->ourCallerId)-1);
|
||||
call->ourCallerId[sizeof(call->ourCallerId)-1] = '\0';
|
||||
}
|
||||
break;
|
||||
|
||||
default: OOTRACEERR1("ERROR:Unknown command\n");
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user