| Asterisk and Bristuff and Asterisk Voice Changer Compilation Error |
|
|
|
| Tuesday, 07 November 2006 | |
|
If you try to install the "Asterisk Voice Changer" on an Asterisk system that has the Bristuff version of Asterisk installed, you may receive a compiler error for the line 365 in the file "app_voicechangedial.c" saying you are not supplying enough arguments / parameters in the calling of the function "ast_request".
The cause of this is a change in the function "ast_request" that now requires an additional argument that you will need to supply. The resolution of this is fairly easy: Open the file "app_voicechangedial.c" with an editor and jump to line 365. You'll find yourself in the middle of the function "make_call". The variable declarations for this function should be right above and look like this: int rc; Replace them with this set of lines: int rc; Then, locate this line (which has now become line 366): if (!(peer->chan = ast_request(ops->tech, ops->chan->nativeformats, ops->dest, &cause ))) { Replace it with this code: if (!(peer->chan = ast_request(ops->tech, ops->chan->nativeformats, ops->dest, &cause , uniqueID))) { Now, try to compile the voicechanger again (rerun "make"). It should work fine now. You can find the voicechanger application for download (and installation instructions) here.
|
|
| Last Updated ( Tuesday, 07 November 2006 ) |





