Meetme does not work with PINs

Hi all

Here is my issue

I have a meetme of 7300 I can call into it without an issue when no Pins are set, however, as soon as I set a pin, I just hear, the pin you entered in invalid for this conference 3 times and it hangs up.

Here is the CLI output

– Executing [7300@from-internal:1] Macro(“SIP/7055-000000ac”, “user-callerid,”) in new stack
– Executing [s@macro-user-callerid:1] Set(“SIP/7055-000000ac”, “AMPUSER=7055”) in new stack
– Executing [s@macro-user-callerid:2] GotoIf(“SIP/7055-000000ac”, “0?report”) in new stack
– Executing [s@macro-user-callerid:3] ExecIf(“SIP/7055-000000ac”, “1?Set(REALCALLERIDNUM=7055)”) in new stack
– Executing [s@macro-user-callerid:4] Set(“SIP/7055-000000ac”, “AMPUSER=7055”) in new stack
– Executing [s@macro-user-callerid:5] Set(“SIP/7055-000000ac”, “AMPUSERCIDNAME=Me”) in new stack
– Executing [s@macro-user-callerid:6] GotoIf(“SIP/7055-000000ac”, “0?report”) in new stack
– Executing [s@macro-user-callerid:7] Set(“SIP/7055-000000ac”, “AMPUSERCID=7055”) in new stack
– Executing [s@macro-user-callerid:8] Set(“SIP/7055-000000ac”, “CALLERID(all)=“Me” <7055>”) in new stack
– Executing [s@macro-user-callerid:9] ExecIf(“SIP/7055-000000ac”, “0?Set(CHANNEL(language)=)”) in new stack
– Executing [s@macro-user-callerid:10] GotoIf(“SIP/7055-000000ac”, “0?continue”) in new stack
– Executing [s@macro-user-callerid:11] Set(“SIP/7055-000000ac”, “__TTL=64”) in new stack
– Executing [s@macro-user-callerid:12] GotoIf(“SIP/7055-000000ac”, “1?continue”) in new stack
– Goto (macro-user-callerid,s,19)
– Executing [s@macro-user-callerid:19] NoOp(“SIP/7055-000000ac”, “Using CallerID “Me” <7055>”) in new stack
– Executing [7300@from-internal:2] Set(“SIP/7055-000000ac”, “MEETME_ROOMNUM=7300”) in new stack
– Executing [7300@from-internal:3] Set(“SIP/7055-000000ac”, “MEETME_MUSIC=”) in new stack
– Executing [7300@from-internal:4] GotoIf(“SIP/7055-000000ac”, “0?READPIN”) in new stack
– Executing [7300@from-internal:5] Answer(“SIP/7055-000000ac”, “”) in new stack
– Executing [7300@from-internal:6] Wait(“SIP/7055-000000ac”, “1”) in new stack
– Executing [7300@from-internal:7] Set(“SIP/7055-000000ac”, “PINCOUNT=0”) in new stack
– Executing [7300@from-internal:8] Read(“SIP/7055-000000ac”, “PIN,enter-conf-pin-number,”) in new stack
– User disconnected
– Executing [7300@from-internal:9] GotoIf(“SIP/7055-000000ac”, “0?USER”) in new stack
– Executing [7300@from-internal:10] Set(“SIP/7055-000000ac”, “PINCOUNT=1”) in new stack
– Executing [7300@from-internal:11] GotoIf(“SIP/7055-000000ac”, “0?h”) in new stack
– Executing [7300@from-internal:12] Playback(“SIP/7055-000000ac”, “conf-invalidpin”) in new stack
– <SIP/7055-000000ac> Playing ‘conf-invalidpin.gsm’ (language ‘en’)
– Executing [7300@from-internal:13] Goto(“SIP/7055-000000ac”, “READPIN”) in new stack
– Goto (from-internal,7300,8)
– Executing [7300@from-internal:8] Read(“SIP/7055-000000ac”, “PIN,enter-conf-pin-number,”) in new stack
– User disconnected
– Executing [7300@from-internal:9] GotoIf(“SIP/7055-000000ac”, “0?USER”) in new stack
– Executing [7300@from-internal:10] Set(“SIP/7055-000000ac”, “PINCOUNT=2”) in new stack
– Executing [7300@from-internal:11] GotoIf(“SIP/7055-000000ac”, “0?h”) in new stack
– Executing [7300@from-internal:12] Playback(“SIP/7055-000000ac”, “conf-invalidpin”) in new stack
– <SIP/7055-000000ac> Playing ‘conf-invalidpin.gsm’ (language ‘en’)
– Executing [7300@from-internal:13] Goto(“SIP/7055-000000ac”, “READPIN”) in new stack
– Goto (from-internal,7300,8)
– Executing [7300@from-internal:8] Read(“SIP/7055-000000ac”, “PIN,enter-conf-pin-number,”) in new stack
– User disconnected
– Executing [7300@from-internal:9] GotoIf(“SIP/7055-000000ac”, “0?USER”) in new stack
– Executing [7300@from-internal:10] Set(“SIP/7055-000000ac”, “PINCOUNT=3”) in new stack
– Executing [7300@from-internal:11] GotoIf(“SIP/7055-000000ac”, “0?h”) in new stack
– Executing [7300@from-internal:12] Playback(“SIP/7055-000000ac”, “conf-invalidpin”) in new stack
– <SIP/7055-000000ac> Playing ‘conf-invalidpin.gsm’ (language ‘en’)
– Executing [7300@from-internal:13] Goto(“SIP/7055-000000ac”, “READPIN”) in new stack
– Goto (from-internal,7300,8)
– Executing [7300@from-internal:8] Read(“SIP/7055-000000ac”, “PIN,enter-conf-pin-number,”) in new stack
– User disconnected
– Executing [7300@from-internal:9] GotoIf(“SIP/7055-000000ac”, “0?USER”) in new stack
– Executing [7300@from-internal:10] Set(“SIP/7055-000000ac”, “PINCOUNT=4”) in new stack
– Executing [7300@from-internal:11] GotoIf(“SIP/7055-000000ac”, “1?h”) in new stack
== Spawn extension (from-internal, 7300, 11) exited non-zero on ‘SIP/7055-000000ac’
– Executing [h@from-internal:1] Macro(“SIP/7055-000000ac”, “hangupcall”) in new stack
– Executing [s@macro-hangupcall:1] GotoIf(“SIP/7055-000000ac”, “1?skiprg”) in new stack
– Goto (macro-hangupcall,s,4)
– Executing [s@macro-hangupcall:4] GotoIf(“SIP/7055-000000ac”, “1?skipblkvm”) in new stack
– Goto (macro-hangupcall,s,7)
– Executing [s@macro-hangupcall:7] GotoIf(“SIP/7055-000000ac”, “1?theend”) in new stack
– Goto (macro-hangupcall,s,9)
– Executing [s@macro-hangupcall:9] Hangup(“SIP/7055-000000ac”, “”) in new stack
== Spawn extension (macro-hangupcall, s, 9) exited non-zero on ‘SIP/7055-000000ac’ in macro ‘hangupcall’
== Spawn extension (from-internal, h, 1) exited non-zero on ‘SIP/7055-000000ac’

