From 5307e2b96c57b03e5f7068af3c5483be4915b041 Mon Sep 17 00:00:00 2001 From: ivan Date: Tue, 22 Jul 2008 08:33:36 +0000 Subject: [PATCH] freepbx modification command --- FS/FS/part_export/phone_shellcommands.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.11.0