[asterisk-dev] Clear a secret from sip.conf and phone sill can dial

Kaloyan Kovachev kkovachev at varna.net
Tue Jul 13 04:09:33 CDT 2021


Hi,
  just set a random md5secret for the extension ... to make one:

#dd if=/dev/urandom of=/tmp/rand bs=1k count=1 && md5sum /tmp/rand


На 2021-07-13 11:01, SAMPro написа:

> I've used:
> 'core restart now'
> 
> On Mon, Jul 12, 2021 at 2:57 AM Mike Tubby <mike at tubby.org> wrote:
> Did you do something like:
> 
> # asterisk -vvvr
> *CLI> sip reload
> *CLI> quit
> 
> or
> 
> asterisk -rx sip reload
> 
> to force Asterisk to reload the SIP configuration?
> 
> Mike
> 
> On 05/07/2021 12:49, SAMPro wrote:
> I have set an extension in sip.conf to have a password and configured 
> the phone accordingly. Then I have edited the sip.conf again and 
> removed the password and reload the asterisk, but the phone can dial or 
> dialed.
> 
> [1801](general)
> allow=ulaw
> dtmfmode=auto
> call-limit=2
> ;secret=pass1
> 
> The similar behavior in Cisco systems is different and the phone can't 
> dial or dialed.
> Using command "sip unregister" didn't resolve this.
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> 
> asterisk-dev mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-dev



More information about the asterisk-dev mailing list