David Ruggles
2008-Mar-24 15:56 UTC
[asterisk-users] Dynamic meetme conference creation with Authenticate (Asterisk 1.4.0)
I'm trying to use the password entered with Authenticate to create dynamic meetme conferences with the following dial plan: exten => _XXXXXXXXXX18467,1,Authenticate(/etc/asterisk/meetme.pw|a) exten => _XXXXXXXXXX18467,n,MeetMe(CDR(accountcode)) ; 281-8467 However CDR(accountcode) is always being set to 1022 no matter what password is used. The passwords are stored in a file so they can easily be changed. Can anyone tell me what I'm doing wrong? Thanks, David Ruggles CCNA MCSE (NT) CNA A+ Network Engineer Safe Data, Inc. (910) 285-7200 david at safedatausa.com
Tilghman Lesher
2008-Mar-24 16:34 UTC
[asterisk-users] Dynamic meetme conference creation with Authenticate (Asterisk 1.4.0)
On Monday 24 March 2008 10:56, David Ruggles wrote:> I'm trying to use the password entered with Authenticate to create dynamic > meetme conferences with the following dial plan: > > exten => _XXXXXXXXXX18467,1,Authenticate(/etc/asterisk/meetme.pw|a) > exten => _XXXXXXXXXX18467,n,MeetMe(CDR(accountcode)) ; 281-8467 > > However CDR(accountcode) is always being set to 1022 no matter what > password is used. The passwords are stored in a file so they can easily be > changed. > > Can anyone tell me what I'm doing wrong?Well, the obvious part is that you're entering a conference NAMED "CDR(accountcode)", not a conference with the value INSIDE CDR(accountcode). Use MeetMe(${CDR(accountcode)}) to get that. -- Tilghman
Richard Lyman
2008-Mar-24 16:55 UTC
[asterisk-users] Dynamic meetme conference creation with Authenticate (Asterisk 1.4.0)
David Ruggles wrote:> I'm trying to use the password entered with Authenticate to create dynamic > meetme conferences with the following dial plan: > > exten => _XXXXXXXXXX18467,1,Authenticate(/etc/asterisk/meetme.pw|a) > exten => _XXXXXXXXXX18467,n,MeetMe(CDR(accountcode)) ; 281-8467 > > However CDR(accountcode) is always being set to 1022 no matter what password > is used. The passwords are stored in a file so they can easily be changed. > > Can anyone tell me what I'm doing wrong? >you need to put {} around the CDR(accountcode) like so, and add options to the meetme to make dynamic. exten => _XXXXXXXXXX18467,n,MeetMe.${CDR(accountcode)}|dq
Richard Lyman
2008-Mar-24 16:57 UTC
[asterisk-users] Dynamic meetme conference creation with Authenticate (Asterisk 1.4.0)
David Ruggles wrote:> I'm trying to use the password entered with Authenticate to create dynamic > meetme conferences with the following dial plan: > > exten => _XXXXXXXXXX18467,1,Authenticate(/etc/asterisk/meetme.pw|a) > exten => _XXXXXXXXXX18467,n,MeetMe(CDR(accountcode)) ; 281-8467 > > However CDR(accountcode) is always being set to 1022 no matter what password > is used. The passwords are stored in a file so they can easily be changed. > > Can anyone tell me what I'm doing wrong? >doesn't help when i typo the , exten => _XXXXXXXXXX18467,n,MeetMe,${CDR(accountcode)}|dq