diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 5bf1a9f5d8ad5d74d1fb55d76a42b67762304a81..d09085425909c3a932ec770e55030a41a59fc869 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -16581,6 +16581,8 @@ static enum check_auth_result check_peer_ok(struct sip_pvt *p, char *of, else p->timer_b = 64 * p->timer_t1; + p->allowtransfer = peer->allowtransfer; + if (ast_test_flag(&peer->flags[0], SIP_INSECURE_INVITE)) { /* Pretend there is no required authentication */ ast_string_field_set(p, peersecret, NULL);