This is now handled in skinny_register and load_config.
part two of chan_skinny cleanup
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@125596
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
if (/*d->addr.sin_addr.s_addr && */!ntohs(d->addr.sin_port)) {
d->addr.sin_port = htons(DEFAULT_SKINNY_PORT);
}
-#if 0
- /* I don't think we need this anymore at all, since d->ourip is set in skinny_register now */
- if (d->addr.sin_addr.s_addr) {
- /* XXX See note above, in 'host' option. */
- if (ast_ouraddrfor(&d->addr.sin_addr, &d->ourip)) {
- d->ourip = __ourip;
- }
- } else {
- d->ourip = __ourip;
- }
-#endif
}
return d;
}