mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-16 23:08:32 +00:00
Merge "chan_sip: Emit a second ringing event to ensure channel is found."
This commit is contained in:
@@ -23984,6 +23984,9 @@ static void handle_response_invite(struct sip_pvt *p, int resp, const char *rest
|
||||
ast_queue_control(p->owner, AST_CONTROL_RINGING);
|
||||
if (ast_channel_state(p->owner) != AST_STATE_UP) {
|
||||
ast_setstate(p->owner, AST_STATE_RINGING);
|
||||
if (p->relatedpeer) {
|
||||
ast_devstate_changed(AST_DEVICE_UNKNOWN, AST_DEVSTATE_NOT_CACHABLE, "SIP/%s", p->relatedpeer->name);
|
||||
}
|
||||
}
|
||||
}
|
||||
if (find_sdp(req)) {
|
||||
|
||||
Reference in New Issue
Block a user