Member
Last active 12 years ago
Today I run again "/usr/local/fop2/generate_override_contexts.pl -write" and now I can see [app-cf-off] and [app-cf-on] context and now all works well!
I have understand my probelm: I enabled call forward functions after FOP2 installation!!!
I didn't think I should re-create the override context.
FOP2 is a beautiful software!
In the debug log there are a lot of informations, because the system is working for several users; maybe I fail to filter it. If you want I can email to you the full log.
Now I can't upgrade Asterisk to 1.8, but I plan to do in next months.
Regards.
I started fop2 in debug mode and these are just few rows from log about call forward activation (my extension is 9803 my cell number is 3481234567, my browser ip is 10.0.0.200):
** QUERY CUSTOM ASTDB 9803 CF
127.0.0.1 -> Action: DBGet
127.0.0.1 -> Family: CF
127.0.0.1 -> Key: 9803
127.0.0.1 -> ActionID: getvar!custom!CF/9803127.0.0.1 <- Event: DBGetResponse
127.0.0.1 <- Family: CF
127.0.0.1 <- Key: 9803
127.0.0.1 <- Val: 3481234567
127.0.0.1 <- ActionID: getvar!custom!CF/9803
127.0.0.1 <- Server: 010.0.0.200 => { "btn": "27@GENERAL", "cmd": "astdbcust", "data": "3481234567", "slot": "0" }
10.0.0.200 => { "btn": "27@GENERAL", "cmd": "qualify", "data": "ok", "slot": "0" }
Below there is the log after I deactivate the call forward:
** QUERY CUSTOM ASTDB 9803 CF
127.0.0.1 -> Action: DBGet
127.0.0.1 -> Family: CF
127.0.0.1 -> Key: 9803
127.0.0.1 -> ActionID: getvar!custom!CF/9803127.0.0.1 <- Response: Success
127.0.0.1 <- ActionID: getvar!custom!CF/9803
127.0.0.1 <- Message: Result will follow
127.0.0.1 <- Server: 0
I don't know how the fop2 works, but it seems that "astdbcust" are not cleared when the CF is disabled.
Tell me what other type of information search into log.
Regards.
Lorenzo
I'm using AstersikNow 2.0.0 (from /etc/asterisknow-version) with Asterisk 1.6.2.24 and FreePBX Framework 2.10.0.7.
I updated the freepbx contexts with the generate_override_contexts.pl script. All buttons work fine, trunks and extension status changes immediatly.
Only the call forward status does not change.
How can I verify if Asterisk is broadcasting the correct UserEvents?
I forgot, congratulation for FOP2! It is a great software!
I add "all" permission, but nothing change.
To avoid fop2 relaod, I set poll_interval to 300, so every 5 minute fop2 update CF status, but to see it on web page, I must force refresh on browser (with login!).
In next version, could you update the call forward status icon with ajax?
I have a problem, I can see the Call Forward icon only after a "fop2 reload" and a FOP2 page refresh.
Same problem when I disable the CF, the icon appears util fop2 reload and page refresh.
I am using fop2.26 with asterisk 1.6.
Any suggestions?
Thanks
Lorenzo