!
"
# "
) & *... 3
+ *... 4
Astbill Features:... 5
, - *... 7
Hardware: ... 7
Software:... 7
LiveCD: ... 7
Installation Instructions:... 8
. / ! ' *... 9
!! ... 10
'& *... 11
System Setup: ... 11
System Defaults: ... 11
$ *... 12
*... 12
Astcurrency:... 14
*... 15
! *... 16
! *... 17
"*... 18
*... 19
! *... 20
0 *... 21
*... 22
*... 23
*... 24
*... 25
! *... 27
/ *... 28
- % *... 29
1*... 30
. ' 2... 30
3 / 2... 30
+ / ! 2... 30
+ / 2... 30
/ ! ! ' 2... 30
/ ... 31
$ ! 4 ... 31
. '' / ! 2... 32
& & ' 5 ... 32
$ *... 34 More Topics to be added here:
$ % & ' (
Tip or Idea
Information
Caution: be careful of what your are doing
Work in progress or under construction
STOP: Don’t do it
5 / 6 7 ' & ' ' " 8+% +
" '& 94+ & :
! ' " &,; )<+ ; '& !
5 ! '/ 9%)7 !
' ! 5 ' / +' "
/ 5 ' 7! / "/ 0! ' 5
$ % & = ' (
Astbill Features:
3 ' ' ' *
• % $ / &
• / +%7+ >
• ? ' / 0 /
• < ' / & 5 &' " 8+%
• & &
• / 5 7;0! 7% '
• / & ' / /
• / @ $ $
• / @ $ @ ' $
• $ + , < A; / !
&5 B
• , < '
• $ , & ' &
• $ , '
• / A$ ! ' ! & & B
• / " &' 94+ !
• % " & ! " & !
• / ' '
• ; !
• "5 & &
• ; ! & !
• < 5 $ & & ? ' /
• ; ' +%7+ >
• ; % ! "
• ! ' / & / '
• < ! +%7+ >
• & + &% @ &< ' / &
• / 5 7;0! 7% '
• $ , &
• 5 & / 5
• 5 ' 7 5 & + 7 "6 !
&
• 0 $ + , < ' ; 5
• A$ ! ' ! & & B
• / % ) ' A +% + > B
"
• < / +%7% 4 & '
• & + &% @ &< ' / &
• & < " ? C %7+ > +% "
• < 5 < "$ & ; " / !
• < ! "
• < " ' / ' $ &
• $ ' 0 & & "
• +' / " ' A B / 0
"
• $ ' & & " "
• ' & & ' "' ''
• & & ! !
• $ ' ! ' 5
• 5 &, & & '/ ' " 8+%
• & ! &
• + & ;6 / ! 9%)
• $ ' ' 8+% /
• 3 / + '
/
• / !
• "5 & &
• & % % % % 4
• / ! & ' / '
• $ ' 0
5 ' 6 6 :
A 5B + '' ! ' ' 8+%! 5
! ' ' !*DD /
; ! "
$ % & E ' (
Hardware:
< - * % % ! / '%++ :! &
! / / F 5, 6(953 7 !! G $,8
< ! ' * % % ! / %( :H7 95
, 9 H 3$$7 !! G $,8
Software:
) 08D 7I !! 07$ 7$ 7
%3%6 < ! ! = (
"6 0A ' 5 / " & " 0
' / ,; )<+ ; ' B
1)6 = = & / % 7/ =
!B
! 6 =( A+ ' / ! 0 J
0B
$ ! 6 ( A$ ! 9%) '/ /
' ! 7 & & : & ' / B
LiveCD:
The LiveCD is a self contained fully installed and configured installation of astbill + php + apache + mysql. All you need to do is boot the server from the Cdrom and you have a working server.
The minimum ram required for the astbill cd is 256 mb ram.
Use it mainly for demo purposes as you will not be able to save any of your changes to the system.
You can also install this livecd onto your hard drive and then work of the hard drive. It will install all programs and dependencies for you. Any changes that you do then are permanent and are saved onto your hard drive.
For more details on the operating system setup and its instructions, please refer to www.damnsmalllinux.org or the knoppix website.
Installation Instructions:
% ' !6 6 0 ' ' / !
' 7 " - ! ! ! +' &
! ! " "
$ % & ' (
!"
/ / " / / ! & '
? " ) 0
! 0 ++ = 3&
%3%= (
- = F
$ !
8 / '> !! ' /// ! ' & > !!
! 7! !7 - G! ! & !
/ ! 0 ' ' / / 8 / " &
/ & ! < - & !!
- '
< & ! ! ' ! & ! '0
K! 0LM
! ""
$ J ' & ' '/ ! N & J
! J +' ! '
' ' !*DD D' D
% ! & ' / "/ 7 ! ' / '/ J
&N " ! " ' O & '/ 7 & ! '
! !
< / & !! & ' < / '
-
!*DD D' D
"" &6 P9 . 2Q
6 P9 . 2Q
6 P9 . 2Q
$ % & ' (
#
System Setup:
5 ' & 7 ' : 5 '
4I ' < & ' !7
' / &*
? ' " / ' '
8 0 & !! < ! !
!
? ! ! ! & *
< ' ' / *
B ; ' '
B ; ' & / &
B ; D
(B ; D ! ! '
=B ; & ;0* G
'
B " A " B
EB ; D ' "
, / ' + > 7
& +% ' ! &
'
System Defaults:
$ !
' G / < / ! '0! 0L
& ! !!
< / <00000 / / 0000
< 7/ / / '
ARB ARB ARB ARB / ARB
$; E
< ' & '
;
$; & = < & '
;
$; ' E +' ' E &
< / ' ;
$; < !4!4,) D ! !D < 4,) ! ! 5 8+% '/ ;
$; )89 & < ' '
" & ) & ;
$; $ !$ /
+' . / $ ! $ / 0 /
%
+' 0 0/
;
$; 9 $ % '0
+ 9 $ % '0
< /
/ ! '0
@
$; 0
< 0 '
+' & / ;
$; 5 6$564! 6 6
(
< ' $ !
!! $
$; 5 6 5 6
(
< 8'' ' 5
+ $
$; 5 694+6
4!
=6 6 F F* *((
< . 94+
! $
$; ) &6% D D
D & D
< % &' &6
! ;
$; '6 6! 6
& ( < %+@D% / ) &
/ & / ;
$; '6! / 6
&
< % / ) & / &
/ ;
* < ' ! ' +, <$+9+< ' < !
)8 )@ 5 $ ' KEM ? & & +'
$ % & ' (
& & 7 & ' K! M
' "
& * < ' =7/ /
' ' & 5 & & & 7 ! '
K! M ' "
* < ' ' <
' / " +' 0 & &
& 7 / /
< !4!4 * < ! ' 4,)@ / < !4!S
) & & * 4 ' / ' '
" & &' '
% '0* ' < $ '
/ / & /
$ !$ / * < & / ' !
+' 7 / ! / ' '
+' 7 / / 0 0 '
, 7 /
9 $ % '0* + 9 $ % '0 < /
/ ! '0 ' 7
! '0 / ! '0
0 * < 0 / ' +' &
/ < ' <
& &
$ S & ! & <
/ " ! '
&
Astcurrency:
ARB ARB ARB ARB ARB
95% 4I% T T !
4 $ 4 U U
@8I @8I @8I @8I
;I ;I ;I ;I
;4, ; V V
4$ 4$ U U
$ ' < / 5
* +!
* < '
* <
* /
* ' <
, * < '
$ % & = ' (
< '
! '0 ! 0L< ! '0 ' ! 0L< ' / & ! '
< '
@
< !! 4
< ' ;0* ! '0 ' <
$ ' !
ARB ARB & & ARB ! ARB ARB " ! &
95% =
3! 95% =
' 95%
< '!
< ! /
& &
!
" !
+ A B
& +
W 7 W
? ! < ' ! : '
0 ! ' ! 0!
' ' & " !
, " ! ' ! 0! <
! ! 7- G !
$ % & E ' (
? ' ! ? ! '
' 7 -
<
! < ! &
$ / &
& & ' '
) &
! < !
! < !
< ! / ! &
0
, * % ! &
$ ' " 7/ / ,
< " 7 &
@ ' "7 -
< & ' " ) 7C !7+0
! 8 ' / " ' 7 ! ' '
K#M & & ' " '&
,W
' W ' 7 W@8 '
@ 4
"
+' / < ! ' / < ' /
" < < ' ' & < "
' *
+' J/ < / '
! 4! < < & '
*
& < ' ! / 7 & )
0 & ; 0 ' " $ '
" < ' " " < / "
'
< / " & 7 "
Username
4 $
< 7 '
! '0 < ! '0 / ! ! -
! '0
< ! '0 ' 7 ' '
! 0! ! ! ; ( ' ! '' ! '0
" G
& & < & & & / !
! '0
$ % & ' (
- &
! < ! / '
! < & ' ! 8 ' ' '0 & ;0*
/
!
& < &
< &
5 &
<
< ' "
" < "
! =D D =
<
<
Remember: Astroute are your cost prices that are charged to you by your provider.
E 7 8''
?
?
/ ?
?
' ?
?
?
=
$ % & ' (
0 ARB 0 ARB ! !! ARB !! ARB
0 L=E(===>>>> .
0 L=E(===>>>> @
0 F === % " ! 06
= F F $ +%D ((7
E F #
F LF $ +%DUX;><;@Y# FF E( F=Z
L > $ + > D "* "# "6 ! DUX;><;@Y# 6
$ +%D Z
L >>> $ + > D "* "# "6 ! DUX;><;@Y# 6
(
! $ ' ,
5 &
:!
!
! '0
D D =
! D D =
$ % & ' (
! $ ' <
:!
!
! '0
D D
! (D D =
(
$ ' <
'
% '0 4 I &
95%7% &
" E E
'
! ED D =
$ % & = ' (
! '0 ! 0L
E 7 +%
' / /
' &
& ! ' /
' !
/
' ' F
' '
"
=
0 '
& &
0 0!
0
! &
!
'
- '
"
'
!
! " !& !
& 0
!
!
! '
/
&
/ =
/
ED D =
! ED D =
!
&
!
& & D D
' D D
D D
0! D D
0!
&
$ % & E ' (
!
E 7
! !
!
!
! FD D =
FD D =
! FD D =
% #&
$ % & ' (
' (
astCreateAcc
This is called by astCreateAccount and allocates the first available unused accountcode to the new user created. This also creates the users in the atbill database if it does not exist as compared against the drupal users table.
astCreateAccount
This procedure is run when a new account is created and checks to see if there a any unused accounts for user 0. if less than 5 then it creates additional accounts for each technology.
RateAddcdr RateCost RateGetTrunk RateStarDead TrunkDialPlan astTestBilling RateSale
RateReserveCredit
% )
@ < '
< ? . !
''
& &
' . ! !
& &
'
. ' 2
Virtual Account = Forward calls to any Extension
W ? ' / 0 /
? ' / 0 & /
' / ! G
A;0 ! * GF B
? J! +% + > ' ' 5 " ! & " ' !
% +/ " '' & / " +
< / ! , +% + > ' ' / &
$ % & ' (
+ " +' ! +%! "
"/ & . !
/ ' !
0
+ ! @ +$ ' +%! + & "
+' @ E < / " " E +
/ & ! & +% + >
!
if someone made a call for 42 seconds how to round it to 50?
seems that astbill rounds call to 30 sec.
how to change this?
AstBill can round anything :-)
It is in the Mysql Table astbrand.billincrement You can edit it in the web interface using AstBill Admin / Settings
Brand Edit
There you have the Billing Increment: field. If you put 10 there AstBill will round up to 50 seconds. This is a Brand Dependent parameter.
+ ! & ! *
. + / [ [ *
&
. + A B* [ 7 7 [
*
5 + &
$ ,
3 /
<
&
+ / 7
. + &2
Access Control
" D
+ / ' J ' , ? O
/ + "
& < 5 &/
5 $ ! $ & A B
' 3 " !
. / ! ! J / !
' ! ' 2
% ' ! !
' 0 ! * ! !
+ " " ' ' ! ! S
! ! "
+/ & / + '' 5
$ 1)
+ / ! '/ & + . " ;
!*DD/ " D/"D & L
$ % & ' (
< ( ' ' / & ' 5 $
D D D '
D D "D L - '
D D "D0 '& ' D ' D & ! !
. & & ' ! &
' W
W ! &
W
! W (
L - '
P& Q W
W ! &
W
! W (
! W
\ $
"W D D D - D - "
\ "# 3
\ "W D D D -D - "
0 '& '
\0 ! W] 7 "7
0 W] -7 ! &7 L 0
0! W] -7 ! &7 L 0
! W] -7 ! &7 L !
!! W] -7 ! &7 L !
W] -7 ! &7 L
\0 W] 7 "
\- W] 7 "
\- L W] 7 "
& ! !
" U L ' ! ! *
U L W [ -*DD *! / # D [\
/ J J7J! / J7J J J J
7! / 7 ' !
< 0 ! ' & *
U L W J -*DD * ( # D ! &J\
$ %
E % " &A $ E E ! B
RR 5 < ' R 8 < ,
RR < '
F
' ;0
= $ G<
= "
= ; <
= + ' ! "