diff --git a/channels/chan_sip.c b/channels/chan_sip.c index ad089d2a5d49decdb442384ce81a00238fdabbc7..1b41379dd4082b1059a8f81e178125510a831a12 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -6413,7 +6413,7 @@ static int respprep(struct sip_request *resp, struct sip_pvt *p, const char *msg init_resp(resp, msg); copy_via_headers(p, resp, req, "Via"); - if (msg[0] == '2') + if (msg[0] == '1' || msg[0] == '2') copy_all_header(resp, req, "Record-Route"); copy_header(resp, req, "From"); ot = get_header(req, "To");