Variable BLINDTRANSFER is empty
Does it exist an solution for this ?
When we do an blind transfer from the phone, Asterisk set BLINDTRANSFER variable automaticly.
But when we do an transfer from FOP2 panel, the BLINDTRANSFER variable was not set
From : http://forum.fop2.com/3497-no-blindtransfer-set/0
I have try to edit FOP2Callbacks.pm
But after modification, FOP2 won't start
From : http://forum.fop2.com/4165-fop2-la-variable-blindtransfer-llega-vac-a/0#p11614
But don't seem to have solution ?
When we do an blind transfer from the phone, Asterisk set BLINDTRANSFER variable automaticly.
But when we do an transfer from FOP2 panel, the BLINDTRANSFER variable was not set
From : http://forum.fop2.com/3497-no-blindtransfer-set/0
I have try to edit FOP2Callbacks.pm
But after modification, FOP2 won't start
From : http://forum.fop2.com/4165-fop2-la-variable-blindtransfer-llega-vac-a/0#p11614
But don't seem to have solution ?
Comments
You will have to change 'sampleplugin' with the name of your own plugin or the plugin you are injecting this code to... This will intercept the blind transfer action and will get active and bridged channels and set the variable BLINDTRANSFER.
Best regards,
Inside new file in directory /usr/local/fop2 ?
Or inside new file in new directory in /var/www/html/fop2/admin/plugins ?
I have try both, nothing seem to work, does I need to do something more to activate the script ?
Thanks you
I read file /plugins/README from the tarball
I have create folder /var/www/html/fop2/admin/plugins/myblindvalue
Create file plugin.xml (used one from sample plugin)
Create file myblindvalue.pl and copy your script with remplacing 'sampleplugin' by 'myblindvalue'
Edit /usr/local/fop2/fop2.cfg, and add line
plugin=myblindvalue:/var/www/html/fop2/admin/plugins/myblindvalue
And add to my user
user=119:password:all::myblindvalue
I also add the clock plugin
The clock work but the myblindvalue plugin won't work
I have start FOP2 with all debug (/usr/local/fop2/fop2_server -X 511 -l /var/log/fop2)
And if I search for "Setvar" in the log file. I only found line for variable PICKUPMARK
Just asking, as having #exec in fop2.cfg (for FOP2 Manager), and manual entries won't work.
If you *do* use the FOP2 Manager and have the #exec autoconfig_users.sh at the end, then remove the plugin=xx and user=xx entries you created and just log into the FOP2 Manager, select the Plugins tab, your new plugin should show, be sure to check the global checkbox if its not set. Then restart FOP2 and try again.
I also put the perl script in "clock.pl" of the clock plugins (/var/www/html/fop2/admin/plugins/clock/) and use FOP2 Manager to enable clock
Now, it's work !