[App_rpt-users] error in app_rpt.c
Geoff
ars.w5omr at gmail.com
Sun Jun 8 14:25:27 UTC 2014
Can someone explain to me why this happens 'out of the blue'?
at 01:something AM, there was no repeater activity (at least that I know of)
[Jun 8 00:01:17] WARNING[2954] app_rpt.c: Reconnect Attempt to 29922 in
process
now, I can appreciate that my internet provider might send a 'restart'
signal down the line, for whatever reason, given the time (midnight) and
a margin of error +/- on time... but, from there...
[Jun 8 00:23:48] WARNING[2932] chan_iax2.c: Out of space for ie
'Unknown IE' (54), need 51 have 6
[Jun 8 01:02:29] WARNING[4284] chan_dahdi.c: Unable to open
'/dev/zap/pseudo': No such device or address
[Jun 8 01:02:29] ERROR[4284] chan_dahdi.c: Unable to dup channel: No
such device or address
[Jun 8 01:02:29] NOTICE[4284] app_rpt.c: Telemetry thread aborted at
line 8825, mode: 46
[Jun 8 01:02:29] NOTICE[4285] app_rpt.c: Telemetry thread aborted at
line 8825, mode: 46
[Jun 8 01:02:29] NOTICE[4286] app_rpt.c: Telemetry thread aborted at
line 8825, mode: 46
[Jun 8 01:02:30] NOTICE[4287] app_rpt.c: Telemetry thread aborted at
line 8825, mode: 46
[Jun 8 01:02:30] NOTICE[4288] app_rpt.c: Telemetry thread aborted at
line 8825, mode: 46
[Jun 8 01:02:30] NOTICE[4289] app_rpt.c: Telemetry thread aborted at
line 8825, mode: 46
[Jun 8 01:02:30] NOTICE[4290] app_rpt.c: Telemetry thread aborted at
line 8825, mode: 46
[Jun 8 01:02:30] NOTICE[4291] app_rpt.c: Telemetry thread aborted at
line 8825, mode: 46
and on and on and on.
/* allocate a pseudo-channel thru asterisk */
mychannel =
ast_request(DAHDI_CHANNEL_NAME,AST_FORMAT_SLINEAR,"pseudo",NULL);
if (!mychannel)
{
fprintf(stderr,"rpt:Sorry unable to obtain pseudo
channel\n");
rpt_mutex_lock(&myrpt->lock);
remque((struct qelem *)mytele);
this is line 8825 of app_rpt.c
****************************
ast_log(LOG_NOTICE,"Telemetry thread aborted at line %d,
mode: %d\n",__LINE__, mytele->mode); /*@@@@@@@@@@@*/
****************************
rpt_mutex_unlock(&myrpt->lock);
ast_free(nodename);
if(id_malloc)
ast_free(ident);
ast_free(mytele);
pthread_exit(NULL);
}
#ifdef AST_CDR_FLAG_POST_DISABLED
if (mychannel->cdr)
ast_set_flag(mychannel->cdr,AST_CDR_FLAG_POST_DISABLED);
#endif
rpt_mutex_lock(&myrpt->lock);
mytele->chan = mychannel;
while (myrpt->active_telem &&
((myrpt->active_telem->mode == PAGE) || (
myrpt->active_telem->mode == MDC1200)))
{
rpt_mutex_unlock(&myrpt->lock);
usleep(100000);
rpt_mutex_lock(&myrpt->lock);
}
rpt_mutex_unlock(&myrpt->lock);
while((mytele->mode != SETREMOTE) && (mytele->mode != UNKEY) &&
(mytele->mode != LINKUNKEY) && (mytele->mode != LOCUNKEY) &&
(mytele->mode != COMPLETE) && (mytele->mode != REMGO) &&
(mytele->mode != REMCOMPLETE))
{
rpt_mutex_lock(&myrpt->lock);
if ((!myrpt->active_telem) &&
(myrpt->tele.prev == mytele))
{
myrpt->active_telem = mytele;
rpt_mutex_unlock(&myrpt->lock);
break;
}
rpt_mutex_unlock(&myrpt->lock);
usleep(100000);
}
Soooo... what's happening, here?
More information about the App_rpt-users
mailing list