diff options
Diffstat (limited to 'channels')
-rw-r--r-- | channels/chan_sip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c index adf83ce64..b55e27886 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -5718,7 +5718,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"); |