Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] prepaid on the trunks


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
nhadie.ramos at yahoo.com
Guest





PostPosted: Wed Apr 23, 2008 12:59 am    Post subject: [asterisk-users] prepaid on the trunks Reply with quote

if i have this setup:

[sip users] -- [asterisk] --- [as5300] --- [pstn]

asterisk will talk to as5300 using sip. i will use as5300 as a trunk on the asterisk so sip users can call out to pstn.

what i would like to is do prepaid on those trunks, not on the sip users. sip users can call any other sip users . i want to do it that way coz i'm trying to build a multi-tenant pbx, and i will use the trunk as a unique identifier for each customer not their local extension.

e.g. customer A will have trunk 34587612 and will have extension 101 and 102, customer B will have a different trunk 87659043 but will also have the extension 101 and 102.

i want to create a billing system to monitor only the trunks and also to load amounts on those trunks. is this possible? will i be able to use app_prepaid for this?

thank you.
regards,
nhadie



---------------------------------
Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080422/e75810aa/attachment.htm
Back to top
nhadie.ramos at yahoo.com
Guest





PostPosted: Wed Apr 23, 2008 11:38 am    Post subject: [asterisk-users] prepaid on the trunks Reply with quote

Hi, sorry to confused you with my question.

the normal prepaid application like astcc, if i'm not mistaken, monitors the amount left on the user (which i usually refer as extension), what i want to do is monitor prepaid on the trunk (or the SIP channel use to call outbound to pstn). Is that possible?

Regards,
Nhadie

On Tue, 2008-04-22 at 22:59 -0700, Nhadie Ramos wrote:


Quote:

i want to create a billing system to monitor only the trunks and also
to load amounts on those trunks. is this possible? will i be able to
use app_prepaid for this?



TBH, I don't really understand your description, but I will say that I
implemented astcc a week or two ago and it works for what I need.

Cheers,
b.






---------------------------------
Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080423/eebaf384/attachment.htm
Back to top
brian at interlinx.bc.ca
Guest





PostPosted: Wed Apr 23, 2008 12:33 pm    Post subject: [asterisk-users] prepaid on the trunks Reply with quote

On Wed, 2008-04-23 at 09:38 -0700, Nhadie Ramos wrote:
Quote:
Hi, sorry to confused you with my question.

the normal prepaid application like astcc, if i'm not mistaken, monitors the amount left on the user (which i usually refer as extension), what i want to do is monitor prepaid on the trunk (or the SIP channel use to call outbound to pstn). Is that possible?

Wouldn't you just "equate" a "Calling Card" (that's the unit that has an
account balance and charges against it) with a trunk instead of a user
or extension? You can call the astcc agi script with any value you want
for a "Calling Card" identifier.

b.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20080423/ed6a600e/attachment.pgp
Back to top
darren at aleph-com.net
Guest





PostPosted: Wed Apr 23, 2008 12:51 pm    Post subject: [asterisk-users] prepaid on the trunks Reply with quote

Am I correct in thinking that one application of this would be
monitoring what you have left for funds with a prepaid vendor?

Darren Wiebe
darren at aleph-com.net

Brian J. Murrell wrote:
Quote:
On Wed, 2008-04-23 at 09:38 -0700, Nhadie Ramos wrote:

Quote:
Hi, sorry to confused you with my question.

the normal prepaid application like astcc, if i'm not mistaken, monitors the amount left on the user (which i usually refer as extension), what i want to do is monitor prepaid on the trunk (or the SIP channel use to call outbound to pstn). Is that possible?


Wouldn't you just "equate" a "Calling Card" (that's the unit that has an
account balance and charges against it) with a trunk instead of a user
or extension? You can call the astcc agi script with any value you want
for a "Calling Card" identifier.

b.



------------------------------------------------------------------------

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
nhadie.ramos at yahoo.com
Guest





PostPosted: Wed Apr 23, 2008 3:46 pm    Post subject: [asterisk-users] prepaid on the trunks Reply with quote

hi sir,

yes that would be it, but instead of having a prepaid provider, i will setup my own as5300 and asterisk will talk to that. is that possible in astcc, astbill or a2billing?

regards,
nhadie

Am I correct in thinking that one application of this would be
monitoring what you have left for funds with a prepaid vendor?

Darren Wiebe
darren at aleph-com.net

Brian J. Murrell wrote:
Quote:
On Wed, 2008-04-23 at 09:38 -0700, Nhadie Ramos wrote:



Quote:
Quote:
Hi, sorry to confused you with my question.

the normal prepaid application like astcc, if i'm not mistaken, monitors the amount left on the user (which i usually refer as extension), what i want to do is monitor prepaid on the trunk (or the SIP channel use to call outbound to pstn). Is that possible?



Quote:

Wouldn't you just "equate" a "Calling Card" (that's the unit that has an
account balance and charges against it) with a trunk instead of a user
or extension? You can call the astcc agi script with any value you want
for a "Calling Card" identifier.

b.

Nhadie Ramos <nhadie.ramos at yahoo.com> wrote:
Hi, sorry to confused you with my question.

