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:
Alexei Gradinari
2018-10-12 17:46:29 -04:00
committed by Richard Mudgett
parent 0b695d1e38
commit bfe3821800
8 changed files with 79 additions and 3 deletions

View File

@@ -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 */