Here is the conference setup in extensions_additional.conf

[ext-meetme]
include => ext-meetme-custom
exten => STARTMEETME,1,ExecIf($["${MEETME_MUSIC}" != “”]?SetMusicOnHold(${MEETME_MUSIC}))
exten => STARTMEETME,n,MeetMe(${MEETME_ROOMNUM},${MEETME_OPTS},${PIN})
exten => STARTMEETME,n,Hangup
exten => h,1,Hangup
exten => 7300,1,Macro(user-callerid,)
exten => 7300,n,Set(MEETME_ROOMNUM=7300)
exten => 7300,n,Set(MEETME_MUSIC=${MOHCLASS})
exten => 7300,n,GotoIf($["${DIALSTATUS}" = “ANSWER”]?READPIN)
exten => 7300,n,Answer
exten => 7300,n,Wait(1)
exten => 7300,n,Set(PINCOUNT=0)
exten => 7300,n(READPIN),Read(PIN,enter-conf-pin-number,)
exten => 7300,n,GotoIf($[x${PIN} = x7300]?USER)
exten => 7300,n,Set(PINCOUNT=$[${PINCOUNT}+1])
exten => 7300,n,GotoIf($[${PINCOUNT}>3]?h)
exten => 7300,n,Playback(conf-invalidpin)
exten => 7300,n,Goto(READPIN)
exten => 7300,n(USER),Set(MEETME_OPTS=cM)
exten => 7300,n,Goto(STARTMEETME,1)
exten => 7300,hint,MeetMe:7300
exten => 7301,1,Macro(user-callerid,)
exten => 7301,n,Set(MEETME_ROOMNUM=7301)
exten => 7301,n,Set(MEETME_MUSIC=${MOHCLASS})
exten => 7301,n,GotoIf($["${DIALSTATUS}" = “ANSWER”]?USER)
exten => 7301,n,Answer
exten => 7301,n,Wait(1)
exten => 7301,n(USER),Set(MEETME_OPTS=cM)
exten => 7301,n,Goto(STARTMEETME,1)
exten => 7301,hint,MeetMe:7301
exten => 7302,1,Macro(user-callerid,)
exten => 7302,n,Set(MEETME_ROOMNUM=7302)
exten => 7302,n,Set(MEETME_MUSIC=${MOHCLASS})
exten => 7302,n,GotoIf($["${DIALSTATUS}" = “ANSWER”]?USER)
exten => 7302,n,Answer
exten => 7302,n,Wait(1)
exten => 7302,n(USER),Set(MEETME_OPTS=cM)
exten => 7302,n,Goto(STARTMEETME,1)
exten => 7302,hint,MeetMe:7302

; end of [ext-meetme]

Please offer some suggestions on what might be the cause for this problem…

Hi All

I tested on a second system

I get “That pin is invalid for this conference” 3 times when I call into a conference channel. It then hangs up… it does not prompt at all for me to enter the conference number

I’m using freepbx 2.6.0.1 to setup my conference on asterisk 1.6.2.5

I am sure, others that use conferences must be experiencing the same issue as this is a base install, compiled from source for asterisk and freepbx.

Is there any known solution for this yet?

James

I have located the issue

Looking in /var/log/asterisk/full

file.c: File enter-conf-pin-number does not exist in any format

The problem is when I installed the sounds, the enter-conf-pin-number.gsm file does not exist.

I copied over from an older version and it corrected my issue…

Note for anyone that is having this issue, this is the fix.

James