[freeside-commits] branch FREESIDE_3_BRANCH updated. 63423eabbc09953baa8316919b43402fe148908b

Jonathan Prykop jonathan at 420.am
Tue Apr 5 21:27:53 PDT 2016


The branch, FREESIDE_3_BRANCH has been updated
       via  63423eabbc09953baa8316919b43402fe148908b (commit)
      from  082e62dc812df1053abe7fcf1042f9a3feaeb6f5 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 63423eabbc09953baa8316919b43402fe148908b
Author: Jonathan Prykop <jonathan at freeside.biz>
Date:   Tue Apr 5 23:12:57 2016 -0500

    RT#40056: Export DIDs to portaone switch [added h323_password]

diff --git a/FS/FS/part_export/portaone.pm b/FS/FS/part_export/portaone.pm
index 6e2950e..991fb4a 100644
--- a/FS/FS/part_export/portaone.pm
+++ b/FS/FS/part_export/portaone.pm
@@ -141,6 +141,7 @@ sub _export_insert {
           'i_product' => $product_id,
           'activation_date' => time2str("%Y-%m-%d",time),
           'billing_model'   => 1, # '1' for credit, '-1' for debit, could make this an export option
+          'h323_password'   => $svc_phone->sip_password,
         }
       },'i_account');
       return $self->api_error_logout if $self->api_error;
@@ -381,6 +382,7 @@ sub api_update_account {
       'i_account' => $i_account,
       'id' => $newid,
       'i_product' => $self->option('product_id'),
+      'h323_password' => $svc_phone->sip_password,
     },
   },'i_account');
   return if $self->api_error;

-----------------------------------------------------------------------

Summary of changes:
 FS/FS/part_export/portaone.pm |    2 ++
 1 file changed, 2 insertions(+)




More information about the freeside-commits mailing list