[asterisk-biz] Service request: Simple issue on a2billing.php
Nitzan Kon
nk3569 at yahoo.com
Sat Nov 14 09:26:14 CST 2009
In Class.RateEngine.php, look for a line that looks like this:
$agi -> set_callerid($outcid);
And change it to:
$agi -> set_callerid($A2B->CallerIDName);
Then, in Class.A2Billing.php, look for:
function get_agi_request_parameter($agi){
and add this to it:
$this->CallerIDName = $agi->request['agi_calleridname'];
Cost: free.
Note there may be side effects you're not thinking of,
so test it thoroughly.
-- Nitzan
http://www.comparevoipproviderrates.com
--- On Sat, 11/14/09, Ricardo Martins <rpoppi77 at gmail.com> wrote:
> From: Ricardo Martins <rpoppi77 at gmail.com>
> Subject: [asterisk-biz] Service request: Simple issue on a2billing.php
> To: asterisk-biz at lists.digium.com
> Date: Saturday, November 14, 2009, 8:59 AM
> Dear friends, I need a simple
> customization service for A2Billing.
>
> I have to execute an Asterisk Set command rewriting the
> callerid(num)
> variable with the callerid(name) value just before
> the a2billing.php
> dials to selected trunk. The Asterisk dialplan command
> would be
> "Set(CALLERID(num)=${CALLERID(name)})
>
> I need to write this on AGI/PHP language at the right
> position inside
> a2billing.php script.
> Do anybody know how to do this?
>
> Pls send me the price/service offer in PVT. We use Asterisk
> 1.4 and
> A2billing 1.3.4.
>
> Regards, Ricardo.
>
>
>
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>
> asterisk-biz mailing list
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-biz
>
More information about the asterisk-biz
mailing list