[solved] user and admin PIN for conferences are not working

Hi,

my conferences without user and/or admin pin are working correctly. But if I set a user and/or admin pin, I can not use confereces. CLI shows this:

    -- Executing [[email protected]:1] Set("SIP/101-084dcd08", "MEETME_ROOMNUM=200") in new stack
    -- Executing [[email protected]:2] GotoIf("SIP/101-084dcd08", "0?READPIN") in new stack
    -- Executing [[email protected]:3] Answer("SIP/101-084dcd08", "") in new stack
    -- Executing [[email protected]:4] Wait("SIP/101-084dcd08", "1") in new stack
  == Parsing '/etc/asterisk/manager.conf': Found
    -- Executing [[email protected]:5] Set("SIP/101-084dcd08", "PINCOUNT=0") in new stack
    -- Executing [[email protected]:6] Read("SIP/101-084dcd08", "PIN|enter-conf-pin-number||||") in new stack
    -- User disconnected
  == Spawn extension (from-internal, 200, 6) exited non-zero on 'SIP/101-084dcd08'
    -- Executing [[email protected]:1] Macro("SIP/101-084dcd08", "hangupcall") in new stack
    -- Executing [[email protected]:1] ResetCDR("SIP/101-084dcd08", "w") in new stack
  == Manager 'admin' logged on from 127.0.0.1
    -- Executing [[email protected]:2] NoCDR("SIP/101-084dcd08", "") in new stack
    -- Executing [[email protected]:3] GotoIf("SIP/101-084dcd08", "1?skiprg") in new stack
    -- Goto (macro-hangupcall,s,6)
    -- Executing [[email protected]:6] GotoIf("SIP/101-084dcd08", "1?skipblkvm") in new stack
    -- Goto (macro-hangupcall,s,9)
    -- Executing [[email protected]:9] GotoIf("SIP/101-084dcd08", "1?theend") in new stack
    -- Goto (macro-hangupcall,s,11)
    -- Executing [[email protected]:11] Hangup("SIP/101-084dcd08", "") in new stack
  == Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'SIP/101-084dcd08' in macro 'hangupcall'
  == Spawn extension (macro-hangupcall, s, 11) exited non-zero on 'SIP/101-084dcd08'
  == Manager 'admin' logged off from 127.0.0.1

In extensions_additional.conf I found this:

[ext-meetme]
include => ext-meetme-custom
exten => STARTMEETME,1,MeetMe(${MEETME_ROOMNUM},${MEETME_OPTS},${PIN})
exten => STARTMEETME,n,Hangup
exten => h,1,Hangup
exten => 200,1,Set(MEETME_ROOMNUM=200)
exten => 200,n,GotoIf($["${DIALSTATUS}" = "ANSWER"]?READPIN)
exten => 200,n,Answer
exten => 200,n,Wait(1)
exten => 200,n,Set(PINCOUNT=0)
exten => 200,n(READPIN),Read(PIN,enter-conf-pin-number,,,,)
exten => 200,n,GotoIf($[x${PIN} = x123]?USER)
exten => 200,n,GotoIf($[x${PIN} = x456]?ADMIN)
exten => 200,n,Set(PINCOUNT=$[${PINCOUNT}+1]) 
exten => 200,n,GotoIf($[${PINCOUNT}>3]?h)
exten => 200,n,Playback(conf-invalidpin) 
exten => 200,n,Goto(READPIN)
exten => 200,n(ADMIN),Set(MEETME_OPTS=aA)
exten => 200,n,Goto(STARTMEETME,1)
exten => 200,n(USER),Set(MEETME_OPTS=)
exten => 200,n,Goto(STARTMEETME,1)

As I understand, there is nothing that asks for a PIN.

Any suggestions?

Thanks,
schogge

freePBX 2.3.0
Asterisk 1.4.11

The following line asks fro a PIN:

exten => 200,n(READPIN),Read(PIN,enter-conf-pin-number,,,,)

so unless something changed this in 1.4 and no one has reported the issue during the beta testing, this should work.

The Call Forward Feature codes all user Read(), as does VmX Locater, Add/Remove dynamic agents, and a handful of other places. So you may want to try some of those to determine if it is something related with the Read() command not working for you.

Philippe Lindheimer - FreePBX Project Lead
http//freepbx.org - IRC #freepbx

Ahhh, you are right! I forgot to install asterisk-sounds. Now it’s working.

Thanks!