Re: [asterisk-users] prepaid on the trunks
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 [EMAIL PROTECTED] wrote: 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 [EMAIL PROTECTED] wrote: On Wed, 2008-04-23 at 15:41 -0600, Darren Wiebe wrote: 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 = _1NXXNXX,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 ___ -- 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
[asterisk-users] prepaid on the trunks
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.___ -- 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
Re: [asterisk-users] prepaid on the trunks
On Tue, 2008-04-22 at 22:59 -0700, Nhadie Ramos wrote: 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. signature.asc Description: This is a digitally signed message part ___ -- 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
Re: [asterisk-users] prepaid on the trunks
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: 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
Re: [asterisk-users] prepaid on the trunks
On Wed, 2008-04-23 at 09:38 -0700, Nhadie Ramos 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? 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. signature.asc Description: This is a digitally signed message part ___ -- 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
Re: [asterisk-users] prepaid on the trunks
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 [EMAIL PROTECTED] Brian J. Murrell wrote: On Wed, 2008-04-23 at 09:38 -0700, Nhadie Ramos 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? 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 ___ -- 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
Re: [asterisk-users] prepaid on the trunks
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 [EMAIL PROTECTED] Brian J. Murrell wrote: On Wed, 2008-04-23 at 09:38 -0700, Nhadie Ramos 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? 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 [EMAIL PROTECTED] 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: 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.___ -- 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
Re: [asterisk-users] prepaid on the trunks
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 [EMAIL PROTECTED] Nhadie Ramos wrote: 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 [EMAIL PROTECTED] Brian J. Murrell wrote: On Wed, 2008-04-23 at 09:38 -0700, Nhadie Ramos 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? 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 [EMAIL PROTECTED]/* 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: 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 ___ -- 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
Re: [asterisk-users] prepaid on the trunks
On Wed, 2008-04-23 at 15:41 -0600, Darren Wiebe wrote: 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 = _1NXXNXX,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. signature.asc Description: This is a digitally signed message part ___ -- 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
Re: [asterisk-users] prepaid on the trunks
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 [EMAIL PROTECTED] wrote: On Wed, 2008-04-23 at 15:41 -0600, Darren Wiebe wrote: 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 = _1NXXNXX,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