Bukoka Budoka
2005-Jul-20 08:04 UTC
[Asterisk-Users] where i put the astcc config? In the extensions.conf or in the astcc-exten.conf?
Hi, alhtough i googled for details concerning ASTCC i did not found an aswer to the following: Should i put in my extensions.conf the configuration of the astcc? I ask this because as i see it, in the end of the extensions.conf there is an include statement : #include /var/lib/astcc/astcc-exten.conf Should the config been done in the astcc-exten.conf file or the initial extensions.conf file? Thank you, Budoka. _________________________________________________________________ Express yourself instantly with MSN Messenger! Download today it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
Darren Wiebe
2005-Jul-20 20:35 UTC
[Asterisk-Users] where i put the astcc config? In the extensions.conf or in the astcc-exten.conf?
It really does not matter where you have the astcc info. ASTCC expects to be called along the following lines. These are copied out of astcc.agi. ; Card-number and number to dial derived from command-line. ; Call script with the card-number as first arg and the number ; to dial as the second arg. ; exten => _00XXXXXXXXX,1,DeadAGI(astcc.agi,${CALLERIDNUM},${EXTEN}) exten => _00XXXXXXXXX,2,Hangup ; ; Prompt the caller for the card-number and the number to dial. ; exten => 1234,1,Answer exten => 1234,2,DeadAGI(astcc.agi) exten => 1234,3,Hangup ; If you call it with an extension of "BALANCE" and a calleridnumber, ; it will read your balance to you and then exit. exten => _00XXXXXXXXX,1,DeadAGI(astcc.agi,${CALLERIDNUM},BALANCE,1) exten => _00XXXXXXXXX,2,Hangup These lines are about what would probably be in astcc-exten.conf. Darren Wiebe darren@aleph-com.net Bukoka Budoka wrote:> Hi, > > alhtough i googled for details concerning ASTCC i did not found an > aswer to the following: > > Should i put in my extensions.conf the configuration of the astcc? I > ask this because as i see it, in the end of the extensions.conf there > is an include statement : > > #include /var/lib/astcc/astcc-exten.conf > > Should the config been done in the astcc-exten.conf file or the > initial extensions.conf file? > > Thank you, > > Budoka. > > _________________________________________________________________ > Express yourself instantly with MSN Messenger! Download today it's > FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/ > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >