X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=FS%2FFS%2Fpart_export%2Fportaone.pm;h=27a956f42491474e2d0403306717a493b907dc01;hb=8a25843377c336b59696ba5d809fbccc7e2fd102;hp=6e2950e4d188294850dde019f19721ab6a8b63a6;hpb=c41cc3dd17fdb3c80ccc392accec60d6cd092de5;p=freeside.git diff --git a/FS/FS/part_export/portaone.pm b/FS/FS/part_export/portaone.pm index 6e2950e4d..27a956f42 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;