'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' },
'i_customer' => $i_customer,
'iso_4217' => ($conf->config('currency') || 'USD'),
'i_product' => $product_id,
- 'activation_date' => time2str("%Y-%m-%d %H:%M:%S",time),
+ '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;
'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;