[asterisk-bugs] [JIRA] (ASTERISK-27924) $agi->get_data( not play File and no Response

brenner 23 (JIRA) noreply at issues.asterisk.org
Tue Jun 19 17:14:54 CDT 2018


brenner 23 created ASTERISK-27924:
-------------------------------------

             Summary: $agi->get_data( not play File and no Response
                 Key: ASTERISK-27924
                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-27924
             Project: Asterisk
          Issue Type: Bug
      Security Level: None
          Components: . I did not set the category correctly.
    Affects Versions: 13.21.0
         Environment: asterisk 13 & phpagi2.2
            Reporter: brenner 23


Hi i will try to explain my problem
Computer is a Raspberry Pi 3
OS is Stretch Debian
On this SD card ist Asterisk 13 , phpagi2.2 ,php 7.0 

my Script
$agi->exec('Playback',"beep");
		$id_opcion = $agi->get_data('custom2/MyGSMFile');
		$id = $id_opcion['result'];
		$agi->Verbose('------------------------------------ --->>> id ['.$id.']');
		if ($id  != ""){
		$agi->say_digits($id);
		} else {
			$agi->say_digits(0);
			$agi->hangup();
			#exit;
		}
               ... Continue....

So my problem is that the Fils will first times played and i can make a Choice 1 times , 2 times... but after a view Trys the the File wont playes and the automaticly Choice is 0 .... and my scrtip loops than, why i have nothing on 0 (Zero) later it hangups



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list