[Asterisk-Users] ASTCC single stage + no access number + auth usingsip username and password

Nabeel Jafferali nabeel at jafferali.net
Mon Jan 17 07:52:30 MST 2005


> I would like to have all SIP phones to work on prepaid basis
> and without need to dial any access number, instead I would
> like to use the phone as normal dialing only the destination
> number, for example 00464090510.

I use the AccountCode for authentication. This is how, for example:

exten => _00XX.,1,DeadAGI(astcc.agi,${ACCOUNTCODE},011${EXTEN:2})

> Once the call is finished I would like to have the balance
> shown in the display by sending a sip message to the phone(if
> possible otherwise not important).

This would require adding code to the AGI, if it's even possible.

-- 
Nabeel Jafferali
Tel: +1 (416) 628-9342  Toronto
     +1 (646) 225-7426  New York
FWD: 46990
Email/MSN: nabeel<at>jafferali.net



More information about the asterisk-users mailing list