From: ivan Date: Tue, 22 Jul 2008 08:33:36 +0000 (+0000) Subject: freepbx modification command X-Git-Tag: root_of_webpay_support~464 X-Git-Url: http://git.freeside.biz/gitweb/?a=commitdiff_plain;h=5307e2b96c57b03e5f7068af3c5483be4915b041;hp=d4b68558b9a0e40d66d0f61a940a233a85e31b90;p=freeside.git freepbx modification command --- 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)