]> git.ipfire.org Git - thirdparty/asterisk.git/commit
config_transport: Fix objects returned by ast_sip_get_transport_states 46/2346/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:05:08 +0000 (15:05 -0700)
commit6f0d7ce9db9a35c8a15a77406f62cf364595e9a9
treea3c82ba5fc7d76e562a49b28c4dbae112cfe4bd2
parentd1495bc0ebed86d322488bed647b43aba0ae9b1f
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