X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2Fpart_export%2Fphone_shellcommands.pm;h=040af27a7a3f3e08ffbc001f3544f60196f041fa;hb=e3a2ca0a7ef6e0931283136321ba8c1494b37c19;hp=2edd69dc981815a3df8b3eaa829f908d982a73a3;hpb=bb5907148eb298e2e509fa37e23dcbe63619db9d;p=freeside.git
diff --git a/FS/FS/part_export/phone_shellcommands.pm b/FS/FS/part_export/phone_shellcommands.pm
index 2edd69dc9..040af27a7 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):