[freeside-commits] branch FREESIDE_3_BRANCH updated. e534bdedcf1de52e376ee4eb92947a9819c376d3
Jeremy Davis
jeremyd at 420.am
Mon Nov 17 08:14:11 PST 2014
The branch, FREESIDE_3_BRANCH has been updated
via e534bdedcf1de52e376ee4eb92947a9819c376d3 (commit)
from 6ada3dccbb351e62f36922ae130e5668d56cff11 (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 e534bdedcf1de52e376ee4eb92947a9819c376d3
Author: Jeremy Davis <jeremyd at freeside.biz>
Date: Mon Nov 17 11:13:49 2014 -0500
Ticket #31790 phone_shellcommands shell quote phone_name
diff --git a/FS/FS/part_export/phone_shellcommands.pm b/FS/FS/part_export/phone_shellcommands.pm
index 593b14e..71445bf 100644
--- a/FS/FS/part_export/phone_shellcommands.pm
+++ b/FS/FS/part_export/phone_shellcommands.pm
@@ -53,6 +53,7 @@ old_ for replace operations):
<LI><code>$cust_name</code> - Customer name (quoted for the shell)
<LI><code>$pkgnum</code> - Internal package number
<LI><code>$custnum</code> - Internal customer number
+ <LI><code>$phone_name</code> - Phone name (quoted for the shell)
<LI><code>$mac_addr</code> - MAC address (Device MAC address insert and delete commands only)
<LI><code>$devicename</code> - Device type (Device type insert and delete commands only)
</UL>
@@ -115,6 +116,7 @@ sub _export_command {
my $cust_name = $cust_pkg ? $cust_pkg->cust_main->name : '';
$cust_name = shell_quote $cust_name;
my $sip_password = shell_quote $svc_phone->sip_password;
+ my $phone_name = shell_quote $svc_phone->phone_name;
#done setting variables for the command
$self->shellcommands_queue( $svc_phone->svcnum,
-----------------------------------------------------------------------
Summary of changes:
FS/FS/part_export/phone_shellcommands.pm | 2 ++
1 file changed, 2 insertions(+)
More information about the freeside-commits
mailing list