diff options
author | Matt Jordan <mjordan@digium.com> | 2016-01-21 17:25:22 -0600 |
---|---|---|
committer | Gerrit Code Review <gerrit2@gerrit.digium.api> | 2016-01-21 17:25:22 -0600 |
commit | c3f4afe40cf383b865d59a63c16581b9c1c04c0e (patch) | |
tree | 11de2f92a51c52a2b150263faa4446a236992f3d | |
parent | c68c66c61fc1757aeb7e77832249bc855cec9691 (diff) | |
parent | 02035212de98926c95fec2ac53ccc3691aa1de8f (diff) |
Merge "res/res_pjsip/presence_xml.c: Add missing 2nd call presence state case." into 13
-rw-r--r-- | res/res_pjsip/presence_xml.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/res/res_pjsip/presence_xml.c b/res/res_pjsip/presence_xml.c index b98ea0237..c991a0d68 100644 --- a/res/res_pjsip/presence_xml.c +++ b/res/res_pjsip/presence_xml.c @@ -91,6 +91,12 @@ void ast_sip_presence_exten_state_to_str(int state, char **statestring, char **p *pidfstate = "busy"; *pidfnote = "Ringing"; break; + case (AST_EXTENSION_INUSE | AST_EXTENSION_RINGING): + *statestring = "confirmed"; + *local_state = NOTIFY_INUSE; + *pidfstate = "busy"; + *pidfnote = "Ringing"; + break; case AST_EXTENSION_INUSE: *statestring = "confirmed"; *local_state = NOTIFY_INUSE; @@ -121,7 +127,7 @@ void ast_sip_presence_exten_state_to_str(int state, char **statestring, char **p *statestring = "terminated"; *local_state = NOTIFY_OPEN; *pidfstate = "--"; - *pidfnote ="Ready"; + *pidfnote = "Ready"; break; } } |