[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:39 CST 2018


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

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

Thanks for creating a report! The issue has entered the triage process. That means the issue will wait in this status until a Bug Marshal has an opportunity to review the issue. Once the issue has been reviewed you will receive comments regarding the next steps towards resolution.

A good first step is for you to review the [Asterisk Issue Guidelines|https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines] if you haven't already. The guidelines detail what is expected from an Asterisk issue report.

Then, if you are submitting a patch, please review the [Patch Contribution Process|https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process].

> 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