Re: [Asterisk-Users] Billing: amaflags and accountcode

2005-10-06 Thread Darren Wiebe
The way I do it is to make a list of internal extensions and set those 
to no charge.  They get billed at no charge that way and it works fine. 
/Plug Starts/ This is done using ASTPP www.aleph-com.net/astpp/  /Plug Ends/


Darren Wiebe
[EMAIL PROTECTED]

Chris Bagnall wrote:


Hi all,

I have about 10 SIP phones for different users defined in sip.conf, each
with their own accountcode= entry. There is a global setting in sip.conf
that states amaflags=documentation

There are 3 IAX->PSTN gateways defined in iax.conf for outbound calls. These
do not have an accountcode=, but do have amaflags=billing defined in each.

The theory was that all calls should be logged, those calls either incoming
or between SIP users should have amaflags=documentation (which they do, all
well and good), but when a user makes an outgoing call via an IAX gateway,
it gets amaflags=billing (so I know it's a chargeable call). However, this
doesn't seem to work - all call logs, even those to the IAX gateways all
have amaflags=documentation.

Is there another way around this? How are you good people using amaflags and
accountcode to apportion billing to different users, whilst not "billing"
them for incoming calls or calls between SIP users?

Thanks in advance.

Regards,

Chris
 



___
--Bandwidth and Colocation sponsored by Easynews.com --

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


[Asterisk-Users] Billing: amaflags and accountcode

2005-10-06 Thread Chris Bagnall
Hi all,

I have about 10 SIP phones for different users defined in sip.conf, each
with their own accountcode= entry. There is a global setting in sip.conf
that states amaflags=documentation

There are 3 IAX->PSTN gateways defined in iax.conf for outbound calls. These
do not have an accountcode=, but do have amaflags=billing defined in each.

The theory was that all calls should be logged, those calls either incoming
or between SIP users should have amaflags=documentation (which they do, all
well and good), but when a user makes an outgoing call via an IAX gateway,
it gets amaflags=billing (so I know it's a chargeable call). However, this
doesn't seem to work - all call logs, even those to the IAX gateways all
have amaflags=documentation.

Is there another way around this? How are you good people using amaflags and
accountcode to apportion billing to different users, whilst not "billing"
them for incoming calls or calls between SIP users?

Thanks in advance.

Regards,

Chris
-- 
C.M. Bagnall, Director, Minotaur I.T. Limited
This email is made from 100% recycled electrons


___
--Bandwidth and Colocation sponsored by Easynews.com --

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