Re: [asterisk-users] Dynamic DNS trunk --- SOLVED

2009-11-02 Thread B.Masoud @ SH
dnsmgr.conf:
enable=yes  
refreshinterval=300

regards.

-Original Message-
From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of B.Masoud @ SH
Sent: Friday, October 30, 2009 3:28 AM
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: Re: [asterisk-users] Dynamic DNS trunk

Thanks
I did this

dnsmgr.conf:
enable=yes  
refreshinterval=300

I did dnsmgr refresh, the DNS in the trunk did not got the new ip, also I
waited 5 min.

do I have to add an entry to dnsmgr??

Thanks!

-Original Message-
From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Matt Riddell
Sent: Friday, October 30, 2009 1:53 AM
To: asterisk-users@lists.digium.com
Subject: Re: [asterisk-users] Dynamic DNS trunk

On 30/10/09 6:42 AM, B.Masoud @ SH wrote:
 Hi

 I tried with registration, it did not update the IP address

 I can only see it updated if I typed:

 Sip reload

 I have few questions:

 Is there any way Asterisk automatically updates the DNS?

Yep /etc/asterisk/dnsmgr.conf

-- 
Cheers,

Matt Riddell
Director
___

http://www.venturevoip.com/news.php (Daily Asterisk News)
http://www.venturevoip.com/st.php (SmoothTorque Predictive Dialer)
http://www.venturevoip.com/c3.php (ConduIT3 PABX Systems)

___
-- 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



___
-- 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



___
-- 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


Re: [asterisk-users] Dynamic DNS trunk

2009-10-29 Thread Matt Riddell
On 29/10/09 2:05 PM, B.Masoud @ SH wrote:
 I have a trunk, and its host=dynamic dns.

 The problem is, when the IP changes the

 Sip show peers

 Still show the old IP of the DNS, I have to reload and save the
 configuration again so that asterisk recognize the new IP of the DNS.

 Any idea how to automate such a thing? Or how can I keep asterisk to
 deal with NAMES as NAMES, and IPs as IPs.

The reply regarding getting the other end to register is correct.

The other host should be registering regularly.

If you have a host name use /etc/asterisk/dnsmgr.conf:

[general]
enable=yes  ; enable creation of managed DNS lookups
 ;   default is 'no'
;refreshinterval=1200   ; refresh managed DNS lookups every n seconds
 ;   default is 300 (5 minutes)

-- 
Cheers,

Matt Riddell
Director
___

http://www.venturevoip.com/news.php (Daily Asterisk News)
http://www.venturevoip.com/st.php (SmoothTorque Predictive Dialer)
http://www.venturevoip.com/c3.php (ConduIT3 PABX Systems)

___
-- 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


Re: [asterisk-users] Dynamic DNS trunk

2009-10-29 Thread B.Masoud @ SH
Hi

I tried with registration, it did not update the IP address

I can only see it updated if I typed:

Sip reload

 

I have few questions:

Is there any way Asterisk automatically updates the DNS?

If no other way, can I type sip reload on a production system safely?

If yes, any help shows how to send the command “sip reload” periodically to
asterisk?

 

Thanks.

 

From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Juan E.
Rodríguez
Sent: Thursday, October 29, 2009 6:33 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Dynamic DNS trunk

 

If the trunk is a dynamic IP you need the other end to register to Asterisk,
so letting Asterisk know the new IP.

Regards,
Juan

B.Masoud @ SH wrote: 

I have a trunk, and its host=dynamic dns.

The problem is, when the IP changes the 

Sip show peers 

Still show the old IP of the DNS, I have to reload and save the
configuration again so that asterisk recognize the new IP of the DNS.

 

Any idea how to automate such a thing? Or how can I keep asterisk to deal
with NAMES as NAMES, and IPs as IPs.

 

Let me know.

 

Thanks.

 



  _  



 
___
-- 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
___
-- 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

Re: [asterisk-users] Dynamic DNS trunk

2009-10-29 Thread Matt Riddell
On 30/10/09 6:42 AM, B.Masoud @ SH wrote:
 Hi

 I tried with registration, it did not update the IP address

 I can only see it updated if I typed:

 Sip reload

 I have few questions:

 Is there any way Asterisk automatically updates the DNS?

Yep /etc/asterisk/dnsmgr.conf

-- 
Cheers,

Matt Riddell
Director
___

http://www.venturevoip.com/news.php (Daily Asterisk News)
http://www.venturevoip.com/st.php (SmoothTorque Predictive Dialer)
http://www.venturevoip.com/c3.php (ConduIT3 PABX Systems)

___
-- 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


Re: [asterisk-users] Dynamic DNS trunk

2009-10-29 Thread B.Masoud @ SH
Thanks
I did this

dnsmgr.conf:
enable=yes  
refreshinterval=300

I did dnsmgr refresh, the DNS in the trunk did not got the new ip, also I
waited 5 min.

do I have to add an entry to dnsmgr??

Thanks!

-Original Message-
From: asterisk-users-boun...@lists.digium.com
[mailto:asterisk-users-boun...@lists.digium.com] On Behalf Of Matt Riddell
Sent: Friday, October 30, 2009 1:53 AM
To: asterisk-users@lists.digium.com
Subject: Re: [asterisk-users] Dynamic DNS trunk

On 30/10/09 6:42 AM, B.Masoud @ SH wrote:
 Hi

 I tried with registration, it did not update the IP address

 I can only see it updated if I typed:

 Sip reload

 I have few questions:

 Is there any way Asterisk automatically updates the DNS?

Yep /etc/asterisk/dnsmgr.conf

-- 
Cheers,

Matt Riddell
Director
___

http://www.venturevoip.com/news.php (Daily Asterisk News)
http://www.venturevoip.com/st.php (SmoothTorque Predictive Dialer)
http://www.venturevoip.com/c3.php (ConduIT3 PABX Systems)

___
-- 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



___
-- 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


[asterisk-users] Dynamic DNS trunk

2009-10-28 Thread B.Masoud @ SH
I have a trunk, and its host=dynamic dns.

The problem is, when the IP changes the 

Sip show peers 

Still show the old IP of the DNS, I have to reload and save the
configuration again so that asterisk recognize the new IP of the DNS.

 

Any idea how to automate such a thing? Or how can I keep asterisk to deal
with NAMES as NAMES, and IPs as IPs.

 

Let me know.

 

Thanks.

___
-- 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

Re: [asterisk-users] Dynamic DNS trunk

2009-10-28 Thread Juan E. Rodríguez




If the trunk is a dynamic IP you need the other end to register to
Asterisk, so letting Asterisk know the new IP.

Regards,
Juan

B.Masoud @ SH wrote:

  
  
  

  
  I have a trunk, and its host=dynamic dns.
  The problem is, when the IP changes the 
  Sip show peers 
  Still show the old IP of the DNS, I have to
reload and save
the configuration again so that asterisk recognize the new IP of the
DNS.
  
  Any idea how to automate such a thing? Or how
can I keep
asterisk to deal with NAMES as NAMES, and IPs as IPs.
  
  Let me know.
  
  Thanks.
  
  

___
-- 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




___
-- 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