summaryrefslogtreecommitdiff
path: root/FS/FS/part_export/phone_shellcommands.pm
diff options
context:
space:
mode:
authorivan <ivan>2008-06-30 08:00:34 +0000
committerivan <ivan>2008-06-30 08:00:34 +0000
commitbe5cfe790f79b0f50206246943d0024ddf2b3ada (patch)
tree21c68bcd4e377b30febd5fd48e16f24d0706455c /FS/FS/part_export/phone_shellcommands.pm
parent8a7aeda3fe2c178b0c492401adc6bf6afe47ec67 (diff)
reload after adding extensions
Diffstat (limited to 'FS/FS/part_export/phone_shellcommands.pm')
-rw-r--r--FS/FS/part_export/phone_shellcommands.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/FS/FS/part_export/phone_shellcommands.pm b/FS/FS/part_export/phone_shellcommands.pm
index cfbae50..e61af3d 100644
--- a/FS/FS/part_export/phone_shellcommands.pm
+++ b/FS/FS/part_export/phone_shellcommands.pm
@@ -33,8 +33,8 @@ Run remote commands via SSH, for phone numbers. You will need to
<LI>
<INPUT TYPE="button" VALUE="FreePBX (build_exten CLI module needed)" onClick='
this.form.user.value = "root";
- this.form.useradd.value = "build_exten.php --create --exten $phonenum --name $cust_name --vm-password $pin";
- this.form.userdel.value = "build_exten.php --delete --exten $phonenum";
+ this.form.useradd.value = "build_exten.php --create --exten $phonenum --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.suspend.value = "";
this.form.unsuspend.value = "";