diff options
Diffstat (limited to 'channels/chan_sip.c')
-rwxr-xr-x | 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 26282a50f..7fb4bdda5 100755 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -3553,7 +3553,7 @@ static int get_destination(struct sip_pvt *p, struct sip_request *oreq) strncpy(tmp, req->rlPart2, sizeof(tmp) - 1); c = ditch_braces(tmp); - strncpy(tmpf, get_header(oreq, "From"), sizeof(tmpf) - 1); + strncpy(tmpf, get_header(req, "From"), sizeof(tmpf) - 1); fr = ditch_braces(tmpf); if (fr && !strlen(fr)) |