[Freeswitch-users] Bug in mod_wanpipe.c ?

Helmut Kuper helmut.kuper at ewetel.de
Wed Jun 4 02:18:58 PDT 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

when I try to compile mod_wanpipe I get this error:

Compiling mod_wanpipe.c...
mod_wanpipe.c: In function ‘wanpipe_send_dtmf’:
mod_wanpipe.c:912: error: request for member ‘duration’ in something not
a structure or union
make[1]: *** [mod_wanpipe.o] Error 1
make: *** [all] Error 1


I can get it compiled when I change line 912 in mod_wanpipe.c from

tech_pvt->tone_session.duration = dtmf.duration *
(tech_pvt->tone_session.rate / 1000);

to

tech_pvt->tone_session.duration = dtmf->duration *
(tech_pvt->tone_session.rate / 1000);



regards
helmut
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkhGXgIACgkQ4tZeNddg3dySKQCePTLoZrDFLJoWn7tW+gjZ58T1
hxgAn2b5efQ1T2nupBdrNcgX8rY/kK/e
=KXTb
-----END PGP SIGNATURE-----




More information about the FreeSWITCH-users mailing list