[asterisk-dev] Wrong incoming context after dnsmgr IP address change
Nick Lewis
Nick.Lewis at atltelecom.com
Mon Jun 28 03:02:12 CDT 2010
> [2010-06-25 07:31:32.672] NOTICE[3748] dnsmgr.c: dnssrv:
> host 'incoming.future-nine.com' changed from
> 64.251.23.244:5060 to 85.17.148.32:5060
> [2010-06-25 07:31:32.672] NOTICE[3748] dnsmgr.c: dnssrv:
> host 'outgoing.future-nine.com' changed from
> 65.111.186.2:5060 to 85.17.148.32:5060
It looks as if the ip address for incoming.future-nine.com and
outgoing.future-nine.com both changed to 85.17.148.32 . Asterisk will
arbitarily match on any peer definition with the same ip address. In
this case it appears to have chosen [future-nine] which has no context
of its own hence the use of the general context.
I think adding context=incoming to the [future-nine] peer should remove
this problem in the future (though you may also need to check the
insecure settings). I do not know the details of your setup but you
could also investigate combining the two peer definitions perhaps with
outboundproxy=outgoing.future-nine.com
-- N_L
_____________________________________________________________________
This message has been checked for all known viruses by Star Internet delivered through the MessageLabs Virus Control Centre.
_____________________________________________________________________
Disclaimer of Liability
ATL Telecom Ltd shall not be held liable for any improper or incorrect use of the information described and/or contained herein and assumes no responsibility for anyones use of the information. In no event shall ATL Telecom Ltd be liable for any direct, indirect, incidental, special, exemplary, or consequential damages (including, but not limited to, procurement or substitute goods or services; loss of use, data, or profits; or business interruption) however caused and on any theory of liability, whether in contract, strict liability, or tort (including negligence or otherwise) arising in any way out of the use of this system, even if advised of the possibility of such damage.
Registered Office: ATL Telecom Ltd, Fountain Lane, St. Mellons Cardiff, CF3 0FB
Registered in Wales Number 4335781
All goods and services supplied by ATL Telecom Ltd are supplied subject to ATL Telecom Ltd standard terms and conditions, available upon request.
More information about the asterisk-dev
mailing list