bar top left
bar top right
left curve
right curve
Welcome, Guest

authenticate external and internal users/reminders
(1 viewing) (1) Guest
Go to bottom
Post Reply
Post New Topic
Page: 12345
TOPIC: authenticate external and internal users/reminders
#72193
authenticate external and internal users/reminders 2 Years, 3 Months ago Karma: 7
I added the 4th step here and it broke the authentication for Reminders. I want to be able to have internal users auth by their VM, as in step 3, and let outside users auth by a simple password, as in step 4. I see on my tail that it uses the caller ID of my cell as a user: VERBOSE[20887] logger.c: -- Incorrect password '1234' for user '1xxxxxxxxxx' (context = default)

Is there a way to use both methods to auth Reminders?

[from-internal-custom]
exten => 123,1,Answer
exten => 123,2,Wait(1)
exten => 123,3,vmauthenticate(${CALLERID(number)})
exten => 123,4,Authenticate(1234)
exten => 123,5,Goto(reminder,s,1)
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
franklin
Senior Boarder
Posts: 254
graphgraph
User Offline Click here to see the profile of this user
Reply Quote
 
#72194
Re:authenticate external and internal users/reminders 2 Years, 3 Months ago Karma: 156
www.voip-info.org/wiki/view/Asterisk+cmd+VMAuthenticate

look at the "workaround" and the j option
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
dicko
Ethically, I no longer support PaloSanto, Sorry.
Platinum Boarder
Posts: 4100
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Location: Not available Birthday: 01/21
Last Edit: 2011/02/25 21:20 By dicko.
There are other solutions!!
Reply Quote
 
#72197
Re:authenticate external and internal users/reminders 2 Years, 3 Months ago Karma: 7
I'd like to start out with a simple password file. Authenticate(/passwdfile|[,options[,maxdigits]])

in /etc I did vi reminderspasswords
and put 4 lines of 4-digit passwords and saved
then did what you see below and amportal restart. I don't seem to be hitting the password file. Where should that be kept? I see passwd in /etc, but it doesn't seem like adding to that is a good idea.


[from-internal-custom]
exten => 123,1,Answer
exten => 123,2,Wait(1)
;exten => 123,3,vmauthenticate(${CALLERID(number)})
exten => 123,3,Authenticate(/reminderspasswords)
exten => 123,4,Goto(reminder,s,1)

Thank you.
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
franklin
Senior Boarder
Posts: 254
graphgraph
User Offline Click here to see the profile of this user
Reply Quote
 
#72202
Re:authenticate external and internal users/reminders 2 Years, 3 Months ago Karma: 156
The asterisk home directory is /var/lib/asterisk
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
dicko
Ethically, I no longer support PaloSanto, Sorry.
Platinum Boarder
Posts: 4100
graphgraph
User Offline Click here to see the profile of this user
Gender: Male Location: Not available Birthday: 01/21
There are other solutions!!
Reply Quote
 
#72203
Re:authenticate external and internal users/reminders 2 Years, 3 Months ago Karma: 7
little lost. I put a file in /var/lib/asterisk called passwords and changed ownership to asterisk asterisk. Put a single line of 1234. Called that file out in extensions_custom.conf

[from-internal-custom]
exten => 123,1,Answer
exten => 123,2,Wait(1)
;exten => 123,3,vmauthenticate(${CALLERID(number)})
exten => 123,3,Authenticate(/passwords)
exten => 123,4,Goto(reminder,s,1)

Still doesn't work. Spent a lot of time going over all the links at www.voip-info.org/wiki/view/Asterisk+cmd+Authenticate

I assume that Authenticate(/<filename>) would look up whatever is in "filename." What am I doing wrong? Tried twice to reg to the pbxinaflash forum. Their mod does not authenticate you. ???

Thanks.
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
franklin
Senior Boarder
Posts: 254
graphgraph
User Offline Click here to see the profile of this user
Reply Quote
 
#72217
Re:authenticate external and internal users/reminders 2 Years, 3 Months ago Karma: 117
sorry guys the authentication files for pin sets ned to be saved in etc/asterisk...
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
fmvillares
Asterisk DCAP and Ex-Elastix Partner
Gold Boarder
Posts: 1785
graphgraph
User Offline Click here to see the profile of this user
Gender: Male fernando (dot) villares Intelix Ingeniería fmvillares (at) hotmail.com Location: Rosario Birthday: 07/03
Reply Quote
 
#72797
Re:authenticate external and internal users/reminders 2 Years, 3 Months ago Karma: 7
fm, dicko,

I put a file in /etc/asterisk/ called passwords. It has asterisk:asterisk ownership

dialing 123 hangs up when I have exten => 123,3,Authenticate(/passwords) or exten => 123,3,Authenticate/passwords

I put a file in /etc/asterisk/ called passwords. It has asterisk:asterisk ownership

dialing 123 hangs up when I have exten => 123,3,Authenticate(/passwords) or exten => 123,3,Authenticate/passwords

[from-internal-custom]
exten => 123,1,Answer
exten => 123,2,Wait(1)
;exten => 123,3,vmauthenticate(${CALLERID(number)})
exten => 123,3,Authenticate(/passwords)
exten => 123,4,Goto(reminder,s,1)

I want the Authenticate to take a password from a file. Any help? Thanks.
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
franklin
Senior Boarder
Posts: 254
graphgraph
User Offline Click here to see the profile of this user
Reply Quote
 
#72799
Re: Re:authenticate external and internal users/reminders 2 Years, 3 Months ago Karma: 117
i have my passwords files in /tc/asterisk named pins and works perfect
exten=> 123,1,Authenticate(pins)
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
fmvillares
Asterisk DCAP and Ex-Elastix Partner
Gold Boarder
Posts: 1785
graphgraph
User Offline Click here to see the profile of this user
Gender: Male fernando (dot) villares Intelix Ingeniería fmvillares (at) hotmail.com Location: Rosario Birthday: 07/03
Reply Quote
 
#72804
Re: Re:authenticate external and internal users/reminders 2 Years, 3 Months ago Karma: 7
in /etc/asterisk/
-rw-rw-r-- 1 asterisk asterisk 15 Mar 4 16:25 passwords
inside passwords
1234
5678
9876
in extensions_custom.conf
[from-internal-custom]
;exten => 123,1,Answer
;exten => 123,2,Wait(1)
;exten => 123,3,vmauthenticate(${CALLERID(number)})
exten => 123,1,Authenticate(passwords)
exten => 123,2,Goto(reminder,s,1)

She answers but tells me my password is incorrect. I do an amportal restart after every change to extensions_custom.conf

?
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
franklin
Senior Boarder
Posts: 254
graphgraph
User Offline Click here to see the profile of this user
Reply Quote
 
#72870
Re: Re:authenticate external and internal users/reminders 2 Years, 3 Months ago Karma: 117
www.voip-info.org/wiki/view/Asterisk+cmd+Authenticate

i was having a long time ago a bug in asterisk # as send key for this type of apps...1.4.33 i think...and it was repetead in 1.6.2.17 as of today...the solution was to wait after the enter of the password without pressing # and worked...
Enter code here   
Please note: although no board code and smiley buttons are shown, they are still usable.
fmvillares
Asterisk DCAP and Ex-Elastix Partner
Gold Boarder
Posts: 1785
graphgraph
User Offline Click here to see the profile of this user
Gender: Male fernando (dot) villares Intelix Ingeniería fmvillares (at) hotmail.com Location: Rosario Birthday: 07/03
Reply Quote
 
Go to top
Post Reply
Post New Topic
Page: 12345
Moderators: Bob, jgutierrez

elastix

Protected by Spam Fighter