Make calltoken support work with realtime users and peers.
authorTilghman Lesher <tilghman@meg.abyt.es>
Thu, 10 Sep 2009 23:12:16 +0000 (23:12 +0000)
committerTilghman Lesher <tilghman@meg.abyt.es>
Thu, 10 Sep 2009 23:12:16 +0000 (23:12 +0000)
commit1b147b009412a42a3b8664dea5cb0b89b4e68ca2
treec6351a62b78f82abfae16cece84d7b21c4c90fde
parent32352265c44eb65f9217df5bc29171932b24e152
Make calltoken support work with realtime users and peers.
In the course of this, I also found that the results of ast_gethostbyname
were being used incorrectly in both chan_iax2 and chan_sip, so both have
been fixed.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@217916 65c4cc65-6c06-0410-ace0-fbb531ad65f3
channels/chan_iax2.c
channels/chan_sip.c
contrib/scripts/iax-friends.sql