Ticket #1029 (closed Feature Requests: duplicate)

Opened 7 years ago

Last modified 5 years ago

Add a pinless option to extensions

Reported by: jsollano Assigned to:
Priority: minor Milestone:
Component: Pin Sets Module Version:
Keywords: pinless dialing Cc:
Confirmation: Confirmed Distro:
Backend Engine: All Distro Ver:
Backend Ver: SVN Revision (if applicable):

Description

Add a "pinless dialing" toggle to extensions, so that pinset protected routes may be dialed directly. This can be used for vips or operators who shouldn't need to use pins

The macro pinsets can be changed this way:

[macro-pinsets]
exten => s,1,AGI(pinless.agi)
exten => s,n,GotoIf(${PINLESS} = 1?100) ; Should change this with a better way out of the macro
exten => s,n,GotoIf(${ARG2} = 1?cdr,1)
exten => s,n,Authenticate(/etc/asterisk/pinset_${ARG1},)

exten => cdr,1,Authenticate(/etc/asterisk/pinset_${ARG1},a)

The only purpose of pinless.agi is to set variable PINLESS to 1 if there's a database family DEVICE and key ${CIDNUM}/pinless with value 1. Otherwise, it sets variable PINLESS to 0

I have pinless.agi already. It is very simple, and perhaps everything can be done with the dial plan only. I haven't tackled the freepbx side. Should be easy to do, I think

Attachments

pinless.agi (4.0 kB) - added by jsollano on 07/16/06 06:51:45.

Change History

07/16/06 06:51:45 changed by jsollano

  • attachment pinless.agi added.

07/17/06 10:37:30 changed by jsollano

I hadn't realized ticket #772 was related to this. Perhaps both should be merged, since I've included some (probably) useful info here

11/27/07 12:02:08 changed by p_lindheimer

  • status changed from new to closed.
  • confirmation set to Confirmed.
  • engine_version changed.
  • svn_rev changed.
  • version deleted.
  • resolution set to duplicate.

merging this into #2393 which has some additional information.