mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-16 14:58:25 +00:00
pjsip: new endpoint's options to control Connected Line updates
This patch adds new options 'trust_connected_line' and 'send_connected_line' to the endpoint. The option 'trust_connected_line' is to control if connected line updates are accepted from this endpoint. The option 'send_connected_line' is to control if connected line updates can be sent to this endpoint. The default value is 'yes' for both options. Change-Id: I16af967815efd904597ec2f033337e4333d097cd
This commit is contained in:
committed by
Richard Mudgett
parent
584e08b81b
commit
eee935983b
@@ -593,6 +593,10 @@ struct ast_sip_endpoint_id_configuration {
|
||||
unsigned int rpid_immediate;
|
||||
/*! Do we add Diversion headers to applicable outgoing requests/responses? */
|
||||
unsigned int send_diversion;
|
||||
/*! Do we accept connected line updates from this endpoint? */
|
||||
unsigned int trust_connected_line;
|
||||
/*! Do we send connected line updates to this endpoint? */
|
||||
unsigned int send_connected_line;
|
||||
/*! When performing connected line update, which method should be used */
|
||||
enum ast_sip_session_refresh_method refresh_method;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user