Ticket #1423 (closed Bugs: fixed)

Opened 6 years ago

Last modified 6 years ago

Followme/RG confirm call fails if Asterisk Dial command options are blank

Reported by: jonhall Assigned to: p_lindheimer
Priority: major Milestone:
Component: Follow Me Version: 2.2beta3
Keywords: confrim Cc:
Confirmation: Distro:
Backend Engine: All Distro Ver:
Backend Ver: SVN Revision (if applicable):

Description

If in general settings the Asterisk Dial command options are blank any calls requiring confirmation fail with "Missing closing parenthesis for argument 'M' in string 'confirm201'" in [macro-dial]

The call to the macro-dial looks like this: Macro("Local/RG-201-5555555#@grps-09b9,2","dial|20|M(confirm201)|5555555#")

If you add any "Asterisk Dial command option" such as r or T, the macro works correctly and looks like this: Macro("Local/RG-200-5555555#@grps-dfef,2", "dial|15|M(confirm2)T|0-5555555#")

The followme option was configured in the following way:

Initial Ring Time: 15 ring-strategy: ringall-prim confirm calls: checked remote announce: default toolate announce: default extensionlist: 5555555 ringtime: 25 announcement: none playmusiconhold: ring

Change History

11/23/06 11:37:56 changed by p_lindheimer

  • priority changed from minor to major.

phpagi.php strips off the trailing 0 when the option is passed in. Opening another bug for that issue but leaving this until that is closed.

see #1424

workaround until fixed, make sure there is at least one more dialptions there.

11/23/06 13:43:47 changed by p_lindheimer

r3174 in trunk should fix this but is not yet in branch, I need more eyes to review the fix and test it before comitting as this effects every php agi script that uses this library.

If you want the fix you can pull it out of trunk to test, I think this link will getyou most of the way there or it is as described below: http://freepbx.org/trac/browser/freepbx/trunk/amp_conf/agi-bin/phpagi.php

~amportal/freepbx/trunk/amp_conf/agi-bin/phpagi.php

see #1423

11/26/06 00:33:35 changed by p_lindheimer

11/26/06 00:39:19 changed by p_lindheimer

  • status changed from new to closed.
  • resolution set to fixed.