id,summary,reporter,owner,description,type,status,priority,milestone,component,version,resolution,keywords,cc,confirmation,distro,engine,distro_ver,engine_version,svn_rev
2308,FROM_DID - always get value from DID Number field from Inbound Routes section,hetii,p_lindheimer,hi :)\r\n\r\n\r\nWhen 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. \r\n\r\nthis bug is in /var/www/html/admin/modules/core/functions.inc.php on line 194\r\norginal is there:\r\n\r\n{{{\r\n$ext->add($context_ $exten_ ''_ new ext_setvar('__FROM_DID'_$exten));\r\n}}}\r\n\r\n-\r\nbut i think it should be:\r\n\r\n{{{\r\n$ext->add($context_ $exten_ ''_ new ext_setvar('__FROM_DID'_'${EXTEN}'));\r\n}}}\r\n\r\nregards.\r\n\r\n,Bugs,closed,minor,2.4,Core - Trunks/Routing,2.3.0,fixed,FROM_DID,,Unreviewed,,Asterisk 1.4.x,,,
