projects
/
freeside.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add conditions for customer cancelled packages, RT#42043
[freeside.git]
/
FS
/
FS
/
part_export
/
freeswitch_multifile.pm
diff --git
a/FS/FS/part_export/freeswitch_multifile.pm
b/FS/FS/part_export/freeswitch_multifile.pm
index
7f79a0e
..
972ea24
100644
(file)
--- a/
FS/FS/part_export/freeswitch_multifile.pm
+++ b/
FS/FS/part_export/freeswitch_multifile.pm
@@
-123,9
+123,14
@@
sub freeswitch_template_fillin {
|| $svc_phone->domain
|| '$${sip_profile}';
|| $svc_phone->domain
|| '$${sip_profile}';
+ my $cust_pkg = $svc_phone->cust_svc->cust_pkg;
+ my $nibble_rate = $cust_pkg ? $cust_pkg->part_pkg->option('nibble_rate')
+ : '';
+
#false lazinessish w/phone_shellcommands::_export_command
my %hash = (
#false lazinessish w/phone_shellcommands::_export_command
my %hash = (
- 'domain' => $domain,
+ 'domain' => $domain,
+ 'nibble_rate' => $nibble_rate,
map { $_ => $svc_phone->getfield($_) } $svc_phone->fields
);
map { $_ => $svc_phone->getfield($_) } $svc_phone->fields
);