]> git.ipfire.org Git - thirdparty/asterisk.git/commit
config_transport: Fix objects returned by ast_sip_get_transport_states 47/2347/1
authorGeorge Joseph <george.joseph@fairview5.com>
Wed, 2 Mar 2016 21:55:48 +0000 (14:55 -0700)
committerGeorge Joseph <george.joseph@fairview5.com>
Wed, 2 Mar 2016 22:10:18 +0000 (16:10 -0600)
commit7b71bca8a40395341920d4d329de5af1896224c5
tree8912c22d8d39db9c53aca127c82717b8bca710ae
parentd0b26c3133e831e915990fd806257d9ef07c508b
config_transport:  Fix objects returned by ast_sip_get_transport_states

ast_sip_get_transport_states was returning a container of internal_state
objects instead of ast_sip_transport_state objects.  This was causing
transport lookups to fail, most noticably in res_pjsip_nat, which
couldn't find the correct external addresses.  This was causing contacts
to go out with internal ip addresses.

ASTERISK-25830 #close
Reported-by: Sean Bright
Change-Id: I1aee6a2fd46c42e8dd0af72498d17de459ac750e
res/res_pjsip/config_transport.c