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

2021-07-05 Thread SAMPro
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 be

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

2021-07-05 Thread Jaco Kroon
Hi, Without secret= the phone is never challenged for authentication and the initial invite is accepted on that basis. You can use tcpdump or (my preference for these kind of things) sngrep to verify. Kind Regards, Jaco n 2021/07/05 13:49, SAMPro wrote: > I have set an extension in sip.conf to

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

2021-07-05 Thread SAMPro
Hi, Thanks for your reply. So this is normal behavior of Asterisk? On Mon, Jul 5, 2021 at 4:28 PM Jaco Kroon wrote: > Hi, > > Without secret= the phone is never challenged for authentication and the > initial invite is accepted on that basis. > > You can use tcpdump or (my preference for these k

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

2021-07-05 Thread Joshua C. Colp
On Mon, Jul 5, 2021 at 9:34 AM SAMPro wrote: > Hi, > Thanks for your reply. > So this is normal behavior of Asterisk? > This is normal behavior for the chan_sip module based on the configuration you've given. -- Joshua C. Colp Asterisk Technical Lead Sangoma Technologies Check us out at www.sa

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

2021-07-05 Thread SAMPro
Is there any workaround (no matter about config). We needed to mimic Cisco behavior: phones with inappropriate config must be prohibited to dial nor dialed. Any solution is highly appreciated Thanks in advance. On Mon, Jul 5, 2021 at 5:19 PM Joshua C. Colp wrote: > On Mon, Jul 5, 2021 at 9:34 AM

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

2021-07-05 Thread Fred Posner
On 7/5/21 1:51 PM, SAMPro wrote: > phones with inappropriateĀ config That statement is the error you're having. The config is appropriate for an extension that should not be authenticated. This isn't so much an asterisk issue as a user issue. You can either comment out the entire extension, or you

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

2021-07-05 Thread SAMPro
> favorite scripting language that checks that all endpoints have passwords or makes an alert. By endpoints you mean the phone? May you give me a guide about how to check the endpoints? On Mon, Jul 5, 2021 at 11:24 PM Fred Posner wrote: > On 7/5/21 1:51 PM, SAMPro wrote: > > phones with inappro