[asterisk-bugs] [JIRA] (ASTERISK-27569) Not answering call on Polarity reversal Event

Asterisk Team (JIRA) noreply at issues.asterisk.org
Wed Jan 10 07:27:40 CST 2018


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

Asterisk Team commented on ASTERISK-27569:
------------------------------------------

We appreciate the difficulties you are facing, however information request type issues would be better served in a different forum.

The Asterisk community provides support over IRC, mailing lists, and forums as described at http://asterisk.org/community. The Asterisk issue tracker is used specifically to track issues concerning bugs and documentation errors.

If this issue is actually a bug please use the Bug issue type instead.

Please see the Asterisk Issue Guidelines [1] for instruction on the intended use of the Asterisk issue tracker.

Thanks!

[1] https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines

> Not answering call on Polarity reversal Event
> ---------------------------------------------
>
>                 Key: ASTERISK-27569
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-27569
>             Project: Asterisk
>          Issue Type: Information Request
>      Security Level: None
>          Components: Channels/chan_dahdi
>    Affects Versions: 15.1.5
>         Environment: Linux
>            Reporter: Pushkar Singh
>
> It seems that even though after detecting polarity reversal on asterisk, Asterisk does not answer the call.
> On further debugging on the issue it seems that, if "answeronpolarityswitch" is set to "yes" and "callprogress" is set to "no" as soon as call is answered and polarity reversal is detected by asterisk, Asterisk change the call state to UP but actually doesnot sending CONTORL_ANSWER frame to core.
> Below is the code snippet in order to support the above statement:
>  8122                         if (p->answeronpolarityswitch &&
>  8123                                 ((ast_channel_state(ast) == AST_STATE_DIALING) ||
>  8124                                 (ast_channel_state(ast) == AST_STATE_RINGING))) {
>  8125                                 ast_debug(1, "Answering on polarity switch!\n");
>  8126                                 ast_setstate(p->owner, AST_STATE_UP);
>  8127                                 if (p->hanguponpolarityswitch) {



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list