nethesis / dev

Nethesis issue tracker
http://www.nethesis.it
4 stars 1 forks source link

Problema con deviazione chiamata nel Off Hour (5070) #5070

Closed gsanchietti closed 7 years ago

gsanchietti commented 7 years ago

Attivando la deviazione della chiamata nelle gestione off hour del NethCTI, la chiamata fallisce

[2017-02-17 17:31:24] NOTICE[10230][C-00007e76] chan_local.c: No such extension/context 3472257231@default while calling Local channel [2017-02-17 17:31:24] VERBOSE[10230][C-00007e76] app_dial.c: -- Couldn't call Local/3472257231

Il problema è nella creazione della chiamata nell'agi, soluzione al problema proposta (ovviamente non da me ma da chi ne capisce)


diff -Naur /var/lib/asterisk/agi-bin/night.php /var/lib/asterisk/agi-bin/night.php.old
--- /var/lib/asterisk/agi-bin/night.php 2017-02-17 17:51:48.072633810 +0100
+++ /var/lib/asterisk/agi-bin/night.php.old     2017-02-17 17:53:11.116457080 +0100
@@ -105,7 +105,7 @@
             if ($res['param'] != '') {
                $agi->verbose("Night service NethCTI mode: call forward to {$res['param']}");
                 # Dial Local/$param...
-                $agi->exec_dial("Local",$res['param']."@from-internal");
+                $agi->exec_dial("Local",$res['param']);
             } else {
                 $agi->verbose("Night service NethCTI mode: call forward ERROR! MISSING DESTINATION!");
             }
gsanchietti commented 7 years ago

Fix call forward problem. Nethesis/dev#5070

gsanchietti commented 7 years ago

nethesis-testing:

gsanchietti commented 7 years ago

Fix call forward problem. Nethesis/dev#5070

gsanchietti commented 7 years ago