Extensions for Hotel I know it’s a topic already covered but …
I wish that the extensions could not call the other extensions apart from the reception and everything is ok but I would like that if they dial a longer number of the extensions for example over 5 digits they can still make calls
for this purpose I created a context like this that allows you to call only one extension:
[from-room-phone]
exten => 16,1,Goto(from-internal,${EXTEN},1) ; assuming they press 0 for the front desk
exten => _[*0-9]!,1,Playback(ss-noservice) ; block everything
exten => h,1,Hangup()
But how can I tell him now that if the number dialed is over 5 digits he can call …?