Merged revisions 371013,371022 via svnmerge from

file:///srv/subversion/repos/asterisk/branches/10

................
  r371013 | rmudgett | 2012-08-09 14:11:01 -0500 (Thu, 09 Aug 2012) | 5 lines
  
  Use better libss7 detection test and move libpri compile test.
  ........
  
  Merged revisions 371012 from http://svn.asterisk.org/svn/asterisk/branches/1.8
................
  r371022 | may | 2012-08-09 14:20:09 -0500 (Thu, 09 Aug 2012) | 10 lines
  
  Fix to resend GRQ/RRQ if RRJ (registration reject) is received
  
  (close issue ASTERISK-20094)
  
  Patches:
     ASTERISK-20094.patch
  ........
  
  Merged revisions 371011 from http://svn.asterisk.org/svn/asterisk/branches/1.8
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/10-digiumphones@371035 65c4cc65-6c06-0410-ace0-fbb531ad65f3
10-digiumphones
Automerge script 14 years ago
parent 60a5d5f510
commit a5800a1741

@ -810,6 +810,9 @@ int ooGkClientHandleGatekeeperConfirm
if(pGatekeeperConfirm->m.gatekeeperIdentifierPresent)
{
pGkClient->gkId.nchars = pGatekeeperConfirm->gatekeeperIdentifier.nchars;
if (pGkClient->gkId.data) {
memFreePtr(&pGkClient->ctxt, pGkClient->gkId.data);
}
pGkClient->gkId.data = (ASN116BITCHAR*)memAlloc(&pGkClient->ctxt,
sizeof(ASN116BITCHAR)*pGkClient->gkId.nchars);
if(!pGkClient->gkId.data)
@ -1369,7 +1372,20 @@ int ooGkClientHandleRegistrationReject
default:
OOTRACEINFO1("RRQ Rejected - Invalid Reason\n");
}
pGkClient->state = GkClientGkErr;
/* send again GRQ/RRQ's */
ast_mutex_lock(&pGkClient->Lock);
pGkClient->state = GkClientUnregistered;
pGkClient->rrqRetries = 0;
pGkClient->grqRetries = 0;
pGkClient->discoveryComplete = FALSE;
ast_mutex_unlock(&pGkClient->Lock);
iRet = ooGkClientSendGRQ(pGkClient);
if(iRet != OO_OK){
OOTRACEERR1("\nError: Transmission of rediscovery of GK failed\n");
return OO_FAILED;
}
return OO_OK;
}

@ -71,12 +71,18 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$")
* be placed in sig_analog and the duplicated code could be removed.
*/
#ifdef HAVE_PRI
#if defined(HAVE_PRI)
#include "sig_pri.h"
#ifndef PRI_RESTART
#error "Upgrade your libpri"
#endif
#endif /* defined(HAVE_PRI) */
#if defined(HAVE_SS7)
#include "sig_ss7.h"
#if defined(LIBSS7_ABI_COMPATIBILITY)
#error "Your installed libss7 is not compatible"
#endif
#endif /* defined(HAVE_SS7) */
#ifdef HAVE_OPENR2
@ -14165,9 +14171,6 @@ static void *mfcr2_monitor(void *data)
#endif /* HAVE_OPENR2 */
#if defined(HAVE_PRI)
#ifndef PRI_RESTART
#error "Upgrade your libpri"
#endif
static void dahdi_pri_message(struct pri *pri, char *s)
{
int x;

@ -53,7 +53,7 @@
#include "sig_pri.h"
#ifndef PRI_EVENT_FACILITY
#error please update libpri
#error "Upgrade your libpri"
#endif
/* define this to send PRI user-user information elements */

@ -44,6 +44,9 @@
#include "asterisk/transcap.h"
#include "sig_ss7.h"
#if defined(LIBSS7_ABI_COMPATIBILITY)
#error "Your installed libss7 is not compatible"
#endif
/* ------------------------------------------------------------------- */

41954
configure vendored

File diff suppressed because it is too large Load Diff

@ -1929,7 +1929,8 @@ if test "x${PBX_SPANDSP}" = "x1" ; then
AST_EXT_LIB_CHECK([SPANDSP], [spandsp], [t38_terminal_init], [spandsp.h], [-ltiff])
fi
AST_EXT_LIB_CHECK([SS7], [ss7], [ss7_pollflags], [libss7.h])
# Check for libss7 v1.0 branch compatible version.
AST_EXT_LIB_CHECK([SS7], [ss7], [ss7_set_adjpc], [libss7.h])
AST_EXT_LIB_CHECK([OPENR2], [openr2], [openr2_chan_new], [openr2.h])

@ -836,19 +836,19 @@
/* Define to 1 if you have the `strtoq' function. */
#undef HAVE_STRTOQ
/* Define to 1 if `ifr_ifru.ifru_hwaddr' is a member of `struct ifreq'. */
/* Define to 1 if `ifr_ifru.ifru_hwaddr' is member of `struct ifreq'. */
#undef HAVE_STRUCT_IFREQ_IFR_IFRU_IFRU_HWADDR
/* Define to 1 if `uid' is a member of `struct sockpeercred'. */
/* Define to 1 if `uid' is member of `struct sockpeercred'. */
#undef HAVE_STRUCT_SOCKPEERCRED_UID
/* Define to 1 if `st_blksize' is a member of `struct stat'. */
/* Define to 1 if `st_blksize' is member of `struct stat'. */
#undef HAVE_STRUCT_STAT_ST_BLKSIZE
/* Define to 1 if `cr_uid' is a member of `struct ucred'. */
/* Define to 1 if `cr_uid' is member of `struct ucred'. */
#undef HAVE_STRUCT_UCRED_CR_UID
/* Define to 1 if `uid' is a member of `struct ucred'. */
/* Define to 1 if `uid' is member of `struct ucred'. */
#undef HAVE_STRUCT_UCRED_UID
/* Define to 1 if you have the mISDN Supplemental Services library. */
@ -1126,9 +1126,6 @@
/* Define to the one symbol short name of this package. */
#undef PACKAGE_TARNAME
/* Define to the home page for this package. */
#undef PACKAGE_URL
/* Define to the version of this package. */
#undef PACKAGE_VERSION

Loading…
Cancel
Save