[asterisk-users] AGI Script

Gustavo Salvador gustavo.salvador.69 at gmail.com
Wed Mar 6 10:48:18 CST 2013


> 
> Hi every body,
> 
> Please if some one could help me with this:
> I'm writing an AGU Perl Script which basically makes a call using an extension provided by other asterisk box to an E1. The asterisk version is 1.6.0.28, so it hasn't the Wellington know AGI class. The code is as follows:
> 
> =============================
> #!/usr/bin/perl
> use strict;
> 
> my %AGI;
> :
> print "EXEC Dial(DAHDI/g2/$AGI{dnid},,W)";
> =============================
> 
> When dialplan executes the AGI, asterisk throw the following error: "Dropping incompatible voice fraile on SIP/INCONCERT-00004796 of formar ulaw since our native format has changed to 0x8 (alaw)."
> 
> And connection is never make.
> 
> It's the code OK?, I'm newbie on asterisk, and really don't know what is going wrong.
> 
> Regards,
> 
> Gustavo



More information about the asterisk-users mailing list