Properly pack the parameters into ast_json_pack when sending a send fax message
authorMatthew Jordan <mjordan@digium.com>
Sun, 23 Jun 2013 19:19:30 +0000 (19:19 +0000)
committerMatthew Jordan <mjordan@digium.com>
Sun, 23 Jun 2013 19:19:30 +0000 (19:19 +0000)
commitcc29957a6f3339667f02a7386416c7374122d403
tree01567d5fca502fe189a27c084edbe994fbe7a7a3
parent477e207f284ea3dda8db07fef84d7f01665004c4
Properly pack the parameters into ast_json_pack when sending a send fax message

This patch properly packs the parameters into the send fax message so that it
actually work.

Missing a ',' between two string fields can be difficult to debug, particularly
when the actual packing succeeds. Interestingly enough, this didn't actually
crash until the JSON blob we deref'd and disposed of. Since that happened in
a different thread, it was pretty tough to track down.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@392676 65c4cc65-6c06-0410-ace0-fbb531ad65f3
res/res_fax.c