[freeside-commits] branch FREESIDE_3_BRANCH updated. bb1f2a4458bc4466faad45998093eb3b9b44dd9c
Jeremy Davis
jeremyd at 420.am
Thu Jan 15 09:19:39 PST 2015
The branch, FREESIDE_3_BRANCH has been updated
via bb1f2a4458bc4466faad45998093eb3b9b44dd9c (commit)
from 3296dc745adc1e45230a26715a1fff04fa1c3654 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit bb1f2a4458bc4466faad45998093eb3b9b44dd9c
Author: Jeremy Davis <jeremyd at freeside.biz>
Date: Thu Jan 15 11:53:04 2015 -0500
Ticket #33046 A2billing changes
diff --git a/FS/FS/part_export/a2billing.pm b/FS/FS/part_export/a2billing.pm
index 7aab01a..acf0ed4 100644
--- a/FS/FS/part_export/a2billing.pm
+++ b/FS/FS/part_export/a2billing.pm
@@ -144,6 +144,9 @@ sub export_insert {
zipcode => $location->zip,
simultaccess => $part_pkg->option('a2billing_simultaccess'),
typepaid => $part_pkg->option('a2billing_type'),
+ email_notification => $cust_main->invoicing_list_emailonly_scalar,
+ notify_email => (if $cust_main->invoicing_list_emailonly_scalar ? 1 : 0),
+ credit_notification => $cust_main->credit_limit || $self->option('credit') || 0,
sip_buddy => 1,
company_name => $cust_main->company,
activated => 't',
@@ -233,12 +236,14 @@ sub export_insert {
my $cc_did_id = $self->a2b_find('cc_did', 'svcnum', $svc->svcnum);
- my $destination = 'SIP/' . $svc->phonenum . '@' . $svc_acct->username;
+ my $destination = 'SIP/user-'. $svc_acct->username. '@'. $svc->sip_server. "!". $svc->phonenum;
my %cc_did_destination = (
destination => $destination,
priority => 1,
id_cc_card => $cc_card_id,
id_cc_did => $cc_did_id,
+ validated => 1,
+ voip_call => 1,
);
# and if there's already a destination, change it to point to
-----------------------------------------------------------------------
Summary of changes:
FS/FS/part_export/a2billing.pm | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
More information about the freeside-commits
mailing list