Displaying 2 results from an estimated 2 matches for "stat_var".
Did you mean:
statevar
2009 Aug 17
0
Call back DIALSTATUS is empty
...count=5;
my $self = shift;
my $call_id = $self->param('callid');
my $ph_num= $self->param('num1');
my $p_num= $self->param('num2');
my $con= $self->{server}{dbi};
my $state=$self->agi->get_variable("stat_vars");
to_log($self, "Inside Callback Handler.", 1);
unless($state) {
#$self->log(1, "Callback Handler State: $state");
$self->log(1,"Callback: $call_id $ph_num $p_num");
#$self->a...
2009 Aug 25
1
How to detect if the call is being answered by Voice Mail?
...uot;Inside Dial Physician", 2);
my $DocPhone = "1". $PhysicianPhone;
to_log($self, "Values: $DocPhone, $call_id, $conv_id", 2);
$self->agi->set_variable("STATE","NEXT");
$self->agi->set_variable("stat_vars","$call_id:$conv_id:$DocPhone");
my $response =
$self->agi->exec("Dial","Local/$DocPhone\@$out_context/n|20|g");
my $CallStatus = $self->agi->get_variable("DIALSTATUS");
my $ANSWEREDTIME=$self->agi->get_varia...