mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-25 14:06:27 +00:00
Merge "pjsip: new endpoint's options to control Connected Line updates"
This commit is contained in:
@@ -1380,7 +1380,8 @@ static int is_colp_update_allowed(struct ast_sip_session *session)
|
||||
struct ast_party_id connected_id;
|
||||
int update_allowed = 0;
|
||||
|
||||
if (!session->endpoint->id.send_pai && !session->endpoint->id.send_rpid) {
|
||||
if (!session->endpoint->id.send_connected_line
|
||||
|| (!session->endpoint->id.send_pai && !session->endpoint->id.send_rpid)) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user