Issue getting FollowMe to work to external

Looks like FollowMe isn’t really working for any extension here.

  • FreePBX 14
  • FollowMe 14.0.1.13
  • Core 14.0.1.3

Relevant lines from logs:

[2017-09-28 14:55:23] WARNING[32798][C-00000066] pbx_functions.c: Can't find trailing parenthesis for function 'IF(1?7749947661#:7749947661#'?
[2017-09-28 14:55:30] VERBOSE[32798][C-00000066] pbx.c: Executing [s@macro-dial:6] AGI("Local/FMGL-7749947661#@from-internal-000009bb;2", "dialparties.agi") in new stack
[2017-09-28 14:55:30] VERBOSE[32798][C-00000066] res_agi.c: dialparties.agi: Added extension xxx#) to extension map
[2017-09-28 14:55:30] VERBOSE[32798][C-00000066] res_agi.c: dialparties.agi: Extension xxx#) cf is disabled
[2017-09-28 14:55:30] VERBOSE[32798][C-00000066] res_agi.c: dialparties.agi: Extension xxx#) do not disturb is disabled
[2017-09-28 14:55:30] VERBOSE[32798][C-00000066] res_agi.c: dialparties.agi: Extension xxx#) has ExtensionState: 4
[2017-09-28 14:55:30] VERBOSE[32798][C-00000066] res_agi.c: dialparties.agi: Checking CW and CFB status for extension xxx#)
[2017-09-28 14:55:30] VERBOSE[32798][C-00000066] res_agi.c: dialparties.agi: Extension xxx#) is not available to be called
[2017-09-28 14:55:30] VERBOSE[32798][C-00000066] res_agi.c: <Local/FMGL-xxx#@from-internal-000009bb;2>AGI Script dialparties.agi completed, returning 0
[2017-09-28 14:55:30] VERBOSE[32798][C-00000066] pbx.c: Executing [s@macro-dial:7] NoOp("Local/FMGL-xxx#@from-internal-000009bb;2", "Returned from dialparties with no extensions to call and DIALSTATUS: NOANSWER") in new stack

I see two issues:

  • There’s an error with that IF statement,
  • The relevant part of dialparties.agi is checking for the extension state of an extension that has a trailing ‘)’

I re-ran with AGI debugging turned on and that is in fact the case:

<Local/FMGL-7749947661#@from-internal-000009c1;2>AGI Tx >> 200 result=1
<Local/FMGL-7749947661#@from-internal-000009c1;2>AGI Rx << GET VARIABLE EXTENSION_STATE(xxx#))
<Local/FMGL-7749947661#@from-internal-000009c1;2>AGI Tx >> 200 result=1 (UNKNOWN)
<Local/FMGL-7749947661#@from-internal-000009c1;2>AGI Rx << VERBOSE "EXTENSION_STATE: 4 (UNKNOWN)" 1
 dialparties.agi: EXTENSION_STATE: 4 (UNKNOWN)
<Local/FMGL-7749947661#@from-internal-000009c1;2>AGI Tx >> 200 result=1
<Local/FMGL-7749947661#@from-internal-000009c1;2>AGI Rx << VERBOSE "Extension xxx#) has ExtensionState: 4" 1

How should I resolve this issue? We are rarely at our desk phones and forwarding to cell phones is critical.

Thanks!

Hi!

You should update your modules… It was apparently fixed with core version 14.0.1.5…

re:

and the messages below it…

If 14.0.1.3 is the latest version you see it is possible you might have to switch to Edge for that module but I doubt this hasn’t been published to the stable track by now…

Good luck and have a nice day!

Nick

OK, moving to 14.0.1.9 seems to have fixed it. Weird… I tried updating first, but I’m just glad we’re good.

Thanks, everyone!

I’m seeing this same issue in Follow me version 13.0.38.10. Will the bug be fixed in the 13 line or will I need to upgrade to 14?