]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res_pjsip_caller_id: Fix crash on session timers UPDATE on inbound calls. 02/4202/1
authorJoshua Colp <jcolp@digium.com>
Thu, 27 Oct 2016 13:07:02 +0000 (13:07 +0000)
committerJoshua Colp <jcolp@digium.com>
Thu, 27 Oct 2016 13:23:03 +0000 (13:23 +0000)
commit675c71ae8ca9fc086a5da21a5abcb7ef72506343
tree8aaa7f07437dbf56e75a8cc2d4cb38610cd1f9de
parent46863c9d9a3a270ef4b795d132c2b3d9853f0f2d
res_pjsip_caller_id: Fix crash on session timers UPDATE on inbound calls.

The res_pjsip_caller_id module wrongly assumed that a
saved From header would always exist on sessions. This
is true until an inbound call is received and a session
timer causes an UPDATE to be sent. In this case there will
be no saved From header and a crash will occur. This change
makes it fall back to the From header of the outgoing request
if no saved From header is present.

ASTERISK-26307 #close

Change-Id: Iccc3bc8d243b5ede9b81abf960292930c908d4fa
res/res_pjsip_caller_id.c