Hi, I'm a new WikiPBX user, and already a big fan.
I have my WikiPBX all set-up and working properly with the exception of the live calls page.
When I try to inject audo or transfer the call, I don't get any error messages (an example response is: OK Job-UUID 18ff410e-a804-4ff4-adfc-a36dcf868110). But nothing happens - I don't hear the prompt / the phone doesn't get transferred.
When I look at the FreeSWITCH console, it doesn't seem to see the events.
I'm using the latest WikiPBX build (83), and I've tried with FreeSWITCH versions 1.0.2 and 1.0.3.
Am I doing something wrong?
Thanks.
Thanks for the positive feedback, and congrats on making it through the install :)
I was getting the same error and was able to fix it. But to get the fix you have to update a file in freeswitch, not in wikipbx.
The easiest way is to update the file is with subversion:
$ cd /usr/src/freeswitch/scripts/socket/freepy
$ svn up __init__.py
And it should update to 13779.
OR you can make the changes by hand by:
- Open __init__.py in your favorite editor, like emacs or vim
- Go to the transfer function (search for "def transfer")
- Replace
bgapi transfer
with
bgapi uuid_transfer
- and replace
api transfer
with
api uuid_transfer
*Save the file
Reboot wikipbx for good measure, and after the change, you will see that it is calling the uuid_transfer api call in freeswitch rather than the transfer api call. If not, something didn't work.
The hangup and the "sound injection" were both broken, something that has been bugging me for a while but I had not gottent around to fixing. Now those are both fixed. Update __init__.py to 13780 or follow the manual instructions above, but make the following changes:
- In def killchan, api killchan -> api uuid_kill and same for bgapi
- In def broadcast, api broadcast -> api uuid_broadcast and same for bgapi
Thanks very much for the help. The transfer and hangup functions are working for me now, but not the sound injection. But I personally wouldn't be needing that anyway.
Actually, the sound injection is working too - I was trying to play a bad wav file. Thanks again!





