search for: stat_vars

Displaying 2 results from an estimated 2 matches for "stat_vars".

Did you mean: set_vars
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->ag...
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_variab...