diff --git a/applications/fax/priv/couchdb/views/faxes.json b/applications/fax/priv/couchdb/views/faxes.json index becdb3c06b2..e01e74787c2 100644 --- a/applications/fax/priv/couchdb/views/faxes.json +++ b/applications/fax/priv/couchdb/views/faxes.json @@ -86,6 +86,7 @@ " 'status': doc.pvt_job_status,", " 'to': doc.to_number,", " 'from': doc.from_number,", + " 'from_name': doc.from_name,", " 'created': doc.pvt_created,", " 'modified': doc.pvt_modified", " });", @@ -103,6 +104,7 @@ " 'status': doc.pvt_job_status,", " 'to': doc.to_number,", " 'from': doc.from_number,", + " 'from_name': doc.from_name,", " 'attempts': doc.attempts,", " 'created': doc.pvt_created", " });", @@ -121,6 +123,7 @@ " 'status': doc.pvt_job_status,", " 'to': doc.to_number,", " 'from': doc.from_number,", + " 'from_name': doc.from_name,", " 'created': doc.pvt_created,", " 'modified' : doc.pvt_modified", " });", @@ -137,6 +140,7 @@ " 'status': doc.pvt_job_status,", " 'to': doc.to_number,", " 'from': doc.from_number,", + " 'from_name': doc.from_name,", " 'created': doc.pvt_created", " });", "}" diff --git a/applications/fax/src/fax_request.erl b/applications/fax/src/fax_request.erl index aee44037669..7e92cb78f46 100644 --- a/applications/fax/src/fax_request.erl +++ b/applications/fax/src/fax_request.erl @@ -550,6 +550,7 @@ create_fax_doc(JObj, #state{owner_id = OwnerId [{<<"name">>, Name} ,{<<"to_number">>, kapps_call:request_user(Call)} ,{<<"from_number">>, kapps_call:from_user(Call)} + ,{<<"from_name">>, kapps_call:caller_id_name(Call)} ,{<<"description">>, <<"fax document received">>} ,{<<"source_type">>, <<"incoming_fax">>} ,{<<"folder">>, <<"inbox">>}