Fix a bug with setting t38pt_udptl at the user or peer level.
authorJoshua Colp <jcolp@digium.com>
Tue, 5 May 2009 14:22:47 +0000 (14:22 +0000)
committerJoshua Colp <jcolp@digium.com>
Tue, 5 May 2009 14:22:47 +0000 (14:22 +0000)
commit2e7c1e3613abba5e42baeb416e5643c22f535844
treec9125624b86e253f00d5bb28e7666b40724b22c8
parent2746f589b7daee593cc4a64b2b8ddff5371a09a3
Fix a bug with setting t38pt_udptl at the user or peer level.

If an incoming call authenticated as a user or peer and t38pt_udptl was
not set to yes in general then no UDPTL session would be present and any
T38 related things would fail. This commit changes it so that if after
authenticating T38 is enabled but no UDPTL session is present one will be
created.

(issue AST-215)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@192387 65c4cc65-6c06-0410-ace0-fbb531ad65f3
channels/chan_sip.c