Fix issue where PJSIP blind transferer dialog may not complete as planned.
authorMark Michelson <mmichelson@digium.com>
Fri, 20 Dec 2013 20:28:19 +0000 (20:28 +0000)
committerMark Michelson <mmichelson@digium.com>
Fri, 20 Dec 2013 20:28:19 +0000 (20:28 +0000)
commit344cdab3a71d8f8b3517e7efe6864165142b14ca
tree76cfe17c441a71e4576719266f8877f7af1b8cd0
parent7ddfe12affea126d4cae0a2c75fac626cabbc496
Fix issue where PJSIP blind transferer dialog may not complete as planned.

When transferring to a dialplan extension that will not place any outbound
calls, the only control frames that the PJSIP REFER framehook will receive
are inconsequential (such as unhold or srcchange). As such, we shouldn't
allow for the reception of those types of frames prevent us from signaling
to the transferring party that the transfer has completed successfully once
voice frames are read.

Thanks to Jonathan Rose for pointing this out.
........

Merged revisions 404439 from http://svn.asterisk.org/svn/asterisk/branches/12

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@404452 65c4cc65-6c06-0410-ace0-fbb531ad65f3
res/res_pjsip_refer.c