There must be only one source for the invoke id values per D channel group.

If there are potentially multiple sources for the invoke id sequence then
we could get confused if there are multiple outstanding messages with the
same invoke id that get responses.


git-svn-id: https://origsvn.digium.com/svn/libpri/branches/1.4@1310 2fbb986a-6c06-0410-b554-c9c1f0a7f128
This commit is contained in:
Richard Mudgett
2009-11-13 22:59:35 +00:00
parent 80c8c46b89
commit d305dbc609
2 changed files with 2 additions and 1 deletions

View File

@@ -42,6 +42,7 @@
static short get_invokeid(struct pri *ctrl)
{
ctrl = PRI_MASTER(ctrl);
return ++ctrl->last_invoke;
}

View File

@@ -138,7 +138,7 @@ struct pri {
unsigned int q931_rxcount;
#endif
short last_invoke; /* Last ROSE invoke ID */
short last_invoke; /* Last ROSE invoke ID (Valid in master record only) */
unsigned char sendfacility;
};