Just founnd a weirdy. My end is Asterisk 1.2.32 using an IAX2 link to the US. The IP address of the remote end changed (though in the config file it's registered as a name i.e. asterisk.remote.end), my system didn't recognised the IP change, it must be cached once and then the cached value used for ever. Steve -- NetTek Ltd UK mob +44 7775 755503 UK +44 20 7993 2612 / US +1 310 857 7715 / Fax +44 20 7483 2455 Skype/GoogleTalk/AIM/Gizmo/.Mac/Twitter/FriendFeed stevekennedyuk Euro Tech News Blog http://eurotechnews.blogspot.com MSN steve at gbnet.net
Did you do an IAX2 show peer on it? -----Original Message----- From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Steve Kennedy Sent: Tuesday, June 09, 2009 1:58 PM To: asterisk-users at lists.digium.com Subject: [asterisk-users] IAX2 issue? Just founnd a weirdy. My end is Asterisk 1.2.32 using an IAX2 link to the US. The IP address of the remote end changed (though in the config file it's registered as a name i.e. asterisk.remote.end), my system didn't recognised the IP change, it must be cached once and then the cached value used for ever. Steve -- NetTek Ltd UK mob +44 7775 755503 UK +44 20 7993 2612 / US +1 310 857 7715 / Fax +44 20 7483 2455 Skype/GoogleTalk/AIM/Gizmo/.Mac/Twitter/FriendFeed stevekennedyuk Euro Tech News Blog http://eurotechnews.blogspot.com MSN steve at gbnet.net _______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
On Tue, Jun 09, 2009 at 02:02:50PM -0500, Danny Nicholas wrote:> Did you do an IAX2 show peer on it?Remote end unreachable and old IP address Steve -- NetTek Ltd UK mob +44 7775 755503 UK +44 20 7993 2612 / US +1 310 857 7715 / Fax +44 20 7483 2455 Skype/GoogleTalk/AIM/Gizmo/.Mac/Twitter/FriendFeed stevekennedyuk Euro Tech News Blog http://eurotechnews.blogspot.com MSN steve at gbnet.net
What does your iax2 show registry look like? -----Original Message----- From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Steve Kennedy Sent: Tuesday, June 09, 2009 2:16 PM To: asterisk-users at lists.digium.com Subject: Re: [asterisk-users] IAX2 issue? On Tue, Jun 09, 2009 at 02:02:50PM -0500, Danny Nicholas wrote:> Did you do an IAX2 show peer on it?Remote end unreachable and old IP address Steve -- NetTek Ltd UK mob +44 7775 755503 UK +44 20 7993 2612 / US +1 310 857 7715 / Fax +44 20 7483 2455 Skype/GoogleTalk/AIM/Gizmo/.Mac/Twitter/FriendFeed stevekennedyuk Euro Tech News Blog http://eurotechnews.blogspot.com MSN steve at gbnet.net _______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
On Tue, 2009-06-09 at 19:58 +0100, Steve Kennedy wrote:> Just founnd a weirdy. My end is Asterisk 1.2.32 using an IAX2 link to > the US. > > The IP address of the remote end changed (though in the config file it's > registered as a name i.e. asterisk.remote.end), my system didn't > recognised the IP change, it must be cached once and then the cached > value used for ever.It's my (limited) understanding that the IAX2 channel driver in Asterisk 1.2 caches any DNS names it resolves, and doesn't bother looking them back up later. Fortunately, that problem has been addressed in later versions of Asterisk. If I remember correctly, Asterisk 1.6.0 and later use the DNS Manager (see dnsmgr.conf) to periodically re-resolve DNS names. -- Jared Smith Training Manager Digium, Inc.
On Tue, 9 Jun 2009, Steve Kennedy wrote:> Just founnd a weirdy. My end is Asterisk 1.2.32 using an IAX2 link to > the US. > > The IP address of the remote end changed (though in the config file it's > registered as a name i.e. asterisk.remote.end), my system didn't > recognised the IP change, it must be cached once and then the cached > value used for ever.I get something similar after site power failures - my PBXs sometimes come up faster than the routers/DNS servers, so can't get the IP address of the IAX trunks, but they never seem to re-try. An iax2 reload fixes it (or what the end-users usually do is just power cycle the PBXs )-: Gordon