X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=FS%2FFS%2Fpart_export%2Fphone_shellcommands.pm;h=5c1ae0153314c27b1ddf97a950c611ac0dcc91f9;hp=2edd69dc981815a3df8b3eaa829f908d982a73a3;hb=1ad547a47f16b4230762e752fbe48d460ed997e1;hpb=bb5907148eb298e2e509fa37e23dcbe63619db9d
diff --git a/FS/FS/part_export/phone_shellcommands.pm b/FS/FS/part_export/phone_shellcommands.pm
index 2edd69dc9..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,11 +35,11 @@ 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)
+
The following variables are available for interpolation (prefixed with new_ or
old_ for replace operations):
@@ -138,3 +138,4 @@ sub ssh_cmd { #subroutine, not method
&Net::SSH::ssh_cmd( { @_ } );
}
+1;