X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2Fpart_export%2Fphone_shellcommands.pm;fp=FS%2FFS%2Fpart_export%2Fphone_shellcommands.pm;h=fbb7a0bf81f6095643c2d780c67a3a862eaa8595;hb=5307e2b96c57b03e5f7068af3c5483be4915b041;hp=bddac19715d5e6639130852fbf04b5cf7455a53e;hpb=d4b68558b9a0e40d66d0f61a940a233a85e31b90;p=freeside.git diff --git a/FS/FS/part_export/phone_shellcommands.pm b/FS/FS/part_export/phone_shellcommands.pm index bddac1971..fbb7a0bf8 100644 --- a/FS/FS/part_export/phone_shellcommands.pm +++ b/FS/FS/part_export/phone_shellcommands.pm @@ -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)