Fixed issue #183.

Testing has been completed on outgoing calls only. It is recommended that testing is conducted on incoming calls before a commit to upstream.