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
0b695d1e38
commit
bfe3821800
@@ -796,6 +796,10 @@ struct ast_sip_endpoint {
|
||||
unsigned int accept_multiple_sdp_answers;
|
||||
/*! Suppress Q.850 Reason headers on this endpoint */
|
||||
unsigned int suppress_q850_reason_headers;
|
||||
/*! 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;
|
||||
};
|
||||
|
||||
/*! URI parameter for symmetric transport */
|
||||
|
||||
Reference in New Issue
Block a user