[asterisk-users] [AsteriskNow] Errors with cleaninstall(onmainscreen when making calls)

Danny Nicholas danny at debsinc.com
Fri Jul 23 08:00:21 CDT 2010


Sorry my changes didn't solve the problem;  for reference, this is what I
did:
3360,3367c3360
<         my $key;
<         if ( "$server^$hash_temporal{'Destination'}") {
<            $key = "$server^$hash_temporal{'Destination'}";
<            }
<         else {
<            $key="0";
<            }
<
---
>         my $key      = "$server^$hash_temporal{'Destination'}";
3374,3377c3367,3368
<             if ( $chanvar{ $hash_temporal{"SrcUniqueID"} }{$var} ) {
<                if ( defined( $chanvar{ $hash_temporal{"SrcUniqueID"}
}{$var} )                     ) {
<                    $passvar{ $hash_temporal{"DestUniqueID"} }{$var} =
$chanvar                    { $hash_temporal{"SrcUniqueID"} }{$var};
<                }
---
>             if ( defined( $chanvar{ $hash_temporal{"SrcUniqueID"} }{$var}
) )                     {
>                 $passvar{ $hash_temporal{"DestUniqueID"} }{$var} =
$chanvar{ $                    hash_temporal{"SrcUniqueID"} }{$var};
3383,3386d3373
<          if ( ! $hash_temporal{'Source'} =~ m/^Local/i ) {
<             $hash_temporal{'Source'} = 'Remote';
<             }
Since the messages were coming from missing elements of $hash_temporal, this
seemed like a reasonable approach to the problem.




More information about the asterisk-users mailing list