Ticket #2308 (closed Bugs: fixed)

Opened 4 years ago

Last modified 4 years ago

FROM_DID - always get value from DID Number field from Inbound Routes section

Reported by: hetii Assigned to: p_lindheimer
Priority: minor Milestone: 2.4
Component: Core - Trunks/Routing Version: 2.3.0
Keywords: FROM_DID Cc:
Confirmation: Unreviewed SVN Revision (if applicable):
Backend Engine: Asterisk 1.4.x Backend Engine Version:

Description

hi :)

When user create new position in Inbound Routes and then want to use ${FROM_DID} variables he always get not ${EXTEN} but this value from DID Number field. This is ok when somebody put there complete string because it will be always that same at ${EXTEN} but when somebody use patterns he get this patterns but not matches number.

this bug is in /var/www/html/admin/modules/core/functions.inc.php on line 194 orginal is there:

$ext->add($context, $exten, '', new ext_setvar('__FROM_DID',$exten));

- but i think it should be:

$ext->add($context, $exten, '', new ext_setvar('__FROM_DID','${EXTEN}'));

regards.

Change History

09/08/07 10:51:14 changed by p_lindheimer

  • status changed from new to closed.
  • version changed from 2.2.2 to 2.3.0.
  • resolution set to fixed.

r5006 - version 2.3 only