[Asterisk-Users] ASTCC with password
Nahuel Alejandro Ramos
nahuelon at gmail.com
Tue Oct 26 13:17:08 MST 2004
Thanks Steve, it works. Could you tell me If you know how to ask for a
password stored on my account info or my card info?
Thank you very much again...
Nahuel Ramos.
On Tue, 26 Oct 2004 14:48:53 -0400, Kanuri, Seshu (Company IT)
<seshu.kanuri at morganstanley.com> wrote:
> Thanks Nahuel. I will try this tonight.
>
> Seshu
>
>
>
> -----Original Message-----
> From: Nahuel Alejandro Ramos [mailto:nahuelon at gmail.com]
> Sent: Tuesday, October 26, 2004 2:45 PM
> To: Kanuri, Seshu (Company IT)
> Subject: Re: [Asterisk-Users] ASTCC with password
>
> As I can see, you have to put under the [defualt] contexto the last line
> of your ext2.conf file and uncomment it.
>
> [default]
> include => destinations
> include => user_services
> ;exten => 3212815929,1,Dial(SIP/80001,32) ;exten =>
> 0282315732,1,Dial(SIP/80059,32) ; ; Include entries for Asterisk Calling
> Card ; include /var/lib/astcc/astcc-exten.conf
>
> Then you will be able to dial 77 to enter you the Calling Card System.
> Try it and let me know what happend.
>
> Nahuel Ramos.
>
> On Tue, 26 Oct 2004 14:31:16 -0400, Kanuri, Seshu (Company IT)
> <seshu.kanuri at morganstanley.com> wrote:
> >
> > > A question: could you add exten => ...... to your ext2.conf?
> >
> > Yes. Here is my Ext2.conf that Bicom uses. Look at the last line in
> > this file.
> >
> > [general]
> > static=yes
> > writeprotect=yes
> >
> > ;[globals]
> > ;#include "globals.conf"
> >
> > [macro-check-extstatus]
> > exten => s,1,DBget(EXTSTATUS=EXTSTATUS/${CALLEDEXT})
> > exten => s,2,Macro(check-cfu)
> > exten => s,102,GotoIf($[${CALLERIDNUM} > 999]?104:103) exten =>
> > s,103,Macro(invalid-no) exten => s,104,Congestion
> >
> > [macro-check-cfu]
> > exten => s,1,DBget(CFU=CFU/${CALLEDEXT}) exten =>
> > s,2,Goto(default,${CFU},1) exten => s,102,Macro(check-dnd)
> >
> > [macro-check-dnd]
> > exten => s,1,DBget(DND=DND/${CALLEDEXT}) exten => s,2,Macro(voicemail)
>
> > exten => s,102,Macro(check-channel)
> >
> > [macro-check-channel]
> > exten => s,1,ChanIsAvail(${TC})
> > exten => s,2,GoTo(dial-local,${CALLEDEXT},1)
> > exten => s,102,Macro(voicemail)
> >
> > [macro-check-vmstatus]
> > exten => s,1,DBget(VMSTATUS=VMSTATUS/${CALLEDEXT})
> > exten => s,2,Goto(voicemail,${CALLEDEXT},1)
> > exten => s,102,Macro(unavailable)
> >
> > [macro-invalid-no]
> > exten => s,1,AbsoluteTimeout(16)
> > exten => s,2,Answer
> > exten => s,3,Wait(1)
> > exten => s,4,Playback(that-is-not-rec-phn-num)
> > exten => s,5,Goto(s,3)
> >
> > [macro-invalid-ext]
> > exten => s,1,AbsoluteTimeout(16)
> > exten => s,2,Answer
> > exten => s,3,Wait(1)
> > exten => s,4,Playback(pbx-invalid)
> > exten => s,5,Goto(s,3)
> >
> > [macro-unavailable]
> > exten => s,1,AbsoluteTimeout(19)
> > exten => s,2,Answer
> > exten => s,3,Wait(1)
> > exten => s,4,Playback(the-party-you-are-calling)
> > exten => s,5,Playback(is-curntly-unavail) exten =>
> > s,6,Playback(please-try-again) exten => s,7,Playback(later) exten =>
> > s,8,Goto(s,3) exten => s,9,Hangup
> >
> > [macro-check-cfstatus]
> > exten => s,1,DBget(cfu=CFU/${ARG1})
> > exten => s,2,Answer
> > exten => s,3,Wait(1)
> > exten => s,4,Playback(call-fwd-unconditional)
> > exten => s,5,Playback(for)
> > exten => s,6,Playback(extension)
> > exten => s,7,SayDigits(${ARG1})
> > exten => s,8,Playback(is-set-to)
> > exten => s,9,SayDigits(${cf})
> > exten => s,10,Hangup
> > exten => s,102,NoOp
> >
> > [macro-voicemail]
> > exten => s,1,Answer
> > exten => s,2,Wait(1)
> > exten => s,3,VoiceMail(u${CALLEDEXT})
> > exten => s,4,Hangup
> >
> > [voicemail]
> > exten => _X.,1,Answer
> > exten => _X.,2,Wait(1)
> > exten => _X.,3,VoiceMail(u${EXTEN})
> > exten => _X.,4,Hangup
> >
> > [macro-not-authorised]
> > exten => s,1,AbsoluteTimeout(19)
> > exten => s,2,Answer
> > exten => s,3,Wait(1)
> > exten => s,4,Playback(not-auth-pstn)
> > exten => s,5,Goto(s,3)
> > exten => s,6,Hangup
> >
> > [macro-terribly-wrong]
> > exten => s,1,AbsoluteTimeout(19)
> > exten => s,2,Answer
> > exten => s,3,Wait(1)
> > exten => s,4,Playback(tt-somethingwrong) exten => s,5,Goto(s,3) exten
> > => s,6,Hangup
> >
> > [check-time]
> > exten => s,1,GotoIf($[${TBD} = no]?10:2) exten =>
> > s,2,SetVar(TIME=PEAK) exten =>
> > s,3,GotoIfTime(08:00-18:00|mon-fri|*|*?dial-trunks,s,1)
> > exten => s,4,SetVar(TIME=OFF_PEAK)
> > exten => s,5,GotoIfTime(18:00-08:00|mon-fri|*|*?dial-trunks,s,1)
> > exten => s,6,GotoIfTime(00:00-08:00|mon|*|*?dial-trunks,s,1)
> > exten => s,7,GotoIfTime(18:00-00:00|fri|*|*?dial-trunks,s,1)
> > exten => s,8,SetVar(TIME=WEEKEND)
> > exten => s,9,GotoIfTime(00:00-23:59|sat-sun|*|*?dial-trunks,s,1)
> > exten => s,10,Goto(dial-trunks,s,1)
> > exten => s,11,Macro(fatalerror)
> >
> > ;#####################################################################
> > ##
> > ##
> > ; DIALING CONTEXTS
> > ;#####################################################################
> > ##
> > ##
> >
> > [dial-local]
> > exten => _X.,1,SetGroup(local)
> > exten => _X.,2,CheckGroup(${LCH})
> > exten => _X.,3,DBget(RINGTIME=ringtime/${CALLEDEXT})
> > exten => _X.,4,DBGet(DIALOPTIONS=dialoptions/${CALLEDEXT})
> > exten => _X.,5,Dial(${TC},${RINGTIME},${DIALOPTIONS})
> > exten => _X.,9,Goto(voicemail,${EXTEN},1) ;exten =>
> > _X.,20,SetMusicOnHold(hindi) exten => _X.,103,Congestion exten =>
> > t,1,Hangup
> >
> > ;#####################################################################
> > ##
> > #####
> > ; LOCAL
> > ;#####################################################################
> > ##
> > #####
> >
> > [default]
> > include => destinations
> > include => user_services
> > ;exten => 3212815929,1,Dial(SIP/80001,32) ;exten =>
> > 0282315732,1,Dial(SIP/80059,32)
> >
> > [user_services]
> > #include user_services.conf
> >
> > [localextensions]
> > exten => _X.,1,SetVar(TC=SIP/${EXTEN}) exten =>
> > _X.,2,SetVar(CALLEDEXT=${EXTEN}) exten => _X.,3,SetGroup(local) exten
> > => _X.,4,DBput(LASTCALLER/${CALLEDEXT}=${CALLERIDNUM})
> > exten => _X.,5,Macro(check-extstatus)
> >
> > ;#####################################################################
> > ##
> > #####
> > ; TRUNKS
> > ;#####################################################################
> > ##
> > #####
> >
> > #include trunks-in.conf
> >
> > [destinations]
> > exten => _X.,1,DeadAgi,init.sh|destinations
> >
> > [conferences]
> > exten => _X.,1,SetGroup(CONFNO${EXTEN}) exten =>
> > _X.,2,DBget(MAXUSERS=MAXCONFUSERS/${EXTEN})
> > exten => _X.,3,CheckGroup(${MAXUSERS}) exten =>
> > _X.,4,AbsoluteTimeout(${ABSOLUTETIMEOUT})
> > exten => _X.,5,MeetMe(${EXTEN},sa)
> > exten => _X.,6,Hangup
> > exten => _X.,104,Congestion
> > ;
> > ; Include entries for Asterisk Calling Card ; #include
> > /var/lib/astcc/astcc-exten.conf
> > --------------------------------------------------------
> >
> >
> >
> > NOTICE: If received in error, please destroy and notify sender.
> Sender does not waive confidentiality or privilege, and use is
> prohibited.
> >
> >
> --------------------------------------------------------
>
>
>
> NOTICE: If received in error, please destroy and notify sender. Sender does not waive confidentiality or privilege, and use is prohibited.
>
>
More information about the asterisk-users
mailing list