[asterisk-bugs] [JIRA] (ASTERISK-26919) Ringing&&InUse behavior difference between chan_sip and asterisk 13.

Zach R (JIRA) noreply at issues.asterisk.org
Tue Apr 4 09:35:57 CDT 2017


Zach R created ASTERISK-26919:
---------------------------------

             Summary: Ringing&&InUse behavior difference between chan_sip and asterisk 13.
                 Key: ASTERISK-26919
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-26919
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: Resources/res_pjsip_dialog_info_body_generator
    Affects Versions: 13.7.0
         Environment: CentOS release 6.6 (Final)

Working off git branch 13.  Version: GIT-13-73cbb91 
            Reporter: Zach R
            Severity: Minor


Previously on asterisk 1.8 with chan_sip the dialog body of a notify for a device that was ringing in state had its state set to early. On asterisk 13 in /res/res_pjsip/presence_xml.c in the method "ast_sip_presence_exten_state_to_str" this is set to "completed". Due to the state being completed, I found that Cisco SPA series phones monitoring a hint won't flash as expected for Ringing&&InUse states.

I was able to resolve this via a patch but found a related bug with directed pickup on the same phones. Previously it was patched so that for the ringing state in /res/res_pjsip_dialog_info_body_generator.c, method 'dialog_info_generate_body_content', added a direction node to the xml dialog. This is not added during Ringing&&InUse as the if statement that adds it only checks for the state being ringing.



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



More information about the asterisk-bugs mailing list