the normal prepaid application like astcc, if i'm not mistaken, monitors the amount left on the user (which i usually refer as extension), what i want to do is monitor prepaid on the trunk (or the SIP channel use to call outbound to pstn). Is that possible?

Regards,
Nhadie



On Tue, 2008-04-22 at 22:59 -0700, Nhadie Ramos wrote:


Quote:

i want to create a billing system to monitor only the trunks and also
to load amounts on those trunks. is this possible? will i be able to
use app_prepaid for this?



TBH, I don't really understand your description, but I will say that I
implemented astcc a week or two ago and it works for what I need.

Cheers,
b.






---------------------------------
Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now._______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users


---------------------------------
Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080423/625b81df/attachment.htm
Back to top
darren at aleph-com.net
Guest





PostPosted: Wed Apr 23, 2008 4:41 pm    Post subject: [asterisk-users] prepaid on the trunks Reply with quote

Ok, I'm not aware of this feature in astcc and I can't speak for astbill
or a2billing. I do know that I coded it into astpp and it's called
"vendor rating" in there. It works but it's not used a lot at present.

Darren Wiebe
darren at aleph-com.net

Nhadie Ramos wrote:
Quote:
hi sir,

yes that would be it, but instead of having a prepaid provider, i will
setup my own as5300 and asterisk will talk to that. is that possible
in astcc, astbill or a2billing?

regards,
nhadie
Am I correct in thinking that one application of this would be
monitoring what you have left for funds with a prepaid vendor?

Darren Wiebe
darren at aleph-com.net

Brian J. Murrell wrote:

Quote:
On Wed, 2008-04-23 at 09:38 -0700, Nhadie Ramos wrote:


Quote:
Quote:
Quote:
Hi, sorry to confused you with my question.

the normal prepaid application like astcc, if i'm not mistaken, monitors
the amount left on the user (which i usually refer as extension), what i want to do is monitor prepaid on the trunk (or the SIP channel use to call outbound to pstn). Is that possible?


Wouldn't you just "equate" a "Calling Card" (that's the unit that has an
account balance and charges against it) with a trunk instead of a user
or extension? You can call the astcc agi script with any value you want
for a "Calling Card" identifier.

b.

*/Nhadie Ramos <nhadie.ramos at yahoo.com>/* wrote:

Hi, sorry to confused you with my question.

the normal prepaid application like astcc, if i'm not mistaken, monitors the amount left on the user (which i usually refer as extension), what i want to do is monitor prepaid on the trunk (or the SIP channel use to call outbound to pstn). Is that possible?

Regards,
Nhadie



On Tue, 2008-04-22 at 22:59 -0700, Nhadie Ramos wrote:


Quote:
Quote:

i want to create a billing system to monitor only the trunks and also
to load amounts on those trunks. is this possible? will i be able to
use app_prepaid for
this?


TBH, I don't really understand your description, but I will say that I
implemented astcc a week or two ago and it works for what I need.

Cheers,
b.




------------------------------------------------------------------------
Be a better friend, newshound, and know-it-all with Yahoo! Mobile.
Try it now.
<http://us.rd.yahoo.com/evt=51733/*http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ%20>_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users


------------------------------------------------------------------------
Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try
it now.
<http://us.rd.yahoo.com/evt=51733/*http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ%20>

------------------------------------------------------------------------

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
stotaro at totarotechn...
Guest





PostPosted: Thu Apr 24, 2008 8:07 am    Post subject: [asterisk-users] prepaid on the trunks Reply with quote

You should also look at Darren's ASTPP, I am not sure if you missed
that earlier in the thread. It is basically ASTCC with major
improvements. It even has the ability to tie into OSCommerce which in
turn can connect to several credit card merchant accounts.

It is much more robust than ASTCC.

Thanks,
Steve Totaro

On Thu, Apr 24, 2008 at 12:17 AM, Nhadie Ramos <nhadie.ramos at yahoo.com> wrote:
Quote:
thank you sir, i will try to check on that. i haven't really tried astcc yet
so i really dont understand how it works right now.

also, do you have any reference on using app_prepaid? can't find some sample
config, i would like to see how i can use that. do you think app_prepaid is
suited for the scenario i have?

thank you

regards
nhadie



"Brian J. Murrell" <brian at interlinx.bc.ca> wrote:

On Wed, 2008-04-23 at 15:41 -0600, Darren Wiebe wrote:
Quote:
Ok, I'm not aware of this feature in astcc

Keep in mind that astcc is simply a tool that keeps a database of
minutes used for some "entity" (typically a calling card) and calculates
those minutes used against a pre-charged amount. The "number" of the
entity can be passed to astcc (i.e. so that it does not need to prompt
the user for it) in such a way:

exten => _1NXXNXXXXXX,n,DeadAGI(astcc.agi,${cardnum},${EXTEN})

So binding a trunk to a "cardnum" (i.e. a given pre-charged account)
should be easy enough to do.

b.

_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users




________________________________
Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it
now.
_______________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services