Changeset 34
- Timestamp:
- 04/26/07 11:01:09 (2 years ago)
- Files:
-
- trunk/op_server.pl (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/op_server.pl
r33 r34 2317 2317 2318 2318 my $uniqueid = find_uniqueid( $canalsesion, $server ); 2319 if ( $uniqueid ne "") {2319 if ( $uniqueid ) { 2320 2320 if ( defined( $datos{$uniqueid}{CallerID} ) ) { 2321 2321 $calleridnum = $datos{$uniqueid}{CallerID}; … … 2653 2653 while ( my ( $key, $val ) = each(%bloque) ) { 2654 2654 if ( defined($val) ) { 2655 $val =~ s/ (.*)\s+$/$1/g;2655 $val =~ s/\s+$//; 2656 2656 } 2657 2657 else { … … 2948 2948 } 2949 2949 2950 while ( ( $key, $val ) = each(%mute_other) ) { 2951 log_debug( "Mute other after originate failure: $key = $val", 16 ) if DEBUG; 2952 } 2953 while ( ( $key, $val ) = each(%pending_uniqueid_attendant) ) { 2954 log_debug( "Pending uniqueid attendant after originate failure: $key = $val", 16 ) if DEBUG; 2955 } 2950 if (DEBUG) { 2951 while ( ( $key, $val ) = each(%mute_other) ) { 2952 log_debug( "Mute other after originate failure: $key = $val", 16 ); 2953 } 2954 while ( ( $key, $val ) = each(%pending_uniqueid_attendant) ) { 2955 log_debug( "Pending uniqueid attendant after originate failure: $key = $val", 16 ); 2956 } 2957 } 2958 2956 2959 my $tempval = $config->{$contexto}{'attendant_failure_redirect_to'}; 2957 2960 $tempval =~ s/\${CHANNEL}/$hash_temporal{Channel}/g; … … 3387 3390 # in op_buttons.cfg. 3388 3391 $canal = $extension_transfer_reverse{$ext_transf_key}; 3389 $canal =~ s/(.*)&(.*)/$1/g;3392 ($canal, undef) = split( /&/, $canal); 3390 3393 if ( $canal =~ /\^/ ) { 3391 my @pedacete = split( /\^/, $canal ); 3392 $canal = $pedacete[1]; 3394 (undef, $canal) = split( /\^/, $canal ); 3393 3395 } 3394 3396 } … … 5195 5197 5196 5198 my $cuantos = $#return + 1; 5197 log_debug( "$heading returns $cuantos", 16 ) if DEBUG; 5198 foreach (@return) {5199 log_debug( "$heading END SUB returns $_", 32 ) if DEBUG;5199 if (DEBUG) { 5200 log_debug( "$heading returns $cuantos", 16 ); 5201 log_debug( "$heading END SUB returns $_", 32 ) foreach (@return); 5200 5202 } 5201 5203 $tab = substr( $tab, 0, -1 ); … … 5275 5277 @fake_bloque = (); 5276 5278 5277 # delete $datos{""};5278 5279 foreach my $blaque (@blique) { 5279 5280
