Re: [asterisk-users] Asterisk on dynamich IP

2019-02-01 Thread Administrator TOOTAI

Le 01/02/2019 à 09:59, basti a écrit :

Hello,


Hi



my Asterisk is installed on my router. From my ISP I only get an dynamic IP.

In sip.conf I have try:

externhost=host1.mydns.unix-solution.de
externrefresh=300

but after reconnect I cant call from "outside".

asterisk*CLI> sip show registry
Hostdnsmgr Username   Refresh
StateReg.Time
sip.personal-voip.de:5060   N  1785
Registered   Fri, 01 Feb 2019 09:32:28
sip.alice-voip.de:5060  N    1785 Registered
   Fri, 01 Feb 2019 09:32:28
2 SIP registrations.
asterisk*CLI>

I have also try to restart asterisk after reconnect,
Manual it works but not via cron.

Are there any other ways to reconnect on IP change.


I'm surprised that it doesn't work via cron. I suspect the script you 
are running faulty like wrong path or not executed by the right user.


For other purpose that for asterisk I also check IP changes on some 
sites, my script is always returning the correct datas.


Daniel

--
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
 https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

[asterisk-users] Asterisk on dynamich IP

2019-02-01 Thread basti
Hello,

my Asterisk is installed on my router. From my ISP I only get an dynamic IP.

In sip.conf I have try:

externhost=host1.mydns.unix-solution.de
externrefresh=300

but after reconnect I cant call from "outside".

asterisk*CLI> sip show registry
Hostdnsmgr Username   Refresh
StateReg.Time
sip.personal-voip.de:5060   N  1785
Registered   Fri, 01 Feb 2019 09:32:28
sip.alice-voip.de:5060  N    1785 Registered
  Fri, 01 Feb 2019 09:32:28
2 SIP registrations.
asterisk*CLI>

I have also try to restart asterisk after reconnect,
Manual it works but not via cron.

Are there any other ways to reconnect on IP change.

Best regards

-- 
_
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

Check out the new Asterisk community forum at: https://community.asterisk.org/

New to Asterisk? Start here:
  https://wiki.asterisk.org/wiki/display/AST/Getting+Started

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users