Free Billing, Routing and Management software for Asterisk and VOIP
Home | Forums | Wiki | Manual | Open Source | Billing and BSS | My Blue Heart | astbss.org
DownLoad | Bugs | Help Wanted | Numbering Plan
  
 

call-limit setting where is it?

 
By rnbguy at Thu, 2009-06-18 21:06 | AstBill Software - General and Support

hi guys,

extentions created in astbill, i want them to have a call-limit value (call-limit=50).

is this possible in astbill?

hmm okay well let me add

By rnbguy on Tue, 2009-06-23 07:36

hmm okay well let me add notes hopefully it can help in getting a reposnse...

ive found that in astaccount table i want to set the call-limit field.

which ive done

but its not loading that field into asterisk for that extention, is there more i need to do to either:

a) change that value (ie other tables)
b) get asterisk to read that value.

» login to post comments

okay so its down to, how do

By rnbguy on Tue, 2009-06-23 08:32

okay so its down to, how do i edit asv_sip view safely... just edit it like you would any normal view/

» login to post comments

got it: update astaccount

By rnbguy on Tue, 2009-06-23 08:40

got it:

update astaccount set `call-limit`="50" where accountcode = "1234";

ALTER VIEW `asv_sip` AS select `astaccount`.`accountcode` AS `name`,`astaccount`.`username` AS `username`,`astaccount`.`type` AS

`type`,`astaccount`.`secret` AS `secret`,`astaccount`.`host` AS `host`,`astaccount`.`callerid` AS `callerid`,`astaccount`.`context` AS

`context`,`astaccount`.`dtmfmode` AS `dtmfmode`,`astaccount`.`mailbox` AS `mailbox`,`astaccount`.`nat` AS `nat`,`astaccount`.`qualify` AS

`qualify`,`astaccount`.`fromuser` AS `fromuser`,`astaccount`.`authuser` AS `authuser`,`astaccount`.`fromdomain` AS `fromdomain`,`astaccount`.`fullcontact` AS

`fullcontact`,`astaccount`.`insecure` AS `insecure`,`astaccount`.`canreinvite` AS `canreinvite`,`astaccount`.`disallow` AS `disallow`,`astaccount`.`allow` AS

`allow`,`astaccount`.`restrictid` AS `restrictid`,`astaccount`.`ipaddr` AS `ipaddr`,`astaccount`.`port` AS `port`,`astaccount`.`regseconds` AS

`regseconds`,`astaccount`.`regserver` AS `regserver`,`astaccount`.`call-limit` AS `call-limit` from `astaccount` where (((`astaccount`.`tech` = _latin1'SIP')

or (`astaccount`.`tech` = _latin1'IN-SIP')) and (`astaccount`.`active` = 1));

» login to post comments
  
BerliOS Developer LogoSourceForge.net Logo Drupal.org Logo