[asterisk-dev] AGI timing affect pass-through faxing

marek cervenka cervajs at fpf.slu.cz
Wed Aug 8 04:03:52 CDT 2007


hi,

with this scenario
patton SN4960 - asterisk1 1.2.22 - sip - asterisk2 1.4.10(xen virtual) - 
linksys ATA (standard asterisk dial command)

i can make pass-through faxing (G711 Alaw)

with AGI script i CANNOT send faxes (comm error)

if i downgrade asterisk2 to asterisk1.2.22, faxing from AGI works
sip accounts are the same

questions:
- what is different between Dial from AGI and Dial from 
dialplan from asterisk view?
- do you think that this is bug in AGI?


Marek Cervenka

simple testing AGI skript
#!/usr/bin/php -q
<?php
   set_time_limit(30);
   require('phpagi.php');
   error_reporting(E_ALL);

   $agi = new AGI();
   $agi->answer();

   $dialstr = "SIP/asterisk1/111111111|300|HgL(610000:61000)";

   $myres = $agi->exec("DIAL $dialstr");


   $agi->hangup();
?>



More information about the asterisk-dev mailing list