I am installing/tweaking an AsteriskNOW + FreePBX box and have a fun issue. I tried to enable FollowMe on a few users but it does not seem to do anything except dial their original extension. I dont know if any of this helps but here are some “errors” when a call hits the FollowMe for a particular user.
I connected to asterisk via:
asterisk -R
Here is the current version of asterisk:
localhost*CLI> core show version
Asterisk 1.6.2.24 built by root @ 89-139-19-10.digium.internal on a x86_64 running Linux on 2012-04-23 16:57:21 UTC
The errors when hitting FollowMe:
[2012-09-16 20:01:24] ERROR[4375]: pbx.c:3401 ast_func_write: Function CONNECTEDLINE not registered
[2012-09-16 20:01:24] ERROR[4375]: pbx.c:3401 ast_func_write: Function CONNECTEDLINE not registered
[2012-09-16 20:01:24] ERROR[4375]: pbx.c:3401 ast_func_write: Function CONNECTEDLINE not registered
[2012-09-16 20:01:24] ERROR[4375]: pbx.c:3401 ast_func_write: Function CONNECTEDLINE not registered
[2012-09-16 20:01:24] ERROR[4375]: pbx.c:3401 ast_func_write: Function CONNECTEDLINE not registered
[2012-09-16 20:01:24] ERROR[4375]: pbx.c:3401 ast_func_write: Function CONNECTEDLINE not registered
[2012-09-16 20:01:24] ERROR[4375]: pbx.c:3401 ast_func_write: Function CONNECTEDLINE not registered
[2012-09-16 20:01:24] ERROR[4375]: pbx.c:3401 ast_func_write: Function CONNECTEDLINE not registered
[2012-09-16 20:01:24] ERROR[4375]: pbx.c:3401 ast_func_write: Function CONNECTEDLINE not registered
Finally the loaded modules:
localhost*CLI> core show applications
[…]
ExternalIVR: Interfaces with an external IVR application
Flash: Flashes a DAHDI Trunk.
ForkCDR: Forks the Call Data Record.
GetCPEID: Get ADSI CPE ID.
[…]
I noticed FollowMe was not listed there even though its listed as installed on the FreePBX Module Admin page. So Im not sure whats up with that.
I just started poking around and found this:
module reload app_followme.so
[2012-09-16 22:08:05] NOTICE[4747]: loader.c:682 ast_module_reload: The module ‘app_followme.so’ was not properly initialized. Before reloading the module, you must run “module load app_followme.so” and fix whatever is preventing the module from being initialized.
[2012-09-16 22:08:05] NOTICE[4747]: loader.c:682 ast_module_reload: The module ‘app_followme.so’ was not properly initialized. Before reloading the module, you must run “module load app_followme.so” and fix whatever is preventing the module from being initialized.
[2012-09-16 22:08:05] NOTICE[4747]: loader.c:682 ast_module_reload: The module ‘app_followme.so’ was not properly initialized. Before reloading the module, you must run “module load app_followme.so” and fix whatever is preventing the module from being initialized.
[2012-09-16 22:08:05] NOTICE[4747]: loader.c:682 ast_module_reload: The module ‘app_followme.so’ was not properly initialized. Before reloading the module, you must run “module load app_followme.so” and fix whatever is preventing the module from being initialized.
[2012-09-16 22:08:05] NOTICE[4747]: loader.c:682 ast_module_reload: The module ‘app_followme.so’ was not properly initialized. Before reloading the module, you must run “module load app_followme.so” and fix whatever is preventing the module from being initialized.
[2012-09-16 22:08:05] NOTICE[4747]: loader.c:682 ast_module_reload: The module ‘app_followme.so’ was not properly initialized. Before reloading the module, you must run “module load app_followme.so” and fix whatever is preventing the module from being initialized.
[2012-09-16 22:08:05] NOTICE[4747]: loader.c:682 ast_module_reload: The module ‘app_followme.so’ was not properly initialized. Before reloading the module, you must run “module load app_followme.so” and fix whatever is preventing the module from being initialized.
[2012-09-16 22:08:05] NOTICE[4747]: loader.c:682 ast_module_reload: The module ‘app_followme.so’ was not properly initialized. Before reloading the module, you must run “module load app_followme.so” and fix whatever is preventing the module from being initialized.
[2012-09-16 22:08:05] NOTICE[4747]: loader.c:682 ast_module_reload: The module ‘app_followme.so’ was not properly initialized. Before reloading the module, you must run “module load app_followme.so” and fix whatever is preventing the module from being initialized.
Potentially that should do it. You probably have asterisk16 addons.
I would also bring dahdi out and back in to make sure you have the right chan_dahdi
Digium doesn’t put a lot of time in Asterisknow working out the dependencies and including FreePBX is more a courtesy. So you have to watch what you are doing.
You really need to post the log from when the follow me is supposed to be calling out.
Yah the directions for upgrading to asterisk 1.8 very much an over-simplification of the process required to remove all the old packages and get everything pulled from the new ones.
So here is my orginal list of asterisk packages:
yum list installed | grep asterisk
asterisk.x86_64 1.6.2.24-1_centos5 installed
asterisk-core.x86_64 1.6.2.24-1_centos5 installed
asterisk-dahdi.x86_64 1.6.2.24-1_centos5 installed
asterisk-doc.x86_64 1.6.2.24-1_centos5 installed
asterisk-res_fax.x86_64 1:1.6.2.0_1.3.0-2_centos5 installed
asterisk-res_fax_digium.x86_64 1:1.6.2.0_1.3.0-2_centos5 installed
asterisk-sounds-core-en-gsm.noarch 1.4.21-1_centos5 installed
asterisk-sounds-core-en-ulaw.noarch 1.4.21-1_centos5 installed
asterisk-sounds-extra-en-gsm.noarch 1.4.11-1_centos5 installed
asterisk-sounds-moh-opsound-ulaw.noarch 0.0-4_centos5 installed
And here are my current ones:
yum list installed | grep asterisk
asterisk.x86_64 1.8.11-0.cert7.1_centos5 installed
asterisk-core.x86_64 1.8.11-0.cert7.1_centos5 installed
asterisk-dahdi.x86_64 1.8.11-0.cert7.1_centos5 installed
asterisk-doc.x86_64 1.8.11-0.cert7.1_centos5 installed
asterisk-sounds-core-en-gsm.noarch 1.4.21-1_centos5 installed
asterisk-sounds-core-en-ulaw.noarch 1.4.21-1_centos5 installed
asterisk-sounds-extra-en-gsm.noarch 1.4.11-1_centos5 installed
asterisk-sounds-moh-opsound-ulaw.noarch 0.0-4_centos5 installed
asterisk-voicemail.x86_64 1.8.11-0.cert7.1_centos5 installed
asterisknow-version.noarch 2.0.0-4_centos5 installed
The fax module was rolled into 1.8 so its gone. The sounds seem to be unchanged. My AsteriskNOW version seems to have chagned… hmmmm.
The process was more like:
yum shell
remove asterisk asterisk-core asterisk-dahdi asterisk-doc asterisk-voicemail
install asterisk18-core asterisk18 asterisk-dahdi asterisk-doc asterisk-voicemail
ts solve
ts run
Had to remove a lot more than they implied due to conflicts with the newer versions.
We will see how the system works tomorrow. Perhaps some of the “oddities” the system has been having will be all cleared up. Im crossing my fingers.
Well its still not working but maybe getting closer. Asterisk is complaining about a missing config file.
module load app_followme.so
Unable to load module app_followme.so
Command ‘module load app_followme.so’ failed.
[2012-09-17 00:05:06] WARNING[6581]: app_followme.c:340 reload_followme: No follow me config file (followme.conf), so no follow me
Why would it be missing? Why isnt FreePBX generating it? That might have been my issue the whole time
I have tried both with and without the hash. It hasent seemed to matter it just does not work. I can see in the Asterisk console the call being attempted so if Asterisk is sending a bogus CID my provider might be rejecting the outbound call to the cell #.
is this you (from DSLreports “CISCO” forums)? If so, I’m having the same problem. I added a fixed CID and I always use a # after my phone number. As usual, follow me works “once” and then no more . I ran the same command above and got this: