Hi list , I have a question with account codes, all my outgoing calls
are authenticated, but now the boss wants to monitor these calls with
the codes.
example: maria has an extension "110", but peter was in place and use
the phone maria , maria then says that she did not make that call to
that number of cell.
like to know who made it?, I think the pin code is my friendo , my
users have a four-digit pin to authenticate, I'm thinking of using the
cdr field userfield
as I can do to read the pin code and write it there?
[call-out-analog]
exten => _9.,1,Authenticate(/var/lib/asterisk/key.txt,am,4)
exten => 9.,n,Set(CDR(userfield)=pin-users)})
exten => _9.,n,Set(__SIP_CODEC=alaw)
exten => _92XXXXXXX,n,Dial(SIP/${EXTEN:1}@gw,40,rRT)
same => n,Busy(3)
same => n,Hangup
any idea?
regardss
--
rickygm
http://gnuforever.homelinux.com
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
http://www.asterisk.org/hello
asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users