use the ZT_SET_DIALPARAMS ioctl properly by initializing the structure to all zeroes...
commitdee7f49ed3690a6f56cbb012ea0dee3332869b48
authorkpfleming <kpfleming@614ede4d-c843-0410-af14-a771ab80d22e>
Wed, 16 Apr 2008 20:46:38 +0000 (16 20:46 +0000)
committerkpfleming <kpfleming@614ede4d-c843-0410-af14-a771ab80d22e>
Wed, 16 Apr 2008 20:46:38 +0000 (16 20:46 +0000)
tree50c8006aa30c8008abc82f7d2e32a5c02ada2efe
parent0d12e6b1d042624c8a66e93e0f45c8de7435f1fb
use the ZT_SET_DIALPARAMS ioctl properly by initializing the structure to all zeroes in case it contains fields that we don't write values into (which it does as of Zaptel 1.4.10)

(closes issue #12456)
Reported by: fnordian

git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@114184 614ede4d-c843-0410-af14-a771ab80d22e
channels/chan_zap.c