X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2Fpart_export%2Fportaone.pm;h=986a556bad3a07d72519570e022171e5325a4e2e;hb=ffa18709ee8a4d05e18d2d406cf73afe79e52524;hp=2654e1c2f8b4b3f06c4d911c01f76dedbd494be5;hpb=588bd40945822ce3a89e4ddd3588ebc107019410;p=freeside.git diff --git a/FS/FS/part_export/portaone.pm b/FS/FS/part_export/portaone.pm index 2654e1c2f..986a556ba 100644 --- a/FS/FS/part_export/portaone.pm +++ b/FS/FS/part_export/portaone.pm @@ -40,7 +40,7 @@ tie my %options, 'Tie::IxHash', 'customer_name' => { label => 'Customer Name', default => 'FREESIDE CUST $custnum' }, 'account_id' => { label => 'Account ID', - default => 'FREESIDE SVC $svcnum' }, + default => 'SVC$svcnum' }, 'product_id' => { label => 'Account Product ID' }, 'debug' => { type => 'checkbox', label => 'Enable debug warnings' }, @@ -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;