mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-02 10:22:46 +00:00
Merge "res/res_pjsip/presence_xml.c: Add missing 2nd call presence state case." into 13
This commit is contained in:
@@ -91,6 +91,12 @@ void ast_sip_presence_exten_state_to_str(int state, char **statestring, char **p
|
|||||||
*pidfstate = "busy";
|
*pidfstate = "busy";
|
||||||
*pidfnote = "Ringing";
|
*pidfnote = "Ringing";
|
||||||
break;
|
break;
|
||||||
|
case (AST_EXTENSION_INUSE | AST_EXTENSION_RINGING):
|
||||||
|
*statestring = "confirmed";
|
||||||
|
*local_state = NOTIFY_INUSE;
|
||||||
|
*pidfstate = "busy";
|
||||||
|
*pidfnote = "Ringing";
|
||||||
|
break;
|
||||||
case AST_EXTENSION_INUSE:
|
case AST_EXTENSION_INUSE:
|
||||||
*statestring = "confirmed";
|
*statestring = "confirmed";
|
||||||
*local_state = NOTIFY_INUSE;
|
*local_state = NOTIFY_INUSE;
|
||||||
@@ -121,7 +127,7 @@ void ast_sip_presence_exten_state_to_str(int state, char **statestring, char **p
|
|||||||
*statestring = "terminated";
|
*statestring = "terminated";
|
||||||
*local_state = NOTIFY_OPEN;
|
*local_state = NOTIFY_OPEN;
|
||||||
*pidfstate = "--";
|
*pidfstate = "--";
|
||||||
*pidfnote ="Ready";
|
*pidfnote = "Ready";
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user