X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=FS%2FFS%2Fpart_export%2Fphone_shellcommands.pm;h=5c1ae0153314c27b1ddf97a950c611ac0dcc91f9;hb=1ad547a47f16b4230762e752fbe48d460ed997e1;hp=bddac19715d5e6639130852fbf04b5cf7455a53e;hpb=b7de08cc66e2f6e427c6fbcc1393b7eaba56b0fb;p=freeside.git
diff --git a/FS/FS/part_export/phone_shellcommands.pm b/FS/FS/part_export/phone_shellcommands.pm
index bddac1971..5c1ae0153 100644
--- a/FS/FS/part_export/phone_shellcommands.pm
+++ b/FS/FS/part_export/phone_shellcommands.pm
@@ -27,7 +27,7 @@ tie my %options, 'Tie::IxHash',
'options' => \%options,
'notes' => <<'END'
Run remote commands via SSH, for phone numbers. You will need to
-setup SSH for unattended operation.
+setup SSH for unattended operation.
Use these buttons for some useful presets:
-
@@ -35,7 +35,7 @@ Run remote commands via SSH, for phone numbers. You will need to
this.form.user.value = "root";
this.form.useradd.value = "build_exten.php --create --exten $phonenum --directdid 1$phonenum --sip-secret $sip_password --name $cust_name --vm-password $pin && /usr/share/asterisk/bin/module_admin reload";
this.form.userdel.value = "build_exten.php --delete --exten $phonenum && /usr/share/asterisk/bin/module_admin reload";
- this.form.usermod.value = "";
+ this.form.usermod.value = "build_exten.php --modify --exten $new_phonenum --directdid 1$new_phonenum --sip-secret $new_sip_password --name $new_cust_name --vm-password $new_pin && /usr/share/asterisk/bin/module_admin reload";
this.form.suspend.value = "";
this.form.unsuspend.value = "";
'> (Important note: Reduce freeside-queued "max_kids" to 1 when using FreePBX integration)
@@ -138,3 +138,4 @@ sub ssh_cmd { #subroutine, not method
&Net::SSH::ssh_cmd( { @_ } );
}
+1;