[freeside-commits] freeside/FS/FS/part_export phone_shellcommands.pm, 1.4, 1.5

Ivan,,, ivan at wavetail.420.am
Tue Jul 22 01:33:38 PDT 2008


Update of /home/cvs/cvsroot/freeside/FS/FS/part_export
In directory wavetail.420.am:/tmp/cvs-serv8604

Modified Files:
	phone_shellcommands.pm 
Log Message:
freepbx modification command

Index: phone_shellcommands.pm
===================================================================
RCS file: /home/cvs/cvsroot/freeside/FS/FS/part_export/phone_shellcommands.pm,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- phone_shellcommands.pm	15 Jul 2008 01:19:47 -0000	1.4
+++ phone_shellcommands.pm	22 Jul 2008 08:33:36 -0000	1.5
@@ -35,7 +35,7 @@
       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)



More information about the freeside-commits mailing list