Posted: Thu Feb 20, 2003 11:06 am Post subject: [Asterisk-Dev] second try: missing ISDN cause code
Hi all,
this is the second (and last ;) mail on the subject in the hope to get
some help:
The Dial application of Asterisk (app_dial.c) fails to detect user busy and
congestion with a Zapata channel (chan_zap.c), the reason is that the error
codes correctly received, from libpri i guess, are not used. We were able to
print out the codes in chan_zap.c but before starting tampering chan_zap.c
we will ask again: Are we missing something or this support is missing at
today development status?
Posted: Fri Feb 21, 2003 6:42 pm Post subject: [Asterisk-Dev] second try: missing ISDN cause code
Without getting any logs it's hard to respond to your email at all.
regards
Martin
On Thu, 20 Feb 2003, Lorenzo Pallara wrote:
Quote:
Hi all,
this is the second (and last ;) mail on the subject in the hope to get
some help:
The Dial application of Asterisk (app_dial.c) fails to detect user busy and
congestion with a Zapata channel (chan_zap.c), the reason is that the error
codes correctly received, from libpri i guess, are not used. We were able to
print out the codes in chan_zap.c but before starting tampering chan_zap.c
we will ask again: Are we missing something or this support is missing at
today development status?
Posted: Fri Feb 21, 2003 8:25 pm Post subject: [Asterisk-Dev] second try: missing ISDN cause code
Martin Pycko wrote:
Quote:
Without getting any logs it's hard to respond to your email at all.
hi,
i'm answering because i'm a colleague of the poster..
the problem is that there are few thing to show.
in chan_zap.c under the " case PRI_EVENT_HANGUP:" (line #5429) we put
just a warning print like:
ast_log(LOG_WARNING, "Hangup cause 0x%x\
n", e->hangup.cause);
and we can see it in the log.. but there's no provision here for a
AST_CONTROL_BUSY ... it seems completely missing, but maybe it 's not
the right place!
we are interested in the full set of isdn disconnect-cause codes because
there are informations about congestion and reject and more.
this way we could make better decision WRT rerouting and more.. but in
that case, i.e. exposing the isdn cause code at the application level
(in the extension.conf logic, i mean) would require a reworking of the
syntax (now asterisk cope only with (u)nanswered and (b)usy call setup
if i'm not wrong..)
maybe someone knows already the answer, otherwise we'll get some more
time investigating the source because we need this information from
chan_zap (at least the AST_CONTROL_BUSY AST_FRAME)..
hope to give back something to the community, then..
bye
andrea
Quote:
regards
Martin
On Thu, 20 Feb 2003, Lorenzo Pallara wrote:
>Hi all,
> this is the second (and last ;) mail on the subject in the hope to get
>some help:
>
>The Dial application of Asterisk (app_dial.c) fails to detect user busy and
>congestion with a Zapata channel (chan_zap.c), the reason is that the error
>codes correctly received, from libpri i guess, are not used. We were able to
>print out the codes in chan_zap.c but before starting tampering chan_zap.c
>we will ask again: Are we missing something or this support is missing at
>today development status?
>
>Please help... TIA,
> Lorenzo Pallara
>
>_______________________________________________
>Asterisk-Dev mailing list
>Asterisk-Dev@lists.digium.com
>http://lists.digium.com/mailman/listinfo/asterisk-dev
>
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum