Displaying 1 result from an estimated 1 matches for "iaxhost".
2006 May 23
3
AGI ?
...go
out the SIP channels. Here is a sample of what I have in my script.
#!/usr/bin/perl
use strict;
use Asterisk::AGI;
my $callerId = "MyNumber";
my $log = "/var/log/asterisk/dialout.log";
my $gIaxUser = "MyIAXPROVIDER";
my $gIaxPass = "MYIAXPASS";
my $gIaxHost = "myIAXHost";
my $gSipHost = "MYSIPHost";
########### SYSTEM VARIABLES #####################
my $AGI = new Asterisk::AGI;
my $gDialedNo = shift;
my $gNumber = "";
my $gPrefix = "";
my $gAreaCode = "";
### Sets Outbound CallerID ###
$AGI->set_c...