[asterisk-bugs] [JIRA] (PRI-158) PRI_EVENT_NOTIFY option to give a "code of event"

Richard Mudgett (JIRA) noreply at issues.asterisk.org
Fri Jul 19 11:52:03 CDT 2013


    [ https://issues.asterisk.org/jira/browse/PRI-158?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=208086#comment-208086 ] 

Richard Mudgett commented on PRI-158:
-------------------------------------

Features requests are no longer submitted to or accepted through the issue tracker. Features requests are openly discussed on the mailing lists [1] and Asterisk IRC channels and made note of by Bug Marshals.

[1] http://www.asterisk.org/support/mailing-lists

This is not a trivial request.

1) The NOTIFY message Notification indicator code says the far end was suspended.  According to Q.931 that code is used when the far end used the SUSPEND procedure described in Q.931 section 5.6.2.  Receipt of this NOTIFY message does *not* mean that the far end hung up the call because the call could be resumed by the far end using the RESUME procedure described in Q.931 section 5.6.4.

2) Dialplan does not execute while a call is in progress.  It executes to setup the call and to deal with call hangup (h exten).  When this NOTIFY message comes in, the call is already established so dialplan is no longer running.

You could modify the source code to respond to the receipt of this message by hanging up the call.  The location in the Asterisk source code dealing with the message is in the sig_pri.c file, routine pri_dchannel() switch case PRI_EVENT_NOTIFY.  However, any patch resulting from this is not likely to be acceptable for inclusion.  I cannot see this being anything but a work around for a misbehaving far end.
                
> PRI_EVENT_NOTIFY option to give a "code of event"
> -------------------------------------------------
>
>                 Key: PRI-158
>                 URL: https://issues.asterisk.org/jira/browse/PRI-158
>             Project: LibPRI
>          Issue Type: Improvement
>      Security Level: None
>          Components: NewFeature
>    Affects Versions: 1.4.13
>         Environment: AsteriskNow 2.0.2 + yum update
>            Reporter: Emiliano
>            Assignee: Richard Mudgett
>            Severity: Trivial
>
> Hi:
> When i make a call from my E1 PRI (TelcoA) to a analog line (TelcoB).
> And the user of the analog line hangup, the TelcoA send to me a PRI_EVENT_NOTIFY and 60 seconds later send a DISCONNECT.
> What are the posibility to give a "code" when a PRI_EVENT_NOTIFY appears to work with the dialplan to hangup this outbound calls?
> Sorry for my bad english.
> Thanks

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.asterisk.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira



More information about the asterisk-bugs mailing list