X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2Fpart_export%2Fphone_shellcommands.pm;h=71445bf2779b613e8689f316ebf3ea56d68c7af1;hb=197f613bac6c3f9a4bd7d1ea5fbf4769aea4ce1a;hp=593b14e47e0d47a2940bb237d71592dad4fd67ed;hpb=4d75191d9cc9ef91b82cd6ff4be96cdc8f82e480;p=freeside.git diff --git a/FS/FS/part_export/phone_shellcommands.pm b/FS/FS/part_export/phone_shellcommands.pm index 593b14e47..71445bf27 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):
$cust_name
- Customer name (quoted for the shell)
$pkgnum
- Internal package number
$custnum
- Internal customer number
+ $phone_name
- Phone name (quoted for the shell)
$mac_addr
- MAC address (Device MAC address insert and delete commands only)
$devicename
- Device type (Device type insert and delete commands only)
@@ -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,